Skip to content

Commit 3177171

Browse files
committed
making sure godhome is in logic for any and removing redundancy on completion condition
1 parent e4ded1e commit 3177171

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

worlds/hk/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ def create_regions(self):
203203

204204
# check for any goal that godhome events are relevant to
205205
all_event_names = event_names.copy()
206-
if self.multiworld.Goal[self.player] in [Goal.option_godhome, Goal.option_godhome_flower]:
206+
if self.multiworld.Goal[self.player] in [Goal.option_godhome, Goal.option_godhome_flower, Goal.option_any]:
207207
from .GodhomeData import godhome_event_names
208208
all_event_names.update(set(godhome_event_names))
209209

@@ -447,7 +447,7 @@ def set_rules(self):
447447
pass # will set in pre_fill()
448448
else:
449449
# Any goal
450-
world.completion_condition[player] = lambda state: state._hk_can_beat_thk(player) or state._hk_can_beat_radiance(player) or state.count("Defeated_Pantheon_5", player) or state.count("Godhome_Flower_Quest", player)
450+
world.completion_condition[player] = lambda state: state._hk_can_beat_thk(player) or state._hk_can_beat_radiance(player) or state.count("Defeated_Pantheon_5", player)
451451

452452
set_rules(self)
453453

0 commit comments

Comments
 (0)