예제 #1
0
def branch4(moment):
    choice_3 = input("How do you respond? > ")
    if sov_engines.responseEngine(3, respSeed_3, choice_3):
        moment["c3"] = 1
        sov_utils.save_obj(moment, "momento")
        sov_engines.discourseEngine(4, 0, discSeed_3[0])
        sov_engines.discourseEngine(0, 1, discSeed_3[1])
        sov_engines.discourseEngine(3, 0, discSeed_3[2])
        sov_engines.discourseEngine(3, 0, discSeed_3[3])
    else:
        sov_engines.discourseEngine(2, 0, random.choice(recSeed_3))
        branch4(moment)
예제 #2
0
def branch2(moment):
    choice_1 = input("What do you do? > ")
    if sov_engines.responseEngine(1, respSeed_1, choice_1):
        moment["c1"] = 1
        sov_utils.save_obj(moment, "momento")
        sov_engines.discourseEngine(2, 0, discSeed_1[0])
        sov_engines.discourseEngine(3, 0, discSeed_1[1])
        sov_engines.discourseEngine(0, 1, discSeed_1[2])
        sov_engines.discourseEngine(0, 1, discSeed_1[3])
    else:
        sov_engines.discourseEngine(2, 0, recSeed_1)
        exit(0)
예제 #3
0
def branch3(moment):
    choice_2 = input("What do you do next? > ")
    if sov_engines.responseEngine(2, respSeed_2, choice_2):
        moment["c2"] = 1
        sov_utils.save_obj(moment, "momento")
        sov_engines.discourseEngine(4, 0, discSeed_2[0])
        sov_engines.discourseEngine(0, 1, discSeed_2[1])
        sov_engines.discourseEngine(3, 0, discSeed_2[2])
    else:
        sov_engines.discourseEngine(2, 0, random.choice(recSeed_2))
        branch3(moment)
예제 #4
0
def branch1(moment):
    choice_0 = input("Enter? > ")
    if sov_engines.responseEngine(0, respSeed_0, choice_0):
        moment["c0"] = 1
        sov_utils.save_obj(moment, "momento")
        sov_engines.discourseEngine(2, 0, discSeed_0[0])
        sov_engines.discourseEngine(0, 2, discSeed_0[1])
    else:
        sov_engines.discourseEngine(2, 0, recSeed_0)
        exit(0)
예제 #5
0
def branch4_resume():
    sov_engines.discourseEngine(4, 0, resumeSeed_3[0])
    sov_engines.discourseEngine(2, 0, resumeSeed_3[1])
    sov_engines.discourseEngine(0, 1, resumeSeed_3[2])
    sov_engines.discourseEngine(3, 0, resumeSeed_3[3])
예제 #6
0
def branch2_resume():
    sov_engines.discourseEngine(4, 0, resumeSeed_2[0])
    sov_engines.discourseEngine(2, 0, resumeSeed_2[1])
    sov_engines.discourseEngine(0, 2, resumeSeed_2[2])
예제 #7
0
def branch3_resume():
    sov_engines.discourseEngine(4, 0, resumeSeed_2[0])
    sov_engines.discourseEngine(2, 0, resumeSeed_2[1])
    sov_engines.discourseEngine(3, 0, resumeSeed_2[2])
    sov_engines.discourseEngine(0, 1, resumeSeed_2[3])
    sov_engines.discourseEngine(0, 1, resumeSeed_2[4])
예제 #8
0
def welcome():
	welcomeMsg = "\nWelcome to the VOID"
	sov_engines.discourseEngine(3, 0, welcomeMsg)
	print("\n")