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