summaryrefslogtreecommitdiff
path: root/npc/re/cities/eclage.txt
blob: f64b2bd384e7917ba58421a538ffcc342f21e90c (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
//================= 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)  Dastgir
//=
//= 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/>.
//=========================================================================
//= General Eclage NPC.
//================= Description ===========================================
//= Eclage Town NPC
//================= Current Version =======================================
//= 1.0
//=========================================================================

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