changeset 287:2a11709cb427

Hook up a few things in the crew quarters
author Neil Muller <neil@dip.sun.ac.za>
date Fri, 27 Aug 2010 23:50:53 +0200
parents 776bcf563ea0
children 13b6fbfb39aa
files gamelib/scenes/crew_quarters.py
diffstat 1 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gamelib/scenes/crew_quarters.py	Fri Aug 27 23:37:19 2010 +0200
+++ b/gamelib/scenes/crew_quarters.py	Fri Aug 27 23:50:53 2010 +0200
@@ -20,8 +20,15 @@
     def __init__(self, state):
         super(CrewQuarters, self).__init__(state)
         self.add_thing(ToMap())
+        self.add_thing(Safe())
         self.add_thing(FishbowlThing())
         self.add_item(Fishbowl('fishbowl'))
+        self.add_thing(GenericDescThing('crew.plant', 1,
+            "The plant is doing surprisingly well for centuries of neglect",
+            ((624, 215, 61, 108),)))
+        self.add_thing(GenericDescThing('crew.cat', 2,
+            "A picture of a cat labelled 'Clementine'",
+            ((722, 382, 66, 72),)))
 
     def enter(self):
         return Result("The crew were a messy bunch. Or maybe that's just the intervening centuries.")
@@ -32,7 +39,7 @@
     SCENE = "crew"
 
     INTERACTS = {
-        "door": InteractText(100, 200, "To Map"),
+        "door": InteractNoImage(233, 252, 125, 181),
         }
 
     INITIAL = "door"
@@ -44,7 +51,7 @@
     NAME = 'crew.safe'
 
     INTERACTS = {
-        'safe': InteractText(200, 200, 'Safe'),
+        'safe': InteractNoImage(447, 238, 72, 73),
     }
 
     INITIAL = 'safe'