From f8030393c88a908e8fae4166261ef1c673e5806f Mon Sep 17 00:00:00 2001 From: espeon65536 Date: Fri, 7 Jan 2022 00:03:34 -0500 Subject: [PATCH] OoT: If skip_child_zelda is on, set rule on Song from Impa to be giveable item --- worlds/oot/Rules.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/worlds/oot/Rules.py b/worlds/oot/Rules.py index ec44459b..7ef75640 100644 --- a/worlds/oot/Rules.py +++ b/worlds/oot/Rules.py @@ -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)