mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-03-29 05:43:19 -07:00
has_stick -> has_melee
This commit is contained in:
@@ -297,18 +297,18 @@ def set_location_rules(world: "TunicWorld") -> None:
|
||||
|
||||
# Library Lab
|
||||
set_rule(world.get_location("Library Lab - Page 1"),
|
||||
lambda state: has_stick(state, player) or state.has_any((fire_wand, gun), player))
|
||||
lambda state: has_melee(state, player) or state.has_any((fire_wand, gun), player))
|
||||
set_rule(world.get_location("Library Lab - Page 2"),
|
||||
lambda state: has_stick(state, player) or state.has_any((fire_wand, gun), player))
|
||||
lambda state: has_melee(state, player) or state.has_any((fire_wand, gun), player))
|
||||
set_rule(world.get_location("Library Lab - Page 3"),
|
||||
lambda state: has_stick(state, player) or state.has_any((fire_wand, gun), player))
|
||||
lambda state: has_melee(state, player) or state.has_any((fire_wand, gun), player))
|
||||
|
||||
# Eastern Vault Fortress
|
||||
# yes, you can clear the leaves with dagger
|
||||
# gun isn't included since it can only break one leaf pile at a time, and we don't check how much mana you have
|
||||
# but really, I expect the player to just throw a bomb at them if they don't have melee
|
||||
set_rule(world.get_location("Fortress Leaf Piles - Secret Chest"),
|
||||
lambda state: state.has(laurels, player) and (has_stick(state, player) or state.has(ice_dagger, player)))
|
||||
lambda state: state.has(laurels, player) and (has_melee(state, player) or state.has(ice_dagger, player)))
|
||||
set_rule(world.get_location("Fortress Arena - Siege Engine/Vault Key Pickup"),
|
||||
lambda state: has_sword(state, player)
|
||||
and (has_ability(prayer, state, world)
|
||||
|
||||
Reference in New Issue
Block a user