OoT: If skip_child_zelda is on, set rule on Song from Impa to be giveable item
This commit is contained in:
parent
f6197d0a8d
commit
f8030393c8
|
@ -140,6 +140,11 @@ def set_rules(ootworld):
|
|||
location = world.get_location('Sheik in Ice Cavern', player)
|
||||
add_item_rule(location, lambda item: item.player == player and item.type == 'Song')
|
||||
|
||||
if ootworld.skip_child_zelda:
|
||||
# If skip child zelda is on, the item at Song from Impa must be giveable by the save context.
|
||||
location = world.get_location('Song from Impa', player)
|
||||
add_item_rule(location, lambda item: item in SaveContext.giveable_items)
|
||||
|
||||
for name in ootworld.always_hints:
|
||||
add_rule(world.get_location(name, player), guarantee_hint)
|
||||
|
||||
|
|
Loading…
Reference in New Issue