3 ! This file is part of SPIRITWRAK.
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.
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.
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/>.
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",
25 Object GAMBIT_21 "On Giant White Cube"
26 class Gambit_Room_Lev2_Class
29 i = CheckGambit(n212,n312,2);
31 else return GAMBIT_W21;
35 i = CheckGambit(n213,n313,2);
37 else return GAMBIT_W22;
41 Object GAMBIT_22 "On Giant White Cube"
42 class Gambit_Room_Lev2_Class
45 i = CheckGambit(n224,n324,2);
47 else return GAMBIT_W21;
51 i = CheckGambit(n222,n322,2);
53 else return GAMBIT_W21;
57 i = CheckGambit(n223,n323,2);
59 else return GAMBIT_W22;
63 Object GAMBIT_23 "On Giant White Cube"
64 class Gambit_Room_Lev2_Class
67 i = CheckGambit(n234,n334,2);
69 else return GAMBIT_W21;
73 i = CheckGambit(n233,n333,2);
75 else return GAMBIT_W22;
79 Object GAMBIT_24 "On Giant White Cube"
80 class Gambit_Room_Lev2_Class
83 i = CheckGambit(n242,n342,2);
85 else return GAMBIT_W21;
89 i = CheckGambit(n241,n341,2);
91 else return GAMBIT_W22;
95 i = CheckGambit(n243,n343,2);
97 else return GAMBIT_W22;
101 Object GAMBIT_25 "On Giant White Cube"
102 class Gambit_Room_Lev2_Class
105 i = CheckGambit(n254,n354,2);
106 if (i ~= 2) return i;
107 else return GAMBIT_W21;
111 i = CheckGambit(n252,n352,2);
112 if (i ~= 2) return i;
113 else return GAMBIT_W21;
117 i = CheckGambit(n251,n351,2);
118 if (i ~= 2) return i;
119 else return GAMBIT_W22;
123 i = CheckGambit(n253,n353,2);
124 if (i ~= 2) return i;
125 else return GAMBIT_W22;
129 Object GAMBIT_26 "On Giant White Cube"
130 class Gambit_Room_Lev2_Class
133 i = CheckGambit(n264,n364,2);
134 if (i ~= 2) return i;
135 else return GAMBIT_W21;
139 i = CheckGambit(n261,n361,2);
140 if (i ~= 2) return i;
141 else return GAMBIT_W22;
145 i = CheckGambit(n263,n363,2);
146 if (i ~= 2) return i;
147 else return GAMBIT_W22;
151 Object GAMBIT_27 "On Giant White Cube"
152 class Gambit_Room_Lev2_Class
155 i = CheckGambit(n272,n372,2);
156 if (i ~= 2) return i;
157 else return GAMBIT_W21;
161 i = CheckGambit(n271,n371,2);
162 if (i ~= 2) return i;
163 else return GAMBIT_W22;
167 Object GAMBIT_28 "On Giant White Cube"
168 class Gambit_Room_Lev2_Class
171 i = CheckGambit(n282,n382,2);
172 if (i ~= 2) return i;
173 else return GAMBIT_W21;
177 i = CheckGambit(n281,n381,2);
178 if (i ~= 2) return i;
179 else return GAMBIT_W22;
183 i = CheckGambit(n284,n384,2);
184 if (i ~= 2) return i;
185 else return GAMBIT_W21;
189 Object GAMBIT_29 "On Giant White Cube"
190 class Gambit_Room_Lev2_Class
193 i = CheckGambit(n294,n394,2);
194 if (i ~= 2) return i;
195 else return GAMBIT_W21;
199 i = CheckGambit(n281,n381,2);
200 if (i ~= 2) return i;
201 else return GAMBIT_W22;
208 Object n213 "southern niche" GAMBIT_21
210 with name "southern",
213 Object n212 "western niche" GAMBIT_21
219 Object n224 "eastern niche" GAMBIT_22
224 Object n223 "southern niche" GAMBIT_22
226 with name "southern",
229 Object n222 "western niche" GAMBIT_22
235 Object n234 "eastern niche" GAMBIT_23
240 Object n233 "southern niche" GAMBIT_23
242 with name "southern",
246 Object n241 "northern niche" GAMBIT_24
248 with name "northern",
251 Object n242 "western niche" GAMBIT_24
256 Object n243 "southern niche" GAMBIT_24
258 with name "southern",
262 Object n251 "northern niche" GAMBIT_25
264 with name "northern",
267 Object n254 "eastern niche" GAMBIT_25
272 Object n252 "western niche" GAMBIT_25
277 Object n253 "southern niche" GAMBIT_25
279 with name "southern",
283 Object n264 "eastern niche" GAMBIT_26
288 Object n261 "northern niche" GAMBIT_26
290 with name "northern",
293 Object n263 "southern niche" GAMBIT_26
295 with name "southern",
299 Object n271 "northern niche" GAMBIT_27
301 with name "northern",
304 Object n272 "western niche" GAMBIT_27
310 Object n281 "northern niche" GAMBIT_28
312 with name "northern",
315 Object n282 "western niche" GAMBIT_28
320 Object n284 "eastern niche" GAMBIT_28
326 Object n291 "northern niche" GAMBIT_29
328 with name "northern",
331 Object n294 "eastern niche" GAMBIT_29
337 ! (level 2 initial wood beam layout)
339 Object e21 "ebony beam" n282 class ebony_beam_class;
340 Object e211 "ebony beam" n294 class ebony_beam_class with number 99;
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;
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;