comparison gamelib/scenes/cryo.py @ 213:20998c650ce1

Fixed rect_drawer tool and adjusted JIM message background.
author Jeremy Thurgood <firxen@gmail.com>
date Thu, 26 Aug 2010 19:34:16 +0200
parents 2b820b4ba3bf
children 6ad6575b501c
comparison
equal deleted inserted replaced
212:2b820b4ba3bf 213:20998c650ce1
38 super(Cryo, self).__init__(state) 38 super(Cryo, self).__init__(state)
39 self.add_item(TitaniumLeg("titanium_leg")) 39 self.add_item(TitaniumLeg("titanium_leg"))
40 self.add_thing(CryoUnitAlpha()) 40 self.add_thing(CryoUnitAlpha())
41 self.add_thing(CryoRoomDoor()) 41 self.add_thing(CryoRoomDoor())
42 self.add_thing(CryoComputer()) 42 self.add_thing(CryoComputer())
43
43 # Flavour items 44 # Flavour items
44 # pipes 45 # pipes
45 self.add_thing(GenericDescThing('cryo.pipes', 1, 46 self.add_thing(GenericDescThing('cryo.pipes', 1,
46 "These pipes carry cooling fluid to the cryo units.", 47 "These pipes carry cooling fluid to the cryo units.",
47 ( 48 (
48 (552, 145, 129, 66), 49 (552, 145, 129, 66),
49 (621, 191, 69, 227), 50 # (643, 199, 38, 233),
50 (636, 82, 165, 60), 51 (636, 82, 165, 60),
51 (756, 127, 52, 393), 52 (756, 127, 52, 393),
52 (140, 135, 112, 73), 53 (140, 135, 112, 73),
53 (125, 192, 27, 258), 54 # (125, 192, 27, 258),
54 (11, 63, 140, 67), 55 (11, 63, 140, 67),
55 (2, 130, 44, 394), 56 (2, 130, 44, 394),
56 ))) 57 )))
58
57 # leaks 59 # leaks
58 self.add_thing(GenericDescThing('cryo.leaks', 2, 60 self.add_thing(GenericDescThing('cryo.leaks', 2,
59 "Fluid leaks disturbingly from the bulkheads", 61 "Fluid leaks disturbingly from the bulkheads",
60 ( 62 (
61 (444, 216, 125, 67), 63 (444, 216, 125, 67),
62 (44, 133, 74, 107), 64 (44, 133, 74, 107),
63 ))) 65 )))
66
64 # cryo units 67 # cryo units
65 self.add_thing(GenericCryoUnit(2, 68 self.add_thing(GenericCryoUnit(2,
66 "An empty cryo chamber.", 69 "An empty cryo chamber.",
67 "Prisoner 81E4-C8900480E635. Embezzlement. 20 years.", 70 "Prisoner 81E4-C8900480E635. Embezzlement. 20 years.",
68 ( 71 (
69 (155, 430, 50, 35), 72 (155, 430, 50, 35),
70 (125, 450, 60, 35), 73 (125, 450, 60, 35),
71 (95, 470, 60, 35), 74 (95, 470, 60, 35),
72 (55, 490, 60, 55), 75 (55, 490, 60, 55),
73 ))) 76 )))
77
74 self.add_thing(GenericCryoUnit(3, 78 self.add_thing(GenericCryoUnit(3,
75 "A working cryo chamber. The frosted glass obscures the details of the occupant.", 79 "A working cryo chamber. The frosted glass obscures the details of the occupant.",
76 "Prisoner 9334-CE1EB0243BAB. Murder. 40 years.", 80 "Prisoner 9334-CE1EB0243BAB. Murder. 40 years.",
77 ( 81 (
78 (215, 430, 50, 35), 82 (215, 430, 50, 35),
79 (205, 450, 50, 35), 83 (205, 450, 50, 35),
80 (185, 470, 50, 35), 84 (185, 470, 50, 35),
81 (125, 505, 80, 40), 85 (125, 505, 80, 40),
82 ))) 86 )))
87
83 self.add_thing(GenericCryoUnit(4, 88 self.add_thing(GenericCryoUnit(4,
84 "A broken cryo chamber. The skeleton inside has been picked clean.", 89 "A broken cryo chamber. The skeleton inside has been picked clean.",
85 "Prisoner BFBC-8BF4C6B7492B. Importing illegal alien biomatter. 15 years.", 90 "Prisoner BFBC-8BF4C6B7492B. Importing illegal alien biomatter. 15 years.",
86 ( 91 (
87 (275, 430, 50, 70), 92 (275, 430, 50, 70),
88 (255, 460, 50, 70), 93 (255, 460, 50, 70),
89 (235, 490, 50, 60), 94 (235, 490, 50, 60),
90 ))) 95 )))
96
91 self.add_thing(GenericCryoUnit(5, 97 self.add_thing(GenericCryoUnit(5,
92 "A working cryo chamber. The frosted glass obscures the details of the occupant.", 98 "A working cryo chamber. The frosted glass obscures the details of the occupant.",
93 "Prisoner B520-99495B8C41CE. Copyright infringment. 60 years.", 99 "Prisoner B520-99495B8C41CE. Copyright infringment. 60 years.",
94 ( 100 (
95 (340, 430, 50, 70), 101 (340, 430, 50, 70),
96 (330, 500, 60, 50), 102 (330, 500, 60, 50),
97 ))) 103 )))
104
98 self.add_thing(GenericCryoUnit(6, 105 self.add_thing(GenericCryoUnit(6,
99 "An empty cryo unit. Recently filled by you.", 106 "An empty cryo unit. Recently filled by you.",
100 "Prisoner %s. Safe cracker. 30 years." % PLAYER_ID, 107 "Prisoner %s. Safe cracker. 30 years." % PLAYER_ID,
101 ( 108 (
102 (399, 426, 70, 56), 109 (399, 426, 70, 56),
103 (404, 455, 69, 120), 110 (404, 455, 69, 120),
104 ))) 111 )))
112
105 self.add_thing(GenericCryoUnit(7, 113 self.add_thing(GenericCryoUnit(7,
106 "An empty cryo unit.", 114 "An empty cryo unit.",
107 "Prisoner 83F1-CE32D3234749. Spammer. 5 years", 115 "Prisoner 83F1-CE32D3234749. Spammer. 5 years",
108 ( 116 (
109 (472, 432, 58, 51), 117 (472, 432, 58, 51),
110 (488, 455, 41, 134), 118 (488, 455, 41, 134),
111 (517, 487, 42, 93), 119 (517, 487, 42, 93),
112 ))) 120 )))
121
113 self.add_thing(GenericCryoUnit(8, 122 self.add_thing(GenericCryoUnit(8,
114 "An empty cryo unit.", 123 "An empty cryo unit.",
115 "Prisoner A455-9DF9F43C43E5. Medical Malpractice. 10 years.", 124 "Prisoner A455-9DF9F43C43E5. Medical Malpractice. 10 years.",
116 ( 125 (
117 (596, 419, 69, 39), 126 (596, 419, 69, 39),