From 7ef896ed058835fd47e98eea51a58451219f7925 Mon Sep 17 00:00:00 2001 From: Exempt-Medic <60412657+Exempt-Medic@users.noreply.github.com> Date: Wed, 8 May 2024 18:37:13 -0400 Subject: [PATCH] Removing deprecated options getter --- worlds/shivers/Rules.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/worlds/shivers/Rules.py b/worlds/shivers/Rules.py index cbc6e22f20c0..635a1d8b7845 100644 --- a/worlds/shivers/Rules.py +++ b/worlds/shivers/Rules.py @@ -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)