Skip to content

Commit

Permalink
Prevent "anywhere" (local) lasers
Browse files Browse the repository at this point in the history
  • Loading branch information
Exempt-Medic authored Nov 27, 2024
1 parent e1f16c6 commit e612204
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions worlds/witness/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,9 @@ def generate_early(self) -> None:
if self.options.shuffle_lasers == "local":
self.options.local_items.value |= self.item_name_groups["Lasers"]

elif self.options.shuffle_lasers == "anywhere":
self.options.local_items.value -= self.item_name_groups["Lasers"]

if self.options.victory_condition == "panel_hunt":
total_panels = self.options.panel_hunt_total
required_percentage = self.options.panel_hunt_required_percentage
Expand Down

0 comments on commit e612204

Please sign in to comment.