Mercurial > boomslang
comparison gamelib/scenes/bridge.py @ 774:b0bd36c2c840 pyntnclick
The data is actually on the scene (now we can finish the game)
author | Stefano Rivera <stefano@rivera.za.net> |
---|---|
date | Sat, 26 Jan 2013 17:51:33 +0200 |
parents | a35f5364437d |
children | bdaffaa8b6bf |
comparison
equal
deleted
inserted
replaced
773:c5ffb5418b03 | 774:b0bd36c2c840 |
---|---|
329 def get_description(self): | 329 def get_description(self): |
330 if self.scene.get_data('ai panel') == 'closed': | 330 if self.scene.get_data('ai panel') == 'closed': |
331 return _("The sign reads 'Warning: Authorized Techinicians Only'.") | 331 return _("The sign reads 'Warning: Authorized Techinicians Only'.") |
332 | 332 |
333 def select_interact(self): | 333 def select_interact(self): |
334 status = self.get_data('ai panel') | 334 status = self.scene.get_data('ai panel') |
335 return status or self.INITIAL | 335 return status or self.INITIAL |
336 | 336 |
337 def interact_without(self): | 337 def interact_without(self): |
338 ai_status = self.state.get_jim_state() | 338 ai_status = self.state.get_jim_state() |
339 if ai_status == 'online': | 339 if ai_status == 'online': |