Added campfire for Sticky Situation, by popular demand

This commit is contained in:
espeon65536 2021-05-27 16:51:11 -05:00 committed by Fabian Dill
parent 286254c5cd
commit 48c3d1fa4a
2 changed files with 3 additions and 2 deletions

View File

@ -974,7 +974,8 @@ class TestAdvancements(TestMinecraft):
["Sticky Situation", False, []],
["Sticky Situation", False, [], ['Bottles']],
["Sticky Situation", False, [], ['Ingot Crafting']],
["Sticky Situation", True, ['Bottles', 'Ingot Crafting']],
["Sticky Situation", False, [], ['Campfire']],
["Sticky Situation", True, ['Bottles', 'Ingot Crafting', 'Campfire']],
])
def test_42075(self):

View File

@ -126,7 +126,7 @@ def set_rules(world: MultiWorld, player: int):
set_rule(world.get_location("A Terrible Fortress", player), lambda state: True) # since you don't have to fight anything
set_rule(world.get_location("A Throwaway Joke", player), lambda state: True) # kill drowned
set_rule(world.get_location("Minecraft", player), lambda state: True)
set_rule(world.get_location("Sticky Situation", player), lambda state: state.has_bottle_mc(player))
set_rule(world.get_location("Sticky Situation", player), lambda state: state.has("Campfire", player) and state.has_bottle_mc(player))
set_rule(world.get_location("Ol' Betsy", player), lambda state: state.craft_crossbow(player))
set_rule(world.get_location("Cover Me in Debris", player), lambda state: state.has("Progressive Armor", player, 2) and
state.has("8 Netherite Scrap", player, 2) and state.has("Ingot Crafting", player) and