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

38 lines
762 B
YAML

rules:
- match:
type: actor
hygiene: clean
chance: 0.1
set:
hygiene: dirty
- match:
type: actor
hygiene: dirty
chance: 0.1
set:
hygiene: filthy
# initialize hygiene
- rule: |
"hygiene" not in attributes
set:
hygiene: clean
labels:
- match:
type: actor
hygiene: clean
backstory: You are clean and smell fresh.
description: They look freshly washed and smell clean.
- match:
type: actor
hygiene: dirty
backstory: You are dirty and smell bad.
description: They look dirty and smell bad.
- match:
type: actor
hygiene: filthy
backstory: You are filthy and smell terrible.
description: They look filthy and smell terrible.