2024-05-05 22:45:18 +00:00
|
|
|
rules:
|
|
|
|
# mood logic
|
2024-06-22 22:54:54 +00:00
|
|
|
- group: sim.mood
|
2024-05-05 22:45:18 +00:00
|
|
|
match:
|
2024-05-27 01:32:03 +00:00
|
|
|
type: character
|
2024-05-05 22:45:18 +00:00
|
|
|
mood: happy
|
2024-05-08 01:42:32 +00:00
|
|
|
chance: 0.1
|
2024-05-05 22:45:18 +00:00
|
|
|
set:
|
|
|
|
mood: sad
|
|
|
|
|
2024-06-22 22:54:54 +00:00
|
|
|
- group: sim.mood
|
2024-05-05 22:45:18 +00:00
|
|
|
match:
|
2024-05-27 01:32:03 +00:00
|
|
|
type: character
|
2024-05-05 22:45:18 +00:00
|
|
|
mood: happy
|
2024-05-08 01:42:32 +00:00
|
|
|
chance: 0.1
|
2024-05-05 22:45:18 +00:00
|
|
|
set:
|
|
|
|
mood: neutral
|
|
|
|
|
2024-06-22 22:54:54 +00:00
|
|
|
- group: sim.mood
|
2024-05-05 22:45:18 +00:00
|
|
|
match:
|
2024-05-27 01:32:03 +00:00
|
|
|
type: character
|
2024-05-05 22:45:18 +00:00
|
|
|
mood: angry
|
2024-05-08 01:42:32 +00:00
|
|
|
chance: 0.1
|
2024-05-05 22:45:18 +00:00
|
|
|
set:
|
|
|
|
mood: neutral
|
|
|
|
|
2024-06-22 22:54:54 +00:00
|
|
|
- group: sim.mood
|
2024-05-05 22:45:18 +00:00
|
|
|
match:
|
2024-05-27 01:32:03 +00:00
|
|
|
type: character
|
2024-05-05 22:45:18 +00:00
|
|
|
mood: neutral
|
2024-05-08 01:42:32 +00:00
|
|
|
chance: 0.1
|
2024-05-05 22:45:18 +00:00
|
|
|
set:
|
|
|
|
mood: happy
|
|
|
|
|
2024-06-22 22:54:54 +00:00
|
|
|
- group: sim.mood
|
2024-05-05 22:45:18 +00:00
|
|
|
match:
|
2024-05-27 01:32:03 +00:00
|
|
|
type: character
|
2024-05-05 22:45:18 +00:00
|
|
|
mood: neutral
|
2024-05-08 01:42:32 +00:00
|
|
|
chance: 0.1
|
2024-05-05 22:45:18 +00:00
|
|
|
set:
|
|
|
|
mood: sad
|
|
|
|
|
2024-06-22 22:54:54 +00:00
|
|
|
- group: sim.mood
|
2024-05-05 22:45:18 +00:00
|
|
|
match:
|
2024-05-27 01:32:03 +00:00
|
|
|
type: character
|
2024-05-05 22:45:18 +00:00
|
|
|
mood: sad
|
2024-05-08 01:42:32 +00:00
|
|
|
chance: 0.1
|
2024-05-05 22:45:18 +00:00
|
|
|
set:
|
|
|
|
mood: angry
|
|
|
|
|
2024-06-22 22:54:54 +00:00
|
|
|
- group: sim.mood
|
2024-05-05 22:45:18 +00:00
|
|
|
match:
|
2024-05-27 01:32:03 +00:00
|
|
|
type: character
|
2024-05-05 22:45:18 +00:00
|
|
|
mood: sad
|
2024-05-08 01:42:32 +00:00
|
|
|
chance: 0.1
|
2024-05-05 22:45:18 +00:00
|
|
|
set:
|
|
|
|
mood: neutral
|
|
|
|
|
|
|
|
# mood interactions with other systems
|
2024-06-22 22:54:54 +00:00
|
|
|
- group: sim.mood
|
2024-05-05 22:45:18 +00:00
|
|
|
match:
|
2024-05-27 01:32:03 +00:00
|
|
|
type: character
|
2024-05-05 22:45:18 +00:00
|
|
|
mood: sad
|
|
|
|
sleep: rested
|
2024-05-08 01:42:32 +00:00
|
|
|
chance: 0.2
|
2024-05-05 22:45:18 +00:00
|
|
|
set:
|
|
|
|
sleep: tired
|
|
|
|
|
2024-06-22 22:54:54 +00:00
|
|
|
- group: sim.mood
|
2024-05-05 22:45:18 +00:00
|
|
|
match:
|
2024-05-27 01:32:03 +00:00
|
|
|
type: character
|
2024-05-05 22:45:18 +00:00
|
|
|
hunger: hungry
|
2024-05-08 01:42:32 +00:00
|
|
|
chance: 0.2
|
2024-05-05 22:45:18 +00:00
|
|
|
set:
|
|
|
|
mood: angry
|
|
|
|
|
2024-06-22 22:54:54 +00:00
|
|
|
- group: sim.mood
|
2024-05-05 22:45:18 +00:00
|
|
|
match:
|
2024-05-27 01:32:03 +00:00
|
|
|
type: character
|
2024-05-05 22:45:18 +00:00
|
|
|
mood: angry
|
|
|
|
hunger: full
|
2024-05-08 01:42:32 +00:00
|
|
|
chance: 0.2
|
2024-05-05 22:45:18 +00:00
|
|
|
set:
|
|
|
|
mood: neutral
|
|
|
|
|
2024-06-22 22:54:54 +00:00
|
|
|
- group: sim.mood
|
2024-05-05 22:45:18 +00:00
|
|
|
match:
|
2024-05-27 01:32:03 +00:00
|
|
|
type: character
|
2024-05-05 22:45:18 +00:00
|
|
|
mood: neutral
|
|
|
|
hunger: full
|
2024-05-08 01:42:32 +00:00
|
|
|
chance: 0.2
|
2024-05-05 22:45:18 +00:00
|
|
|
set:
|
|
|
|
mood: happy
|
|
|
|
|
2024-06-22 22:54:54 +00:00
|
|
|
- group: sim.mood
|
2024-05-05 22:45:18 +00:00
|
|
|
match:
|
2024-05-27 01:32:03 +00:00
|
|
|
type: character
|
2024-05-05 22:45:18 +00:00
|
|
|
mood: happy
|
|
|
|
hunger: hungry
|
2024-05-08 01:42:32 +00:00
|
|
|
chance: 0.2
|
2024-05-05 22:45:18 +00:00
|
|
|
set:
|
|
|
|
mood: neutral
|
|
|
|
|
2024-06-22 22:54:54 +00:00
|
|
|
- group: sim.mood
|
2024-05-05 22:45:18 +00:00
|
|
|
match:
|
2024-05-27 01:32:03 +00:00
|
|
|
type: character
|
2024-05-05 22:45:18 +00:00
|
|
|
mood: neutral
|
|
|
|
sleep: tired
|
2024-05-08 01:42:32 +00:00
|
|
|
chance: 0.2
|
2024-05-05 22:45:18 +00:00
|
|
|
set:
|
|
|
|
mood: sad
|
|
|
|
|
|
|
|
# mood initialization
|
2024-06-22 22:54:54 +00:00
|
|
|
- group: sim.mood
|
2024-05-05 22:45:18 +00:00
|
|
|
rule: |
|
|
|
|
"mood" not in attributes
|
|
|
|
set:
|
|
|
|
mood: happy
|
|
|
|
|
|
|
|
labels:
|
2024-05-19 21:49:02 +00:00
|
|
|
- match:
|
2024-05-27 01:32:03 +00:00
|
|
|
type: character
|
2024-05-19 21:49:02 +00:00
|
|
|
mood: happy
|
|
|
|
backstory: You are feeling happy.
|
|
|
|
description: They look happy.
|
|
|
|
- match:
|
2024-05-27 01:32:03 +00:00
|
|
|
type: character
|
2024-05-19 21:49:02 +00:00
|
|
|
mood: sad
|
|
|
|
backstory: You are feeling sad.
|
|
|
|
description: They look sad.
|
|
|
|
- match:
|
2024-05-27 01:32:03 +00:00
|
|
|
type: character
|
2024-05-19 21:49:02 +00:00
|
|
|
mood: angry
|
|
|
|
backstory: You are feeling angry.
|
|
|
|
description: They look angry.
|
|
|
|
# neutral intentionally omitted
|