mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
remove lamps_needed_for_dark_rooms variable
This commit is contained in:
2
Rules.py
2
Rules.py
@@ -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):
|
||||
|
Reference in New Issue
Block a user