sm64ex: All Bowser Stages Goal (#2112)
This commit is contained in:
committed by
GitHub
parent
2353346768
commit
253f3e61f7
@@ -124,4 +124,9 @@ def set_rules(world, player: int, area_connections):
|
||||
add_rule(world.get_location("MIPS 1", player), lambda state: state.can_reach("Basement", 'Region', player) and state.has("Power Star", player, world.MIPS1Cost[player].value))
|
||||
add_rule(world.get_location("MIPS 2", player), lambda state: state.can_reach("Basement", 'Region', player) and state.has("Power Star", player, world.MIPS2Cost[player].value))
|
||||
|
||||
world.completion_condition[player] = lambda state: state.can_reach("Bowser in the Sky", 'Region', player)
|
||||
if world.CompletionType[player] == "last_bowser_stage":
|
||||
world.completion_condition[player] = lambda state: state.can_reach("Bowser in the Sky", 'Region', player)
|
||||
elif world.CompletionType[player] == "all_bowser_stages":
|
||||
world.completion_condition[player] = lambda state: state.can_reach("Bowser in the Dark World", 'Region', player) and \
|
||||
state.can_reach("Bowser in the Fire Sea", 'Region', player) and \
|
||||
state.can_reach("Bowser in the Sky", 'Region', player)
|
||||
|
||||
Reference in New Issue
Block a user