changeset 593:75e955c11154

Fix skip sabotaging deal bug
author Neil Muller <drnlmuller@gmail.com>
date Sun, 10 Apr 2011 19:29:40 +0200
parents 1386cae4cc15
children 67f0b8123854
files data/npcs/tetsuo.json
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/data/npcs/tetsuo.json	Sun Apr 10 18:39:18 2011 +0200
+++ b/data/npcs/tetsuo.json	Sun Apr 10 19:29:40 2011 +0200
@@ -17,8 +17,9 @@
     },
     "inspecting" : {
         "events" : [
-            { "matches" : "npcs.kaneda2.state !=  'inspecting'", "next": "state.shoddy" }
-        ]
+            { "matches" : "world.missions.kanedas_agreement_disrupted", "next": "state.shoddy" }
+        ],
+        "on_exit": "if npcs.kaneda2.state == 'inspecting': switch_to('kaneda2')"
     },
     "shoddy" : {
         "text" : "You should speak! The shoddy nature of your goods is simply unacceptable.",
@@ -37,4 +38,4 @@
     "done" : {
         "on_entry": "drop_item('tail_steal')"
     }
-}
\ No newline at end of file
+}