Mercurial > skaapsteker
comparison data/npcs/guard.json @ 171:13e10b877f6c
dialogue tree for temple guard
author | Adrianna Pińska <adrianna.pinska@gmail.com> |
---|---|
date | Wed, 06 Apr 2011 01:04:43 +0200 |
parents | |
children | 4e7ca5cf57fa |
comparison
equal
deleted
inserted
replaced
170:aa154c4086cb | 171:13e10b877f6c |
---|---|
1 { | |
2 "start" : { | |
3 "text" : "Shoo, filthy fox! How did you get in here?", | |
4 "events" : [ | |
5 { "matches" : "world.fox_is_shapeshifted()", "next": "state.shapeshifted" }, | |
6 { "matches" : "world.fox_is_disguised()", "next": "state.disguised" } | |
7 ] | |
8 }, | |
9 "shapeshifted" : { | |
10 "text" : "Excuse me, ma’am. The gate is closed.", | |
11 "choices" : [ | |
12 { "text": "Why is that?", "next": "state.monks" }, | |
13 { "text": "Let me out now!", "next": "state.staycalm" }, | |
14 { "text": "Sayonara.", "next": "state.secondtry" } | |
15 ], | |
16 "events" : [ | |
17 { "matches" : "world.fox_is_disguised()", "next": "state.disguised" } | |
18 ] | |
19 }, | |
20 "monks" : { | |
21 "text" : "The monks have asked us not to let anybody out.", | |
22 "choices" : [ | |
23 { "text": "Pretty please?", "next": "state.noexceptions" } | |
24 ] | |
25 }, | |
26 "noexceptions" : { | |
27 "text" : "Sorry, no exceptions.", | |
28 "auto_next": "state.secondtry" | |
29 }, | |
30 "staycalm" : { | |
31 "text" : "Please stay calm. Perhaps you should go meditate?", | |
32 "auto_next": "state.secondtry" | |
33 }, | |
34 "secondtry" : { | |
35 "text" : "The gate is locked, and it’s staying locked.", | |
36 "events" : [ | |
37 { "matches" : "world.fox_is_disguised()", "next": "state.disguised" } | |
38 ] | |
39 }, | |
40 "disguised" : { | |
41 "text" : "Ah, good evening, young lady! I’m afraid the gate is still closed for the night...", | |
42 "choices" : [ | |
43 { "text": "Even for me?", "next": "state.notsafe" }, | |
44 { "text": "Sayonara." } | |
45 ] | |
46 }, | |
47 "notsafe" : { | |
48 "text" : "Ah, well, it isn’t safe for pretty young women to be wandering around alone.", | |
49 "choices" : [ | |
50 { "text": "It’s only for a moment. My house is just across the road.", "next": "state.hmm" } | |
51 ] | |
52 }, | |
53 "hmm" : { | |
54 "text" : "Hmm...", | |
55 "choices" : [ | |
56 { "text": "You could come join me for some sake later.", "next": "state.okay" } | |
57 ] | |
58 }, | |
59 "okay" : { | |
60 "text" : "Ah, well, okay! I guess I could make an exception, just this once... Just across the road, you say...", | |
61 "auto_next": "state.agreed" | |
62 }, | |
63 "agreed" : { | |
64 } | |
65 } |