Mercurial > pyntnclick
comparison gamelib/scenes/mess.py @ 168:de249f7867fc
Set cursor points
author | Stefano Rivera <stefano@rivera.za.net> |
---|---|
date | Wed, 25 Aug 2010 12:32:45 +0200 |
parents | 5845a3ed4dad |
children | 179913efac85 |
comparison
equal
deleted
inserted
replaced
167:5845a3ed4dad | 168:de249f7867fc |
---|---|
26 | 26 |
27 class EmptyCan(Item): | 27 class EmptyCan(Item): |
28 "After emptying the full can." | 28 "After emptying the full can." |
29 | 29 |
30 INVENTORY_IMAGE = "empty_can.png" | 30 INVENTORY_IMAGE = "empty_can.png" |
31 CURSOR = CursorSprite('empty_can_cursor.png', 47, 3) | 31 CURSOR = CursorSprite('empty_can_cursor.png', 20, 30) |
32 | 32 |
33 class FullCan(Item): | 33 class FullCan(Item): |
34 "Found on the shelf." | 34 "Found on the shelf." |
35 | 35 |
36 INVENTORY_IMAGE = "full_can.png" | 36 INVENTORY_IMAGE = "full_can.png" |
37 CURSOR = CursorSprite('full_can_cursor.png', 47, 3) | 37 CURSOR = CursorSprite('full_can_cursor.png', 20, 30) |
38 | 38 |
39 def interact_with_titanium_leg(self, tool, state): | 39 def interact_with_titanium_leg(self, tool, state): |
40 state.replace_inventory_item(self, DentedCan("dented_can")) | 40 state.replace_inventory_item(self, DentedCan("dented_can")) |
41 return Result("You club the can with the femur. The can gets dented, but doesn't open.") | 41 return Result("You club the can with the femur. The can gets dented, but doesn't open.") |
42 | 42 |
50 | 50 |
51 class TubeFragments(Item): | 51 class TubeFragments(Item): |
52 "Old tubes that need repair." | 52 "Old tubes that need repair." |
53 | 53 |
54 INVENTORY_IMAGE = "tube_fragments.png" | 54 INVENTORY_IMAGE = "tube_fragments.png" |
55 CURSOR = CursorSprite('tube_fragments_cursor.png', 47, 3) | 55 CURSOR = CursorSprite('tube_fragments_cursor.png', 3, 60) |
56 | 56 |
57 | 57 |
58 class ReplacementTubes(Item): | 58 class ReplacementTubes(Item): |
59 "Repaired tubes." | 59 "Repaired tubes." |
60 | 60 |
61 INVENTORY_IMAGE = "replacement_tubes.png" | 61 INVENTORY_IMAGE = "replacement_tubes.png" |
62 CURSOR = CursorSprite('replacement_tubes.png', 47, 3) | 62 CURSOR = CursorSprite('replacement_tubes.png', 53, 46) |
63 | 63 |
64 | 64 |
65 class CansOnShelf(Thing): | 65 class CansOnShelf(Thing): |
66 | 66 |
67 NAME = "mess.cans" | 67 NAME = "mess.cans" |