comparison gamelib/scenes/map.py @ 345:782ff7e53928

Make airlock warning not JIM's
author Neil Muller <neil@dip.sun.ac.za>
date Sat, 28 Aug 2010 15:01:55 +0200
parents b3bc101171ea
children bfb6c682b4fb
comparison
equal deleted inserted replaced
344:93e52ee01b06 345:782ff7e53928
130 130
131 INITIAL = "inaccessible" 131 INITIAL = "inaccessible"
132 132
133 def interact_without(self): 133 def interact_without(self):
134 if not self.state.is_in_inventory('helmet'): 134 if not self.state.is_in_inventory('helmet'):
135 return Result("JIM says 'The engine room is in vacumn. I cannot" 135 return Result('The airlock refuses to open. The automated'
136 " open the airlock unless you have some suitable" 136 ' voice says "Hull breach beyond this door. Personnel'
137 " protective gear", style="JIM") 137 ' must be equipped for vacuum before entry"')
138 else: 138 else:
139 return super(ToEngine, self).interact_without() 139 return super(ToEngine, self).interact_without()
140 140
141 141
142 class ToMachine(DoorThing): 142 class ToMachine(DoorThing):