changeset 361:9d97d2e338db

JIM comments on cryo pipes
author Neil Muller <neil@dip.sun.ac.za>
date Sat, 28 Aug 2010 16:56:09 +0200
parents 452230d78541
children 4e939b3c73f8
files gamelib/scenes/cryo.py
diffstat 1 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gamelib/scenes/cryo.py	Sat Aug 28 16:51:40 2010 +0200
+++ b/gamelib/scenes/cryo.py	Sat Aug 28 16:56:09 2010 +0200
@@ -165,8 +165,15 @@
             self.state.add_item(pipe)
             self.state.add_inventory_item(pipe.name)
             self.set_interact("chopped")
-            return Result("It takes more effort than one would expect, but "
+            result = Result("It takes more effort than one would expect, but "
                           "eventually the pipe is separated from the wall.")
+            ai_result = make_jim_dialog("Prisoner %s. Vandalism is an offence "
+                    "punishable by a minimum of an additional 6 months "
+                    "to your sentence" % PLAYER_ID, self.state)
+            if ai_result:
+                return result, ai_result
+            return result
+
 
     def is_interactive(self):
         return self.get_data('fixed')