remove lamps_needed_for_dark_rooms variable

This commit is contained in:
Fabian Dill
2020-08-01 06:26:30 +02:00
parent 86025745ac
commit 615192f65b
4 changed files with 7 additions and 14 deletions

View File

@@ -120,7 +120,7 @@ def add_rule(spot, rule, combine='and'):
def add_lamp_requirement(spot, player):
add_rule(spot, lambda state: state.has('Lamp', player, state.world.lamps_needed_for_dark_rooms))
add_rule(spot, lambda state: state.has('Lamp', player))
def forbid_item(location, item, player: int):