05f4037ed548bce68cca745b344ed248926204c3
[spiritwrak.git] / src / gambit2.inf
1
2 ! (level 2)
3
4 Class Gambit_Room_Lev2_Class
5    with description "You are on the surface of a floating stone \
6 cube. You can barely see another cube floating far above you in the \ 
7 dim red light that illuminates the entire area.",
8         name "stone" "cube" "light",
9 has light;
10
11 Object GAMBIT_21 "On Giant White Cube"
12    class Gambit_Room_Lev2_Class
13    with w_to
14         [ i ;
15           i = CheckGambit(n212,n312,2);
16           if (i ~= 2) return i;
17           else return GAMBIT_W21;
18         ],
19         s_to 
20         [ i ;
21           i = CheckGambit(n213,n313,2);
22           if (i ~= 2) return i;
23           else return GAMBIT_W22;
24         ],
25 ;
26
27 Object GAMBIT_22 "On Giant White Cube"
28    class Gambit_Room_Lev2_Class
29    with e_to
30         [ i ;
31           i = CheckGambit(n224,n324,2);
32           if (i ~= 2) return i;
33           else return GAMBIT_W21;
34         ],
35         w_to
36         [ i ;
37           i = CheckGambit(n222,n322,2);
38           if (i ~= 2) return i;
39           else return GAMBIT_W21;
40         ],
41         s_to 
42         [ i ;
43           i = CheckGambit(n223,n323,2);
44           if (i ~= 2) return i;
45           else return GAMBIT_W22;
46         ],
47 ;
48
49 Object GAMBIT_23 "On Giant White Cube"
50    class Gambit_Room_Lev2_Class
51    with e_to
52         [ i ;
53           i = CheckGambit(n234,n334,2);
54           if (i ~= 2) return i;
55           else return GAMBIT_W21;
56         ],
57         s_to
58         [ i ;
59           i = CheckGambit(n233,n333,2);
60           if (i ~= 2) return i;
61           else return GAMBIT_W22;
62         ],
63 ;
64
65 Object GAMBIT_24 "On Giant White Cube"
66    class Gambit_Room_Lev2_Class
67    with w_to
68         [ i ;
69           i = CheckGambit(n242,n342,2);
70           if (i ~= 2) return i;
71           else return GAMBIT_W21;
72         ],
73         n_to 
74         [ i ;
75           i = CheckGambit(n241,n341,2);
76           if (i ~= 2) return i;
77           else return GAMBIT_W22;
78         ],   
79         s_to 
80         [ i ;
81           i = CheckGambit(n243,n343,2);
82           if (i ~= 2) return i;
83           else return GAMBIT_W22;
84         ],   
85 ;
86
87 Object GAMBIT_25 "On Giant White Cube"
88    class Gambit_Room_Lev2_Class
89    with e_to
90         [ i ;
91           i = CheckGambit(n254,n354,2);
92           if (i ~= 2) return i;
93           else return GAMBIT_W21;
94         ],
95         w_to
96         [ i ;
97           i = CheckGambit(n252,n352,2);
98           if (i ~= 2) return i;
99           else return GAMBIT_W21;
100         ],
101         n_to 
102         [ i ;
103           i = CheckGambit(n251,n351,2);
104           if (i ~= 2) return i;
105           else return GAMBIT_W22;
106         ],   
107         s_to 
108         [ i ;
109           i = CheckGambit(n253,n353,2);
110           if (i ~= 2) return i;
111           else return GAMBIT_W22;
112         ],   
113 ;
114        
115 Object GAMBIT_26 "On Giant White Cube"
116    class Gambit_Room_Lev2_Class
117    with e_to
118         [ i ;
119           i = CheckGambit(n264,n364,2);
120           if (i ~= 2) return i;
121           else return GAMBIT_W21;
122         ],
123         n_to 
124         [ i ;
125           i = CheckGambit(n261,n361,2);
126           if (i ~= 2) return i;
127           else return GAMBIT_W22;
128         ],   
129         s_to 
130         [ i ;
131           i = CheckGambit(n263,n363,2);
132           if (i ~= 2) return i;
133           else return GAMBIT_W22;
134         ],   
135 ;
136
137 Object GAMBIT_27 "On Giant White Cube"
138    class Gambit_Room_Lev2_Class
139    with w_to
140         [ i ;
141           i = CheckGambit(n272,n372,2);
142           if (i ~= 2) return i;
143           else return GAMBIT_W21;
144         ],
145         n_to 
146         [ i ;
147           i = CheckGambit(n271,n371,2);
148           if (i ~= 2) return i;
149           else return GAMBIT_W22;
150         ],   
151 ;
152
153 Object GAMBIT_28 "On Giant White Cube"
154    class Gambit_Room_Lev2_Class
155    with w_to
156         [ i ;
157           i = CheckGambit(n282,n382,2);
158           if (i ~= 2) return i;
159           else return GAMBIT_W21;
160         ],
161         n_to 
162         [ i ;
163           i = CheckGambit(n281,n381,2);
164           if (i ~= 2) return i;
165           else return GAMBIT_W22;
166         ],
167         e_to
168         [ i ;
169           i = CheckGambit(n284,n384,2);
170           if (i ~= 2) return i;
171           else return GAMBIT_W21;
172         ],
173 ;
174
175 Object GAMBIT_29 "On Giant White Cube"
176    class Gambit_Room_Lev2_Class
177    with e_to
178         [ i ;
179           i = CheckGambit(n294,n394,2);
180           if (i ~= 2) return i;
181           else return GAMBIT_W21;
182         ],
183         n_to 
184         [ i ;
185           i = CheckGambit(n281,n381,2);
186           if (i ~= 2) return i;
187           else return GAMBIT_W22;
188         ],   
189 ;
190
191
192 ! (level 2 niches)
193  
194 Object n213 "southern niche" GAMBIT_21
195    class niche_class
196    with name "southern",
197         counter_niche n241,
198         niche_dir 3;
199 Object n212 "western niche" GAMBIT_21
200    class niche_class
201    with name "western",
202         counter_niche n224,
203         niche_dir 2;
204
205 Object n224 "eastern niche" GAMBIT_22
206    class niche_class
207    with name "eastern",
208         counter_niche n212,
209         niche_dir 4;
210 Object n223 "southern niche" GAMBIT_22
211    class niche_class
212    with name "southern",
213         counter_niche n251,
214         niche_dir 3;
215 Object n222 "western niche" GAMBIT_22
216    class niche_class
217    with name "western",
218         counter_niche n234,
219         niche_dir 2;
220
221 Object n234 "eastern niche" GAMBIT_23
222    class niche_class
223    with name "eastern",
224         counter_niche n222,
225         niche_dir 4;
226 Object n233 "southern niche" GAMBIT_23
227    class niche_class
228    with name "southern",
229         counter_niche n261,
230         niche_dir 3;
231
232 Object n241 "northern niche" GAMBIT_24
233    class niche_class
234    with name "northern",
235         counter_niche n213,
236         niche_dir 1;
237 Object n242 "western niche" GAMBIT_24
238    class niche_class
239    with name "western",
240         counter_niche n254,
241         niche_dir 2;
242 Object n243 "southern niche" GAMBIT_24
243    class niche_class
244    with name "southern",
245         counter_niche n271,
246         niche_dir 3;
247
248 Object n251 "northern niche" GAMBIT_25
249    class niche_class
250    with name "northern",
251         counter_niche n223,
252         niche_dir 1;
253 Object n254 "eastern niche" GAMBIT_25
254    class niche_class
255    with name "eastern",
256         counter_niche n242,
257         niche_dir 4;
258 Object n252 "western niche" GAMBIT_25
259    class niche_class
260    with name "western",
261         counter_niche n264,
262         niche_dir 2;
263 Object n253 "southern niche" GAMBIT_25
264    class niche_class
265    with name "southern",
266         counter_niche n281,
267         niche_dir 3;
268
269 Object n264 "eastern niche" GAMBIT_26
270    class niche_class
271    with name "eastern",
272         counter_niche n252,
273         niche_dir 4;
274 Object n261 "northern niche" GAMBIT_26
275    class niche_class
276    with name "northern",
277         counter_niche n233,
278         niche_dir 1;
279 Object n263 "southern niche" GAMBIT_26
280    class niche_class
281    with name "southern",
282         counter_niche n291,
283         niche_dir 3;
284
285 Object n271 "northern niche" GAMBIT_27
286    class niche_class
287    with name "northern",
288         counter_niche n243,
289         niche_dir 1;
290 Object n272 "western niche" GAMBIT_27
291    class niche_class
292    with name "western",
293         counter_niche n284,
294         niche_dir 2;
295
296 Object n281 "northern niche" GAMBIT_28
297    class niche_class
298    with name "northern",
299         counter_niche n253,
300         niche_dir 1;
301 Object n282 "western niche" GAMBIT_28
302    class niche_class
303    with name "western",
304         counter_niche n294,
305         niche_dir 2;
306 Object n284 "eastern niche" GAMBIT_28
307    class niche_class
308    with name "eastern",
309         counter_niche n272,
310         niche_dir 4;
311
312 Object n291 "northern niche" GAMBIT_29
313    class niche_class
314    with name "northern",
315         counter_niche n263,
316         niche_dir 1;
317 Object n294 "eastern niche" GAMBIT_29
318    class niche_class
319    with name "eastern",
320         counter_niche n282,
321         niche_dir 4;
322
323 ! (level 2 initial wood beam layout)
324
325 Object e21 "ebony beam" n282 class ebony_beam_class;
326 Object e211 "ebony beam" n294 class ebony_beam_class with number 99;
327
328 Object p21 "pine beam" n213 class pine_beam_class;
329 Object p211 "pine beam" n241 class pine_beam_class with number 99;
330 Object p22 "pine beam" n243 class pine_beam_class;
331 Object p221 "pine beam" n271 class pine_beam_class with number 99;
332 Object p23 "pine beam" n242 class pine_beam_class;
333 Object p231 "pine beam" n254 class pine_beam_class with number 99;
334 Object p24 "pine beam" n252 class pine_beam_class;
335 Object p241 "pine beam" n264 class pine_beam_class with number 99;
336
337 ! (side note: with balsa beams, 2nd side need not be 99, since 
338 ! it will always break on the first try, and the default number is 0
339 Object b21 "balsa beam" n212 class balsa_beam_class;
340 Object b211 "balsa beam" n224 class balsa_beam_class;
341 Object b22 "balsa beam" n222 class balsa_beam_class;
342 Object b221 "balsa beam" n234 class balsa_beam_class;
343 Object b23 "balsa beam" n223 class balsa_beam_class;
344 Object b231 "balsa beam" n251 class balsa_beam_class;
345 Object b24 "balsa beam" n233 class balsa_beam_class;
346 Object b241 "balsa beam" n261 class balsa_beam_class;
347 Object b25 "balsa beam" n253 class balsa_beam_class;
348 Object b251 "balsa beam" n281 class balsa_beam_class;
349 Object b26 "balsa beam" n263 class balsa_beam_class;
350 Object b261 "balsa beam" n291 class balsa_beam_class;
351 Object b27 "balsa beam" n272 class balsa_beam_class;
352 Object b271 "balsa beam" n284 class balsa_beam_class;
353