summaryrefslogtreecommitdiff
path: root/npc/re/cities/eclage.txt
blob: 51b7ae76491626e251ebac18a06b80366e50b6a4 (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
//===== Hercules Script ======================================
//= General Eclage NPC.
//===== By: ==================================================
//= Dastgir
//===== Current Version: =====================================
//= 1.0
//===== Description: =========================================
//= Eclage Town NPC
//===== Additional Comments: =================================
//= 1.0 Converted from the official Aegis script. [Dastgir]
//============================================================

ecl_in02,96,22,3	script	sign#prison_inn	2_BOARD1,{
	mes "[North] Prison";
	mes "[West] Clinic";
	close;
}

ecl_in01,8,71,5	script	Eclage Guard#pri_inn	4_M_FAIRYSOLDIER,{
	mes "[Eclage Guard]";
	mes "This path will take you to the lower parts of Eclage. You'll find a prison and a clinic there.";
	close;
}

ecl_in02,164,56,3	script	Receptionist#Laphine	4_F_FAIRYKID2,{
	mes "[Receptionist}";
	mes "Welcome to Eclage Clinic.";
	next;
	switch (select("Save Location:Rest:Finish the conversation")) {
		case 1:
			mes "[Receptionist}";
			mes "Clinic has been set as your save point. Be careful though~";
			savepoint "ecl_in02",162,50;
			close;
		case 2:
			mes "[Receptionist}";
			mes "Restore your mind and body at our clinic. It's filled with Eclage's clean energy.";
			mes "We charge 1 Splendide Coin normally, but we offer a special discount for travelers. Your total is 5,000 zeny. ";
			next;
			switch (select("Pay with Splendide Coin:Pay with Zeny:Forget it")) {
				case 1:
					if (!countitem(Splendide_Coin)) {
						mes "[Receptionist}";
						mes "It seems like you don't have enough coins. Would you check your account again, please?";
						close;
					}
					mes "[Receptionist}";
					mes "Make yourself at home~";
					close2;
					delitem Splendide_Coin,1; //Splendide_Coin
					percentheal 100,100;
					warp "ecl_in02",167,49;
					end;
				case 2:
					if (Zeny < 5000) {
						mes "[Receptionist]";
						mes "Looks like you don't have enough resources to proceed. Do you mind checking your account again?";
						close;
					}
					mes "[Receptionist}";
					mes "Make yourself at home~";
					close2;
					Zeny -= 5000;
					percentheal 100,100;
					warp "ecl_in02",167,49;
					end;
				case 3:
					close;
			}
		case 3:
			close;
	}
}

ecl_in02,135,45,5	script	Injured Laphine	4_F_FAIRYKID6,{
	mes "[Injured Laphine]";
	mes "Ooww...";
	mes "Where...am...I?";
	next;
	mes "[Doctor]";
	mes "You're at a clinic. Don't worry.";
	mes "We stopped the bleeding and cast emergency spells.";
	mes "You were bleeding a lot. That was close, you know.";
	next;
	mes "[Injured Laphine]";
	mes "......";
	mes "What, no, I...I don't feel anything...what's going on?";
	next;
	mes "[Doctor]";
	mes "Umm...the arrow damaged your wing pretty badly...";
	next;
	mes "[Injured Laphine]";
	mes "...what do you mean?";
	next;
	mes "[Doctor]";
	mes "Well...I was going to tell you after you recover, but you should know. You can't decorate the Yai anymore. ";
	mes "In other words, you injured your wing. The arrow went through the most critical part in the wing.";
	next;
	mes "[Injured Laphine]";
	mes "What? No way...please...doctor!! No!!";
	close;
}

ecl_in02,137,44,3	duplicate(Injured Laphine)	Doctor Laphine#doctor	4_M_FAIRYKID