aboutsummaryrefslogtreecommitdiff
path: root/engines/supernova/rooms.h
blob: 8ef8cd3f2b65abb362b520f450e4daa5332aebcb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
#ifndef ROOMS_H
#define ROOMS_H

#include "common/scummsys.h"

#include "msn_def.h"

namespace Supernova {

class Room {
public:
	Room() {
		_seen = false;
	}

	bool hasSeen() {
		return _seen;
	}
	void setRoomSeen(bool seen) {
		_seen = seen;
	}

	virtual ~Room() {}
	virtual void animation() {}
	virtual void onEntrance() {}
	virtual bool interact(Action verb, Object &obj1, Object &obj2) {
		return false;
	}
	
protected:
	int _filenumber;
	bool _shown[kMaxSection];
	Object _objectState[kMaxObject];
	
private:
	bool _seen;
};

// Room 0
class StartingItems : public Room {
public:
	StartingItems() {
		_filenumber = -1;
		
		_shown[0] = false;
		
		_objectState[0] = 
			Object("Keycard", "Die Keycard fuer deine Schraenke.", KEYCARD,
			       TAKE | CARRIED | COMBINABLE, 255, 255, 0, NULLROOM, 0);
		_objectState[1] = 
			Object("Taschenmesser", "Es ist nicht mehr das sch�rfste.", KNIFE,
			       TAKE | CARRIED | COMBINABLE, 255, 255, 0, NULLROOM, 0);
		_objectState[2] = 
			Object("Armbanduhr", Object::defaultDescription, WATCH,
			       TAKE | COMBINABLE | CARRIED, 255, 255, 8, NULLROOM, 0);
		_objectState[3] = 
			Object("Discman", "Es ist eine \"Mad Monkeys\"-CD darin.", DISCMAN,
			       TAKE | COMBINABLE, 255, 255, 0, NULLROOM, 0);
	}
};

// Spaceship
class ShipCorridor : public Room {
public:
	ShipCorridor() {
		_filenumber = 17;
		_shown[0] = true;
		_shown[1] = false;
		_shown[2] = false;
		_shown[3] = false;
		_shown[4] = true;
		
		_objectState[0] = Object("Luke", Object::defaultDescription, HATCH1, OPEN | EXIT, 0, 6, 1, CABIN_L1, 15);
		_objectState[1] = Object("Luke", Object::defaultDescription, NULLOBJECT, OPEN | EXIT, 1, 7, 2, CABIN_L2, 10);
		_objectState[2] = Object("Luke", Object::defaultDescription, NULLOBJECT, OPEN | EXIT, 2, 8, 3, CABIN_L3, 5);
		_objectState[3] = Object("Luke", Object::defaultDescription, NULLOBJECT, OPEN | EXIT, 5, 11, 6, CABIN_R1, 19);
		_objectState[4] = Object("Luke", Object::defaultDescription, NULLOBJECT, OPEN | EXIT, 4, 10, 5, CABIN_R2, 14);
		_objectState[5] = Object("Luke", Object::defaultDescription, NULLOBJECT, OPEN | EXIT | OPENED, 9, 3, 4, CABIN_R3, 9);
		_objectState[6] = Object("Luke", Object::defaultDescription, NULLOBJECT, OPEN | CLOSED | EXIT, 12, 12, 0, AIRLOCK, 2);
		_objectState[7] = Object("Knopf", "Er geh�rt zu der gro�en Luke.", BUTTON, PRESS, 13, 13, 0, NULLROOM, 0);
		_objectState[8] = Object("Leiter", Object::defaultDescription, NULLOBJECT, NULLTYPE, 14, 14, 0, NULLROOM, 0);
		_objectState[9] = Object("Ausgang", Object::defaultDescription, NULLOBJECT, EXIT, 15, 15, 0, HALL, 2);
	}

	virtual bool interact(Action verb, Object &obj1, Object &obj2);
};

class ShipHall: public Room {
public:
	ShipHall() {
		_filenumber = 15;
		_shown[0] = true;
		
		_objectState[0] = Object("Luke", "Sie f�hrt ins Cockpit.", NULLOBJECT, OPEN | EXIT, 4, 5, 1, COCKPIT, 10);
		_objectState[1] = Object("Luke", "Sie f�hrt zur K�che.", KITCHEN_HATCH, OPEN | EXIT, 0, 0, 0, NULLROOM, 1);
		_objectState[2] = Object("Luke", "Sie f�hrt zu den Tiefschlafkammern.", NULLOBJECT, OPEN | CLOSED | EXIT, 1, 1, 2, SLEEP, 8);
		_objectState[3] = Object("Schlitz", "Es ist ein Keycard-Leser.", SLEEP_SLOT, COMBINABLE, 2, 2, 0, NULLROOM, 0);
		_objectState[4] = Object("Leiter", Object::defaultDescription, NULLOBJECT, NULLTYPE, 3, SLEEP, 0, NULLROOM, 0);
		_objectState[5] = Object("Gang", Object::defaultDescription, NULLOBJECT, EXIT, 6, 6, 0, CORRIDOR, 1);
	}
	
	virtual bool interact(Action verb, Object &obj1, Object &obj2);
};

class ShipSleepCabin: public Room {
public:
	ShipSleepCabin() {
		_filenumber = 33;
		_shown[0] = true;
		
		_objectState[0] = Object("Luke", "Dies ist eine der Tiefschlafkammern.", CABINS, NULLTYPE, 0, 0, 0, NULLROOM, 0);
		_objectState[1] = Object("Luke", "Dies ist eine der Tiefschlafkammern.", CABIN, NULLTYPE, 1, 1, 0, NULLROOM, 0);
		_objectState[2] = Object("Computer", Object::defaultDescription, COMPUTER, NULLTYPE, 2, 2, 0, NULLROOM, 0);
		_objectState[3] = Object("Ausgang", Object::defaultDescription, NULLOBJECT, EXIT, 255, 255, 0, HALL, 2);
	}
	
	virtual bool interact(Action verb, Object &obj1, Object &obj2);
	virtual void animation();
	virtual void onEntrance();
};

class ShipCockpit : public Room {
public:
	ShipCockpit() {
		_filenumber = 9;
		_shown[0] = true;
		
		_objectState[0] = Object("Instrumente", "Hmm, sieht ziemlich kompliziert aus.", INSTRUMENTS, NULLTYPE, 2, 2, 0, NULLROOM, 0);
		_objectState[1] = Object("Monitor", Object::defaultDescription, MONITOR, NULLTYPE, 0, 0, 0, NULLROOM, 0);
		_objectState[2] = Object("Monitor", "Dieser Monitor sagt dir nichts.", NULLOBJECT, TAKE, 1, 0, 0, NULLROOM, 0);
		_objectState[3] = Object("Ausgang", Object::defaultDescription, NULLOBJECT, EXIT, 255, 255, 0, HALL, 2);
	}

	virtual bool interact(Action verb, Object &obj1, Object &obj2);
	virtual void animation();
	virtual void onEntrance();
};

class ShipCabinL1: public Room {
public:
	ShipCabinL1() {
		_filenumber = 21;
		_shown[0] = true;
		_shown[1] = true;
		_shown[2] = true;
		_shown[3] = true;
		_shown[4] = true;
		_shown[5] = true;
		
		_objectState[0] = Object("Bild", "Herb!", NULLOBJECT, UNNECESSARY, 5, 5, 0, NULLROOM, 0);
		_objectState[1] = Object("Bild", "Toll!", NULLOBJECT, UNNECESSARY, 6, 6, 0, NULLROOM, 0);
		_objectState[2] = Object("Bild", "Genial!", NULLOBJECT, UNNECESSARY, 7, 7, 0, NULLROOM, 0);
		_objectState[3] = Object("Magnete", "Damit werden Sachen auf|dem Tisch festgehalten.", NULLOBJECT, UNNECESSARY, 8, 8, 0, NULLROOM, 0);
		_objectState[4] = Object("Bild", "Es scheint noch nicht fertig zu sein.", 0, UNNECESSARY, 9, 9, 0);
		_objectState[5] = Object("Stift", "Ein Kugelschreiber.", PEN, TAKE | COMBINABLE, 10, 10, 5 | 128);
		_objectState[6] = Object("Luke", &description, 0, OPEN | OPENED | EXIT, 3, 3, 24 | 128, CORRIDOR, 9);
		_objectState[7] = Object("Schlitz", "Es ist ein Keycard-Leser.", 0, COMBINABLE, 0, 0, 0);
		_objectState[8] = Object("Schrank", &description, 0, OPEN | CLOSED, 1, 1, 0);
		_objectState[9] = Object("Fach", &description, 0, OPEN | CLOSED, 2, 2, 0);
		_objectState[10] = Object("Steckdose", &description, SOCKET, COMBINABLE, 4, 4, 0);
		_objectState[11] = Object("Toilette", &description, BATHROOM_DOOR, EXIT, 255, 255, 0, BATHROOM, 2);
	}
};

class ShipCabinL2 : public Room {
public:
	ShipCabinL2() {
		_filenumber = 21;
		_shown[0] = true;
		_shown[1] = false;
		_shown[2] = false;
		_shown[3] = false;
		_shown[4] = false;
		_shown[5] = false;
		_shown[6] = false;
		_shown[7] = false;
		_shown[8] = false;
		_shown[9] = false;
		_shown[10] = false;
		_shown[11] = false;
		_shown[12] = false;
		_shown[13] = false;
		_shown[14] = false;
		_shown[15] = false;
		_shown[16] = true;
		
		_objectState[0] = Object("Schlitz","Es ist ein Keycard-Leser.",SLOT_KL1,COMBINABLE,31,31,0);
		_objectState[1] = Object("Schlitz","Es ist ein Keycard-Leser.",SLOT_KL2,COMBINABLE,32,32,0);
		_objectState[2] = Object("Schlitz","Es ist ein Keycard-Leser.",SLOT_KL3,COMBINABLE,33,33,0);
		_objectState[3] = Object("Schlitz","Es ist ein Keycard-Leser.",SLOT_KL4,COMBINABLE,45,45,0);
		_objectState[4] = Object("Schrank",&description,SHELF_L1,OPEN | CLOSED,25,26,17);
		_objectState[5] = Object("Pistole","Es ist keine Munition drin.",PISTOL,TAKE,39,39,20);
		_objectState[6] = Object("Fach",&description,SHELF_L2,OPEN | CLOSED,27,28,18);
		_objectState[7] = Object("B�cher","Lauter wissenschaftliche B�cher.",0,UNNECESSARY,40,40,0);
		_objectState[8] = Object("Fach",&description,SHELF_L3,OPEN | CLOSED,29,30,19);
		_objectState[9] = Object("Kabelrolle","Da sind mindestens zwanzig Meter drauf.", SPOOL,TAKE | COMBINABLE,41,41,21);
		_objectState[10] = Object("Fach",&description,SHELF_L4,OPEN | CLOSED,43,44,22);
		_objectState[11] = Object("Buch",&description,BOOK2,TAKE,46,46,23);
		_objectState[12] = Object("Unterw�sche","Ich habe keine Lust, in|der Unterw�sche des|Commanders rumzuw�hlen.", 0,UNNECESSARY,34,34,0);
		_objectState[13] = Object("Unterw�sche","Ich habe keine Lust, in|der Unterw�sche des|Commanders rumzuw�hlen.", 0,UNNECESSARY,35,35,0);
		_objectState[14] = Object("Kleider",&description,0,UNNECESSARY,36,36,0);
		_objectState[15] = Object("Krimskram","Es ist nichts brauchbares dabei.",0,UNNECESSARY,37,37,0);
		_objectState[16] = Object("Krimskram","Es ist nichts brauchbares dabei.",0,UNNECESSARY,38,38,0);
		_objectState[17] = Object("Magnete","Damit werden Sachen auf|dem Tisch festgehalten.",0, UNNECESSARY,23,23,0);
		_objectState[18] = Object("Toilette",&description,BATHROOM_DOOR,EXIT,255,255,0,BATHROOM,22);
		_objectState[19] = Object("Luke",&description,0,OPEN | OPENED | EXIT,3,3,24 | 128,CORRIDOR,9);
		_objectState[20] = Object("Schlitz","Es ist ein Keycard-Leser.",0,COMBINABLE,0,0,0);
		_objectState[21] = Object("Schrank",&description,0,OPEN | CLOSED,1,1,0);
		_objectState[22] = Object("Fach",&description,0,OPEN | CLOSED,2,2,0);
		_objectState[23] = Object("Steckdose",&description,SOCKET,COMBINABLE,4,4,0);
		_objectState[24] = Object("Ordner","Darauf steht \"Dienstanweisungen|zur Mission Supernova\".|Es steht nichts wichtiges drin.", 0,UNNECESSARY,49,49,);
	}
	
	virtual bool interact(Action verb, Object &obj1, Object &obj2);
};

class ShipCabinL3 : public Room {
public:
	ShipCabinL3() {
		_filenumber = 21;
		_shown[0] = true;
		_shown[1] = false;
		_shown[2] = false;
		_shown[3] = false;
		_shown[4] = false;
		_shown[5] = false;
		_shown[6] = true;
		_shown[7] = true;
		_shown[8] = true;
		_shown[9] = true;
		_shown[10] = false;
		_shown[11] = false;
		_shown[12] = true;
		
		_objectState[0] = Object("Poster","Ein Poster von \"Big Boss\".",0,UNNECESSARY,11,11,0);
		_objectState[1] = Object("Poster","Ein Poster von \"Rock Desaster\".",0,UNNECESSARY,12,12,0);
		_objectState[2] = Object("Box",&description,0,0,13,13,0);
		_objectState[3] = Object("Magnete","Damit werden Sachen auf|dem Tisch festgehalten.",0,UNNECESSARY,14,14,0);
		_objectState[4] = Object("Schallplatte","Die Platte ist von \"Big Boss\".",RECORD,TAKE | COMBINABLE,15,15,8 | 128);
		_objectState[5] = Object("Schallplattenst�nder","Du hast jetzt keine Zeit, in|der Plattensammlung rumzust�bern.",0,UNNECESSARY,16,16,0);
		_objectState[6] = Object("Knopf",&description,TURNTABLE_BUTTON,PRESS,22,22,0);
		_objectState[7] = Object("Plattenspieler","Sieht aus, als k�me|er aus dem Museum.",TURNTABLE,UNNECESSARY | COMBINABLE,17,17,0);
		_objectState[8] = Object("Leitung",&description,WIRE,COMBINABLE,18,18,0);
		_objectState[9] = Object("Leitung",&description,WIRE2,COMBINABLE,19,19,0);
		_objectState[10] = Object("Stecker",&description,PLUG,COMBINABLE,20,20,0);
		_objectState[11] = Object("Luke",&description,0,OPEN | OPENED | EXIT,3,3,24 | 128,CORRIDOR,9);
		_objectState[12] = Object("Schlitz","Es ist ein Keycard-Leser.",0,COMBINABLE,0,0,0);
		_objectState[13] = Object("Schrank",&description,0,OPEN | CLOSED,1,1,0);
		_objectState[14] = Object("Fach",&description,0,OPEN | CLOSED,2,2,0);
		_objectState[15] = Object("Steckdose",&description,SOCKET,COMBINABLE,4,4,0);
		_objectState[16] = Object("Toilette",&description,BATHROOM_DOOR,EXIT,255,255,0,BATHROOM,2);
	}
	
	virtual bool interact(Action verb, Object &obj1, Object &obj2);
};

class ShipCabinR1 : public Room {
public:
	ShipCabinR1() {
		_filenumber = 22;
		_shown[0] = true;
		_shown[1] = true;
		_shown[2] = true;
		
		_objectState[0] = Object("Bild","Manche Leute haben schon|einen komischen Geschmack.",0,UNNECESSARY,5,5,0);
		_objectState[1] = Object("Zeichenger�te","Auf dem Zettel sind lauter|unverst�ndliche Skizzen und Berechnungen.|(Jedenfalls f�r dich unverst�ndlich.)",0,UNNECESSARY,6,6,0);
		_objectState[2] = Object("Magnete","Damit werden Sachen auf|dem Tisch festgehalten.",0,UNNECESSARY,7,7,0);
		_objectState[3] = Object("Luke",&description,0,OPEN | OPENED | EXIT,3,3,15 | 128,CORRIDOR,5);
		_objectState[4] = Object("Schlitz","Es ist ein Keycard-Leser.",0,COMBINABLE,0,0,0);
		_objectState[5] = Object("Schrank",&description,0,OPEN | CLOSED,1,1,0);
		_objectState[6] = Object("Fach",&description,0,OPEN | CLOSED,2,2,0);
		_objectState[7] = Object("Steckdose",&description,SOCKET,COMBINABLE,4,4,0);
		_objectState[8] = Object("Toilette",&description,BATHROOM_DOOR,EXIT,255,255,0,BATHROOM,2);
	}
};

class ShipCabinR2 : public Room {
public:
	ShipCabinR2() {
		_filenumber = 22;
		_shown[0] = true;
		_shown[1] = false;
		_shown[2] = false;
		_shown[3] = true;
		_shown[4] = true;
		_shown[5] = true;
		
		_objectState[0] = Object("Schachspiel","Es macht wohl Spa�, an|der Decke Schach zu spielen.",0,UNNECESSARY,11,11,0);
		_objectState[1] = Object("Tennisschl�ger","Fliegt Boris Becker auch mit?",0,UNNECESSARY,8,8,0);
		_objectState[2] = Object("Tennisball","Toll!",0,UNNECESSARY,9,9,0);
		_objectState[3] = Object("Luke",&description,0,OPEN | OPENED | EXIT,3,3,15 | 128,CORRIDOR,5);
		_objectState[4] = Object("Schlitz","Es ist ein Keycard-Leser.",0,COMBINABLE,0,0,0);
		_objectState[5] = Object("Schrank",&description,0,OPEN | CLOSED,1,1,0);
		_objectState[6] = Object("Fach",&description,0,OPEN | CLOSED,2,2,0);
		_objectState[7] = Object("Steckdose",&description,SOCKET,COMBINABLE,4,4,0);
		_objectState[8] = Object("Toilette",&description,BATHROOM_DOOR,EXIT,255,255,0,BATHROOM,2);
	}
};

class ShipCabinR3 : public Room {
public:
	ShipCabinR3() {
		_filenumber = 22;
		_shown[0] = true;
		_shown[1] = false;
		_shown[2] = false;
		_shown[3] = false;
		_shown[4] = false;
		_shown[5] = false;
		_shown[6] = false;
		_shown[7] = true;
		_shown[8] = true;
		_shown[9] = false;
		_shown[10] = false;
		_shown[11] = false;
		_shown[12] = false;
		_shown[13] = false;
		_shown[14] = false;
		_shown[15] = true;
		
		_objectState[0] = Object("Schachspiel","Dein Magnetschachspiel. Schach war|schon immer deine Leidenschaft.",CHESS,TAKE | COMBINABLE,12,12,7 | 128);
		_objectState[1] = Object("Bett","Das ist dein Bett. Toll, nicht wahr?",0,0,13,13,0);
		_objectState[2] = Object("Schlitz","Es ist ein Keycard-Leser.",SLOT_K1,COMBINABLE,27,27,0);
		_objectState[3] = Object("Schlitz","Es ist ein Keycard-Leser.",SLOT_K2,COMBINABLE,28,28,0);
		_objectState[4] = Object("Schlitz","Es ist ein Keycard-Leser.",SLOT_K3,COMBINABLE,29,29,0);
		_objectState[5] = Object("Schlitz","Es ist ein Keycard-Leser.",SLOT_K4,COMBINABLE,30,30,0);
		_objectState[6] = Object("Fach","Das ist eins deiner drei F�cher.",SHELF1,OPEN | CLOSED,14,18,9);
		_objectState[7] = Object("Alben","Deine Briefmarkensammlung.",0,UNNECESSARY,14,14,0);
		_objectState[8] = Object("Fach","Das ist eins deiner drei F�cher.",SHELF2,OPEN | CLOSED,15,19,10);
		_objectState[9] = Object("Seil","Es ist ungef�hr 10 m lang und 4 cm dick.",ROPE,TAKE | COMBINABLE,15,15,12);
		_objectState[10] = Object("Schrank","Das ist dein Schrank.",SHELF3,OPEN | CLOSED,16,17,11);
		_objectState[11] = Object("Krimskram","Es ist nichts brauchbares dabei.",0,UNNECESSARY,20,20,0);
		_objectState[12] = Object("Kleider","Es sind Standard-Weltraum-Klamotten.",0,UNNECESSARY,21,21,0);
		_objectState[13] = Object("Unterw�sche",&description,0,UNNECESSARY,22,22,0);
		_objectState[14] = Object("Str�mpfe",&description,0,UNNECESSARY,23,23,0);
		_objectState[15] = Object("Fach","Das ist eins deiner drei F�cher.",SHELF4,OPEN | CLOSED,24,25,13);
		_objectState[16] = Object("Buch","Es ist|\"Per Anhalter durch die Galaxis\"|von Douglas Adams.",BOOK,TAKE,26,26,14);
		_objectState[17] = Object("Discman","Es ist eine \"Mad Monkeys\"-CD darin.",DISCMAN,TAKE | COMBINABLE,33,33,16);
		_objectState[18] = Object("Luke",&description,0,OPEN | EXIT,3,3,15 | 128,CORRIDOR,5);
		_objectState[19] = Object("Schlitz","Es ist ein Keycard-Leser.",0,COMBINABLE,0,0,0);
		_objectState[20] = Object("Schrank",&description,0,OPEN | CLOSED,1,1,0);
		_objectState[21] = Object("Fach",&description,0,OPEN | CLOSED,2,2,0);
		_objectState[22] = Object("Steckdose",&description,SOCKET,COMBINABLE,4,4,0);
		_objectState[23] = Object("Toilette",&description,BATHROOM_DOOR,EXIT,255,255,0,BATHROOM,2);
	}
	
	virtual bool interact(Action verb, Object &obj1, Object &obj2);
};

class ShipCabinBathroom : public Room  {
public:
	ShipCabinBathroom() {
		_filenumber = 23;
		_shown[0] = true;
		
		_objectState[0] = Object("Klo","Ein Klo mit Saugmechanismus.",TOILET,0,0,0,0);
		_objectState[1] = Object("Dusche",&description,SHOWER,0,1,1,0);
		_objectState[2] = Object("Ausgang",&description,BATHROOM_EXIT,EXIT,255,255,0,0,2);
	}
};

class ShipAirlock : public Room {
public:
	ShipAirlock() {
		_filenumber = 34;
		_shown[0] = true;
		_shown[1] = false;
		_shown[2] = false;
		_shown[3] = false;
		_shown[4] = false;
		_shown[5] = false;
		_shown[6] = true;
		
		_objectState[0] = Object("Luke","Das ist eine Luke !!!",0,EXIT | OPEN | OPENED | CLOSED,0,0,0,CORRIDOR,10);
		_objectState[1] = Object("Luke","Dies ist eine Luke !!!",0,EXIT | OPEN | CLOSED,1,1,0,HOLD,14);
		_objectState[2] = Object("Knopf",&description,BUTTON1,PRESS,2,2,0);
		_objectState[3] = Object("Knopf",&description,BUTTON2,PRESS,3,3,0);
		_objectState[4] = Object("Helm","Es ist der Helm zum Raumanzug.",HELMET,TAKE,4,4,7);
		_objectState[5] = Object("Raumanzug","Der einzige Raumanzug, den die|anderen hiergelassen haben ...",SUIT,TAKE,5,5,8);
		_objectState[6] = Object("Versorgung","Es ist der Versorgungsteil zum Raumanzug.",LIFESUPPORT,TAKE,6,6,9);
	}
	
	virtual bool interact(Action verb, Object &obj1, Object &obj2);
	virtual void onEntrance();
};

class ShipHold : public Room {
public:
	ShipHold() {
		_filenumber = 24;
		_shown[0] = true;
		
		_objectState[0] = Object("",&description,HOLD_WIRE,COMBINABLE,255,255,0);
		_objectState[1] = Object("Schrott","Da ist eine L�sterklemme dran, die|noch ganz brauchbar aussieht.|Ich nehme sie mit.",SCRAP_LK,0,4,4,0);
		_objectState[2] = Object("L�sterklemme",&description,TERMINALSTRIP,COMBINABLE,255,255,0);
		_objectState[3] = Object("Schrott","Junge, Junge! Die Explosion hat ein|ganz sch�nes Durcheinander angerichtet.",0,0,5,5,0);
		_objectState[4] = Object("Reaktor","Das war einmal der Reaktor.",0,0,6,6,0);
		_objectState[5] = Object("D�se",&description,0,0,7,7,0);
		_objectState[6] = Object("blauer K�rbis","Keine Ahnung, was das ist.",0,0,8,8,0);
		_objectState[7] = Object("Luke",&description,LANDINGMOD_OUTERHATCH,EXIT | OPEN,1,2,2,LANDINGMODULE,6);
		_objectState[8] = Object("Landef�hre","Sie war eigentlich f�r Bodenuntersuchungen|auf Arsano 3 gedacht.",0,0,0,0,0);
		_objectState[9] = Object("Ausgang",&description,0,EXIT,255,255,0,AIRLOCK,22);
		_objectState[10] = Object("Luke","Sie f�hrt nach drau�en.",OUTERHATCH_TOP,EXIT | OPEN | OPENED,3,3,0,GENERATOR,8);
		_objectState[11] = Object("Generator","Er versorgt das Raumschiff mit Strom.",GENERATOR_TOP,EXIT,12,12,0,GENERATOR,8);
	}
	
	virtual bool interact(Action verb, Object &obj1, Object &obj2);
	virtual void onEntrance();
};

class ShipLandingModule : public Room {
public:
	ShipLandingModule() {
		_filenumber = 25;
		_shown[0] = true;
		
		_objectState[0] = Object("Steckdose",&description,LANDINGMOD_SOCKET,COMBINABLE,1,1,0);
		_objectState[1] = Object("Knopf","Es ist ein Sicherheitsknopf.|Er kann nur mit einem spitzen|Gegenstand gedr�ckt werden.",LANDINGMOD_BUTTON,PRESS | COMBINABLE,2,2,0);
		_objectState[2] = Object("Monitor",&description,LANDINGMOD_MONITOR,0,3,3,0);
		_objectState[3] = Object("Tastatur",&description,KEYBOARD,0,4,4,0);
		_objectState[4] = Object("",&description,LANDINGMOD_WIRE,COMBINABLE,255,255,0);
		_objectState[5] = Object("Luke",&description,LANDINGMOD_HATCH,EXIT | OPEN | OPENED | COMBINABLE, 0,0,1 | 128,HOLD,10);
	}
	
	virtual bool interact(Action verb, Object &obj1, Object &obj2);
};

class ShipGenerator : public Room {
public:
	ShipGenerator() {
		_filenumber = 18;
		_shown[0] = true;
		_shown[1] = false;
		_shown[2] = false;
		_shown[3] = false;
		_shown[4] = false;
		_shown[5] = true;
		
		_objectState[0] = Object("langes Kabel mit Stecker",&description,GENERATOR_WIRE,COMBINABLE,255,255,0);
		_objectState[1] = Object("leere Kabelrolle",&description,0,UNNECESSARY,255,255,0);
		_objectState[2] = Object("Keycard","Hey, das ist die Keycard des Commanders!|Er mu� sie bei dem �berst�rzten|Aufbruch verloren haben.",KEYCARD2,COMBINABLE | TAKE,12,12,5 | 128);
		_objectState[3] = Object("Seil",&description,GENERATOR_ROPE,COMBINABLE,255,255,0);
		_objectState[4] = Object("Luke","Sie f�hrt nach drau�en.",OUTERHATCH,EXIT | OPEN,1,2,1,OUTSIDE,22);
		_objectState[5] = Object("Luke",&description,0,OPEN | CLOSED,3,3,0);
		_objectState[6] = Object("Schlitz","Es ist ein Keycard-Leser.",0,COMBINABLE,4,4,0);
		_objectState[7] = Object("Klappe",&description,TRAP,OPEN,5,6,2);
		_objectState[8] = Object("Leitung",&description,0,0,7,7,0);
		_objectState[9] = Object("Spannungmessger�t",&description,VOLTMETER,0,9,9,0);
		_objectState[10] = Object("Klemme",&description,CLIP,COMBINABLE,8,8,0);
		_objectState[11] = Object("Leitung","Sie f�hrt vom Generator zum Spannungmessger�t.",SHORT_WIRE,COMBINABLE,10,10,0);
		_objectState[12] = Object("Leiter",&description,LADDER,EXIT,0,0,0,HOLD,1);
	}
	
	virtual bool interact(Action verb, Object &obj1, Object &obj2);
};

class ShipOuterSpace : public Room {
public:
	ShipOuterSpace() {
		_filenumber = 4;
		_shown[0] = true;
		
		_objectState[0] = Object("Luke",&description,0,EXIT,0,0,0,GENERATOR,3);
		_objectState[1] = Object("Seil",&description,0,UNNECESSARY,255,255,0);
	}
};

// Arsano

// Axacuss


}
#endif // ROOMS_H