TUNIC: Add Shield to Ladder Storage logic (#4146)

This commit is contained in:
Scipio Wright
2024-12-08 19:58:49 -05:00
committed by GitHub
parent a948697f3a
commit 5b4d7c7526
3 changed files with 8 additions and 2 deletions

View File

@@ -18,6 +18,7 @@ coins = "Golden Coin"
prayer = "Pages 24-25 (Prayer)"
holy_cross = "Pages 42-43 (Holy Cross)"
icebolt = "Pages 52-53 (Icebolt)"
shield = "Shield"
key = "Key"
house_key = "Old House Key"
vault_key = "Fortress Vault Key"
@@ -82,7 +83,7 @@ def can_ladder_storage(state: CollectionState, world: "TunicWorld") -> bool:
return False
if world.options.ladder_storage_without_items:
return True
return has_stick(state, world.player) or state.has(grapple, world.player)
return has_stick(state, world.player) or state.has_any((grapple, shield), world.player)
def has_mask(state: CollectionState, world: "TunicWorld") -> bool: