diff gamelib/scenes/crew_quarters.py @ 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 af2a23b9787d
children 9f488671c02e
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."