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
|
//================= Hercules Script =======================================
//= _ _ _
//= | | | | | |
//= | |_| | ___ _ __ ___ _ _| | ___ ___
//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
//= | | | | __/ | | (__| |_| | | __/\__ \
//= \_| |_/\___|_| \___|\__,_|_|\___||___/
//================= License ===============================================
//= This file is part of Hercules.
//= http://herc.ws - http://github.com/HerculesWS/Hercules
//=
//= Copyright (C) 2012-2015 Hercules Dev Team
//= Copyright (C) Kisuka
//= Copyright (C) $ephiroth
//=
//= Hercules is free software: you can redistribute it and/or modify
//= it under the terms of the GNU General Public License as published by
//= the Free Software Foundation, either version 3 of the License, or
//= (at your option) any later version.
//=
//= This program is distributed in the hope that it will be useful,
//= but WITHOUT ANY WARRANTY; without even the implied warranty of
//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
//= GNU General Public License for more details.
//=
//= You should have received a copy of the GNU General Public License
//= along with this program. If not, see <http://www.gnu.org/licenses/>.
//=========================================================================
//= Moscovia Dungeon Warp Script
//================= Description ===========================================
//= Warp Points for Moscovia Dungeon
//================= Current Version =======================================
//= 1.4
//=========================================================================
mosk_fild02,190,257,0 warp moscoviawarp0401 1,1,mosk_dun01,189,45
mosk_dun01,189,42,0 warp moscoviawarp0501 1,1,mosk_fild02,190,254
mosk_in,215,36,0 warp babayagaout 1,1,mosk_dun02,53,217
mosk_dun02,53,220,4 script #babayagain WARPNPC,1,1,{
end;
OnTouch:
if (mos_nowinter == 11) {
donpcevent "Soldier1#mos::OnEnable";
donpcevent "Soldier2#mos::OnEnable";
donpcevent "Soldier3#mos::OnEnable";
mes "[Soldier]";
mes "Halt right there!";
next;
mes "[Soldier]";
mes "We have information";
mes "that you've been secretly";
mes "communicating with";
mes "Baba Yaga, the Horrible.";
next;
mes "[Soldier]";
mes "If you have something to say,";
mes "speak to the Csar.";
mes "Come with us.";
close2;
donpcevent "Soldier1#mos::OnInit";
donpcevent "Soldier2#mos::OnInit";
donpcevent "Soldier3#mos::OnInit";
mos_nowinter = 12;
warp "mosk_in",125,92;
end;
}
else if (mos_nowinter == 12) {
donpcevent "Soldier1#mos::OnEnable";
donpcevent "Soldier2#mos::OnEnable";
donpcevent "Soldier3#mos::OnEnable";
mes "[Soldier]";
mes "We expected";
mes "that you would appear again.";
mes "What is your business with the Csar?";
next;
if(select("Run away.:Explain the situation.") == 1) {
mes "["+strcharinfo(PC_NAME)+"]";
mes "I should get out of here...";
close2;
warp "mosk_dun02",100,100;
donpcevent "Soldier1#mos::OnInit";
donpcevent "Soldier2#mos::OnInit";
donpcevent "Soldier3#mos::OnInit";
end;
}
mes "-I explain what happend until now.-";
next;
mes "[Soldier]";
mes "If you have something to say, speak";
mes "to the Csar.";
mes "If you leave to this place,";
mes "you will be considered as our enemy.";
close2;
donpcevent "Soldier1#mos::OnInit";
donpcevent "Soldier2#mos::OnInit";
donpcevent "Soldier3#mos::OnInit";
end;
}
else if (mos_nowinter == 13) {
donpcevent "Soldier1#mos::OnEnable";
donpcevent "Soldier2#mos::OnEnable";
donpcevent "Soldier3#mos::OnEnable";
mes "[Soldier]";
mes "We expected";
mes "that you would appear again.";
mes "What is your business with the Csar?";
next;
if(select("Run away.:Explain the situation.") == 1) {
mes "["+strcharinfo(PC_NAME)+"]";
mes "I should get out of here...";
close2;
warp "mosk_dun02",100,100;
donpcevent "Soldier1#mos::OnInit";
donpcevent "Soldier2#mos::OnInit";
donpcevent "Soldier3#mos::OnInit";
end;
}
mes "-I explain what happend until now.-";
next;
mes "[Soldier]";
mes "If you have something to say, speak";
mes "to the Csar.";
mes "If you leave to this place,";
mes "you will be considered as our enemy.";
close2;
donpcevent "Soldier1#mos::OnInit";
donpcevent "Soldier2#mos::OnInit";
donpcevent "Soldier3#mos::OnInit";
end;
}
else {
warp "mosk_in",215,41;
end;
}
}
mosk_dun02,53,215,3 script Soldier1#mos 4_M_RUSKNIGHT,{
mes "[Soldier]";
mes "We're the Csar's soldiers.";
mes "We're called out for emergencies,";
mes "don't disturb us anymore.";
close;
OnInit:
hideonnpc "Soldier1#mos";
end;
OnEnable:
hideoffnpc "Soldier1#mos";
end;
}
mosk_dun02,50,217,3 script Soldier2#mos 4_M_RUSKNIGHT,{
mes "[Soldier]";
mes "We're the Csar's soldiers.";
mes "We're called out for emergencies,";
mes "don't disturb us anymore.";
close;
OnInit:
hideonnpc "Soldier2#mos";
end;
OnEnable:
hideoffnpc "Soldier2#mos";
end;
}
mosk_dun02,56,217,5 script Soldier3#mos 4_M_RUSKNIGHT,{
mes "[Soldier]";
mes "We're the Csar's soldiers.";
mes "We're called out for emergencies,";
mes "don't disturb us anymore.";
close;
OnInit:
hideonnpc "Soldier3#mos";
end;
OnEnable:
hideoffnpc "Soldier3#mos";
end;
}
mosk_dun01,170,164,3 script Milestone#1 HIDDEN_NPC,{
mes "- There is writing on a big rock. -";
next;
mes "^3131FF- Those who serve the Sun will die, Go to the North. -^000000";
close;
}
mosk_dun01,207,276,3 script Milestone#1-2 HIDDEN_NPC,{
mes "- There is writing on a big rock. -";
next;
mes "^3131FF- Those who advance may get hurt but are courageous of heart and those who move back will remain safe.";
mes "If you have courage, step forward. Otherwise, step backward. -^000000";
next;
if(select("Step forward.:Stay.") == 1) {
mes "- You follow the way before you. -";
close2;
warp "mosk_dun02",165,30;
end;
}
mes "- You won't advance. -";
close;
}
mosk_dun01,264,191,3 script Milestone#1-3 HIDDEN_NPC,{
mes "- There is writing on a big rock. -";
next;
mes "^3131FF- Those who advance may get hurt but are brave of heart and those who move back will remain safe.";
mes "If you are brave, then take a step forward. Otherwise, step back. -^000000";
next;
if(select("Step forward.:Stay.") == 1) {
mes "- You follow the way before you. -";
close2;
warp "mosk_dun03",117,36;
end;
}
mes "- You decide to stay. -";
close;
}
mosk_dun02,168,28,3 script Milestone#2-1 HIDDEN_NPC,{
mes "- There is writing on a big rock. -";
next;
mes "^3131FF- Those who advance may get hurt but are valorous of heart and those who move back will remain safe.";
mes "If you valorous, then take a step forward. Otherwise, step back. -^000000";
next;
if(select("Go back.:Stay.") == 1) {
mes "- You sense danger and decide to go back -";
close2;
warp "mosk_dun01",201,269;
end;
}
mes "- You decided to stay. -";
close;
}
mosk_dun02,268,117,3 script Milestone#2-3 HIDDEN_NPC,{
mes "- There is writing on a big rock. -";
next;
mes "^3131FF- Those who step forward will gain honor but may die, those who step backward will have courage but may still get hurt.";
mes "If you are truly brave, step forward. Otherwise, step back -^000000";
next;
if(select("Step forward.:Stay.") == 1) {
mes "- You bravely step forward. -";
close2;
warp "mosk_dun03",32,135;
end;
}
mes "- You decided to stay. -";
close;
}
mosk_dun03,27,131,3 script Milestone#3-2 HIDDEN_NPC,{
mes "- There is writing on a big rock. -";
next;
mes "^3131FF- Those who stay may die but will gain honor, those who go back may get hurt but will gain courage.";
mes "Those who have courage will go back, otherwise step forward and stay. -^000000";
next;
if(select("Go back.:Stay.") == 1) {
mes "- You sense danger and decide to go back -";
close2;
warp "mosk_dun02",262,118;
end;
}
mes "- You decide to stay. -";
close;
}
mosk_dun03,119,46,3 script Milestone#3-1 HIDDEN_NPC,{
mes "There is writing on a big rock.";
next;
mes "^3131FF- Those who stay may die but will gain honor, those who go back may get hurt but will gain courage.";
mes "Those who are afraid of the death will go back, otherwise step forward and stay. -^000000";
next;
if(select("Go back.:Stay.") == 1) {
mes "- You sense danger and decide to go back -";
close2;
warp "mosk_dun01",257,190;
end;
}
mes "- You decided to stay. -";
close;
}
mosk_dun01,194,43,3 script Milestone#1-1 HIDDEN_NPC,{
mes "- There is writing on a big rock. -";
next;
mes "- If you want to protect your life, go back -";
close;
}
mosk_fild02,198,53,3 script Ship#mos_dun HIDDEN_NPC,{
mes "- You find a ship at anchor. -";
next;
if(select("Take the ship and go back to the village.:Explore more.") == 1) {
mes "- You board the ship and pull at the oars. -";
close2;
warp "moscovia",140,54;
end;
}
mes "- That unknown area arouses your interest. -";
close;
}
|