Skip to content

Commit

Permalink
Neat
Browse files Browse the repository at this point in the history
  • Loading branch information
NewSoupVi committed Jul 3, 2024
1 parent 892f50c commit 0f12c20
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions worlds/witness/rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@
SimpleItemRepresentation = Tuple[str, int]


def _can_do_panel_hunt(world: "WitnessWorld") -> CollectionRule:
def _can_do_panel_hunt(world: "WitnessWorld") -> SimpleItemRepresentation:
required = world.panel_hunt_required_count
player = world.player
return lambda state: state.has("+1 Panel Hunt", player, required)
return "+1 Panel Hunt", required


def _has_lasers(amount: int, world: "WitnessWorld", redirect_required: bool) -> CollectionRule:
Expand Down

0 comments on commit 0f12c20

Please sign in to comment.