Skip to content

Commit

Permalink
minor code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
qwint committed Aug 8, 2024
1 parent 18d5a29 commit a318719
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions worlds/hk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -448,13 +448,13 @@ def set_rules(self):
pass # will set in stage_pre_fill()
else:
# Any goal
multiworld.completion_condition[player] = lambda state: _hk_siblings_ending(state, player) and _hk_can_beat_radiance(state, player) and state.count("Godhome_Flower_Quest", player)
multiworld.completion_condition[player] = lambda state: _hk_siblings_ending(state, player) and \
_hk_can_beat_radiance(state, player) and state.count("Godhome_Flower_Quest", player)

set_rules(self)

def stage_pre_fill(multiworld: "MultiWorld"):
cls = HKWorld

@classmethod
def stage_pre_fill(cls, multiworld: "MultiWorld"):
def set_goal(player, grub_rule: typing.Callable[[CollectionState], bool]):
world = multiworld.worlds[player]

Expand Down

0 comments on commit a318719

Please sign in to comment.