Bomblogic added

This commit is contained in:
StructuralMike
2021-07-23 20:35:48 +02:00
parent bfd5c5ceeb
commit 051a47e0cd
13 changed files with 54 additions and 26 deletions

View File

@@ -1160,7 +1160,7 @@ def standard_rules(world, player):
def bomb_escape_rule():
loc = world.get_location("Link's Uncle", player)
return loc.item and loc.item.name == 'Bombs (10)'
return loc.item and loc.item.name in ['Bomb Upgrade (+10)' if world.bomblogic[player] else 'Bombs (10)']
def standard_escape_rule(state):
return state.can_kill_most_things(player) or bomb_escape_rule()