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