Mercurial > pyntnclick
comparison gamelib/scenes/engine.py @ 494:7ae663c687ed
Hook computer control panel to engine room computer. Tweak sign above door
author | Stefano Rivera <stefano@rivera.za.net> |
---|---|
date | Sun, 29 Aug 2010 20:04:05 +0200 |
parents | 73f56bc78cc3 |
children | ee5f6f24c41e |
comparison
equal
deleted
inserted
replaced
486:14eb4b92c93b | 494:7ae663c687ed |
---|---|
43 ( | 43 ( |
44 (594, 387, 45, 109), | 44 (594, 387, 45, 109), |
45 (549, 479, 60, 55), | 45 (549, 479, 60, 55), |
46 ) | 46 ) |
47 )) | 47 )) |
48 self.add_thing(GenericDescThing('engine.controlpanel', 2, | |
49 "A control panel. It seems dead.", | |
50 ( | |
51 (513, 330, 58, 50), | |
52 ) | |
53 )) | |
54 self.add_thing(GenericDescThing('engine.superconductors', 4, | 48 self.add_thing(GenericDescThing('engine.superconductors', 4, |
55 "Superconductors. The engines must be power hogs.", | 49 "Superconductors. The engines must be power hogs.", |
56 ( | 50 ( |
57 (679, 246, 50, 56), | 51 (679, 246, 50, 56), |
58 (473, 280, 28, 23), | 52 (473, 280, 28, 23), |
117 ( | 111 ( |
118 (293, 343, 211, 46), | 112 (293, 343, 211, 46), |
119 ) | 113 ) |
120 )) | 114 )) |
121 self.add_thing(GenericDescThing('engine.exit_sign', 13, | 115 self.add_thing(GenericDescThing('engine.exit_sign', 13, |
122 "It's one of those glow-in-the-dark exit signs that you see everywhere.", | 116 "It's one of those glow-in-the-dark signs needed to satisfy the " |
117 "health and safety inspectors.", | |
123 ( | 118 ( |
124 (681, 322, 80, 33), | 119 (681, 322, 80, 33), |
125 ) | 120 ) |
126 )) | 121 )) |
127 | 122 |
501 | 496 |
502 class ComputerConsole(Thing): | 497 class ComputerConsole(Thing): |
503 NAME = "engine.computer_console" | 498 NAME = "engine.computer_console" |
504 | 499 |
505 INTERACTS = { | 500 INTERACTS = { |
506 'console': InteractNoImage(293, 287, 39, 36), | 501 'console': InteractRectUnion(( |
502 (293, 287, 39, 36), | |
503 (513, 330, 58, 50), | |
504 )), | |
507 } | 505 } |
508 | 506 |
509 INITIAL = 'console' | 507 INITIAL = 'console' |
510 | 508 |
511 def interact_without(self): | 509 def interact_without(self): |