Rules: allow triforce pieces to be in other players world

This commit is contained in:
Bonta-kun 2019-12-18 20:56:58 +01:00
parent 2b184d072b
commit 80d9fda10f
1 changed files with 0 additions and 5 deletions

View File

@ -106,11 +106,6 @@ def item_name(state, location, player):
return (location.item.name, location.item.player) return (location.item.name, location.item.player)
def global_rules(world, player): def global_rules(world, player):
if world.goal[player] == 'triforcehunt':
for location in world.get_locations():
if location.player != player:
forbid_item(location, 'Triforce Piece', player)
# ganon can only carry triforce # ganon can only carry triforce
add_item_rule(world.get_location('Ganon', player), lambda item: item.name == 'Triforce' and item.player == player) add_item_rule(world.get_location('Ganon', player), lambda item: item.name == 'Triforce' and item.player == player)