mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Filler is now being placed yippe
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user