Re-worked settings for pottery lottery
Fixed multiworld support for lottery
This commit is contained in:
2
Rules.py
2
Rules.py
@@ -711,7 +711,7 @@ def bomb_rules(world, player):
|
||||
|
||||
|
||||
def pot_rules(world, player):
|
||||
if world.keydropshuffle[player] == 'potsanity':
|
||||
if world.pottery[player] == 'lottery':
|
||||
blocks = [l for l in world.get_locations() if l.type == LocationType.Pot and l.pot.flags & PotFlags.Block]
|
||||
for block_pot in blocks:
|
||||
add_rule(block_pot, lambda state: state.can_lift_rocks(player))
|
||||
|
||||
Reference in New Issue
Block a user