aboutsummaryrefslogtreecommitdiff
path: root/data/behaviors
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-06-10 04:44:31 -0400
committerhistoria <[not public]>2026-06-10 04:44:31 -0400
commit69d8757ad983697cdc9182fdcc1cdb612a77fb41 (patch)
tree348c26d1f6defe3aef64f5aa9e7cefed0e764214 /data/behaviors
parenta226d72e51eecb768b13600303f73483118d9104 (diff)
downloadthehouseoficarus-69d8757ad983697cdc9182fdcc1cdb612a77fb41.tar.gz
feat: yaml architecture for complex object interaction
Diffstat (limited to 'data/behaviors')
-rw-r--r--data/behaviors/guard_talk.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/data/behaviors/guard_talk.yaml b/data/behaviors/guard_talk.yaml
index e83f2e2..4adde0b 100644
--- a/data/behaviors/guard_talk.yaml
+++ b/data/behaviors/guard_talk.yaml
@@ -13,14 +13,14 @@ nodes:
- text: "\"I have a pass.\""
goto: has_pass
condition:
- flag: got_pass
+ player_flag: got_pass
value: true
- text: "\"Goodbye.\""
end: true
about_gate:
message: "\"Supplies. Weapons. Things you don't need to worry about.\" He shifts his weight. \"Tell you what — bring me some copper ore and I'll stamp you a pass.\""
action:
- set_flags:
+ set_player_flags:
talked_to_guard: true
options:
- text: "\"I'll be back.\""
@@ -36,7 +36,7 @@ nodes:
action:
take_item: copper_ore
give_item: pass_stub
- set_flags:
+ set_player_flags:
got_pass: true
talked_to_guard: true
options: