# HG changeset patch # User Neil Muller # Date 1302456580 -7200 # Node ID 75e955c111547bc2851b4cbdfe8c480e22e81cda # Parent 1386cae4cc15a1e64cc35752a97077d58fde8a7d Fix skip sabotaging deal bug diff -r 1386cae4cc15 -r 75e955c11154 data/npcs/tetsuo.json --- 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 +}