summaryrefslogtreecommitdiff
path: root/npc/custom/events/p_track.txt
blob: 87794ac285a38b89da4f44ee553f05711bb0d942 (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
//===== rAthena Script =======================================
//= Poring Track Main NPCs
//===== By: ==================================================
//= erKURITA
//===== Current Version: =====================================
//= 1.3
//===== Compatible With: =====================================
//= rAthena SVN
//===== Description: =========================================
//= Poring Track core NPCs and warpers.
//===== Additional Comments: =================================
//= 1.2 Removed Duplicates [Silent]
//= 1.3 Merged and cleaned. [Euphy]
//============================================================

hugel,58,72,5	script	Yan#track1	86,{
	callfunc "P_TrackEnt","[Yan]","p_track01";
	end;
}
hugel,62,68,1	script	Yalmire#track1	86,{
	callfunc "P_TrackEnt","[Yalmire]","p_track02";
	end;
}

function	script	P_TrackEnt	{
	mes getarg(0);
	mes "Hi "+strcharinfo(0)+", welcome to the Poring Track!";
	next;
	switch(select("Information:I want to try it!:Not today.")) {
		case 1:
			mes getarg(0);
			mes "Well... it's quite fun, that's all I can say. Try it!";
			close;
		case 2:
			mes getarg(0);
			mes "The entrance fee is 500z. would you like to go in?";
			next;
			if(select("Yes, please!:No thanks.")==2) {
				mes getarg(0);
				mes "You're missing out!";
				close; }
			mes getarg(0);
			if (Zeny < 500) {
				mes "You can't enter without paying."; close; }
			mes "Here we go!";
			close2;
			set Zeny, Zeny-500;
			warp getarg(1),75,41;
			end;
		case 3:
			mes getarg(0);
			mes "See you later!";
			close;
	}
}

p_track01,76,36,2	script	Yan#track2	86,{ end; }
p_track01,41,57,5	script	Lady#track1::P_track	845,{ end; }
p_track01,67,34,6	script	Erudite::P_Spectator1	107,{ end; }
p_track01,44,49,3	script	Edward	881,{ end; }
p_track01,27,47,3	script	Yuri#P_track	853,{ end; }

p_track02,76,36,2	script	Yalmire#track2	86,{ end; }
p_track02,30,45,3	script	Nagya	755,{ end; }
p_track02,42,49,3	script	Asgahrd	733,{ end; }
p_track02,67,33,1	script	Blacksmith#track1	726,{ end; }
p_track02,41,57,5	duplicate(P_track)	Lady#track2	845