summaryrefslogtreecommitdiff
path: root/npc/battleground/tierra/tierra_enter.txt
blob: dfada7dc340762e9155d8f2adacff0002d0b0c09 (plain) (blame)
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
//================= Hercules Script =======================================
//=       _   _                     _
//=      | | | |                   | |
//=      | |_| | ___ _ __ ___ _   _| | ___  ___
//=      |  _  |/ _ \ '__/ __| | | | |/ _ \/ __|
//=      | | | |  __/ | | (__| |_| | |  __/\__ \
//=      \_| |_/\___|_|  \___|\__,_|_|\___||___/
//================= License ===============================================
//= This file is part of Hercules.
//= http://herc.ws - http://github.com/HerculesWS/Hercules
//=
//= Copyright (C) 2012-2020 Hercules Dev Team
//= Copyright (C) L0ne_W0lf
//=
//= 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/>.
//=========================================================================
// BattleGround System - Tierra Gorge Entrance NPCs
//================= Description ===========================================
//= Tierra Gorge Battleground Entrance NPCs
//================= Current Version =======================================
//= 1.1
//=========================================================================

//== First Tierra Gorge Officers - Guillaume ===============
bat_room,124,178,5	script	Tierra Gorge Officer#01a	4_M_KY_KNT,{
	if (checkweight(Knife,1) == 0) {
		mes("- Wait a minute !! -");
		mes("- Currently you're carrying -");
		mes("- too many items with you. -");
		mes("- Please try again -");
		mes("- after you loose some weight. -");
		close;
	}
	mes("[Guillaume Army Officer]");
	mes("Let's show the power of the Guillaume Army to those stinky Croixs!");
	next;
	switch(select("I want to join your army!", "End Conversation")) {
	case 1:
		if ((Class == Job_Novice) || (BaseClass == Job_SuperNovice)) {
			mes("[Guillaume Army Officer]");
			mes("I'm very pleased that you want to join us and fight the Croix Army, but I'm sorry: I can't send a rookie like you to die on the cruel battlefield.");
			break;
		}
		if (BaseLevel < 80) {
			mes("[Guillaume Army Officer]");
			mes("I'm very pleased that you want to join us and fight the Croix Army, but I'm sorry: I can't send a rookie like you to die on the cruel battlefield.");
			break;
		}
		.@chk_urtime = questprogress(2069,PLAYTIME);
		if (.@chk_urtime == 1) {
			mes("[Guillaume Army Officer]");
			mes("You seem to have just returned from the battlefield.");
			mes("It's too early for you to go back. Go rest, and leave the enemies to us!");
			break;
		}
		if (.@chk_urtime == 2)
			erasequest 2069;
		if (getmapusers("bat_a01") > 0) {
			mes("[Guillaume Army Officer]");
			mes("I've received a report informing me that an elite corps has been dispatched to the battlefield fighting the Croixs already.");
			mes("Why don't you go wait for a while? I suggest you sharpen your weapons and prepare your supplies until then.");
			break;
		}
		if ($@TierraBG1) {
			mes("[Guillaume Army Officer]");
			mes("An elite corps is already standing by to be dispatched to the battlefield.");
			mes("Why don't you go wait for a while? I suggest you sharpen your weapons and prepare your supplies until then.");
			break;
		}
		mes("[Guillaume Army Officer]");
		mes("You definitely seem to be ready for battle!");
		mes("Go show the Croixs what fear truly means!");
		mes("Today, our cry of victory shall echo all over the battlefield!");
		close2;
		warp "bat_room",57,223;
		end;
	case 2:
		mes("[Guillaume Army Officer]");
		mes("Today, we shall be victorious!");
		break;
	}
	close;
}

bat_room,140,178,5	script	Tierra Gorge Officer#02a	4_M_KY_KNT,{
	if (checkweight(Knife,1) == 0) {
		mes("- Wait a minute !! -");
		mes("- Currently you're carrying -");
		mes("- too many items with you. -");
		mes("- Please try again -");
		mes("- after you loose some weight. -");
		close;
	}
	mes("[Guillaume Army Officer]");
	mes("Let's show the power of the Guillaume Army to those stinky Croixs!");
	next;
	switch(select("I want to join your army!", "End Conversation")) {
	case 1:
		if ((Class == Job_Novice) || (BaseClass == Job_SuperNovice)) {
			mes("[Guillaume Army Officer]");
			mes("I'm very pleased that you want to join us and fight the Croix Army, but I'm sorry: I can't send a rookie like you to die on the cruel battlefield.");
			break;
		}
		if (BaseLevel < 80) {
			mes("[Guillaume Army Officer]");
			mes("I'm very pleased that you want to join us and fight the Croix Army, but I'm sorry: I can't send a rookie like you to die on the cruel battlefield.");
			break;
		}
		.@chk_urtime = questprogress(2069,PLAYTIME);
		if (.@chk_urtime == 1) {
			mes("[Guillaume Army Officer]");
			mes("You seem to have just returned from the battlefield.");
			mes("It's too early for you to go back. Go rest, and leave the enemies to us!");
			break;
		}
		if (.@chk_urtime == 2)
			erasequest 2069;
		if (getmapusers("bat_a02") > 0) {
			mes("[Guillaume Army Officer]");
			mes("I've received a report informing me that an elite corps has been dispatched to the battlefield fighting the Croixs already.");
			mes("Why don't you go wait for a while? I suggest you sharpen your weapons and prepare your supplies until then.");
			break;
		}
		if ($@TierraBG2) {
			mes("[Guillaume Army Officer]");
			mes("An elite corps is already standing by to be dispatched to the battlefield.");
			mes("Why don't you go wait for a while? I suggest you sharpen your weapons and prepare your supplies until then.");
			break;
		}
		mes("[Guillaume Army Officer]");
		mes("You definitely seem to be ready for battle!");
		mes("Go show the Croixs what fear truly means!");
		mes("Today, our cry of victory shall echo all over the battlefield!");
		close2;
		warp "bat_room",114,223;
		end;
	case 2:
		mes("[Guillaume Army Officer]");
		mes("Today, we shall be victorious!");
		break;
	}
	close;
}

bat_room,127,178,5	script	Guillaume Knight#1	4_M_KY_SOLD,{
	mes("[Guillaume Knight]");
	mes("Tierra Gorge consists of two steep sides placed vertically, and has ration depots for the Guillaume and Croix Armies at the 11 and 7 o'clock directions.");
	next;
	mes("[Guillaume Knight]");
	mes("The battle starts at your army's ship, and the goal is to advance and destroy your enemy's rations depot faster than they can destroy yours.");
	next;
	mes("[Guillaume Knight]");
	mes("The healer of the battlefield will resurrect soldiers once every 25 seconds so that they can rejoin the battle.");
	mes("The army that captures the neutral flag in the center of the battlefield will be rewarded with extra regeneration points, meaning their soldiers will resurrect more than the other side, giving them an advantage.");
	next;
	mes("[Guillaume Knight]");
	mes("Those two rations depots are connected to each other through short and narrow paths, but the gates are blocked with barricades.");
	mes("Think and move as quickly as you can. The victory of your army relies on your contribution.");
	next;
	mes("[Guillaume Knight]");
	mes("Please remember: when you join a battle, you will receive a token which indicates the set duration for which you cannot participate in the same type of battle.");
	mes("You may check the duration by pressing the Alt+U keys.");
	next;
	mes("[Guillaume Knight]");
	mes("Are you ready to battle? Then apply with the recruiter next to me!");
	close;
}

bat_room,143,178,5	script	Guillaume Knight#2	4_M_KY_SOLD,{
	mes("[Guillaume Knight]");
	mes("Tierra Gorge consists of two steep sides placed vertically, and has ration depots for the Guillaume and Croix Armies at the 11 and 7 o'clock directions.");
	next;
	mes("[Guillaume Knight]");
	mes("The battle starts at your army's ship, and the goal is to advance and destroy your enemy's rations depot faster than they can destroy yours.");
	next;
	mes("[Guillaume Knight]");
	mes("The healer of the battlefield will resurrect soldiers once every 25 seconds so that they can rejoin the battle.");
	mes("The army that captures the neutral flag in the center of the battlefield will be rewarded with extra regeneration points, meaning their soldiers will resurrect more than the other side, giving them an advantage.");
	next;
	mes("[Guillaume Knight]");
	mes("Those two rations depots are connected to each other through short and narrow paths, but the gates are blocked with barricades.");
	mes("Think and move as quickly as you can. The victory of your army relies on your contribution.");
	next;
	mes("[Guillaume Knight]");
	mes("Please remember: when you join a battle, you will receive a token which indicates the set duration for which you cannot participate in the same type of battle.");
	mes("You may check the duration by pressing the Alt+U keys.");
	next;
	mes("[Guillaume Knight]");
	mes("Are you ready to battle? Then apply with the recruiter next to me!");
	close;
}

bat_room,127,121,1	script	Croix Knight#1	4_M_CRU_SOLD,{
	mes("[Croix Knight]");
	mes("Tierra Gorge consists of two steep sides placed vertically, and has ration depots for the Guillaume and Croix Armies at the 11 and 7 o'clock directions.");
	next;
	mes("[Croix Knight]");
	mes("The battle starts at your army's ship, and the goal is to advance and destroy your enemy's rations depot faster than they can destroy yours.");
	next;
	mes("[Croix Knight]");
	mes("The healer of the battlefield will resurrect soldiers once every 25 seconds so that they can rejoin the battle.");
	mes("The army that captures the neutral flag in the center of the battlefield will be rewarded with extra regeneration points, meaning their soldiers will resurrect more than the other side, giving them an advantage.");
	next;
	mes("[Croix Knight]");
	mes("Those two rations depots are connected to each other through short and narrow paths, but the gates are blocked with barricades.");
	mes("Think and move as quickly as you can. The victory of your army relies on your contribution.");
	next;
	mes("[Croix Knight]");
	mes("Please remember: when you join a battle, you will receive a token which indicates the set duration for which you cannot participate in the same type of battle.");
	mes("You may check the duration by pressing the Alt+U keys.");
	next;
	mes("[Croix Knight]");
	mes("Are you ready to battle? Then apply with the recruiter next to me!");
	close;
}

bat_room,143,121,1	script	Croix Knight#2	4_M_CRU_SOLD,{
	mes("[Croix Knight]");
	mes("Tierra Gorge consists of two steep sides placed vertically, and has ration depots for the Guillaume and Croix Armies at the 11 and 7 o'clock directions.");
	next;
	mes("[Croix Knight]");
	mes("The battle starts at your army's ship, and the goal is to advance and destroy your enemy's rations depot faster than they can destroy yours.");
	next;
	mes("[Croix Knight]");
	mes("The healer of the battlefield will resurrect soldiers once every 25 seconds so that they can rejoin the battle.");
	mes("The army that captures the neutral flag in the center of the battlefield will be rewarded with extra regeneration points, meaning their soldiers will resurrect more than the other side, giving them an advantage.");
	next;
	mes("[Croix Knight]");
	mes("Those two rations depots are connected to each other through short and narrow paths, but the gates are blocked with barricades.");
	mes("Think and move as quickly as you can. The victory of your army relies on your contribution.");
	next;
	mes("[Croix Knight]");
	mes("Please remember: when you join a battle, you will receive a token which indicates the set duration for which you cannot participate in the same type of battle.");
	mes("You may check the duration by pressing the Alt+U keys.");
	next;
	mes("[Croix Knight]");
	mes("Are you ready to battle? Then apply with the recruiter next to me!");
	close;
}

//== Second Tierra Gorge Officers - Croix ==================
bat_room,125,121,1	script	Tierra Gorge Officer#01b	4_M_CRU_KNT,{
	if (checkweight(Knife,1) == 0) {
		mes("- Wait a minute !! -");
		mes("- Currently you're carrying -");
		mes("- too many items with you. -");
		mes("- Please try again -");
		mes("- after you loose some weight. -");
		close;
	}
	mes("[Croix Army Officer]");
	mes("Let's show the power of the Croix Army to those stinky Guillaumes!");
	next;
	switch(select("I want to join your army!", "End Conversation")) {
	case 1:
		if ((Class == Job_Novice) || (BaseClass == Job_SuperNovice)) {
			mes("[Croix Army Officer]");
			mes("I'm very pleased that you want to join us and fight the Guillaume Army, but I'm sorry: I can't send a rookie like you to die on the cruel battlefield.");
			break;
		}
		if (BaseLevel < 80) {
			mes("[Croix Army Officer]");
			mes("I'm very pleased that you want to join us and fight the Guillaume Army, but I'm sorry: I can't send a rookie like you to die on the cruel battlefield.");
			break;
		}
		.@chk_urtime = questprogress(2069,PLAYTIME);
		if (.@chk_urtime == 1) {
			mes("[Croix Army Officer]");
			mes("You seem to have just returned from the battlefield.");
			mes("It's too early for you to go back. Go rest, and leave the enemies to us!");
			break;
		}
		if (.@chk_urtime == 2)
			erasequest 2069;
		if (getmapusers("bat_a02") > 0) {
			mes("[Croix Army Officer]");
			mes("I've received a report informing me that an elite corps has been dispatched to the battlefield fighting the Guillaume already.");
			mes("Why don't you go wait for a while? I suggest you sharpen your weapons and prepare your supplies until then.");
			break;
		}
		if ($@TierraBG1) {
			mes("[Croix Army Officer]");
			mes("An elite corps is already standing by to be dispatched to the battlefield.");
			mes("Why don't you go wait for a while? I suggest you sharpen your weapons and prepare your supplies until then.");
			break;
		}
		mes("[Croix Army Officer]");
		mes("You definitely seem to be ready for battle!");
		mes("Go show the Guillaumes what fear truly means!");
		mes("Today, our cry of victory shall echo all over the battlefield!");
		close2;
		warp "bat_room",57,207;
		end;
	case 2:
		mes("[Croix Army Officer]");
		mes("Today, we shall be victorious!");
		break;
	}
	close;
}

bat_room,140,121,1	script	Tierra Gorge Officer#02b	4_M_CRU_KNT,{
	if (checkweight(Knife,1) == 0) {
		mes("- Wait a minute !! -");
		mes("- Currently you're carrying -");
		mes("- too many items with you. -");
		mes("- Please try again -");
		mes("- after you loose some weight. -");
		close;
	}
	mes("[Croix Army Officer]");
	mes("Let's show the power of the Croix Army to those stinky Guillaumes!");
	next;
	switch(select("I want to join your army!", "End Conversation")) {
	case 1:
		if ((Class == Job_Novice) || (BaseClass == Job_SuperNovice)) {
			mes("[Croix Army Officer]");
			mes("I'm very pleased that you want to join us and fight the Guillaume Army, but I'm sorry: I can't send a rookie like you to die on the cruel battlefield.");
			break;
		}
		if (BaseLevel < 80) {
			mes("[Croix Army Officer]");
			mes("I'm very pleased that you want to join us and fight the Guillaume Army, but I'm sorry: I can't send a rookie like you to die on the cruel battlefield.");
			break;
		}
		.@chk_urtime = questprogress(2069,PLAYTIME);
		if (.@chk_urtime == 1) {
			mes("[Croix Army Officer]");
			mes("You seem to have just returned from the battlefield.");
			mes("It's too early for you to go back. Go rest, and leave the enemies to us!");
			break;
		}
		if (.@chk_urtime == 2)
			erasequest 2069;
		if (getmapusers("bat_a02") > 0) {
			mes("[Croix Army Officer]");
			mes("I've received a report informing me that an elite corps has been dispatched to the battlefield fighting the Guillaume already.");
			mes("Why don't you go wait for a while? I suggest you sharpen your weapons and prepare your supplies until then.");
			break;
		}
		if ($@TierraBG2) {
			mes("[Croix Army Officer]");
			mes("An elite corps is already standing by to be dispatched to the battlefield.");
			mes("Why don't you go wait for a while? I suggest you sharpen your weapons and prepare your supplies until then.");
			break;
		}
		mes("[Croix Army Officer]");
		mes("You definitely seem to be ready for battle!");
		mes("Go show the Guillaumes what fear truly means!");
		mes("Today, our cry of victory shall echo all over the battlefield!");
		close2;
		warp "bat_room",114,207;
		end;
	case 2:
		mes("[Croix Army Officer]");
		mes("Today, we shall be victorious!");
		break;
	}
	close;
}