From e612204cf31765b7ebc26cc55bdf1fd92fbc325b Mon Sep 17 00:00:00 2001 From: Exempt-Medic <60412657+Exempt-Medic@users.noreply.github.com> Date: Wed, 27 Nov 2024 16:13:22 -0500 Subject: [PATCH] Prevent "anywhere" (local) lasers --- worlds/witness/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/worlds/witness/__init__.py b/worlds/witness/__init__.py index ac9197bd92bb..710d699a5933 100644 --- a/worlds/witness/__init__.py +++ b/worlds/witness/__init__.py @@ -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