changeset 485:5bd6bd3d42fa

Tweak description when fishbowl is taken
author Neil Muller <neil@dip.sun.ac.za>
date Sun, 29 Aug 2010 19:40:10 +0200
parents a7ed199f69d5
children 14eb4b92c93b
files gamelib/scenes/crew_quarters.py
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gamelib/scenes/crew_quarters.py	Sun Aug 29 19:40:06 2010 +0200
+++ b/gamelib/scenes/crew_quarters.py	Sun Aug 29 19:40:10 2010 +0200
@@ -121,7 +121,10 @@
         return Result("The fishbowl is useful, but its contents aren't.")
 
     def get_description(self):
-        return "This fishbowl looks exactly like an old science fiction space helmet."
+        if self.get_data('has_bowl'):
+            return "This fishbowl looks exactly like an old science fiction space helmet."
+        else:
+            return "An evicted dead fish and some sand lie forlornly on the table"
 
 class Fishbowl(Item):
     "A bowl. Sans fish."