1
0
Fork 0
taleweave-ai/adventure/sim_systems/sleeping_logic.yaml

24 lines
409 B
YAML
Raw Normal View History

2024-05-05 22:45:18 +00:00
rules:
# sleeping logic
- match:
type: actor
sleep: rested
chance: 0.1
2024-05-05 22:45:18 +00:00
set:
sleep: tired
# sleeping initialization
- rule: |
"sleep" not in attributes
set:
sleep: tired
labels:
sleep:
rested:
backstory: You are well-rested.
description: They look well-rested.
tired:
backstory: You are tired.
description: They look tired.