Mercurial > pyntnclick
comparison gamelib/scenes/engine.py @ 353:b61dccc7fb42
Detergent + cryo fluid puzzle (currently triangular)
author | Stefano Rivera <stefano@rivera.za.net> |
---|---|
date | Sat, 28 Aug 2010 16:18:40 +0200 |
parents | 67e8a547970b |
children | e5f28bd6d4ce |
comparison
equal
deleted
inserted
replaced
352:88c1a59b0544 | 353:b61dccc7fb42 |
---|---|
246 | 246 |
247 INITIAL = 'containers' | 247 INITIAL = 'containers' |
248 | 248 |
249 def get_description(self): | 249 def get_description(self): |
250 return "The receptacles for the coolant reservoirs." | 250 return "The receptacles for the coolant reservoirs." |
251 | |
252 def interact_without(self): | |
253 return Result("You stick your finger in the receptacle. " | |
254 "It almost gets stuck") | |
255 | |
256 def interact_with_full_detergent_bottle(self, item): | |
257 # TODO: Show full tank interact | |
258 self.state.remove_inventory_item(item.name) | |
259 self.state.current_scene.things['engine.cryo_containers'] \ | |
260 .set_data('filled', True) | |
261 return Result("You fill the reservoirs. " | |
262 "It seems the detergent bottle was just big enough") | |
251 | 263 |
252 | 264 |
253 class CoolingPipes(Thing): | 265 class CoolingPipes(Thing): |
254 NAME = 'engine.coolingpipes' | 266 NAME = 'engine.coolingpipes' |
255 | 267 |