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

39 lines
782 B
YAML
Raw Normal View History

2024-05-06 01:17:32 +00:00
rules:
# wet/dry logic
- group: environment-moisture
match:
type: actor
wet: true
chance: 0.2
set:
wet: false
- group: environment-moisture
match:
type: actor
wet: true
temperature: hot
chance: 0.5
set:
wet: false
- group: environment-temperature
match:
type: room
temperature: hot
chance: 0.5
trigger: adventure.sim_systems.environment_triggers:hot_room
- group: environment-temperature
match:
type: room
temperature: cold
chance: 0.5
trigger: adventure.sim_systems.environment_triggers:cold_room
labels:
wet:
true:
backstory: You are soaking wet.
description: They are soaking wet and dripping water.
# false intentionally omitted