Skip to content

Commit

Permalink
Merge pull request #11 from Exempt-Medic/patch-9
Browse files Browse the repository at this point in the history
Removing deprecated options getter
  • Loading branch information
GodlFire authored May 12, 2024
2 parents fe6c9b9 + 7ef896e commit 53c1345
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions worlds/shivers/Rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@ def metal_capturable(state: CollectionState, player: int) -> bool:


def lightning_capturable(state: CollectionState, player: int) -> bool:
return (first_nine_ixupi_capturable or state.multiworld.early_lightning[player].value) \
return (first_nine_ixupi_capturable or state.multiworld.worlds[player].options.early_lightning.value) \
and (state.has_all({"Lightning Pot Bottom", "Lightning Pot Top", "Lightning Pot Bottom DUPE", "Lightning Pot Top DUPE"}, player) or \
state.has_all({"Lightning Pot Complete", "Lightning Pot Complete DUPE"}, player))


def beths_body_available(state: CollectionState, player: int) -> bool:
return (first_nine_ixupi_capturable(state, player) or state.multiworld.early_beth[player].value) \
return (first_nine_ixupi_capturable(state, player) or state.multiworld.worlds[player].options.early_beth.value) \
and state.can_reach("Generator", "Region", player)


Expand Down

0 comments on commit 53c1345

Please sign in to comment.