aboutsummaryrefslogtreecommitdiff
path: root/data/mobs/examples/guard.yaml
diff options
context:
space:
mode:
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