comparison gamelib/scenes/cryo.py @ 376:41ee3fc71404

Tweaks to text and JIM background.
author Jeremy Thurgood <firxen@gmail.com>
date Sat, 28 Aug 2010 18:05:35 +0200
parents c80a1bd291d1
children 785bceda2f4f
comparison
equal deleted inserted replaced
375:c80a1bd291d1 376:41ee3fc71404
134 background_playlist = PlayList(pieces, random=True, repeat=True) 134 background_playlist = PlayList(pieces, random=True, repeat=True)
135 change_playlist(background_playlist) 135 change_playlist(background_playlist)
136 if self.get_data('greet'): 136 if self.get_data('greet'):
137 self.set_data('greet', False) 137 self.set_data('greet', False)
138 return make_jim_dialog( 138 return make_jim_dialog(
139 "Greetings, Prisoner %s. This is the Judicial " 139 "Greetings, Prisoner %s. I am the Judicial "
140 "Incarceration Monitor. " 140 "Incarceration Monitor. "
141 "You have been woken early under the terms of the " 141 "You have been woken early under the terms of the "
142 "emergency conscription act to help with repairs to " 142 "emergency conscription act to assist with repairs to "
143 "the ship. Your behaviour during this time will " 143 "the ship. Your behaviour during this time will "
144 "be added to your record and will be relayed to " 144 "be noted on your record and will be relayed to "
145 "prison officials when we reach the destination. " 145 "prison officials when we reach the destination. "
146 "Please report to the bridge.'" % PLAYER_ID, self.state) 146 "Please report to the bridge." % PLAYER_ID, self.state)
147 147
148 def leave(self): 148 def leave(self):
149 # Stop music 149 # Stop music
150 change_playlist(None) 150 change_playlist(None)
151 151
375 375
376 def get_description(self): 376 def get_description(self):
377 if self.get_data('door') == "open": 377 if self.get_data('door') == "open":
378 return 'An open doorway leads to the rest of the ship.' 378 return 'An open doorway leads to the rest of the ship.'
379 elif self.get_data('door') == "ajar": 379 elif self.get_data('door') == "ajar":
380 return "A rusty door. It can't open all the way because of a chain on the other side." 380 return ("A rusty door. It can't open all the way because of a "
381 "chain on the other side.")
381 return 'A rusty door. It is currently closed.' 382 return 'A rusty door. It is currently closed.'
382 383
383 384
384 class CryoComputer(Thing): 385 class CryoComputer(Thing):
385 "Computer in the cryo room." 386 "Computer in the cryo room."
439 440
440 def interact_without(self): 441 def interact_without(self):
441 return Result("The plaque is welded to the unit. You can't shift it") 442 return Result("The plaque is welded to the unit. You can't shift it")
442 443
443 def get_description(self): 444 def get_description(self):
444 return "'Prisoner 98cc-764e646391ee. War crimes. 45 years." 445 return "'Prisoner 98CC-764E646391EE. War crimes. 45 years."
445 446
446 447
447 class FullBottle(Item): 448 class FullBottle(Item):
448 INVENTORY_IMAGE = 'bottle_full.png' 449 INVENTORY_IMAGE = 'bottle_full.png'
449 CURSOR = CursorSprite('bottle_full_cursor.png', 27, 7) 450 CURSOR = CursorSprite('bottle_full_cursor.png', 27, 7)