fix allay advancements requiring note block on the wrong one. (#896)

This commit is contained in:
KonoTyran 2022-08-20 16:02:50 -07:00 committed by GitHub
parent 9341332379
commit be8c3131d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -276,10 +276,10 @@ def set_advancement_rules(world: MultiWorld, player: int):
# 1.19 advancements # 1.19 advancements
# can make a cake, and can reach a pillager outposts for allays # can make a cake, and a noteblock, and can reach a pillager outposts for allays
set_rule(world.get_location("Birthday Song", player), lambda state: state.can_reach("The Lie", "Location", player)) set_rule(world.get_location("Birthday Song", player), lambda state: state.can_reach("The Lie", "Location", player) and state.has("Progressive Tools", player, 2) and state._mc_has_iron_ingots(player))
# find allay and craft a noteblock # can get to outposts.
set_rule(world.get_location("You've Got a Friend in Me", player), lambda state: state.has("Progressive Tools", player, 2) and state._mc_has_iron_ingots(player)) # set_rule(world.get_location("You've Got a Friend in Me", player), lambda state: True)
# craft bucket and adventure to find frog spawning biome # craft bucket and adventure to find frog spawning biome
set_rule(world.get_location("Bukkit Bukkit", player), lambda state: state.has("Bucket", player) and state._mc_has_iron_ingots(player) and state._mc_can_adventure(player)) set_rule(world.get_location("Bukkit Bukkit", player), lambda state: state.has("Bucket", player) and state._mc_has_iron_ingots(player) and state._mc_can_adventure(player))
# I don't like this one its way to easy to get. just a pain to find. # I don't like this one its way to easy to get. just a pain to find.