aboutsummaryrefslogtreecommitdiff
path: root/data/mobs/examples/guard.yaml
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-07-01 16:37:45 -0400
committerhistoria <[not public]>2026-07-01 16:37:45 -0400
commite6b4cb9f5816c6ee239233bc85f74ee446a161c2 (patch)
tree1c3bf71c8b7f095baae989afe5e33183a7ed3929 /data/mobs/examples/guard.yaml
parent649ef4b7416ce7053145878841fc9b0bff2f5fec (diff)
downloadthehouseoficarus-e6b4cb9f5816c6ee239233bc85f74ee446a161c2.tar.gz
feat: shop system overhauled, gui conversation tree editor overhauled
Diffstat (limited to 'data/mobs/examples/guard.yaml')
-rw-r--r--data/mobs/examples/guard.yaml12
1 files changed, 8 insertions, 4 deletions
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