Mercurial > skaapsteker
comparison data/npcs/kaneda.json @ 321:b244d01a8881
Hook up kaneda and kumiko.
author | Simon Cross <hodgestar@gmail.com> |
---|---|
date | Sat, 09 Apr 2011 00:49:54 +0200 |
parents | 6696ffd51ac2 |
children | c4b14a517500 |
comparison
equal
deleted
inserted
replaced
320:0dc80b153580 | 321:b244d01a8881 |
---|---|
1 | |
1 { | 2 { |
2 "start" : { | 3 "start" : { |
3 "events" : [ | 4 "events" : [ |
4 { "matches" : "npcs.kumiko.state == 'torn'", "next": "state.kumiko" } | 5 { "matches" : "npcs.kumiko.state == 'torn'", "next": "state.kumiko" } |
5 ] | 6 ] |
6 }, | 7 }, |
7 "kumiko" : { | 8 "kumiko" : { |
8 "text" : "Ah, here is the fabled beauty, Kumiko.", | 9 "text" : "Ah, here is the fabled beauty, Kumiko.", |
9 "events" : [ | 10 "auto_next" : "state.tear", |
10 { "matches" : "npcs.kumiko.state == 'kaneda'", "next": "state.tear" } | 11 "on_exit" : "switch_to('kumiko')" |
11 ] | |
12 }, | 12 }, |
13 "tear" : { | 13 "tear" : { |
14 "text" : "When I heard of your legendary charm, I rushed to your home right away. It is true what they say about your radiant glow. Ah, but what’s this? A tear?", | 14 "text" : "When I heard of your legendary charm, I rushed to your home right away. It is true what they say about your radiant glow. Ah, but what’s this? A tear?", |
15 "events" : [ | 15 "auto_next": "state.vase", |
16 { "matches" : "npcs.kumiko.state == 'jumped'", "next": "state.vase" } | 16 "on_exit" : "switch_to('kumiko')" |
17 ] | |
18 }, | 17 }, |
19 "vase" : { | 18 "vase" : { |
20 "text" : "Hmm, well, never mind that. Do show me around your charming home. Hmm? Is that a broken vase I see?", | 19 "text" : "Hmm, well, never mind that. Do show me around your charming home. Hmm? Is that a broken vase I see?", |
21 "events" : [ | 20 "auto_next": "state.hmm", |
22 { "matches" : "npcs.kumiko.state == 'fallen'", "next": "state.hmm" } | 21 "on_exit" : "switch_to('kumiko')" |
23 ] | |
24 }, | 22 }, |
25 "hmm" : { | 23 "hmm" : { |
26 "text" : "Hmm.", | 24 "text" : "Hmm.", |
27 "events" : [ | 25 "auto_next" : "state.smell", |
28 { "matches" : "npcs.kumiko.state == 'shallwe'", "next": "state.smell" } | 26 "on_exit" : "switch_to('kumiko')" |
29 ] | |
30 }, | 27 }, |
31 "smell" : { | 28 "smell" : { |
32 "text" : "Yes. But only if you explain that horrible smell!", | 29 "text" : "Yes. But only if you explain that horrible smell!", |
33 "events" : [ | 30 "auto_next" : "state.wontstand", |
34 { "matches" : "npcs.kumiko.state == 'dropped'", "next": "state.wontstand" } | 31 "on_exit" : "switch_to('kumiko')" |
35 ] | |
36 }, | 32 }, |
37 "wontstand" : { | 33 "wontstand" : { |
38 "text" : "Kumiko-san, I won’t stand for this! A torn kimono, a house in disarray, dirt everywhere and that pungent stench. You are clearly no home maker! And to blame it all on a fox?", | 34 "text" : "Kumiko-san, I won’t stand for this! A torn kimono, a house in disarray, dirt everywhere and that pungent stench. You are clearly no home maker! And to blame it all on a fox?", |
39 "events" : [ | 35 "auto_next": "state.wonthear", |
40 { "matches" : "npcs.kumiko.state == 'but'", "next": "state.wonthear" } | 36 "on_exit" : "switch_to('kumiko')" |
41 ] | |
42 }, | 37 }, |
43 "wonthear" : { | 38 "wonthear" : { |
44 "text" : "I won’t hear any more from you.", | 39 "text" : "I won’t hear any more from you.", |
45 "auto_next": "state.gone" | 40 "auto_next": "state.gone", |
41 "on_exit" : "switch_to('kumiko')" | |
46 }, | 42 }, |
47 "gone" : { | 43 "gone" : { |
48 } | 44 } |
49 } | 45 } |