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
|
//
013-2,23,32,0|script|Motto#wiz|400
{
mes "Mid pleasures and palaces though we may roam,";
mes "Be it ever so humble, there's no place like home.";
close;
}
013-2,30,32,0|script|Note#wiz|400
{
mes "Please do not open.";
close;
}
013-2,38,20,0|script|Saying#wiz|400
{
mes "The early bird catcheth the worm.";
close;
}
013-2,27,21,0|script|Mirror#wiz|400
{
mes "You say: \"Mirror mirror on the wall, who has the nicest haircut of them all?\"";
next;
mes "\"Oh fair adventurer, your hair indeed looks nice. But wouldn't it look much better, after I have rolled my dice?\"";
next;
mes "Your looks suddenly change...";
next;
set @fixedMirror, 1;
callfunc "useMirror";
close;
}
// Warp to wood clearings
013-2,25,23,0|script|Spell#wiz1|400
{
mes "You read: \"I see trees of green, red roses too. I see them bloom for me and you. And I think to myself: \'What a wonderful world\'\"";
next;
mes "You think: \"Huh?\"";
next;
mes "The spell fulfills its inevitable purpose...";
next;
set @dest, rand(BaseLevel);
if (@dest < 10)
goto L_PlaceOne;
if ((@dest >= 10) && (@dest <= 50))
goto L_PlaceTwo;
goto L_PlaceThree;
L_PlaceOne:
warp "013-1",128,28;
goto L_Close;
L_PlaceTwo:
warp "016-1",62,89;
goto L_Close;
L_PlaceThree:
warp "014-1",33,35;
goto L_Close;
L_Close:
set @dest, 0;
close;
}
// Warp to desert
013-2,27,24,0|script|Spell#wiz2|400
{
mes "You read: \"You must not fear, for it is the mind-killer. That and sharp pointy things.\"";
next;
mes "You feel the floor disappear below your feet...";
next;
callfunc "MiriamCheat";
set @dest, rand(BaseLevel);
if (@dest < 10)
goto L_PlaceOne;
if ((@dest >= 10) && (@dest <= 50))
goto L_PlaceTwo;
goto L_PlaceThree;
L_PlaceOne:
warp "006-1",83,60;
goto L_Close;
L_PlaceTwo:
warp "006-1",77,22;
goto L_Close;
L_PlaceThree:
warp "006-1",33,93;
goto L_Close;
L_Close:
set @dest, 0;
close;
}
// Warp to snow area
013-2,25,27,0|script|Spell#wiz3|400
{
mes "You read: \"Snow-white flakes and eminent frost - I'll go there, whatever the cost!\"";
next;
mes "You feel yourself getting lighter...";
next;
set @dest, rand(BaseLevel);
if (@dest < 10)
goto L_FriendlyPlace;
if ((@dest >= 10) && (@dest <= 50))
goto L_DeepCave;
goto L_Cave;
L_FriendlyPlace:
warp "019-3",102,77;
goto L_Close;
L_DeepCave:
warp "031-3",135,163;
goto L_Close;
L_Cave:
warp "031-3",37,213;
goto L_Close;
L_Close:
set @dest, 0;
close;
}
// Warp to Inns
013-2,27,27,0|script|Spell#wiz4|400
{
mes "You read: \"People and cosiness, lively and fun - that's where I've gone!\"";
next;
mes "The world around you slowly dissolves...";
next;
set @dest, rand(BaseLevel);
if (@dest < 10)
goto L_PlaceOne;
if ((@dest >= 10) && (@dest <= 50))
goto L_PlaceTwo;
goto L_PlaceThree;
L_PlaceOne:
warp "030-2",88,24;
goto L_Close;
L_PlaceTwo:
warp "001-2",30,29;
goto L_Close;
L_PlaceThree:
warp "010-2",34,42;
goto L_Close;
L_Close:
set @dest, 0;
close;
}
// Warp to mines
013-2,26,28,0|script|Spell#wiz5|400
{
mes "You read: \"Darkness and legs, eight of them each - I'd rather not go there, but now it's too late...\"";
next;
mes "For a moment everything turns black...";
next;
set @dest, rand(BaseLevel);
if (@dest < 10)
goto L_PlaceOne;
if ((@dest >= 10) && (@dest <= 50))
goto L_PlaceTwo;
goto L_PlaceThree;
L_PlaceOne:
warp "012-4",431,36;
goto L_Close;
L_PlaceTwo:
warp "013-3",134,54;
goto L_Close;
L_PlaceThree:
warp "013-3",178,67;
goto L_Close;
L_Close:
set @dest, 0;
close;
}
// Death
013-2,21,29,0|script|Spell#wiz6|400
{
mes "You read: \"Heart stops pumping, breath begone - life is stopping, death has come!\"";
next;
mes "You're losing control of your body... everything turns black... while slipping to the floor, you hear a faraway scream... suddenly, you see THE LIGHT!";
next;
heal -Hp, 0;
close;
}
// Naked
013-2,28,29,0|script|Spell#wiz7|400
{
mes "You read: \"Cotton, steel, leather and wool - have I ever seen a greater fool?\"";
next;
mes "You suddenly feel naked; you ARE naked!";
next;
nude;
close;
}
|