comparison gamelib/scenes/cryo.py @ 800:374d96e0b55e pyntnclick

pep8/pyflakes fixes.
author Jeremy Thurgood <firxen@gmail.com>
date Sun, 27 Jan 2013 13:42:58 +0200
parents bdaffaa8b6bf
children eed75a1d50c4
comparison
equal deleted inserted replaced
799:a04a876ee369 800:374d96e0b55e
175 if self.game.get_current_scene().get_data('vandalism_warn'): 175 if self.game.get_current_scene().get_data('vandalism_warn'):
176 self.game.get_current_scene().set_data('vandalism_warn', False) 176 self.game.get_current_scene().set_data('vandalism_warn', False)
177 responses.append(make_jim_dialog( 177 responses.append(make_jim_dialog(
178 _("Prisoner %s. Vandalism is an offence punishable by a " 178 _("Prisoner %s. Vandalism is an offence punishable by a "
179 "minimum of an additional 6 months to your sentence." 179 "minimum of an additional 6 months to your sentence."
180 ) % PLAYER_ID, self.game)) 180 ) % PLAYER_ID, self.game))
181 return responses 181 return responses
182 182
183 def is_interactive(self, tool=None): 183 def is_interactive(self, tool=None):
184 return self.get_data('fixed') 184 return self.get_data('fixed')
185 185
214 214
215 def is_interactive(self, tool=None): 215 def is_interactive(self, tool=None):
216 return True 216 return True
217 217
218 def interact_without(self): 218 def interact_without(self):
219 return Result(_("These pipes aren't attached to the wall very solidly." 219 return Result(
220 )) 220 _("These pipes aren't attached to the wall very solidly."))
221 221
222 def get_description(self): 222 def get_description(self):
223 return _("These pipes carry cooling fluid to the working cryo units.") 223 return _("These pipes carry cooling fluid to the working cryo units.")
224 224
225 225
453 } 453 }
454 454
455 INITIAL = "plaque" 455 INITIAL = "plaque"
456 456
457 def interact_without(self): 457 def interact_without(self):
458 return Result(_("The plaque is welded to the unit. You can't shift it." 458 return Result(
459 )) 459 _("The plaque is welded to the unit. You can't shift it."))
460 460
461 def get_description(self): 461 def get_description(self):
462 return _("'Prisoner 98CC-764E646391EE. War crimes. 45 years.") 462 return _("'Prisoner 98CC-764E646391EE. War crimes. 45 years.")
463 463
464 464