changeset 297:4adb64d349bc

Add some flavour text to machine room. Tweak rects
author Neil Muller <neil@dip.sun.ac.za>
date Sat, 28 Aug 2010 00:42:21 +0200
parents 86e3d5dd7fa6
children 44f1dcb49d3f
files gamelib/scenes/machine.py
diffstat 1 files changed, 31 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gamelib/scenes/machine.py	Sat Aug 28 00:28:18 2010 +0200
+++ b/gamelib/scenes/machine.py	Sat Aug 28 00:42:21 2010 +0200
@@ -26,6 +26,35 @@
         self.add_thing(Grinder())
         self.add_item(TitaniumMachete('machete'))
         self.add_item(TinPipe('tin_pipe'))
+        self.add_thing(GenericDescThing('machine.wires', 2,
+            "Wires run to all the machines in the room",
+            (
+                (250, 172, 252, 12),
+                (388, 183, 114, 13),
+                (496, 112, 36, 64),
+                (533, 85, 19, 45),
+                (647, 114, 10, 308),
+                (111, 96, 13, 285),
+                (152, 106, 34, 30),
+                (189, 136, 27, 28),
+                (222, 157, 24, 25),
+                (120, 86, 34, 29),
+                (110, 80, 21, 15),
+                (383, 196, 12, 56),
+                (553, 61, 26, 50),
+                (574, 39, 16, 48),
+                (648, 85, 22, 26),
+                (674, 54, 23, 36),
+                )))
+        self.add_thing(GenericDescThing('machine.diagram', 3,
+            "A wiring diagram of some sort",
+            ((694, 140, 94, 185),)))
+        self.add_thing(GenericDescThing('machine.powerpoint', 4,
+            "The cables to this power point have been cut",
+            ((155, 22, 92, 74),)))
+        self.add_thing(GenericDescThing("machine.powerpoint", 5,
+            "All the machines run off this powerpoint",
+            ((593, 19, 74, 57),)))
 
     def enter(self):
         return Result("The machine room is dark and forbidding.")
@@ -52,7 +81,7 @@
 
 # drill press block: 461, 446, 38, 27
 # drill press:
-#Rect 0 : 
+#Rect 0 :
 #   (519, 338, 36, 63),
 #   (545, 348, 93, 46),
 #   (599, 309, 41, 150),
@@ -68,7 +97,7 @@
     NAME = "machine.laser_welder"
 
     INTERACTS = {
-        "weld": InteractText(200, 200, "Laser welder"),
+        "weld": InteractNoImage(241, 310, 178, 66),
     }
 
     INITIAL = "weld"