1
0
Fork 0
taleweave-ai/taleweave/systems/sim/__init__.py

30 lines
715 B
Python
Raw Normal View History

2024-05-05 22:45:18 +00:00
from .hunger_actions import action_cook, action_eat
from .hygiene_actions import action_wash
from .sleeping_actions import action_sleep
from taleweave.systems.logic import load_logic
2024-05-05 22:45:18 +00:00
LOGIC_FILES = [
2024-05-27 13:47:58 +00:00
"./taleweave/systems/sim/environment_logic.yaml",
"./taleweave/systems/sim/hunger_logic.yaml",
"./taleweave/systems/sim/hygiene_logic.yaml",
"./taleweave/systems/sim/mood_logic.yaml",
"./taleweave/systems/sim/sleeping_logic.yaml",
2024-05-05 22:45:18 +00:00
]
def init_actions():
return [
# hunger
action_cook,
action_eat,
# hygiene
action_wash,
# sleeping
action_sleep,
]
def init_logic():
return [load_logic(filename) for filename in LOGIC_FILES]