Skip to content

Commit

Permalink
Witness: Fix missing location
Browse files Browse the repository at this point in the history
All Pressure Plates puzzles are now always locations.

This makes a line where a Pressure Plates location gets added and a different one cause incorrect behavior.
  • Loading branch information
NewSoupVi authored and black-sliver committed Jun 23, 2023
1 parent 59ad9e9 commit f3c788d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions worlds/witness/locations.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,10 +463,6 @@ def __init__(self, world, player, player_logic: WitnessPlayerLogic):
self.PANEL_TYPES_TO_SHUFFLE = {"General", "Laser"}
self.CHECK_LOCATIONS = StaticWitnessLocations.GENERAL_LOCATIONS.copy()

if get_option_value(world, player, "puzzle_randomization") == 1:
self.CHECK_LOCATIONS.remove("Keep Pressure Plates 4")
self.CHECK_LOCATIONS.add("Keep Pressure Plates 2")

doors = get_option_value(world, player, "shuffle_doors") >= 2
earlyutm = is_option_enabled(world, player, "early_secret_area")
victory = get_option_value(world, player, "victory_condition")
Expand Down

0 comments on commit f3c788d

Please sign in to comment.