1
0
Fork 0
taleweave-ai/adventure/systems/sim/sleeping_logic.yaml

24 lines
409 B
YAML

rules:
# sleeping logic
- match:
type: actor
sleep: rested
chance: 0.1
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.