changeset 426:dabc9d15c18c

Jim complains when you break the chair
author Stefano Rivera <stefano@rivera.za.net>
date Sat, 28 Aug 2010 23:25:48 +0200
parents 7907cd46c206
children 201ffb539464
files gamelib/scenes/bridge.py
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gamelib/scenes/bridge.py	Sat Aug 28 23:23:53 2010 +0200
+++ b/gamelib/scenes/bridge.py	Sat Aug 28 23:25:48 2010 +0200
@@ -242,7 +242,11 @@
         self.state.current_scene.things['bridge.massagechair_base'] \
                           .set_data('contains_superconductor', False)
         self.scene.remove_thing(self)
-        return Result("The superconductor module unclips easily.")
+        return (Result("The superconductor module unclips easily."),
+                make_jim_dialog(("Prisoner %s. That chair you've destroyed was "
+                                 "property of the ship's captain. "
+                                 "You will surely be punished."
+                                ) % PLAYER_ID, self.state))
 
 class StarField(Thing):