Skip to content

Commit

Permalink
Useful items fix
Browse files Browse the repository at this point in the history
  • Loading branch information
NewSoupVi committed Dec 23, 2024
1 parent f3ec829 commit 7e007c9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions worlds/witness/player_logic.py
Original file line number Diff line number Diff line change
Expand Up @@ -927,7 +927,6 @@ def determine_unrequired_entities(self, world: "WitnessWorld") -> None:

# Gather quick references to relevant options
eps_shuffled = world.options.shuffle_EPs
come_to_you = world.options.elevators_come_to_you
difficulty = world.options.puzzle_randomization
discards_shuffled = world.options.shuffle_discarded_panels
boat_shuffled = world.options.shuffle_boat
Expand All @@ -939,6 +938,9 @@ def determine_unrequired_entities(self, world: "WitnessWorld") -> None:
shortbox_req = world.options.mountain_lasers
longbox_req = world.options.challenge_lasers

swamp_bridge_comes_to_you = "Swamp Long Bridge" in world.options.elevators_come_to_you
quarry_elevator_comes_to_you = "Quarry Elevator" in world.options.elevators_come_to_you

# Make some helper booleans so it is easier to follow what's going on
mountain_upper_is_in_postgame = (
goal == "mountain_box_short"
Expand All @@ -956,8 +958,8 @@ def determine_unrequired_entities(self, world: "WitnessWorld") -> None:
"0x17D02": eps_shuffled, # Windmill Turn Control
"0x0368A": symbols_shuffled or door_panels, # Quarry Stoneworks Stairs Door
"0x3865F": symbols_shuffled or door_panels or eps_shuffled, # Quarry Boathouse 2nd Barrier
"0x17CC4": come_to_you or eps_shuffled, # Quarry Elevator Panel
"0x17E2B": come_to_you and boat_shuffled or eps_shuffled, # Swamp Long Bridge
"0x17CC4": quarry_elevator_comes_to_you or eps_shuffled, # Quarry Elevator Panel
"0x17E2B": swamp_bridge_comes_to_you and boat_shuffled or eps_shuffled, # Swamp Long Bridge
"0x0CF2A": False, # Jungle Monastery Garden Shortcut
"0x0364E": False, # Monastery Laser Shortcut Door
"0x03713": remote_doors, # Monastery Laser Shortcut Panel
Expand Down

0 comments on commit 7e007c9

Please sign in to comment.