diff data/npcs/kumiko.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 897eec397cbb
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/data/npcs/kumiko.json	Wed Apr 06 20:22:28 2011 +0200
@@ -0,0 +1,69 @@
+{
+    "start" : {
+        "text" : "I’m so pretty, oh so pretty! Who could ever resist my charms? My delicate grace! My sharp wit! And today, the richest businessman in Edo is coming to our town. If I can impress him – and I am so fabulous, I have no doubt I will – I will marry him and live in a giant palace and have hundreds of servants. Oh, nothing can go wrong today!",
+        "auto_next": "state.temptingfate"
+    },
+    "temptingfate" : {
+        "text" : "The room smells fresh, I have my best kimono on and I’ve set out my most magnificent vase. Everything is perfect (just like me)!",
+        "events" : [
+            { "matches" : "world.vase_broken()", "next": "state.broken" }
+        ]
+    },
+    "broken" : {
+        "text" : "Oh no, my beautiful vase! What will the businessman think to see it broken on the floor?",
+        "events" : [
+            { "matches" : "world.fish_in_house()", "next": "state.badsmell" }
+        ]
+    },
+    "badsmell" : {
+        "text" : "Oh my, what is that terrible smell? Rotten fish? Oh, this won’t do at all!",
+        "events" : [
+            { "matches" : "world.torn_kimono()", "next": "state.torn" }
+        ]
+    },
+    "torn" : {
+        "text" : "Shoo, dirty fox! Oh, look what you’ve done – you’ve made a great big tear in my finest silk kimono. What will the businessman think of a ragged dress like this?",
+        "events" : [
+            { "matches" : "world.npc_is('kaneda','kumiko')", "next": "state.kaneda" }
+        ]
+    },
+    "kaneda" : {
+        "text" : "Kaneda-san! I have been waiting for you.",
+        "events" : [
+            { "matches" : "world.npc_is('kaneda','tear')", "next": "state.jumped" }
+        ]
+    },
+    "jumped" : {
+        "text" : "Oh, Kaneda-san, a dirty little fox jumped on me just as you were approaching and ripped my kimono.",
+        "events" : [
+            { "matches" : "world.npc_is('kaneda','vase')", "next": "state.fallen" }
+        ]
+    },
+    "fallen" : {
+        "text" : "I am sorry, Kaneda-san, it must just have fallen over. It was probably pushed by that mean-spirited fox.",
+        "events" : [
+            { "matches" : "world.npc_is('kaneda','hmm')", "next": "state.shallwe" }
+        ]
+    },
+    "shallwe" : {
+        "text" : "Shall we- go on?",
+        "events" : [
+            { "matches" : "world.npc_is('kaneda','smell')", "next": "state.dropped" }
+        ]
+    },
+    "dropped" : {
+        "text" : "I- A fox came in and dropped an old fish?",
+        "events" : [
+            { "matches" : "world.npc_is('kaneda','wontstand')", "next": "state.but" }
+        ]
+    },
+    "but" : {
+        "text" : "But-",
+        "events" : [
+            { "matches" : "world.npc_is('kaneda','wonthear')", "next": "state.curse" }
+        ]
+    },
+    "curse" : {
+        "text" : "Curse you, fox! I’ll be doomed to a peasant life forever!"
+    }
+}