Mercurial > pyntnclick
comparison gamelib/scenes/cryo.py @ 167:5845a3ed4dad
Inventory interaction can (surprisingly) affect the inventory
author | Neil Muller <neil@dip.sun.ac.za> |
---|---|
date | Wed, 25 Aug 2010 12:21:16 +0200 |
parents | 0db92b3b5833 |
children | 6b3ccee6f3f9 |
comparison
equal
deleted
inserted
replaced
166:0db92b3b5833 | 167:5845a3ed4dad |
---|---|
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 | |
90 | 87 |
91 class CryoUnitAlpha(Thing): | 88 class CryoUnitAlpha(Thing): |
92 "Cryo unit containing titanium leg." | 89 "Cryo unit containing titanium leg." |
93 | 90 |
94 NAME = "cryo.unit.1" | 91 NAME = "cryo.unit.1" |