add locking feature to get_ending (needed for chapter 11)
This commit is contained in:
@ -2,14 +2,17 @@
|
|||||||
|
|
||||||
init python:
|
init python:
|
||||||
def get_ending():
|
def get_ending():
|
||||||
if anonscore >= 4 and fangscore >= 4 and wingStory:
|
if ending_route_number == None:
|
||||||
return 4 # Golden
|
if anonscore >= 4 and fangscore >= 4 and wingStory:
|
||||||
elif anonscore >= 3 and fangscore <= 4:
|
return 4 # Golden
|
||||||
return 3 # Tradwife
|
elif anonscore >= 3 and fangscore <= 4:
|
||||||
elif anonscore <= 3 and fangscore >= 3:
|
return 3 # Tradwife
|
||||||
return 2 # Doomer
|
elif anonscore <= 3 and fangscore >= 3:
|
||||||
|
return 2 # Doomer
|
||||||
|
else:
|
||||||
|
return 1 # Shooter
|
||||||
else:
|
else:
|
||||||
return 1 # Shooter
|
return ending_route_number
|
||||||
|
|
||||||
|
|
||||||
def debug_story_variables(toggle=True):
|
def debug_story_variables(toggle=True):
|
||||||
|
Reference in New Issue
Block a user