From 69d8757ad983697cdc9182fdcc1cdb612a77fb41 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Wed, 10 Jun 2026 04:44:31 -0400 Subject: feat: yaml architecture for complex object interaction --- data/behaviors/guard_talk.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'data/behaviors') 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: -- cgit v1.2.3