diff 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
line wrap: on
line diff
--- a/gamelib/scenes/cryo.py	Wed Aug 25 11:19:30 2010 +0200
+++ b/gamelib/scenes/cryo.py	Wed Aug 25 12:03:08 2010 +0200
@@ -84,6 +84,9 @@
     INVENTORY_IMAGE = "titanium_femur.png"
     CURSOR = CursorSprite('titanium_femur_cursor.png', 47, 3)
 
+    def interact_with_full_can(self, tool):
+        return Result("You club the can with the femur. It doesn't help")
+
 
 class CryoUnitAlpha(Thing):
     "Cryo unit containing titanium leg."