Mercurial > skaapsteker
comparison data/npcs/kumiko.json @ 321:b244d01a8881
Hook up kaneda and kumiko.
author | Simon Cross <hodgestar@gmail.com> |
---|---|
date | Sat, 09 Apr 2011 00:49:54 +0200 |
parents | f512e874b2e7 |
children | e1436dacca69 |
comparison
equal
deleted
inserted
replaced
320:0dc80b153580 | 321:b244d01a8881 |
---|---|
27 { "matches" : "npcs.kaneda.state == 'kumiko'", "next": "state.kaneda" } | 27 { "matches" : "npcs.kaneda.state == 'kumiko'", "next": "state.kaneda" } |
28 ] | 28 ] |
29 }, | 29 }, |
30 "kaneda" : { | 30 "kaneda" : { |
31 "text" : "Kaneda-san! I have been waiting for you.", | 31 "text" : "Kaneda-san! I have been waiting for you.", |
32 "events" : [ | 32 "auto_next" : "state.jumped", |
33 { "matches" : "npcs.kaneda.state == 'tear'", "next": "state.jumped" } | 33 "on_exit" : "switch_to('kaneda')" |
34 ] | |
35 }, | 34 }, |
36 "jumped" : { | 35 "jumped" : { |
37 "text" : "Oh, Kaneda-san, a dirty little fox jumped on me just as you were approaching and ripped my kimono.", | 36 "text" : "Oh, Kaneda-san, a dirty little fox jumped on me just as you were approaching and ripped my kimono.", |
38 "events" : [ | 37 "auto_next": "state.fallen", |
39 { "matches" : "npcs.kaneda.state == 'vase'", "next": "state.fallen" } | 38 "on_exit" : "switch_to('kaneda')" |
40 ] | |
41 }, | 39 }, |
42 "fallen" : { | 40 "fallen" : { |
43 "text" : "I am sorry, Kaneda-san, it must just have fallen over. It was probably pushed by that mean-spirited fox.", | 41 "text" : "I am sorry, Kaneda-san, it must just have fallen over. It was probably pushed by that mean-spirited fox.", |
44 "events" : [ | 42 "auto_next": "state.shallwe", |
45 { "matches" : "npcs.kaneda.state == 'hmm'", "next": "state.shallwe" } | 43 "on_exit" : "switch_to('kaneda')" |
46 ] | |
47 }, | 44 }, |
48 "shallwe" : { | 45 "shallwe" : { |
49 "text" : "Shall we- go on?", | 46 "text" : "Shall we- go on?", |
50 "events" : [ | 47 "auto_next": "state.dropped", |
51 { "matches" : "npcs.kaneda.state == 'smell'", "next": "state.dropped" } | 48 "on_exit" : "switch_to('kaneda')" |
52 ] | |
53 }, | 49 }, |
54 "dropped" : { | 50 "dropped" : { |
55 "text" : "I- A fox came in and dropped an old fish?", | 51 "text" : "I- A fox came in and dropped an old fish?", |
56 "events" : [ | 52 "auto_next": "state.but", |
57 { "matches" : "npcs.kaneda.state == 'wontstand'", "next": "state.but" } | 53 "on_exit" : "switch_to('kaneda')" |
58 ] | |
59 }, | 54 }, |
60 "but" : { | 55 "but" : { |
61 "text" : "But-", | 56 "text" : "But-", |
62 "events" : [ | 57 "auto_next": "state.curse", |
63 { "matches" : "npcs.kaneda.state == 'wonthear'", "next": "state.curse" } | 58 "on_exit" : "switch_to('kaneda')" |
64 ] | |
65 }, | 59 }, |
66 "curse" : { | 60 "curse" : { |
67 "text" : "Curse you, fox! I’ll be doomed to a peasant life forever!", | 61 "text" : "Curse you, fox! I’ll be doomed to a peasant life forever!", |
62 "auto_next": "state.sob", | |
68 "on_exit": "world.missions.kumiko_disgraced = True" | 63 "on_exit": "world.missions.kumiko_disgraced = True" |
64 }, | |
65 "sob" : { | |
66 "text" : "*sob*" | |
69 } | 67 } |
70 } | 68 } |