comparison gamelib/scenes/cryo.py @ 166:0db92b3b5833

Add inventory interactions
author Neil Muller <neil@dip.sun.ac.za>
date Wed, 25 Aug 2010 12:03:08 +0200
parents 153dcb313057
children 5845a3ed4dad
comparison
equal deleted inserted replaced
165:9b3bba5e65f3 166:0db92b3b5833
82 "Titanium leg, found on a piratical corpse." 82 "Titanium leg, found on a piratical corpse."
83 83
84 INVENTORY_IMAGE = "titanium_femur.png" 84 INVENTORY_IMAGE = "titanium_femur.png"
85 CURSOR = CursorSprite('titanium_femur_cursor.png', 47, 3) 85 CURSOR = CursorSprite('titanium_femur_cursor.png', 47, 3)
86 86
87 def interact_with_full_can(self, tool):
88 return Result("You club the can with the femur. It doesn't help")
89
87 90
88 class CryoUnitAlpha(Thing): 91 class CryoUnitAlpha(Thing):
89 "Cryo unit containing titanium leg." 92 "Cryo unit containing titanium leg."
90 93
91 NAME = "cryo.unit.1" 94 NAME = "cryo.unit.1"