changeset 207:d2e4fb016627

TETSUUUUUOOOOOOOOOOOOOO
author Adrianna Pińska <adrianna.pinska@gmail.com>
date Wed, 06 Apr 2011 23:21:29 +0200
parents e2acf4663065
children c72d9bf911fb
files data/npcs/kaneda2.json data/npcs/tetsuo.json
diffstat 2 files changed, 87 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/data/npcs/kaneda2.json	Wed Apr 06 23:21:29 2011 +0200
@@ -0,0 +1,43 @@
+{
+    "start" : {
+        "text" : "Tetsuo-san, I would be delighted to conclude our business negotiation!",
+        "events" : [
+            { "matches" : "npcs.tetsuo.state ==  'joy'", "next": "state.signing" }
+        ]
+    },
+    "signing" : {
+        "text" : "Of course, it’s just a matter of me signing the agreement.",
+        "events" : [
+            { "matches" : "npcs.tetsuo.state ==  'inspect'", "next": "state.ofcourse" }
+        ]
+    },
+    "ofcourse" : {
+        "text" : "But of course!",
+        "auto_next": "state.inspecting"
+    },
+    "inspecting" : {
+        "events" : [
+            { "matches" : "world.agreement_disrupted", "next": "state.preposterous" }
+        ]
+    },
+    "preposterous" : {
+        "text" : "Preposterous terms! What do you take me for, a fool?",
+        "events" : [
+            { "matches" : "npcs.tetsuo.state ==  'shoddy'", "next": "state.pah" }
+        ]
+    },
+    "pah" : {
+        "text" : "Pah, is this how you conduct business in the country?",
+        "events" : [
+            { "matches" : "npcs.tetsuo.state ==  'cheat'", "next": "state.insult" }
+        ]
+    },
+    "insult" : {
+        "text" : "Such insult! The deal is off!",
+        "events" : [
+            { "matches" : "npcs.tetsuo.state ==  'riddance'", "next": "state.gone" }
+        ]
+    },
+    "gone" : {
+    }
+}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/data/npcs/tetsuo.json	Wed Apr 06 23:21:29 2011 +0200
@@ -0,0 +1,44 @@
+{
+    "start" : {
+        "events" : [
+            { "matches" : "npcs.kaneda2.state ==  'start'", "next": "state.joy" }
+        ]
+    },
+    "joy" : {
+        "text" : "Kaneda-san, nothing would bring me more joy.",
+        "events" : [
+            { "matches" : "npcs.kaneda2.state ==  'signing'", "next": "state.inspect" }
+        ]
+    },
+    "inspect" : {
+        "text" : "Naturally, as soon as I inspect the goods.",
+        "events" : [
+            { "matches" : "npcs.kaneda2.state ==  'ofcourse'", "next": "state.inspecting" }
+        ]
+    },
+    "inspecting" : {
+        "events" : [
+            { "matches" : "npcs.kaneda2.state ==  'preposterous'", "next": "state.shoddy" }
+        ]
+    },
+    "shoddy" : {
+        "text" : "You should speak! The shoddy nature of your goods is simply unacceptable.",
+        "events" : [
+            { "matches" : "npcs.kaneda2.state ==  'pah'", "next": "state.cheat" }
+        ]
+    },
+    "cheat" : {
+        "text" : "At least we don’t cheat our buyers with damaged goods like you city folk!",
+        "events" : [
+            { "matches" : "npcs.kaneda2.state ==  'insult'", "next": "state.riddance" }
+        ]
+    },
+    "riddance" : {
+        "text" : "Good riddance.",
+        "events" : [
+            { "matches" : "npcs.kaneda2.state ==  'gone'", "next": "state.done" }
+        ]
+    },
+    "done" : {
+    }
+}
\ No newline at end of file