Mercurial > boomslang
comparison gamelib/scenes/cryo.py @ 348:c193cbff785d
The environment / pipe puzzle is now solveable
author | Stefano Rivera <stefano@rivera.za.net> |
---|---|
date | Sat, 28 Aug 2010 15:18:25 +0200 |
parents | 0bb1ab329bee |
children | b61dccc7fb42 |
comparison
equal
deleted
inserted
replaced
347:7147369cee59 | 348:c193cbff785d |
---|---|
39 self.add_item(TitaniumLeg("titanium_leg")) | 39 self.add_item(TitaniumLeg("titanium_leg")) |
40 self.add_thing(CryoUnitAlpha()) | 40 self.add_thing(CryoUnitAlpha()) |
41 self.add_thing(CryoRoomDoor()) | 41 self.add_thing(CryoRoomDoor()) |
42 self.add_thing(CryoComputer()) | 42 self.add_thing(CryoComputer()) |
43 self.add_thing(CryoPipeLeft()) | 43 self.add_thing(CryoPipeLeft()) |
44 self.add_thing(CryoPipeRight()) | 44 self.add_thing(CryoPipeRightTop()) |
45 self.add_thing(CryoPipeRightBottom()) | |
45 | 46 |
46 # Flavour items | 47 # Flavour items |
47 # pipes | 48 # pipes |
48 self.add_thing(GenericDescThing('cryo.pipes', 1, | 49 self.add_thing(GenericDescThing('cryo.pipes', 1, |
49 "These pipes carry cooling fluid to the cryo units.", | 50 "These pipes carry cooling fluid to the cryo units.", |
230 "fixed": InteractImage(117, 226, "intact_cryo_pipe_left.png"), | 231 "fixed": InteractImage(117, 226, "intact_cryo_pipe_left.png"), |
231 "chopped": InteractNoImage(125, 192, 27, 258), | 232 "chopped": InteractNoImage(125, 192, 27, 258), |
232 } | 233 } |
233 | 234 |
234 | 235 |
235 class CryoPipeRight(CryoPipeBase): | 236 class CryoPipeRightTop(CryoPipeBase): |
236 "Left cryo pipe." | 237 "Right cryo pipe, top." |
237 | 238 |
238 NAME = "cryo.pipe.right" | 239 NAME = "cryo.pipe.right.top" |
239 INTERACTS = { | 240 INTERACTS = { |
240 "fixed": InteractImage(645, 211, "intact_cryo_pipe_right.png"), | 241 "fixed": InteractImage(645, 212, "intact_cryo_pipe_right_top.png"), |
241 "chopped": InteractNoImage(643, 199, 38, 233), | 242 "chopped": InteractNoImage(643, 199, 31, 111), |
243 } | |
244 | |
245 | |
246 class CryoPipeRightBottom(CryoPipeBase): | |
247 "Right cryo pipe, bottom." | |
248 | |
249 NAME = "cryo.pipe.right.bottom" | |
250 INTERACTS = { | |
251 "fixed": InteractImage(644, 333, "intact_cryo_pipe_right_bottom.png"), | |
252 "chopped": InteractNoImage(644, 333, 31, 107), | |
242 } | 253 } |
243 | 254 |
244 | 255 |
245 class TitaniumLeg(Item): | 256 class TitaniumLeg(Item): |
246 "Titanium leg, found on a piratical corpse." | 257 "Titanium leg, found on a piratical corpse." |