diff data/npcs/kaneda.json @ 181:77228c101cfc

kumiko and kaneda
author Adrianna Pińska <adrianna.pinska@gmail.com>
date Wed, 06 Apr 2011 20:22:28 +0200
parents
children e7413a565421
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/data/npcs/kaneda.json	Wed Apr 06 20:22:28 2011 +0200
@@ -0,0 +1,50 @@
+{
+    "start" : {
+        "events" : [
+            { "matches" : "world.npc_is('kumiko', 'torn')", "next": "state.kumiko" }
+        ]
+    },
+    "kumiko" : {
+        "text" : "Ah, here is the fabled beauty, Kumiko.",
+        "auto_next": "state."
+        "events" : [
+            { "matches" : "world.npc_is('kumiko', 'kaneda')", "next": "state.tear" }
+        ]
+    },
+    "tear" : {
+        "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?",
+        "events" : [
+            { "matches" : "world.npc_is('kumiko', 'jumped')", "next": "state.vase" }
+        ]
+    },
+    "vase" : {
+        "text" : "Hmm, well, never mind that. Do show me around your charming home. Hmm? Is that a broken vase I see?",
+        "events" : [
+            { "matches" : "world.npc_is('kumiko', 'fallen')", "next": "state.hmm" }
+        ]
+    },
+    "hmm" : {
+        "text" : "Hmm.",
+        "events" : [
+            { "matches" : "world.npc_is('kumiko', 'shallwe')", "next": "state.smell" }
+        ]
+    },
+    "smell" : {
+        "text" : "Yes. But only if you explain that horrible smell!",
+        "events" : [
+            { "matches" : "world.npc_is('kumiko', 'dropped')", "next": "state.wontstand" }
+        ]
+    },
+    "wontstand" : {
+        "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?",
+        "events" : [
+            { "matches" : "world.npc_is('kumiko', 'but')", "next": "state.wonthear" }
+        ]
+    },
+    "wonthear" : {
+        "text" : "I won’t hear any more from you.",
+        "auto_next": "state.gone"
+    },
+    "gone" : {
+    },
+}