feat: free_lamp_cone as experimental feature

This commit is contained in:
aerinon
2025-11-14 14:37:46 -07:00
parent 5ce9a3e297
commit f4021afac0
6 changed files with 14 additions and 18 deletions

View File

@@ -160,7 +160,7 @@ def and_rule(rule1, rule2):
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) or state.world.free_lamp_cone[player])
def forbid_item(location, item, player):