From e6b4cb9f5816c6ee239233bc85f74ee446a161c2 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Wed, 1 Jul 2026 16:37:45 -0400 Subject: feat: shop system overhauled, gui conversation tree editor overhauled --- data/mobs/examples/guard.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'data/mobs/examples/guard.yaml') diff --git a/data/mobs/examples/guard.yaml b/data/mobs/examples/guard.yaml index 7bd7d19..cba448b 100644 --- a/data/mobs/examples/guard.yaml +++ b/data/mobs/examples/guard.yaml @@ -27,7 +27,8 @@ talk: action: set_player_flags: talked_to_guard: true - 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."' + messages: + - '"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."' options: - text: '"I''ll be back."' - condition: @@ -39,11 +40,13 @@ talk: action: set_flags: gate_open: true - message: '"Let me see that..." He examines your pass and nods. "Alright, I''ll open the gate for you."' + messages: + - '"Let me see that..." He examines your pass and nods. "Alright, I''ll open the gate for you."' options: - text: '"Thanks."' start: - message: '"Halt! This area is restricted." The guard eyes you suspiciously.' + messages: + - '"Halt! This area is restricted." The guard eyes you suspiciously.' options: - goto: about_gate text: '"What''s behind that gate?"' @@ -64,7 +67,8 @@ talk: got_pass: true talked_to_guard: true take_item: copper_ore - message: '"Good quality ore. This''ll do." He stamps a slip of paper and hands it to you. "That''s your pass. Don''t lose it."' + messages: + - '"Good quality ore. This''ll do." He stamps a slip of paper and hands it to you. "That''s your pass. Don''t lose it."' options: - text: '"Thanks."' unique: true -- cgit v1.2.3