root/npc/cities/ayothaya.txt @ 25

Revision 1, 10.1 kB (checked in by jinshiro, 17 years ago)
Line 
1//===== eAthena Script =======================================
2//= Ayotaya Town
3//===== By: ==================================================
4//= MasterOfMuppets
5//===== Current Version: =====================================
6//= 1.7
7//===== Compatible With: =====================================
8//= eAthena SVN
9//===== Description: =========================================
10//= [Aegis Conversion]
11//= Ayotaya Town Script
12//===== Additional Comments: =================================
13//= 1.6 Rescripted to Aegis 10.3 standards. [L0ne_W0lf]
14//= 1.7 Fixed character's anme bugs [Lupus]
15//============================================================
16
17// Ayothaya Transportation NPC
18//============================================================
19alberta,247,42,3        script  Aibakthing#ayo  843,{
20        mes "[Aibakthing]";
21        mes "Hoo! Hah! Hoo! Hah!";
22        mes "Let me take you away to";
23        mes "a distant spiritual place,";
24        mes "a land of exotic mystery,";
25        mes "my hometown Ayotaya!";
26        next;
27        switch(select("About Ayotaya.:Go to Ayotaya.:Cancel.")) {
28        case 1:
29                mes "[Aibakthing]";
30                mes "We Ayotayans are a pious people who value peace and sincerity. We endeavor to lead simple, yet noble, lives in harmony with nature.";
31                next;
32                mes "[Aibakthing]";
33                mes "Our traditional cuisine is world famous. It's no surprise when we serve dishes like Tom Yum Goong, made of Shrimp, Lemon and Chillis, which has a tantalizing aroma and flavor beyond imagining.";
34                next;
35                mes "[Aibakthing]";
36                mes "For those who crave adventure, there is an age old story about the Sa-mhing Tiger, an evil creature that haunts our temple ruins.";
37                next;
38                mes "[Aibakthing]";
39                mes "Hoo! Hahh! Hoo! Hahh!";
40                mes "No man alive can resist the";
41                mes "call of this beautiful land.";
42                mes "Rune-Midgardians are";
43                mes "always welcome!";
44                close;
45        case 2:
46                mes "[Aibakthing]";
47                mes "Ah, you must pay 10,000 Zeny";
48                mes "if you wish to visit Ayotaya.";
49                mes "If you're ready, we can leave";
50                mes "right now~";
51                next;
52                if (select("I'm ready, let's go!:No.") == 1) {
53                        if (Zeny > 9999) {
54                                mes "[Aibakthing]";
55                                mes "Hoo! Hah! Hoo! Hah!";
56                                mes "Let us be off! Back to my";
57                                mes "beautiful Ayotaya!";
58                                close2;
59                                set zeny,zeny-10000;
60                                warp "ayothaya",149,71;
61                                end;
62                        }
63                        mes "[Aibakthing]";
64                        mes "I am sorry, but you do not have the 10,000 Zeny to travel to Ayotaya. Such a price is nothing compared to the experiences that await you!";
65                        close;
66                }
67                mes "[Aibakthing]";
68                mes "Have you ever dreamed";
69                mes "of a beautiful place filled";
70                mes "with spiritual serenity? You";
71                mes "must have been dreaming";
72                mes "of Ayotaya, my friend.";
73                close;
74        case 3:
75                mes "[Aibakthing]";
76                mes "Have you ever dreamed";
77                mes "of a beautiful place filled";
78                mes "with spiritual serenity? You";
79                mes "must have been dreaming";
80                mes "of Ayotaya, my friend.";
81                close;
82        }
83}
84
85ayothaya,152,68,1       script  Aibakthing#ayo2 843,{
86        mes "[Aibakthing]";
87        mes "Hoo! Hah! Hmm! Hah!";
88        mes "So, how did you like Ayotaya? Did you get a chance to try Tom Yum Goong? When you're ready, I shall take you back home.";
89        next;
90        if (select("Go back to Alberta.:Cancel.") == 1) {
91                mes "[Aibakthing]";
92                mes "You will be welcome to come back whenever you please. I hope that we will see each other again sometime soon. Thank you~";
93                close2;
94                warp "alberta",235,45;
95                end;
96        }
97        mes "[Aibakthing]";
98        mes "Ah yes. I understand that it is difficult to take leave of such a beautiful place. Do not worry";
99        mes "and take your time.";
100        close;
101}
102
103// Generic Ayothaya NPCs
104//============================================================
105ayothaya,189,120,3      script  Young Man#Thang 843,{
106        mes "[Thang]";
107        mes "There's an ancient,";
108        mes "dreadful building in";
109        mes "Ayotaya that no one";
110        mes "here dares approach...";
111        next;
112        mes "[Thang]";
113        mes "In the past, a few curious people went inside, despite the horror stories, and never returned. What on earth could be going on inside of that place?";
114        next;
115        mes "[Thang]";
116        mes "However, if you want to prove your courage to others, confronting the danger inside might be a worthy challenge for an adventurer...";
117        mes "I think.";
118        close;
119}
120       
121ayothaya,171,152,5      script  Girl#Lalitha    838,{
122        set .@sit,rand(1,5);
123        if (.@sit > 0 && .@sit < 3) {
124                mes "[Lalitha]";
125                mes "Hello!";
126                mes "I don't think";
127                mes "we've met before.";
128                next;
129                mes "[Lalitha]";
130                mes "You must be";
131                mes "from Rune-Midgard.";
132                mes "After all, I know every single person living in this village.";
133                mes "Heh heh~";
134                next;
135                mes "[Lalitha]";
136                mes "Hmm...";
137                mes "May I ask about the land you";
138                mes "come from? I'm curious about";
139                mes "a lot of things in the outside world.";
140                next;
141                mes "[Lalitha]";
142                mes "You know, like the dresses and jewelry that ladies wear in other countries, whether or not the men are good looking, what kind of songs you have, what kind of girls that guys over there like...";
143                emotion e_what;
144                next;
145                mes "[" +strcharinfo(0)+ "]";
146                mes ".........";
147                next;
148                mes "[Lalitha]";
149                mes "..........";
150                emotion e_swt;
151                next;
152                mes "[Lalitha]";
153                mes "Okay~!";
154                mes "Take care and";
155                mes "enjoy your travels!";
156                close;
157        }
158        else if (.@sit > 2 && .@sit < 6) {
159                mes "[Lalitha]";
160                mes "When you go East from this";
161                mes "village, you will arrive at the ruins of an old shrine. It is now";
162                mes "a nest full of fearsome monsters.";
163                next;
164                mes "[Lalitha]";
165                mes "If you plan to venture through these ruins, you better prepare";
166                mes "as much as you can!";
167                next;
168                mes "[Lalitha]";
169                mes "Ah...";
170                mes "I wonder where";
171                mes "my Black Knight is~";
172                emotion e_lv;
173                next;
174                mes "["+strcharinfo(0)+"]";
175                mes "Don't you mean...";
176                mes "Knight in shining armor";
177                mes "riding a white horse?";
178                next;
179                mes "[Lalitha]";
180                mes "Hmm...?";
181                mes "Oh, well...";
182                mes "I'll take them both!";
183                mes "Hee hee~!";
184                close;
185        }
186        mes "[Lalitha]";
187        mes "Mmm...?";
188        mes "What's up?";
189        close;
190}
191       
192ayothaya,143,102,5      script  Old Man#ayothaya        842,{
193        mes "[Villager]";
194        mes "Ummm.";
195        mes "Hmmmmm...";
196        mes "Ummmmm...?";
197        next;
198        mes "[Villager]";
199        mes "You must be";
200        mes "an outsider.";
201        mes "Yes. Yes, indeed.";
202        next;
203        mes "[Villager]";
204        mes "Did you just ask";
205        mes "where am I going?";
206        mes "Why, to the Fishing Spot";
207        mes "just ahead. That's what";
208        mes "we old men do: fish.";
209        next;
210        mes "[Villager]";
211        mes "Hmmm...";
212        mes "Would you like to hear";
213        mes "something interesting? I've heard that someone found a ring inside";
214        mes "a fish he caught in the";
215        mes "Fishing Spot.";
216        next;
217        mes "[Villager]";
218        mes "Supposedly, there are lots of stories about people finding valuables inside of the fish they've been catching there.";
219        next;
220        mes "[Villager]";
221        mes "If you're lucky enough,";
222        mes "you might even become";
223        mes "a millionaire.";
224        mes "Heh heh heh~";
225        next;
226        mes "[Villager]";
227        mes "...!?";
228        mes "Ah, I came into the fish market! ^666666*Sigh*^000000 It seems I went the wrong way. The Fishing Spot is on the opposite side of this village.";
229        next;
230        mes "[Villager]";
231        mes "Since I'm here, it wouldn't be";
232        mes "a bad idea to look around. All of the seafood in this market is fresh and tasty. You'll regret it if you don't try some of this seafood";
233        mes "at least once.";
234        close;
235}
236       
237ayothaya,197,189,5      script  Young Man#1ayothaya     841,{
238        mes "[Kwan]";
239        mes "Phew, isn't it";
240        mes "soooo hot today?";
241        next;
242        mes "[Kwan]";
243        mes "You must be";
244        mes "from Rune-Midgard, huh?";
245        mes "I've seen a lot of tourists";
246        mes "coming from there recently.";
247        next;
248        mes "[Kwan]";
249        mes "You'd better be really careful if you travel outside of the village. Whatever you do, don't go into";
250        mes "the ruins of an old shrine";
251        mes "in the forest.";
252        next;
253        mes "[Kwan]";
254        mes "That place is far too";
255        mes "dangerous to visit. Still, I hear that if you had some kind of amulet, you could go there with";
256        mes "a little less worry...";
257        next;
258        mes "[Kwan]";
259        mes "Well, anyway, it's still a really good idea to stay away from that place. I hope you enjoy visiting Ayotaya, and that you keep safe~";
260        close;
261}
262       
263ayothaya,214,142,5      script  Young Man#5ayothaya     843,{
264        mes "[Detzi]";
265        mes "In Ayotaya, we have our own traditional martial arts. We, the young men of the village, practice our traditional martial arts in order to become strong.";
266        next;
267        mes "[Detzi]";
268        mes "Why don't you learn our martial arts? I guarantee that it will help you greatly in your travels.";
269        close;
270}
271       
272ayothaya,241,264,5      script  Young Man#5ayothaya2    843,{
273        mes "[Eik]";
274        mes "Hey...";
275        mes "You look pretty strong";
276        mes "You wanna challenge";
277        mes "me to a match?";
278        next;
279        if (select("Sure!:Nah~") == 1) {
280                mes "[Eik]";
281                mes "Ow ow ow!";
282                mes "I was just";
283                mes "kidding, man!";
284                next;
285                mes "[Eik]";
286                mes "I'm not so rude as to pick fights with strangers for no reason!";
287                emotion e_wah;
288                close;
289        }
290        mes "[Eik]";
291        mes "Real power is developed after having thousands of matches with other people. So, don't be afraid of fighting, okay?";
292        emotion e_pif;
293        close;
294}
295
296//============================================================
297// Old changelog
298//============================================================
299//= 0.1 Added a Sailor NPC to get back to Alberta [ZoDIaC]
300//= 0.2 fixed coords, dialogues
301//= 0.3 Fixed Warp name, ayotaya doesn't exist, even though iRO
302//=     decided to call it Ayotaya, it really is Ayothaya, like
303//=     that Yuno/Juno thing
304//= 0.4 Added the official warp npc for Ayothaya. [MasterOfMuppets]
305//= 1.0 Added most of the official npcs. The following quests were added: [MasterOfMuppets]
306//=     Tom Yum Goong quest, Holy Threads quest and Holier threads quest.
307//= 1.0a some checks, optimization [Lupus]
308//= 1.1 Missing delitem fixed by Poki#3 [Lupus]
309//= 1.1a Fixed a typo and clarified a comment at the bottom of the script [MasterOfMuppets]
310//= 1.2 Fixed exploits [Lupus]
311//= 1.3 Removed Duplicates [Silent]
312//= 1.4 Moved quests to quests/quests_ayothaya.txt [Evera]
313//= 1.5 Moved a few NPC's to quests/quests_ayothaya.txt [MasterOfMuppets]
314//============================================================
Note: See TracBrowser for help on using the browser.