Skip to content

Commit

Permalink
Update Rules.py
Browse files Browse the repository at this point in the history
  • Loading branch information
gaithern committed Jun 9, 2024
1 parent 62891b2 commit 0f64cbf
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions worlds/kh1/Rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -1726,39 +1726,75 @@ def set_rules(multiworld: MultiWorld, player: int, options, eotw_required_report
#multiworld.get_location("Halloween Town Guillotine Square Ring Jack's Doorbell 3 Times" , player).access_rule = lambda state: has_item(state, player, "")
multiworld.get_location("Neverland Clock Tower 01:00 Door" , player).access_rule = lambda state: (
has_item(state, player, "Green Trinity")
and has_all_magic_lvx(state, player, 2)
and has_defensive_tools(state, player)
and has_emblems(state, player, options.keyblades_unlock_chests)
)
multiworld.get_location("Neverland Clock Tower 02:00 Door" , player).access_rule = lambda state: (
has_item(state, player, "Green Trinity")
and has_all_magic_lvx(state, player, 2)
and has_defensive_tools(state, player)
and has_emblems(state, player, options.keyblades_unlock_chests)
)
multiworld.get_location("Neverland Clock Tower 03:00 Door" , player).access_rule = lambda state: (
has_item(state, player, "Green Trinity")
and has_all_magic_lvx(state, player, 2)
and has_defensive_tools(state, player)
and has_emblems(state, player, options.keyblades_unlock_chests)
)
multiworld.get_location("Neverland Clock Tower 04:00 Door" , player).access_rule = lambda state: (
has_item(state, player, "Green Trinity")
and has_all_magic_lvx(state, player, 2)
and has_defensive_tools(state, player)
and has_emblems(state, player, options.keyblades_unlock_chests)
)
multiworld.get_location("Neverland Clock Tower 05:00 Door" , player).access_rule = lambda state: (
has_item(state, player, "Green Trinity")
and has_all_magic_lvx(state, player, 2)
and has_defensive_tools(state, player)
and has_emblems(state, player, options.keyblades_unlock_chests)
)
multiworld.get_location("Neverland Clock Tower 06:00 Door" , player).access_rule = lambda state: (
has_item(state, player, "Green Trinity")
and has_all_magic_lvx(state, player, 2)
and has_defensive_tools(state, player)
and has_emblems(state, player, options.keyblades_unlock_chests)
)
multiworld.get_location("Neverland Clock Tower 07:00 Door" , player).access_rule = lambda state: (
has_item(state, player, "Green Trinity")
and has_all_magic_lvx(state, player, 2)
and has_defensive_tools(state, player)
and has_emblems(state, player, options.keyblades_unlock_chests)
)
multiworld.get_location("Neverland Clock Tower 08:00 Door" , player).access_rule = lambda state: (
has_item(state, player, "Green Trinity")
and has_all_magic_lvx(state, player, 2)
and has_defensive_tools(state, player)
and has_emblems(state, player, options.keyblades_unlock_chests)
)
multiworld.get_location("Neverland Clock Tower 09:00 Door" , player).access_rule = lambda state: (
has_item(state, player, "Green Trinity")
and has_all_magic_lvx(state, player, 2)
and has_defensive_tools(state, player)
and has_emblems(state, player, options.keyblades_unlock_chests)
)
multiworld.get_location("Neverland Clock Tower 10:00 Door" , player).access_rule = lambda state: (
has_item(state, player, "Green Trinity")
and has_all_magic_lvx(state, player, 2)
and has_defensive_tools(state, player)
and has_emblems(state, player, options.keyblades_unlock_chests)
)
multiworld.get_location("Neverland Clock Tower 11:00 Door" , player).access_rule = lambda state: (
has_item(state, player, "Green Trinity")
and has_all_magic_lvx(state, player, 2)
and has_defensive_tools(state, player)
and has_emblems(state, player, options.keyblades_unlock_chests)
)
multiworld.get_location("Neverland Clock Tower 12:00 Door" , player).access_rule = lambda state: (
has_item(state, player, "Green Trinity")
and has_all_magic_lvx(state, player, 2)
and has_defensive_tools(state, player)
and has_emblems(state, player, options.keyblades_unlock_chests)
)
multiworld.get_location("Neverland Hold Aero Chest" , player).access_rule = lambda state: (
has_item(state, player, "Yellow Trinity")
Expand Down

0 comments on commit 0f64cbf

Please sign in to comment.