1 | //===== eAthena Script ======================================= |
---|
2 | //= Louyang City NPC's |
---|
3 | //===== By: ================================================== |
---|
4 | //= Vidar (1.0) |
---|
5 | //= Mass Zero (1.1) |
---|
6 | //= Dino9021, roughly translated by Celest (1.2) |
---|
7 | //= Mass Zero (1.3) |
---|
8 | //= MasterOfMuppets (2.0) |
---|
9 | //= eAthena Dev Team |
---|
10 | //===== Current Version: ===================================== |
---|
11 | //= 2.9 |
---|
12 | //===== Compatible With: ===================================== |
---|
13 | //= eAthena SVN |
---|
14 | //===== Description: ========================================= |
---|
15 | //= [Aegis Conversion] |
---|
16 | //= Louyang Town Script |
---|
17 | //===== Additional Comments: ================================= |
---|
18 | //= 2.9 Rescripted to Aegis 10.3 Standards. [L0ne_W0lf] |
---|
19 | //============================================================ |
---|
20 | |
---|
21 | // Louyang Transportaion |
---|
22 | //============================================================ |
---|
23 | alberta,245,45,3 script Girl#0lou 815,{ |
---|
24 | mes "[Girl]"; |
---|
25 | mes "La la la la~"; |
---|
26 | mes "I feel so good today~"; |
---|
27 | mes "I'm in the mood to go"; |
---|
28 | mes "on a picnic somewhere~"; |
---|
29 | mes "La la la la~"; |
---|
30 | next; |
---|
31 | switch(select("About Louyang.:Go to Louyang.:Cancel.")) { |
---|
32 | case 1: |
---|
33 | mes "[Girl]"; |
---|
34 | mes "Oh, are you"; |
---|
35 | mes "interested in Louyang?"; |
---|
36 | mes "It's a nice place to"; |
---|
37 | mes "visit for travelers."; |
---|
38 | next; |
---|
39 | mes "[Girl]"; |
---|
40 | mes "Louyang has a long history"; |
---|
41 | mes "with stories of ancient magic and warriors. It's also rumored that many evil beasts roam the"; |
---|
42 | mes "Louyang area."; |
---|
43 | next; |
---|
44 | mes "[Girl]"; |
---|
45 | mes "You can find cure-all medicines, mysterious occurrences, and"; |
---|
46 | mes "martial artists all in one place!"; |
---|
47 | next; |
---|
48 | mes "[Girl]"; |
---|
49 | mes "I used to train in the martial arts every morning back when I was in Louyang. I might not look like it, but I'm pretty strong!"; |
---|
50 | next; |
---|
51 | mes "[Girl]"; |
---|
52 | mes "If you want to visit"; |
---|
53 | mes "Louyang, feel free to"; |
---|
54 | mes "tell me. Just give me"; |
---|
55 | mes "some Zeny and we'll go~"; |
---|
56 | close; |
---|
57 | case 2: |
---|
58 | mes "[Girl]"; |
---|
59 | mes "I'll guide you to"; |
---|
60 | mes "Louyang right away."; |
---|
61 | mes "For my service, I am"; |
---|
62 | mes "accepting 10,000 Zeny."; |
---|
63 | next; |
---|
64 | mes "[Girl]"; |
---|
65 | mes "So, are you ready?"; |
---|
66 | next; |
---|
67 | if (select("Yes!:No.") == 1) { |
---|
68 | if (Zeny > 9999) { |
---|
69 | mes "[Girl]"; |
---|
70 | mes "Okay~"; |
---|
71 | mes "Ready!"; |
---|
72 | mes "Have fun!"; |
---|
73 | close2; |
---|
74 | set zeny,zeny-10000; |
---|
75 | warp "lou_fild01",190,101; |
---|
76 | end; |
---|
77 | } |
---|
78 | mes "[Girl]"; |
---|
79 | mes "..."; |
---|
80 | mes "You don't seem"; |
---|
81 | mes "to have 10,000 Zeny..."; |
---|
82 | mes "Go get some money first!"; |
---|
83 | close; |
---|
84 | } |
---|
85 | mes "[Girl]"; |
---|
86 | mes "Oh..."; |
---|
87 | mes "It's so disappointing"; |
---|
88 | mes "to hear you say that."; |
---|
89 | mes "Well, have a good day!"; |
---|
90 | close; |
---|
91 | case 3: |
---|
92 | mes "[Girl]"; |
---|
93 | mes "Oh..."; |
---|
94 | mes "Have a good day!"; |
---|
95 | close; |
---|
96 | } |
---|
97 | } |
---|
98 | |
---|
99 | lou_fild01,190,100,7 script Girl#1lou 815,{ |
---|
100 | mes "[Girl]"; |
---|
101 | mes "Would you"; |
---|
102 | mes "like to go back"; |
---|
103 | mes "to Alberta?"; |
---|
104 | next; |
---|
105 | if (select("Go back to Alberta.:Cancel.") == 1) { |
---|
106 | mes "[Girl]"; |
---|
107 | mes "I hope to"; |
---|
108 | mes "see you again!"; |
---|
109 | mes "Bye bye!"; |
---|
110 | close2; |
---|
111 | warp "alberta",235,45; |
---|
112 | end; |
---|
113 | } |
---|
114 | mes "[Girl]"; |
---|
115 | mes "If you like this"; |
---|
116 | mes "area, why don't you"; |
---|
117 | mes "stay and enjoy the"; |
---|
118 | mes "the food and the sights!"; |
---|
119 | next; |
---|
120 | if (Sex) { |
---|
121 | mes "[Girl]"; |
---|
122 | mes "And by sights..."; |
---|
123 | mes "I mean girls!"; |
---|
124 | mes "Tee hee~"; |
---|
125 | } |
---|
126 | else { |
---|
127 | mes "[Girl]"; |
---|
128 | mes "And the boys here"; |
---|
129 | mes "aren't bad looking~"; |
---|
130 | } |
---|
131 | close; |
---|
132 | } |
---|
133 | |
---|
134 | // Generic Louyang NPCs |
---|
135 | //============================================================ |
---|
136 | louyang,297,167,2 script Muscular Woman#lou 815,{ |
---|
137 | if (!Sex) { |
---|
138 | mes "[Zhi Ching Li]"; |
---|
139 | mes "All the members of the Maiden Palace, including myself and our master, are all female."; |
---|
140 | next; |
---|
141 | mes "[Zhi Ching Li]"; |
---|
142 | mes "Recently we've had a hard time recruiting new members, so I came here to check if there's any woman who wishes to join us."; |
---|
143 | emotion e_dots; |
---|
144 | close; |
---|
145 | } |
---|
146 | mes "[Zhi Ching Li]"; |
---|
147 | mes "..."; |
---|
148 | next; |
---|
149 | mes "[Zhi Ching Li]"; |
---|
150 | mes "..."; |
---|
151 | mes "......"; |
---|
152 | next; |
---|
153 | mes "[Zhi Ching Li]"; |
---|
154 | mes "Please leave me"; |
---|
155 | mes "alone, I'm busy."; |
---|
156 | close; |
---|
157 | } |
---|
158 | |
---|
159 | louyang,274,136,4 script Powerful-looking guy#lou 819,{ |
---|
160 | mes "[Akiira]"; |
---|
161 | mes "I am practicing my 'Claw of Dragon.' I not only need to use the power of my fists, I must also condition myself spiritually."; |
---|
162 | next; |
---|
163 | mes "[Akiira]"; |
---|
164 | mes "Every martial art requires"; |
---|
165 | mes "spiritual training since the"; |
---|
166 | mes "mind controls the body."; |
---|
167 | mes "If you've trained yourself spiritually, you can easily"; |
---|
168 | mes "use any part of the body!"; |
---|
169 | next; |
---|
170 | mes "[Akiira]"; |
---|
171 | mes "If you are considering"; |
---|
172 | mes "studying the martial arts, you should first attain knowledge before jumping into the"; |
---|
173 | mes "physical training."; |
---|
174 | next; |
---|
175 | mes "[Akiira]"; |
---|
176 | mes "Learn about the martial arts"; |
---|
177 | mes "and meditate on life's truths. First, you must find peace of mind before you can hope to master the mind and body."; |
---|
178 | close; |
---|
179 | } |
---|
180 | |
---|
181 | louyang,276,136,4 script Fist master#lou 819,{ |
---|
182 | mes "[Zhiang Xiau Ji]"; |
---|
183 | mes "Finally..."; |
---|
184 | mes "I have mastered"; |
---|
185 | mes "the 'Claw of Dragon!'"; |
---|
186 | next; |
---|
187 | mes "[Zhiang Xiau Ji]"; |
---|
188 | mes "Although there are eight basic steps, I had to learn the history of this art, and meditate, focusing on my spiritual improvement,"; |
---|
189 | mes "for three years."; |
---|
190 | next; |
---|
191 | mes "[Zhiang Xiau Ji]"; |
---|
192 | mes "After that, my master finally started to give me the physical training so I could use the eight steps of the Claw of Dragon. I've devoted myself to this art for thirty years."; |
---|
193 | next; |
---|
194 | mes "[Zhiang Xiau Ji]"; |
---|
195 | mes "I'm very proud that I've"; |
---|
196 | mes "mastered this art ten years earlier than I expected. Now, I need to study this form and improve it by correcting its weak points and enhancing its strengths."; |
---|
197 | next; |
---|
198 | mes "[Zhiang Xiau Ji]"; |
---|
199 | mes "I guess that would take me about ten years. But I'm not disheartened by that at all."; |
---|
200 | next; |
---|
201 | mes "[Zhiang Xiau Ji]"; |
---|
202 | mes "When you're learning a martial art, you can't rush yourself and learn everything in a short period of time. It's impossible! Plus, that isn't the essence of art..."; |
---|
203 | close; |
---|
204 | } |
---|
205 | |
---|
206 | louyang,276,133,0 script Trainee#1lou::LouTrainee 819,{ |
---|
207 | mes "[Trainee]"; |
---|
208 | mes "Yeeeyap~!"; |
---|
209 | mes "Taaaaaah~~!!"; |
---|
210 | mes "Hooo~."; |
---|
211 | close; |
---|
212 | } |
---|
213 | |
---|
214 | louyang,276,131,0 script Trainee#2lou 819,{ |
---|
215 | mes "[Trainee]"; |
---|
216 | mes "Tah Tah Tah!"; |
---|
217 | mes "Taaaaaah~~!!"; |
---|
218 | mes "Schwooooooo~"; |
---|
219 | close; |
---|
220 | } |
---|
221 | |
---|
222 | louyang,276,129,0 script Trainee#3lou 819,{ |
---|
223 | mes "[Trainee]"; |
---|
224 | mes "Si!"; |
---|
225 | mes "Ayah!!"; |
---|
226 | close; |
---|
227 | } |
---|
228 | |
---|
229 | louyang,274,133,0 script Trainee#4lou 819,{ |
---|
230 | mes "[Trainee]"; |
---|
231 | mes "Dergh!"; |
---|
232 | mes "Dergh!"; |
---|
233 | mes "Schwa--!"; |
---|
234 | close; |
---|
235 | } |
---|
236 | |
---|
237 | louyang,274,131,0 script Trainee#5lou 819,{ |
---|
238 | mes "[Trainee]"; |
---|
239 | mes "Yah Yah Yah!"; |
---|
240 | mes "Taaaaaah~~!!"; |
---|
241 | mes "Wataaaaaaaah!"; |
---|
242 | close; |
---|
243 | } |
---|
244 | |
---|
245 | louyang,274,129,0 script Trainee#6lou 819,{ |
---|
246 | mes "[Trainee]"; |
---|
247 | mes "Yeeeyap~!"; |
---|
248 | mes "Taaaaaah~~!!"; |
---|
249 | mes "Hooo~"; |
---|
250 | close; |
---|
251 | } |
---|
252 | |
---|
253 | louyang,278,133,0 duplicate(LouTrainee) Trainee#7lou 819 |
---|
254 | louyang,278,131,0 duplicate(LouTrainee) Trainee#8lou 819 |
---|
255 | louyang,278,129,0 duplicate(LouTrainee) Trainee#9lou 819 |
---|
256 | louyang,272,133,0 duplicate(LouTrainee) Trainee#10lou 819 |
---|
257 | louyang,272,131,0 duplicate(LouTrainee) Trainee#11lou 819 |
---|
258 | louyang,272,129,0 duplicate(LouTrainee) Trainee#12lou 819 |
---|
259 | |
---|
260 | // Louyang Viewing Tower |
---|
261 | //============================================================ |
---|
262 | lou_in01,25,23,5 script Friendly Looking Lady#lo 817,{ |
---|
263 | mes "[Hong Miao]"; |
---|
264 | mes "Welcome."; |
---|
265 | next; |
---|
266 | mes "[Hong Miao]"; |
---|
267 | mes "This is an elevator which leads"; |
---|
268 | mes "to the Observation Tower. We are providing you a safe and fast transfer service for an affordable fee. Would you like to use this service?"; |
---|
269 | next; |
---|
270 | switch(select("Information.:Yes.:Maybe next time.")) { |
---|
271 | case 1: |
---|
272 | mes "[Hong Miao]"; |
---|
273 | mes "After many suggestions and proposals were sent to the Louyang tourism office, the Observation Tower was built so tourists can enjoy the sights."; |
---|
274 | next; |
---|
275 | mes "[Hong Miao]"; |
---|
276 | mes "Due to the geographical"; |
---|
277 | mes "features of Louyang, it's difficult to enjoy the breath taking view that our land has to offer."; |
---|
278 | next; |
---|
279 | mes "[Hong Miao]"; |
---|
280 | mes "You can come up to the tower by taking the elevator right here. We are providing this quick and safe transfer service for 500 zeny per person."; |
---|
281 | close; |
---|
282 | case 2: |
---|
283 | if (Zeny < 500) { |
---|
284 | mes "[Hong Miao]"; |
---|
285 | mes "I'm sorry, but you do not have enough zeny. I hope you'll come back later to enjoy the Observation Tower. Have a good day."; |
---|
286 | close; |
---|
287 | } |
---|
288 | mes "[Hong Miao]"; |
---|
289 | mes "Thank you for your patronage."; |
---|
290 | mes "We are trying to provide you with the best of service. Please"; |
---|
291 | mes "come again."; |
---|
292 | next; |
---|
293 | set zeny,zeny-500; |
---|
294 | warp "lou_in01",17,19; |
---|
295 | end; |
---|
296 | case 3: |
---|
297 | mes "[Hong Miao]"; |
---|
298 | mes "Please come"; |
---|
299 | mes "back later."; |
---|
300 | mes "Have a good day."; |
---|
301 | close; |
---|
302 | } |
---|
303 | } |
---|
304 | |
---|
305 | louyang,84,254,0 script Exit#lou 111,{ |
---|
306 | mes "^3355FFThere is some sort"; |
---|
307 | mes "of descent apparatus."; |
---|
308 | mes "Would you like to use it?^000000"; |
---|
309 | next; |
---|
310 | if (select("Yes.:No.") == 1) { |
---|
311 | if (rand(1,100) == 34) { |
---|
312 | percentheal -99,0; |
---|
313 | warp "louyang",86,269; |
---|
314 | mapannounce "louyang",""+strnpcinfo(0)+" : Oh God, I'm faaaaaaaaaaaalling~~!!!!",bc_map; |
---|
315 | } |
---|
316 | else { |
---|
317 | warp "lou_in01",10,18; |
---|
318 | } |
---|
319 | end; |
---|
320 | } |
---|
321 | close; |
---|
322 | } |
---|
323 | |
---|
324 | //============================================================ |
---|
325 | // Old changelog |
---|
326 | //============================================================ |
---|
327 | //= Originally made for Vidar |
---|
328 | //= 1.2 - Added official warp NPC's |
---|
329 | //= 1.3 - Fixed gramatical errors. (Like wtf's with the weird |
---|
330 | // texts celest? xD) |
---|
331 | //= 2.0 - Completely rewrote the current scripts based on iRO. |
---|
332 | // Added the 'Shouting Quest' and the 'Medicine Quest' |
---|
333 | //= 2.1 Optimized, made quest vars unique [Lupus] |
---|
334 | //= 2.1a minor fix, 2.1b Fixed Typos [Nexon] |
---|
335 | //= 2.2 Fixed exploits [Lupus] |
---|
336 | //= 2.2a Updated the color codes a little and fixed the shouting quest |
---|
337 | //= to broadcast green text. |
---|
338 | //= 2.2b A small fix to the shout quest npc in louyang field not warping you |
---|
339 | //= back up to the tower if you died or teleported out of there. [MasterOfMuppets] |
---|
340 | //= 2.3 A small fix, the code is so messy I can't believe I scripted it >.< [MasterOfMuppets] |
---|
341 | //= 2.4 Implemented a few more npcs, thanks to Prometheus for them. [MasterOfMuppets] |
---|
342 | //= 2.5 Implemented the Poison King quest, beware of potential bugs. [MasterOfMuppets] |
---|
343 | //= 2.6 Removed Duplicates [Silent] |
---|
344 | //= 2.6a Updated a few names with new item_db.txt names [Evera] |
---|
345 | //= 2.7 Split quests to quests/quests_louyang.txt [Evera] |
---|
346 | //= 2.7a Minor optimizations before Louyang quests [Lupus] |
---|
347 | //= 2.7b Moved guides to the Guides folder. 2.7ñ more typos [Lupus] |
---|
348 | //= 2.8 Moved some quest-related NPCs to proper file. [SinSloth] |
---|
349 | //= 2.9 Rescripted to Aegis 10.3 Standards. [L0ne_W0lf] |
---|
350 | //============================================================ |
---|