comparison gamelib/scenes/cryo.py @ 228:ce1e85768f7b

Flavour interactions for mess hall
author Neil Muller <neil@dip.sun.ac.za>
date Thu, 26 Aug 2010 23:11:32 +0200
parents be4ac4418aa2
children ca490aecbe0e
comparison
equal deleted inserted replaced
227:be4ac4418aa2 228:ce1e85768f7b
170 self.set_interact("chopped") 170 self.set_interact("chopped")
171 171
172 def is_interactive(self): 172 def is_interactive(self):
173 return self.get_data('fixed') 173 return self.get_data('fixed')
174 174
175 def get_description(self):
176 if self.get_data('fixed'):
177 return "These pipes carry cooling fluid to the cryo units."
178 else:
179 return "There used to be a pipe carrying cooling fuild here"
180
175 181
176 class CryoPipe(CloneableItem): 182 class CryoPipe(CloneableItem):
177 "After emptying the full can." 183 "After emptying the full can."
178 184
179 INVENTORY_IMAGE = "cryo_pipe.png" 185 INVENTORY_IMAGE = "cryo_pipe.png"