-
Notifications
You must be signed in to change notification settings - Fork 0
/
experiment.t
80 lines (61 loc) · 1.63 KB
/
experiment.t
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
#include <adv3.h>
#include <en_us.h>
versionInfo: GameID
IFID = 'F1E9FCB6-84D5-4FFA-B7E6-74458D83018B'
version = '2020.03.27'
name = 'Yet another experiment'
desc = 'A simple "Escape the room" style game. '
showAbout () {
" << desc >> <br>
Designed as a small set of
useful examples for developers.\b
https://github.com/He4eT/tads3_experiment/";
}
byline = 'by He4eT'
authorEmail = 'He4eT <He4eTHb1u@gmail.com>'
showCredit () {
"Hello there!";
}
;
gameMain: GameMainDef
initialPlayerChar = me
experimentNumber = nil
dayNumber = nil
showIntro () {
cls();
experimentNumber = 10 + rand(100);
dayNumber = rand(1000);
"\b
<q>Experiment <<experimentNumber>>,
day number <<dayNumber>>,</q>
a cold mechanical voice suddenly interrupts
your restless sleep.\b
<<inputManager.pauseForMore(true)>>
Enter <q>instruction</q> if you need a tutorial.\b";
}
showGoodbye () {
"\bGame over\b";
}
;
/* */
#include "src/actor/pc.t"
#include "src/item/interior.t"
#include "src/item/_atmosphere.t"
#include "src/action/repair.t"
#include "src/item/_bandage.t"
/* rooms */
#include "src/room/orangeRoom.t"
#include "src/room/orangeBathroom.t"
#include "src/item/dentalFloss.t"
#include "src/room/yellowRoom.t"
#include "src/item/advertisingDisplay.t"
#include "src/room/cyanRoom.t"
#include "src/item/tape.t"
#include "src/room/pinkRoom.t"
#include "src/item/labCoat.t"
#include "src/item/lockers.t"
#include "src/item/elevator.t"
#include "src/room/redRoom.t"
#include "src/item/dataCable.t"
#include "src/actor/surgeryAssistant.t"
#include "src/room/blackRoom.t"