Add --require_ganon_item option
This commit is contained in:
9
Rules.py
9
Rules.py
@@ -1026,10 +1026,11 @@ def global_rules(world, player):
|
||||
world.get_location('Ganon', player),
|
||||
lambda state: state.has_beam_sword(player)
|
||||
and state.has_fire_source(player)
|
||||
and (state.has('Tempered Sword', player) or state.has('Golden Sword', player)
|
||||
or state.can_hit_stunned_ganon(player)
|
||||
or state.has('Lamp', player)
|
||||
or state.can_extend_magic(player, 12))) # need to light torch a sufficient amount of times
|
||||
and (state.can_hit_stunned_ganon(player) or (
|
||||
not world.require_ganon_item[player] and (
|
||||
state.has('Tempered Sword', player) or state.has('Golden Sword', player)
|
||||
or state.has('Lamp', player)
|
||||
or state.can_extend_magic(player, 12))))) # need to light torch a sufficient amount of times
|
||||
|
||||
set_rule(world.get_entrance('Ganon Drop', player), lambda state: state.has_beam_sword(player)) # need to damage ganon to get tiles to drop
|
||||
|
||||
|
||||
Reference in New Issue
Block a user