Mercurial > boomslang
comparison gamelib/scenes/bridge.py @ 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 | 8d8ccae862ee |
children | 201ffb539464 |
comparison
equal
deleted
inserted
replaced
425:7907cd46c206 | 426:dabc9d15c18c |
---|---|
240 def interact_without(self): | 240 def interact_without(self): |
241 self.state.add_inventory_item('superconductor') | 241 self.state.add_inventory_item('superconductor') |
242 self.state.current_scene.things['bridge.massagechair_base'] \ | 242 self.state.current_scene.things['bridge.massagechair_base'] \ |
243 .set_data('contains_superconductor', False) | 243 .set_data('contains_superconductor', False) |
244 self.scene.remove_thing(self) | 244 self.scene.remove_thing(self) |
245 return Result("The superconductor module unclips easily.") | 245 return (Result("The superconductor module unclips easily."), |
246 make_jim_dialog(("Prisoner %s. That chair you've destroyed was " | |
247 "property of the ship's captain. " | |
248 "You will surely be punished." | |
249 ) % PLAYER_ID, self.state)) | |
246 | 250 |
247 class StarField(Thing): | 251 class StarField(Thing): |
248 | 252 |
249 NAME = 'bridge.stars' | 253 NAME = 'bridge.stars' |
250 | 254 |