Mercurial > boomslang
comparison gamelib/scenes/mess.py @ 295:4a9f29bae9b0
more full stops
author | Adrianna Pińska <adrianna.pinska@gmail.com> |
---|---|
date | Sat, 28 Aug 2010 00:25:26 +0200 |
parents | 5cd616998282 |
children | 86e3d5dd7fa6 |
comparison
equal
deleted
inserted
replaced
294:5cd616998282 | 295:4a9f29bae9b0 |
---|---|
24 self.add_thing(Tubes()) | 24 self.add_thing(Tubes()) |
25 self.add_thing(ToMap()) | 25 self.add_thing(ToMap()) |
26 # Flavour items | 26 # Flavour items |
27 # extra cans on shelf | 27 # extra cans on shelf |
28 self.add_thing(GenericDescThing('mess.cans', 1, | 28 self.add_thing(GenericDescThing('mess.cans', 1, |
29 "A large collection of rusted, useless cans", | 29 "A large collection of rusted, useless cans.", |
30 ( | 30 ( |
31 (154, 335, 89, 106), | 31 (154, 335, 89, 106), |
32 (152, 435, 63, 66), | 32 (152, 435, 63, 66), |
33 ))) | 33 ))) |
34 self.add_thing(GenericDescThing('mess.broccoli', 2, | 34 self.add_thing(GenericDescThing('mess.broccoli', 2, |
64 | 64 |
65 INVENTORY_IMAGE = "empty_can.png" | 65 INVENTORY_IMAGE = "empty_can.png" |
66 CURSOR = CursorSprite('empty_can_cursor.png', 20, 30) | 66 CURSOR = CursorSprite('empty_can_cursor.png', 20, 30) |
67 | 67 |
68 def interact_with_titanium_leg(self, item, state): | 68 def interact_with_titanium_leg(self, item, state): |
69 return Result("Flattening the can doesn't look like a useful thing to do") | 69 return Result("Flattening the can doesn't look like a useful thing to do.") |
70 | 70 |
71 | 71 |
72 class FullCan(BaseCan): | 72 class FullCan(BaseCan): |
73 "Found on the shelf." | 73 "Found on the shelf." |
74 | 74 |
147 "fixed": False, | 147 "fixed": False, |
148 } | 148 } |
149 | 149 |
150 def get_description(self): | 150 def get_description(self): |
151 if self.get_data('status') == "blocked": | 151 if self.get_data('status') == "blocked": |
152 return "The broccoli seems to have become entangled with something" | 152 return "The broccoli seems to have become entangled with something." |
153 elif self.get_data("status") == "broken": | 153 elif self.get_data("status") == "broken": |
154 return "These broken pipes look important." | 154 return "These broken pipes look important." |
155 else: | 155 else: |
156 return "Your fix looks like it's holding up well." | 156 return "Your fix looks like it's holding up well." |
157 | 157 |