Filler is now being placed yippe

This commit is contained in:
MarioSpore
2025-07-28 23:12:47 -04:00
parent 7e06efb1d0
commit 1762fefba9
4 changed files with 34 additions and 15 deletions

View File

@@ -1,7 +1,8 @@
from worlds.AutoWorld import World
# from .Options import GrinchOptions
from worlds.generic.Rules import add_rule
import logging
logger = logging.getLogger()
def set_rules(world: World):
all_locations = world.get_locations()
@@ -455,5 +456,6 @@ def interpret_rule(rule_set: list[list[str]], player: int):
else:
old_rule = lambda state: False
for item_set in rule_set:
logger.info("Rules to access: " + ";".join(item_set))
old_rule = lambda state: state.has_all(item_set, player) or old_rule
return old_rule