1
0
Fork 0
taleweave-ai/taleweave/systems/weather/weather_logic.yaml

64 lines
1.3 KiB
YAML
Raw Normal View History

rules:
# weather logic
- group: weather
match:
type: room
outdoor: true
2024-05-27 13:47:58 +00:00
weather: clear
chance: 0.1
set:
2024-05-27 13:47:58 +00:00
weather: clouds
- group: weather
match:
type: room
outdoor: true
2024-05-27 13:47:58 +00:00
weather: clouds
chance: 0.1
set:
2024-05-27 13:47:58 +00:00
weather: rain
- group: weather
match:
type: room
outdoor: true
2024-05-27 13:47:58 +00:00
weather: rain
chance: 0.1
set:
2024-05-27 13:47:58 +00:00
weather: clear
- group: weather
match:
type: room
outdoor: true
2024-05-27 13:47:58 +00:00
weather: clouds
chance: 0.1
set:
2024-05-27 13:47:58 +00:00
weather: clear
labels:
- match:
type: room
2024-05-27 13:47:58 +00:00
weather: clear
rule: |
"time" not in attributes or attributes&.time in ["morning", "day"]
backstory: The sun is shining brightly.
description: The sun is shining brightly.
- match:
type: room
2024-05-27 13:47:58 +00:00
weather: clear
rule: |
"time" in attributes and attributes&.time in ["evening", "night"]
backstory: The moon is shining brightly.
description: The moon is shining brightly.
- match:
type: room
weather: clouds
backstory: The sky is overcast.
description: The sky is overcast.
- match:
type: room
2024-05-27 13:47:58 +00:00
weather: rain
backstory: Rain is falling from the cloudy sky.
description: Rain is falling from the cloudy sky.