Mercurial > pyntnclick
comparison gamelib/scenes/bridge.py @ 269:95e4021e9959
Hook up stethoscope
author | Stefano Rivera <stefano@rivera.za.net> |
---|---|
date | Fri, 27 Aug 2010 20:35:27 +0200 |
parents | 024e8ab4b785 |
children | d4f08abc58fb |
comparison
equal
deleted
inserted
replaced
268:e4ea9def56b2 | 269:95e4021e9959 |
---|---|
118 | 118 |
119 | 119 |
120 class Stethoscope(Item): | 120 class Stethoscope(Item): |
121 "Used for cracking safes. Found on the doctor on the chair" | 121 "Used for cracking safes. Found on the doctor on the chair" |
122 | 122 |
123 INVENTORY_IMAGE = 'triangle.png' | 123 INVENTORY_IMAGE = 'stethoscope.png' |
124 CURSOR = CursorSprite('triangle.png', 20, 30) | 124 CURSOR = CursorSprite('stethoscope.png', 29, 27) |
125 | 125 |
126 | 126 |
127 class StethoscopeThing(Thing): | 127 class StethoscopeThing(Thing): |
128 "Stehoscope on the doctor" | 128 "Stehoscope on the doctor" |
129 | 129 |
130 NAME ='bridge.stethoscope' | 130 NAME ='bridge.stethoscope' |
131 | 131 |
132 INTERACTS = { | 132 INTERACTS = { |
133 'stethoscope': InteractNoImage(643, 177, 57, 87), | 133 'stethoscope': InteractImage(650, 178, 'hanging_stethoscope.png'), |
134 } | 134 } |
135 | 135 |
136 INITIAL = 'stethoscope' | 136 INITIAL = 'stethoscope' |
137 | 137 |
138 def interact_without(self): | 138 def interact_without(self): |