mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-04-01 04:13:21 -07:00
Add the shop sword logic stuff in
This commit is contained in:
@@ -1351,3 +1351,13 @@ def set_er_location_rules(world: "TunicWorld") -> None:
|
||||
lambda state: has_ability(prayer, state, world))
|
||||
set_rule(multiworld.get_location("Library Fuse", player),
|
||||
lambda state: has_ability(prayer, state, world))
|
||||
|
||||
# Shop
|
||||
set_rule(multiworld.get_location("Shop - Potion 1", player),
|
||||
lambda state: has_sword(state, player))
|
||||
set_rule(multiworld.get_location("Shop - Potion 2", player),
|
||||
lambda state: has_sword(state, player))
|
||||
set_rule(multiworld.get_location("Shop - Coin 1", player),
|
||||
lambda state: has_sword(state, player))
|
||||
set_rule(multiworld.get_location("Shop - Coin 2", player),
|
||||
lambda state: has_sword(state, player))
|
||||
|
||||
@@ -349,3 +349,13 @@ def set_location_rules(world: "TunicWorld") -> None:
|
||||
lambda state: state.has(laurels, player) and has_ability(prayer, state, world))
|
||||
set_rule(multiworld.get_location("Hero's Grave - Feathers Relic", player),
|
||||
lambda state: state.has(laurels, player) and has_ability(prayer, state, world))
|
||||
|
||||
# Shop
|
||||
set_rule(multiworld.get_location("Shop - Potion 1", player),
|
||||
lambda state: has_sword(state, player))
|
||||
set_rule(multiworld.get_location("Shop - Potion 2", player),
|
||||
lambda state: has_sword(state, player))
|
||||
set_rule(multiworld.get_location("Shop - Coin 1", player),
|
||||
lambda state: has_sword(state, player))
|
||||
set_rule(multiworld.get_location("Shop - Coin 2", player),
|
||||
lambda state: has_sword(state, player))
|
||||
|
||||
Reference in New Issue
Block a user