root/npc/quests/quests_ayothaya.txt @ 5

Revision 1, 95.8 kB (checked in by jinshiro, 17 years ago)
Line 
1//===== eAthena Script =======================================
2//= Quest NPCs related to Ayothaya
3//===== By ===================================================
4//= Fredzilla, MasterOfMuppets
5//===== Version ==============================================
6//= 2.1
7//===== Compatible With ======================================
8//= eAthena SVN
9//===== Description ==========================================
10//= [Aegis Conversion]
11//= Ayothaya Ring Quest
12//= Ayothaya Dungeon Quest
13//= Tom Yum Goong Quest
14//===== Comments =============================================
15//= 1.0 First Release, made with infomation from RagnaInfo
16//= 1.1 Added anti-novice protection [Lupus]
17//= 1.3 Fixed exploit [Lupus]
18//= 1.4 Updated, more close to the official. Thanks to birkiczd
19//=     Also optimized it again, remove unused global variable [Lupus]
20//= 1.5 Removed Duplicates [Silent]
21//= 1.6 Moved quests from cities/ to here:
22//= Shrimp, Dungeon, Tom Yum Goong [Evera]
23//= 1.7 Updated the Ayothaya Ring quest to the official one [MasterOfMuppets]
24//= 1.8 Fixed experience gains to match upcoming rate adjustments. [SinSloth]
25//= 1.9 Corrected NPC names to fall within proper restrictions. [L0ne_W0lf]
26//= 2.0 Rescripted Tom Yum Goong and Dungeon quest to Aegis [L0ne_W0lf]
27//=     10.3 standards.
28//= 2.0a Corrected a Typo error ";;". [Samuray22]
29//= 2.1 Added missing checkweights. [L0ne_W0lf]
30//============================================================
31
32// Ayothaya Ring Quest
33//============================================================
34ayothaya,233,105,3      script  Powerful-Looking Woman  838,2,2,{
35
36        if(thai_find == 14)
37        {
38                mes "[Shuda]";
39                mes "Have you";
40                mes "found Annon?";
41                next;
42                mes "[Shuda]";
43                mes "You haven't";
44                mes "found him yet?";
45                mes "Then where the";
46                mes "is he, then?!";
47                next;
48                mes "[Shuda]";
49                mes "Oh well...";
50                mes "I'm not sure if I can believe everything you said, but since you found the ring for me, that's good enough. Thank you for your help.";
51                next;
52                mes "[Shuda]";
53                mes "If you happen to meet Annon during your travels, tell him to come back right away. You can go ahead and continue your adventures now~";
54                next;
55                mes "[Shuda]";
56                mes "If I ever";
57                mes "see him again...";
58                mes "He will be ^660000punished^000000...";
59                mes "^666666*grinds teeth*^000000";
60                close;
61        }
62        else if(thai_find > 2 && thai_find < 14)
63        {
64                mes "[Shuda]";
65                mes "^666666*Sigh...*^000000";
66                mes "You haven't";
67                mes "found Annon yet?";
68                mes "I see. Oh well, it's alright.";
69                mes "Time isn't an issue for us.";
70                next;
71                mes "[Shuda]";
72                mes "And by 'us,' I mean '^660000you^000000.' I don't care about your plans or whatever else you may have scheduled, because you're going to make";
73                mes "time for me! Oho ho ho ho ho!";
74                close;
75        }
76        else if(thai_find == 2)
77        {
78                if(countitem(7288)) //Engagement Ring
79                {
80                        mes "[Shuda]";
81                        mes "Ah... Is it...?!!";
82                        mes "Yes, that's it!";
83                        mes "My engagement ring that was";
84                        mes "thrown into the water by that stupid Annon!";
85                        next;
86                        mes "[Shuda]";
87                        mes "Thank you so much! In your honor, our first seven kids will be named after you! Oho ho ho ho ho ho ho~";
88                        next;
89                        mes "[Shuda]";
90                        mes "Now...";
91                        mes "All I gotta do";
92                        mes "is find Annon.";
93                        mes "Where the hell";
94                        mes "did that moron go?!";
95                        next;
96                        mes "[Shuda]";
97                        mes "^666666*Ahem*^000000";
98                        mes "I-I didn't mean";
99                        mes "to scare him, all I wanted was";
100                        mes "my engagement ring back.";
101                        next;
102                        mes "[Shuda]";
103                        mes "^666666*Sigh*^000000";
104                        mes "I guess the days";
105                        mes "of being a happy bride";
106                        mes "are still far away from me...";
107                        next;
108                        mes "^3355FFShuda gazes directly";
109                        mes "at you with a puppy eyed look.^000000";
110                        next;
111                        switch( select( "D-Don't look at me that way!:Alright, alright." ) )
112                        {
113                        case 1:
114                                mes "[Shuda]";
115                                mes "Oh come on, you know everything that happened, and I know you're gonna continue adventuring";
116                                mes "around this area.";
117                                next;
118                                mes "[Shuda]";
119                                mes "I was just asking you to find Annon while you do that. Now, isn't that such a small favor? Thank you for doing this for me~";
120                                next;
121                                mes "[Shuda]";
122                                mes "In the meantime, I'll think of how I'm gonna pay back Annon for leaving me in misery! So hurry and find Annon! Hoo ho ho ho ho!";
123                                emotion e_heh;
124                                next;
125                                emotion e_dots,1;
126                                mes "["+strcharinfo(0)+"]";
127                                mes "(She's so scary!";
128                                mes "Making me do stuff";
129                                mes "for her again...)";
130                                next;
131                                mes "["+strcharinfo(0)+"]";
132                                mes "(Why am I always";
133                                mes "doing things for other";
134                                mes "people anyway?!)";
135                                delitem 7288,1; //Engagement Ring
136                                set thai_find,3;
137                                close;
138                        break;
139                        case 2:
140                                mes "[Shuda]";
141                                mes "Yes, I knew I could count on you! So find Annon! It's my destiny to make him ^660000mine^000000. Hoo ho ho ho ho!";
142                                next;
143                                mes "[Shuda]";
144                                mes "I haven't seen him around the village for a while. And I don't think he jumped into the water to find my ring, since he's too sissy for that. He probably doesn't have the guts to see me without it.";
145                                next;
146                                mes "[Shuda]";
147                                mes "Will you please tell Annon that";
148                                mes "I got my ring back so he can come back to me now? I hope you'll remember that for me, adventurer.";
149                                delitem 7288,1; //Engagement Ring
150                                set thai_find,3;
151                                close;
152                        break;
153                        }
154                }
155                else
156                {
157                        mes "[Shuda]";
158                        mes "Huh...?";
159                        mes "Did you find my ring?";
160                        mes "Show me, show it to me!";
161                        next;
162                        mes "[Shuda]";
163                        mes "What the...";
164                        mes "You got nothing!";
165                        mes "Don't lie to me,";
166                        mes "bring me my ring!";
167                        next;
168                        mes "[Shuda]";
169                        mes "Hurry up and find";
170                        mes "my ring. I'll be waiting";
171                        mes "here for the good news.";
172                        mes "Oho ho ho ho ho~!";
173                        close;
174                }
175        }
176        else if(thai_find == 1)
177        {
178                mes "[Shuda]";
179                mes "I feel a little bad asking you this, especially since you're";
180                mes "an outsider.";
181                next;
182                mes "[Shuda]";
183                mes "But that ring is really important to me. If you could find it for me, I'd be the happiest woman in the whole world.";
184                next;
185                mes "[Shuda]";
186                mes "So please, I beg you.";
187                mes "Please bring my ring back to me.";
188                mes "I want to live with Annon as a happy couple forever. Can't you understand that?!";
189                close;
190        }
191        else
192        {
193                mes "[Powerful-Looking Woman]";
194                mes "Umm...?";
195                mes "Ah, you must be one of the tourists. I'd guide you around and listen to your stories about the outside world, but...";
196                next;
197                if(rand(0,1))
198                {
199                        mes "[Powerful-Looking Woman]";
200                        mes "I'm reeeally";
201                        mes "busy right now.";
202                        mes "So very busy.";
203                        next;
204                        mes "[Powerful-Looking Woman]";
205                        mes "Huh...?";
206                        mes "You don't think I look busy just because I'm standing on one spot and not moving at all?! Oh. My. God. You're so rude!";
207                        next;
208                        mes "[Powerful-Looking Woman]";
209                        mes "Now, I've got to find my";
210                        mes "engagement ring. If only";
211                        mes "my fiancee hadn't";
212                        mes "thrown it...";
213                        next;
214                        switch( select( "What...?:Lies~!" ) )
215                        {
216                        case 1:
217                                mes "[Powerful-Looking Woman]";
218                                mes "What 'what?'";
219                                mes "You still think I'm";
220                                mes "standing around for my";
221                                mes "own amusement or something?!";
222                                next;
223                                emotion e_gg,1;
224                                mes "["+strcharinfo(0)+"]";
225                                mes "No no no no...";
226                                mes "I meant, I can't";
227                                mes "believe that you're";
228                                mes "engaged to someone!";
229                                next;
230                                mes "[Powerful-Looking Woman]";
231                                mes "Wwwwaaaaaahhhhh!";
232                                mes "Wh-who are you to say";
233                                mes "something so rude to such a nice lady like myself. Go away, I don't wanna talk to you!";
234                                close;
235                        break;
236                        case 2:
237                                mes "[Powerful-Looking Woman]";
238                                mes "What lies?";
239                                mes "I'm not gonna put up with crap";
240                                mes "if you're gonna say something like 'I can't believe you're engaged to someone!'";
241                                next;
242                                mes "["+strcharinfo(0)+"]";
243                                mes "Whoa whoa whoa~";
244                                mes "Calm down, lady.";
245                                mes "Hear me out first.";
246                                mes "What I'm wondering is...";
247                                next;
248                                mes "[Powerful-Looking Woman]";
249                                mes "I know, I know.";
250                                mes "You're wondering why I'm";
251                                mes "standing near the water, right? Well, it's because my ring was thrown there and I've gotta";
252                                mes "get it back.";
253                                next;
254                                mes "[Powerful-Looking Woman]";
255                                mes "What am I doing, talking to a tourist like this? ^666666*Sigh...*^000000 Well, you learned what you wanted to know. I hope you're satisfied now.";
256                                next;
257                                mes "[Powerful-Looking Woman]";
258                                mes "...";
259                                next;
260                                mes "[Powerful-Looking Woman]";
261                                mes "...";
262                                mes "......";
263                                next;
264                                mes "[Powerful-Looking Woman]";
265                                mes "...";
266                                mes "......";
267                                mes "........Hey.";
268                                next;
269                                mes "[Powerful-Looking Woman]";
270                                mes "Why are you staring at me?";
271                                mes "Don't you have anything to do?";
272                                next;
273                                switch( select( "No.:No~ and you are an interesting girl." ) )
274                                {
275                                case 1:
276                                        mes "[Powerful-Looking Woman]";
277                                        mes "I see. Hmmm...";
278                                        mes "You're kind of my type.";
279                                        if(sex)
280                                        {
281                                                mes "No no, that doesn't mean I'm interested in you. Plus I'm";
282                                                mes "already engaged.";
283                                        }
284                                        else
285                                                mes "Before you think of anything weird, I meant that I think you and me are a lot alike.";
286                                        next;
287                                        mes "[Powerful-Looking Woman]";
288                                        mes "Let me introduce myself.";
289                                        mes "My name is Shuda, I've lived in Ayotaya all my life. Since you don't have anything to do, I have";
290                                        mes "a favor to ask of you.";
291                                        next;
292                                        mes "[Shuda]";
293                                        mes "My fiance Annon is always interested in things other than me. I don't understand why, and I don't think I deserve to be ignored!";
294                                        next;
295                                        mes "[Shuda]";
296                                        mes "^666666*Sigh...*^000000";
297                                        mes "Anyways, we're engaged";
298                                        mes "and we got rings for each other...";
299                                        next;
300                                        mes "[Shuda]";
301                                        mes "I thought being engaged would improve our relationship. But he just took my ring and threw it into the water.";
302                                        next;
303                                        mes "[Shuda]";
304                                        mes "I got upset and yelled at him to get my ring back for me, and then";
305                                        mes "I never saw him after that.";
306                                        mes "So what I want to ask is...";
307                                        next;
308                                        mes "[" +strcharinfo(0)+ "]";
309                                        mes "You want me";
310                                        mes "to find your";
311                                        mes "ring, don't you?";
312                                        next;
313                                        mes "[Shuda]";
314                                        mes "Ah...";
315                                        mes "So you know";
316                                        mes "what I want.";
317                                        mes "That makes it";
318                                        mes "much simpler.";
319                                        next;
320                                        mes "[Shuda]";
321                                        mes "And once I retrieve";
322                                        mes "the ring, I'll make";
323                                        mes "him treat me to a much";
324                                        mes "deserved vacation in Jawaii...";
325                                        next;
326                                        mes "[Shuda]";
327                                        mes "...Where I will";
328                                        mes "^660000enslave^000000 him.";
329                                        mes "^666666*Grinds teeth*^000000";
330                                        next;
331                                        emotion e_gasp,1;
332                                        mes "[" +strcharinfo(0)+ "]";
333                                        mes "(...H-Horrifying!)";
334                                        next;
335                                        mes "[Shuda]";
336                                        mes "So anyway, I want you to go out and find my engagement ring. Since the water is calm and still around here, the ring is probably still under the water, and hasn't been swept away yet.";
337                                        next;
338                                        mes "[Shuda]";
339                                        mes "And so, that is my quest for you. It should keep you entertained for a while. So get into the water, and I'll supervise from here.";
340                                        mes "Oho ho ho ho ho!";
341                                        emotion e_heh;
342                                        set thai_find,1;
343                                        close;
344                                break;
345                                case 2:
346                                        mes "[Powerful-Looking Woman]";
347                                        mes "^666666*Sigh...*^000000";
348                                        mes "Are you gonna just stare and";
349                                        mes "not help at all? I thought the word adventurer was synonymous";
350                                        mes "with 'hero,' not 'lazy.'";
351                                        next;
352                                        mes "[Powerful-Looking Woman]";
353                                        mes "Oh I see...";
354                                        mes "Don't help strangers, do you?";
355                                        mes "Well, my name is Shuda, a beautiful damsel waiting for her engagement ring to rise up from the water.";
356                                        next;
357                                        mes "[Powerful-Looking Woman]";
358                                        mes "There...!";
359                                        mes "We're not";
360                                        mes "strangers anymore!";
361                                        mes "Oho ho ho ho ho!";
362                                        next;
363                                        mes "[Shuda]";
364                                        mes "Don't you pity me, and my tragic situation? If someone were to help this precious maiden find her ring, she'd be the happiest bride in the whole world.";
365                                        next;
366                                        mes "[Shuda]";
367                                        mes "And her savior";
368                                        mes "would be known as";
369                                        mes "the hero of Ayotaya.";
370                                        next;
371                                        mes "[" +strcharinfo(0)+ "]";
372                                        mes " ...Say what?!";
373                                        next;
374                                        mes "[Shuda]";
375                                        mes "Basically, you're gonna find my engagement ring, and I'll be the happiest bride in the whole world and I'll live happily ever after. What's so hard to understand";
376                                        mes "about that?";
377                                        next;
378                                        mes "[Shuda]";
379                                        mes "Sure, Annon, he's my fiancee, is spineless and disappears whenever";
380                                        mes "I say something a little too harsh. What a little girl! Can't he see I'm trying to make him a better man?!";
381                                        next;
382                                        mes "[" +strcharinfo(0)+ "]";
383                                        mes "He ran away";
384                                        mes "from you, didn't he?";
385                                        next;
386                                        mes "[Shuda]";
387                                        mes "Eh...?";
388                                        mes "What was that?";
389                                        next;
390                                        mes "["+strcharinfo(0)+"]";
391                                        mes "^666666*Ahem*^000000";
392                                        mes "You're way";
393                                        mes "too good for him.";
394                                        mes "(I'd have run away myself!)";
395                                        next;
396                                        mes "[Shuda]";
397                                        mes "Yes, yes, I know.";
398                                        mes "But what's important";
399                                        mes "is that once I get my ring back, Annon will be permanently mine. Till ^660000death do we part^000000.";
400                                        next;
401                                        mes "[Shuda]";
402                                        mes "So, are you";
403                                        mes "gonna help me or what?!";
404                                        mes "If you do, me and Annon are gonna name our first seven children after you.";
405                                        next;
406                                        mes "[Shuda]";
407                                        mes "So go and look under the water! There's no water current, so I'm sure it's still there! What are you waiting for, it's should be an easy swim for you! Oho ho ho ho ho!";
408                                        set thai_find,1;
409                                        close;
410                                break;
411                                }
412                        break;
413                        }
414                }
415                else
416                {
417                        mes "[Powerful-Looking Woman]";
418                        mes "^666666*Sigh...*^000000";
419                        mes "Why isn't it coming up from the water? Maybe if I stirred around with a wooden stick...?";
420                        next;
421                        mes "[Powerful-Looking Woman]";
422                        mes "...?!";
423                        mes "What are you";
424                        mes "looking at?!";
425                        mes "I'm busy, so if you";
426                        mes "want something";
427                        mes "I can't help you!";
428                        next;
429                        mes "[Powerful-Looking Woman]";
430                        mes "^666666Stupid tourists, running";
431                        mes "around all over Ayotalla,";
432                        mes "pestering and bothering";
433                        mes "beautiful girls like me...^000000";
434                        close;
435                }
436        }
437
438OnTouch:
439        if(thai_find == 0)
440        {
441                mes "[Powerful-Looking Woman]";
442                mes "^666666*Sigh...*^000000";
443                mes "Where the";
444                mes "hell is it!?";
445                next;
446                mes "[Powerful-Looking Woman]";
447                mes "What are";
448                mes "you looking at?";
449                mes "Haven't you ever seen a delicate damsel sigh before? Leave me the hell alone!";
450                close;
451        }
452       
453}
454       
455ayo_dun02,91,263,0      script  #Annonblood     111,2,3,{
456
457if(!$annonactive)
458{
459        if(thai_find == 13)
460        {
461                mes "["+strcharinfo(0)+"]";
462                mes "A blood stain?";
463                mes "What's going on?";
464                mes "I should take a look...";
465                next;
466                mes "^3355FFUnder a giant tree,";
467                mes "you find some bushes with";
468                mes "blood smudged on some";
469                mes "of the leaves.^000000";
470                next;
471                mes "^3355FFWithin the bushes, you see";
472                mes "that the trail of blood continues, almost as if a bleeding animal struggled to find refuge within";
473                mes "the bushes.^000000";
474                next;
475                mes "[" +strcharinfo(0)+ "]";
476                mes "Hmmm....";
477                next;
478                switch( select( "Scatter the bushes.:Dig up the bushes." ) )
479                {
480                case 1:
481                        if(!rand(0,2))
482                        {
483                                mes "[" +strcharinfo(0)+ "]";
484                                mes "^666666*Cough cough*^000000";
485                                mes "It's so dusty!";
486                                next;
487                                mes "[?]";
488                                mes "...Awwww";
489                                mes "Oh... Oh God...!";
490                                next;
491                                emotion e_gasp,1;
492                                mes "[" +strcharinfo(0)+ "]";
493                                mes "Huh...?";
494                                mes "I heard something";
495                                mes "from below! Let's";
496                                mes "dig it up!";
497                                next;
498                                mes "^3355FFYou pull up the bushes,";
499                                mes "^3355FFand beneath the dust and";
500                                mes "^3355FFshrubbery, you find";
501                                mes "a small burrow.^000000";
502                                next;
503                                set $annonactive,1;
504                                enablenpc "Haggard Man";
505                                mes "[Haggard Man]";
506                                mes "^666666*Cough cough!*^000000";
507                                mes "Wh...who's there?";
508                                mes "Shuda?! If that's you,";
509                                mes "stay back, or I'll kill myself!";
510                                emotion e_omg,1;
511                                next;
512                                switch( select( "What are you doing here?:I'm not Shuda!" ) )
513                                {
514                                case 1:
515                                        mes "["+strcharinfo(0)+"]";
516                                        mes "Hey...";
517                                        mes "What are you doi--";
518                                        next;
519                                        set $annonactive,0;
520                                        disablenpc "Haggard Man";
521                                        mes "^3355FFHe vanished!^000000";
522                                        close;
523                                break;
524                                case 2:
525                                        mes "[Haggard Man]";
526                                        mes "Hmmm...?";
527                                        mes "I sense kindess, sincerity and a general love for mankind in your voice. Verily, you are not Shuda.";
528                                        next;
529                                        mes "[Haggard Man]";
530                                        mes "You are unfamiliar to me, outsider. I'm unsure of how you found my hiding place, but if you have something to say, make it short!";
531                                        close;
532                                break;
533                                }
534                        }
535                        else
536                        {
537                                mes "^3355FFYou dig up the bushes, stirring";
538                                mes "up a large, choking cloud of dust.^000000";
539                                next;
540                                mes "["+strcharinfo(0)+"]";
541                                mes "^666666*Cough cough!*^000000";
542                                mes "What a large,";
543                                mes "choking cloud";
544                                mes "of dust!";
545                                close;
546                        }
547                break;
548                case 2:
549                        mes "^3355FFAs you dig up the bushes, the ground beneath one of the bushes crumbles and you hear a scream";
550                        mes "from beneath.^000000";
551                        next;
552                        if(!rand(0,2))
553                        {
554                                set $annonactive,1;
555                                enablenpc "Haggard Man";
556                                mes "[?]";
557                                mes "^666666*Cough cough*^000000";
558                                mes "...M-my legs!";
559                                close;
560                        }
561                        else
562                        {
563                                mes "[" +strcharinfo(0)+ "]";
564                                mes "Hmmm...?";
565                                mes "What was that noise?";
566                                mes "Ugh, it's awfully dusty.";
567                                mes "I better stop digging.";
568                                mes "^666666*cough cough cough*^000000";
569                                close;
570                        }
571                break;
572                }
573        }
574        else if(thai_find == 14)
575        {
576                mes "^3355FFYou find that the burrow is empty. It seems Annon has found a new hiding place.^000000";
577                close;
578        }
579        else
580        {
581                mes "^3355FFYou find a pile of dead bushes under a large tree. The area around the bushes seems awfully dusty.^000000";
582                close;
583        }
584
585        OnTouch:
586        if(thai_find == 12)
587        {
588                if(!rand(0,2))
589                {
590                        emotion e_gasp,1;
591                        mes "[" +strcharinfo(0)+ "]";
592                        mes "Huh...?";
593                        next;
594                        mes "["+strcharinfo(0)+"]";
595                        mes "That looks";
596                        mes "like blood!";
597                        next;
598                        mes "["+strcharinfo(0)+"]";
599                        mes "Hmm...";
600                        mes "Yes...";
601                        mes "That's definitely blood.";
602                        next;
603                        mes "["+strcharinfo(0)+"]";
604                        mes "Strange to see";
605                        mes "a blood stain in";
606                        mes "this kind of place...";
607                        set thai_find,13;
608                        close;
609                }
610        }
611
612}
613       
614}
615       
616ayo_dun02,91,264,3      script  Haggard Man     841,{
617
618        if(thai_find == 13)
619        {
620                mes "[Haggard Man]";
621                mes "^666666*...Cough cough*^000000";
622                mes "No...! My hiding place!";
623                next;
624                mes "[Haggard Man]";
625                mes "Hmmm...?";
626                mes "I'm bleeding?!";
627                mes "Oh, how did this happen?";
628                mes "My spiritual training wasn't supposed to go like this...!";
629                next;
630                switch( select( "Treat his wound first.:Is that you, Annon?" ) )
631                {
632                case 1:
633                        mes "[" +strcharinfo(0)+ "]";
634                        mes "Anyway, I think you need to be treated. Let me check if I have some potions.";
635                        next;
636                        if(countitem(504)) //White potion
637                        {
638                                mes "["+strcharinfo(0)+"]";
639                                mes "Ah...";
640                                mes "Here we are,";
641                                mes "a White Potion.";
642                                delitem 504,1; //White potion
643                                next;
644                                mes "[Haggard Man]";
645                                mes "You mean the White Potion,";
646                                mes "the ultimate drink for healing?";
647                                mes "I appreciate you doing me this favor. ^666666*Phew*^000000 Now, I feel much better.";
648                                next;
649                                mes "[Annon]";
650                                mes "Ah, my apologies for not introducing myself earlier.";
651                                mes "I am called Annon. You must wondering what I must be doing";
652                                mes "here under the ground.";
653                                next;
654                                mes "[Annon]";
655                                mes "Well, I'm performing a special exercise for my spiritual training. Though, it may be hard to believe.";
656                                next;
657                                mes "[Annon]";
658                                mes "What...?";
659                                mes "Shuda sent you?! Oh well...";
660                                mes "I thank you for curing me. Now, it's time for me to resume my training.";
661                                next;
662                                mes "[" +strcharinfo(0)+ "]";
663                                specialeffect 120;
664                                mes "Wait, I can't let you go! You don't know how hard it was for me to find you! You can't just leave!";
665                                next;
666                                mes "[Annon]";
667                                mes "Hm? Then what is it that you want? I implore you, do not tell Shuda that you have found me. No matter what, I am not going back to her!";
668                                next;
669                                mes "[Annon]";
670                                mes "Eh...?";
671                                mes "Did you find";
672                                mes "her ring already?";
673                                mes "Ooh, I was hoping it";
674                                mes "would never be found.";
675                                next;
676                                mes "[Annon]";
677                                mes "She probably told you that I ran away out of shame for losing the ring, and that if you got the ring back, I'd be happy to return, right?";
678                                next;
679                                mes "[Annon]";
680                                mes "Well...";
681                                mes "I threw away";
682                                mes "that ring on purpose!";
683                                mes "I'm serious about not";
684                                mes "going back to Shuda.";
685                                next;
686                                mes "[Annon]";
687                                mes "It looks like you wish to know more. If you promise me that you will not mention my whereabouts";
688                                mes "to Shuda, then I'll explain.";
689                                next;
690                                switch( select( "You think the world revolves around you?:What do you want me to do?" ) )
691                                {
692                                case 1:
693                                        mes "[" +strcharinfo(0)+ "]";
694                                        mes "You think the world";
695                                        mes "revolves around you?";
696                                        mes "You can't just run away!";
697                                        next;
698                                        mes "[Annon]";
699                                        mes "Oh, I know, I know!";
700                                        mes "But you don't understand. Obviously, Shuda is beautiful.";
701                                        next;
702                                        mes "[Annon]";
703                                        mes "But our parents arranged our marriage when we were babies.";
704                                        mes "That kind of arrangement doesn't matter to me, but she obviously cares about it.";
705                                        next;
706                                        mes "[Annon]";
707                                        mes "In all honesty, she scares me";
708                                        mes "to death. Whenever I'm with her,";
709                                        mes "I can't help but break into a cold sweat. And when she's near, I have nightmares about her. ^666666*Brrr...*^000000";
710                                        next;
711                                        mes "[Annon]";
712                                        mes "She thinks it's funny to electrocute me. and ties me up in";
713                                        mes "a darkened room and feeds me only Jellopy whenever I don't listen to her. Now can you see why I crave freedom?";
714                                        next;
715                                        mes "[Annon]";
716                                        mes "Of course, if you reveal to her that you've found me, I'll repay your favor. I implore you, just pretend you haven't found me, please?";
717                                        next;
718                                        menu "...Alright, alright.",-;
719                                        mes "[Annon]";
720                                        mes "Thank you so much!";
721                                        mes "Now, to pay you back, let me use one of the skills I've learned in my spiritual training.";
722                                        next;
723                                        mes "[Annon]";
724                                        mes "Let's see...";
725                                        mes "Let me twist your";
726                                        mes "arm this way, and";
727                                        mes "apply pressure here...";
728                                        next;
729                                        mes "[" +strcharinfo(0)+ "]";
730                                        mes "Wahhh~!";
731                                        mes "What the hell";
732                                        mes "are you doing!";
733                                        mes "You're hurting me, man!";
734                                        next;
735                                        mes "[Annon]";
736                                        mes "Oh, this is a special kind of massage. Don't worry, it'll relieve you of fatigue. It's quite heavenly, actually. You'll see~";
737                                        next;
738                                        mes "^3355FF*Snap snap snap*";
739                                        mes "*Snap snap snap*";
740                                        mes "*Crack crack crack*";
741                                        mes "*Crack crack crack*^000000";
742                                        next;
743                                        mes "^3355FFYou feel as though Annon";
744                                        mes "realigned every bone in your skeleton, placing them in the right spots. Strangely, you feel intense relaxation and refreshment instead of excruciating pain.";
745                                        set thai_find,14;
746                                        if(BaseLevel < 56)
747                                                getexp 9000,0;
748                                        else if(BaseLevel > 55 && BaseLevel < 61)
749                                                getexp 10500,0;
750                                        else if(BaseLevel > 60 && BaseLevel < 66)
751                                                getexp 18684,0;
752                                        else if(BaseLevel > 65 && BaseLevel < 71)
753                                                getexp 27411,0;
754                                        else if(BaseLevel > 70 && BaseLevel < 76)
755                                                getexp 70757,0;
756                                        else if(BaseLevel > 75 && BaseLevel < 81)
757                                                getexp 130246,0;
758                                        else if(BaseLevel > 80 && BaseLevel < 86)
759                                                getexp 150340,0;
760                                        else if(BaseLevel > 85 && BaseLevel < 91)
761                                                getexp 182052,0;
762                                        else if(BaseLevel > 90)
763                                                getexp 406786,0;
764                                        next;
765                                        mes "[" +strcharinfo(0)+ "]";
766                                        mes "Whoa...?";
767                                        mes "That felt was so great~";
768                                        mes "It even feels like my mind";
769                                        mes "has been cleansed too!";
770                                        mes "You've got a deal!";
771                                        next;
772                                        mes "[Annon]";
773                                        mes "Thank you, thank you so much.";
774                                        mes "Now I can avoid being tied to Shuda, at least for a little longer.";
775                                        next;
776                                        mes "[Annon]";
777                                        mes "Now, if you'll excuse me,";
778                                        mes "I must make good my escape";
779                                        mes "before others find me.";
780                                        mes "Good day~!";
781                                        close2;
782                                        set $annonactive,0;
783                                        disablenpc "Haggard Man";
784                                        end;
785                                break;
786                                case 2:
787                                        mes "[Annon]";
788                                        mes "Of course, what I want you to do is to keep me a secret from Shuda. Just forget that you've ever met me, and let Shuda know it was impossible to find me.";
789                                        next;
790                                        mes "[Annon]";
791                                        mes "Besides, even if you help her, all she'll do is offer to name her kids after you. Now... Do you really want that? I know for sure that she and I won't be having children. There's enough evil in the world.";
792                                        next;
793                                        mes "[Annon]";
794                                        mes "Now, you must be wondering";
795                                        mes "how I would repay you for your silence. Well, let me show you one of the skills I've learned in my spiritual training.";
796                                        next;
797                                        mes "[Annon]";
798                                        mes "Let's see...";
799                                        mes "Let me twist your";
800                                        mes "arm this way, and";
801                                        mes "apply pressure here...";
802                                        next;
803                                        mes "[" +strcharinfo(0)+ "]";
804                                        mes "Wahhh~!";
805                                        mes "What the hell";
806                                        mes "are you doing!";
807                                        mes "You're hurting me, man!";
808                                        next;
809                                        mes "[Annon]";
810                                        mes "Oh, this is a special kind";
811                                        mes "of massage. Don't worry, it'll";
812                                        mes "relieve you of fatigue. It's quite heavenly, actually. You'll see~";
813                                        next;
814                                        mes "^3355FF*Snap snap snap*";
815                                        mes "*Snap snap snap*";
816                                        mes "*Crack crack crack*";
817                                        mes "*Crack crack crack*^000000";
818                                        next;
819                                        mes "^3355FFYou feel as though Annon";
820                                        mes "realigned every bone in your skeleton, placing them in the right spots. Strangely, you feel intense relaxation and refreshment instead of excruciating pain.";
821                                        set thai_find,14;
822                                        if(BaseLevel < 56)
823                                                getexp 9000,0;
824                                        else if(BaseLevel > 55 && BaseLevel < 61)
825                                                getexp 10500,0;
826                                        else if(BaseLevel > 60 && BaseLevel < 66)
827                                                getexp 18684,0;
828                                        else if(BaseLevel > 65 && BaseLevel < 71)
829                                                getexp 27411,0;
830                                        else if(BaseLevel > 70 && BaseLevel < 76)
831                                                getexp 70757,0;
832                                        else if(BaseLevel > 75 && BaseLevel < 81)
833                                                getexp 130246,0;
834                                        else if(BaseLevel > 80 && BaseLevel < 86)
835                                                getexp 150340,0;
836                                        else if(BaseLevel > 85 && BaseLevel < 91)
837                                                getexp 182052,0;
838                                        else if(BaseLevel > 90)
839                                                getexp 406786,0;
840                                        next;
841                                        mes "[" +strcharinfo(0)+ "]";
842                                        mes "Whoa...?";
843                                        mes "That felt was so great~";
844                                        mes "It even feels like my mind";
845                                        mes "has been cleansed too!";
846                                        mes "You've got a deal!";
847                                        next;
848                                        mes "[Annon]";
849                                        mes "Thank you, thank you so much.";
850                                        mes "Now I can avoid being tied to Shuda, at least for a little longer.";
851                                        next;
852                                        mes "[Annon]";
853                                        mes "Now, if you'll excuse me,";
854                                        mes "I must make good my escape";
855                                        mes "before others find me.";
856                                        mes "Good day~!";
857                                        close2;
858                                        set $annonactive,0;
859                                        disablenpc "Haggard Man";
860                                        end;
861                                break;
862                                }
863                        }
864                        else
865                        {
866                                mes "[" +strcharinfo(0)+ "]";
867                                mes "No way, no way.";
868                                mes "He's too seriously";
869                                mes "wounded to be cured";
870                                mes "with the normal potions";
871                                mes "that I have. I'll need";
872                                mes "a stronger potion...";
873                                next;
874                                mes "[" +strcharinfo(0)+ "]";
875                                mes "Okay, you stay";
876                                mes "here for a while.";
877                                mes "I'll bring you some";
878                                mes "medicine and treat";
879                                mes "your wound.";
880                                next;
881                                mes "[Haggard Man]";
882                                mes "No, you don't have to...";
883                                mes "^666666*Cough cough cough*^000000";
884                                mes "W-wait, don't push";
885                                mes "me back inside!";
886                                mes "Wahhhhhh~!";
887                                next;
888                                set $annonactive,0;
889                                disablenpc "Haggard Man";
890                                mes "[" +strcharinfo(0)+ "]";
891                                mes "Okay, it's time";
892                                mes "for me to play doctor!";
893                                mes "I don't have much time!";
894                                mes "My mission: Bring back an";
895                                mes "ultra powerful potion for";
896                                mes "this poor guy~";
897                                emotion e_no1,1;
898                                close;
899                        }
900                break;
901                case 2:
902                        mes "[Haggard Man]";
903                        mes "Annon...?";
904                        mes "Who's that?";
905                        mes "I've never heard of him!";
906                        mes "I don't know him, okay!";
907                        mes "Stop disturbing my training!";
908                        next;
909                        mes "[" +strcharinfo(0)+ "]";
910                        mes "Uh...";
911                        mes "Hmm, it doesn't seem like you should be yelling with that kind of wound. You sure you're not Annon?";
912                        next;
913                        mes "[Haggard Man]";
914                        mes "I told you!";
915                        mes "I've never";
916                        mes "heard of him!";
917                        mes "L-leave me alone!";
918                        next;
919                        mes "[Haggard Man]";
920                        mes "I have to";
921                        mes "hide from Shuda.";
922                        mes "^666666*Cries*^000000";
923                        close2;
924                        set $annonactive,0;
925                        disablenpc "Haggard Man";
926                        end;
927                break;
928                }
929        }
930        else
931        {
932                mes "[Haggard Man]";
933                mes "Huh? Who are you?";
934                mes "This isn't a safe place for a tourists! You should leave right away!";
935                close2;
936                set $annonactive,0;
937                disablenpc "Haggard Man";
938                end;
939        }
940       
941OnInit:
942        set $annonactive,0;
943        disablenpc "Haggard Man";
944        end;
945       
946}
947               
948ayothaya,253,99,3       script  Fisherman       843,{
949
950        if(thai_find == 1)
951        {
952                mes "[Dannai]";
953                mes "This place is known to be";
954                mes "teeming with fish. The fish here tend to eat anything they find,";
955                mes "so it's easy to catch them.";
956                next;
957                mes "[Dannai]";
958                mes "We are providing a fishing rod rental service. Every time you fish, you'll need ^3355FF 1 Monster's Feed^000000 to use as bait, and pay";
959                mes "a rod rental fee of ^3355FF50 Zeny^000000.";
960                next;
961                mes "[Dannai]";
962                mes "Would you";
963                mes "like to try?";
964                next;
965                switch( select( "Yes.:No, thanks." ) )
966                {
967                case 1:
968                        if(countitem(528) && Zeny > 49) //Monster food
969                        {
970                                mes "^3355FFYou cast your";
971                                mes "fishing line";
972                                mes "into the water.^000000";
973                                next;
974                                mes "...";
975                                next;
976                                mes "...";
977                                mes "......";
978                                next;
979                                mes "^3355FFYou've hooked a Phen!^000000";
980                                next;
981                                delitem 528,1; //Monster food
982                                set Zeny,Zeny-50;
983                                set @randfish,rand(1,100);
984                                if(@randfish > 0 && @randfish < 40)
985                                {
986                                        mes "^3355FFWhile cooking the Phen, you";
987                                        mes "find that it's swallowed a Stone.^000000";
988                                        close2;
989                                        getitem 7049,1; //Stone
990                                        end;
991                                }
992                                else if(@randfish > 39 && @randfish < 60)
993                                {
994                                        mes "^3355FFInside of the Phen,";
995                                        mes "you find a Red Potion.^000000";
996                                        close2;
997                                        getitem 501,1; //Red potion
998                                        end;
999                                }
1000                                else if(@randfish > 59 && @randfish < 70)
1001                                {
1002                                        mes "^3355FFInside of the Phen,";
1003                                        mes "you find a Yellow Potion.^000000";
1004                                        close2;
1005                                        getitem 503,1; //Yellow potion
1006                                        end;
1007                                }
1008                                else if(@randfish > 69 && @randfish < 80)
1009                                {
1010                                        mes "^3355FFThere's nothing inside...";
1011                                        mes "But now you can eat Sushi!^000000";
1012                                        close2;
1013                                        getitem 551,1; //Sushi
1014                                        end;
1015                                }
1016                                else if(@randfish > 79 && @randfish < 90)
1017                                {
1018                                        mes "^3355FFYou find";
1019                                        mes "a Flower Ring";
1020                                        mes "inside the Phen.^000000";
1021                                        close2;
1022                                        getitem 2612,1; //Flower ring
1023                                        end;
1024                                }
1025                                else if(@randfish == 90)
1026                                {
1027                                        mes "^3355FFYou find";
1028                                        mes "a Diamond Ring";
1029                                        mes "inside the Phen.^000000";
1030                                        close2;
1031                                        getitem 2613,1; //Diamond ring
1032                                        end;
1033                                }
1034                                else if(@randfish > 90 && @randfish < 101)
1035                                {
1036                                        mes "^3355FFYou find a ring";
1037                                        mes "with a name engraved";
1038                                        mes "inside the band.^000000";
1039                                        next;
1040                                        mes "^3355FFYou take the";
1041                                        mes "engagement ring.^000000";
1042                                        close2;
1043                                        set thai_find,2;
1044                                        getitem 7288,1; //Engagement ring
1045                                        end;
1046                                }
1047                        }
1048                        else
1049                        {
1050                                mes "[Dannai]";
1051                                mes "Remember, you need ^3355FF1 Monster's Feed^000000 to use as bait and ^3355FF50 zeny^000000 to rend a rod.";
1052                                close;
1053                        }
1054                break;
1055                case 2:
1056                        mes "[Dannai]";
1057                        mes "No problem,";
1058                        mes "come back anytime you";
1059                        mes "want. Fishing relaxes";
1060                        mes "the mind and makes you";
1061                        mes "feel at peace...";
1062                        close;
1063                break;
1064                }
1065                close;
1066        }
1067        else if(thai_find < 1)
1068        {
1069                mes "[Dannai]";
1070                mes "The fish here tend";
1071                mes "to eat anything they find.";
1072                mes "When you gut them, you can";
1073                mes "often find interesting things inside.";
1074                next;
1075                mes "[Dannai]";
1076                mes "So when you get a chance,";
1077                mes "why don't you sit down, relax";
1078                mes "and enjoy some quiet fishing?";
1079                close;
1080        }
1081        else
1082        {
1083                mes "[Dannai]";
1084                mes "Welcome, long time no see!";
1085                mes "It seems people learned that you found some kind of fortune from fishing here. After word got around, I've been getting lots";
1086                mes "of customers.";
1087                next;
1088                mes "[Dannai]";
1089                mes "I understand that you want";
1090                mes "fish, but right now there";
1091                mes "aren't any fishing spots";
1092                mes "for you at the moment.";
1093                next;
1094                mes "[Dannai]";
1095                mes "Please let other";
1096                mes "people have their";
1097                mes "chance to find their";
1098                mes "own fortunes.";
1099                close;
1100        }
1101       
1102}
1103       
1104ayo_dun01,255,62,0      script  AyoFootprint1   139,2,0,{
1105OnTouch:
1106        if(thai_find == 4)
1107        {
1108                if(rand(1,3) < 2)
1109                {
1110                        emotion e_gasp,1;
1111                        mes "^3355FFYou find footprints heading to the ^5C3317North^3355FF. It looks like somebody was in quite a hurry, just like the villager said!^000000";
1112                        set thai_find,5;
1113                        close;
1114                }
1115        }
1116       
1117}
1118       
1119ayo_dun01,74,142,0      script  AyoFootprint2   139,2,0,{
1120OnTouch:
1121        if(thai_find == 5)
1122        {
1123                if(rand(1,3) < 2)
1124                {
1125                        emotion e_dots,1;
1126                        mes "^3355FFYou find another set of footprints. It seems that somebody was running away from something. These prints are heading to the ^5C3317East^3355FF. You'd better follow them to see what";
1127                        mes "you can find.^000000";
1128                        set thai_find,6;
1129                        close;
1130                }
1131        }
1132       
1133}
1134       
1135ayo_dun01,244,256,2     script  AyoFootprint3   139,2,0,{
1136OnTouch:
1137        if(thai_find == 6)
1138        {
1139                if(rand(1,3) < 2)
1140                {
1141                        emotion e_no,1;
1142                        mes "^3355FFThe footprints end around this area. Whoever was running must";
1143                        mes "have been exhausted and stumbled on something. Perhaps the owner of the footprints is nearby...^000000";
1144                        set thai_find,7;
1145                        close;
1146                }
1147        }
1148       
1149}
1150       
1151ayo_dun01,17,257,0      script  AyoFootprint4   139,2,0,{
1152OnTouch:
1153        if(thai_find == 7)
1154        {
1155                if(rand(1,3) < 2)
1156                {
1157                        emotion e_ic,1;
1158                        mes "^3355FFAs you follow the footprints,";
1159                        mes "you arrive at the '^5C3317Entrance of the Shrine^3355FF.' Whoever this person was, he just ran into the second level.^000000";
1160                        set thai_find,8;
1161                        close;
1162                }
1163        }
1164       
1165}
1166       
1167ayo_dun02,145,120,0     script  AyoFootprint5   139,2,0,{
1168OnTouch:
1169        if(thai_find == 8)
1170        {
1171                if(rand(1,3) < 2)
1172                {
1173                        mes "^3355FFYou find the same footprints";
1174                        mes "in this place. It seems pretty";
1175                        mes "dangerous, and you wonder why";
1176                        mes "anyone would come here. The";
1177                        mes "footprints continue towards";
1178                        mes "the ^5C3317North^3355FF.^000000";
1179                        set thai_find,9;
1180                        close;
1181                }
1182        }
1183       
1184}
1185       
1186       
1187ayo_dun02,135,168,0     script  AyoFootprint6   139,0,2,{
1188OnTouch:
1189        if(thai_find == 9)
1190        {
1191                if (rand(1,3) == 1)
1192                {
1193                        emotion e_gasp,1;
1194                        mes "^3355FFThe trail of footprints";
1195                        mes "continue here, and seem";
1196                        mes "to look more freshly made.^000000.";
1197                        next;
1198                        mes "^3355FFHmm...?";
1199                        mes "There's something here...^000000";
1200                        next;
1201                        switch( select( "Ignore.:^5C3317Investigate.^000000" ) )
1202                        {
1203                        case 1:
1204                                mes "["+strcharinfo(0)+"]";
1205                                mes "Well, it's probably nothing. But which way should I go now?";
1206                                set thai_find,10;
1207                                close;
1208                        break;
1209                        case 2:
1210                                set @randayo,rand(1,10);
1211                                if(@randayo < 2)
1212                                {
1213                                        mes "["+strcharinfo(0)+"]";
1214                                        mes "Why, this is a pack of White Potions. Whoever owned these must have dropped these by accident. Hmm, I could use these for later...";
1215                                        next;
1216                                        mes "["+strcharinfo(0)+"]";
1217                                        mes "Wait...";
1218                                        mes "There are more";
1219                                        mes "footprints heading";
1220                                        mes "toward the ^5C3317East^000000.";
1221                                        mes "I better look";
1222                                        mes "into this.";
1223                                        set thai_find,10;
1224                                        getitem 504,10; //White potion
1225                                        close;
1226                                }
1227                                else if(@randayo > 2 && @randayo < 5)
1228                                {
1229                                        mes "["+strcharinfo(0)+"]";
1230                                        mes "Why, this is a pack of Yellow Potions. Whoever owned these must have dropped these by accident. Hmm, I could use these for later...";
1231                                        next;
1232                                        mes "["+strcharinfo(0)+"]";
1233                                        mes "Wait...";
1234                                        mes "There are more";
1235                                        mes "footprints heading";
1236                                        mes "toward the ^5C3317East^000000.";
1237                                        mes "I better look";
1238                                        mes "into this.";
1239                                        set thai_find,10;
1240                                        getitem 503,10; //Yellow potion
1241                                        close;
1242                                }
1243                                else
1244                                {
1245                                        mes "[Rat]";
1246                                        mes "^FF0000Squeak!";
1247                                        mes "^FF0000Squeak Squeak!^000000";
1248                                        emotion e_omg,1;
1249                                        next;
1250                                        mes "["+strcharinfo(0)+"]";
1251                                        mes "^8C1717Wah^000000!";
1252                                        mes "What was that?!";
1253                                        next;
1254                                        mes "^3355FFIt was just a rat.";
1255                                        mes "It feels awful silly to be scared by just a little rat, does it not?^000000";
1256                                        next;
1257                                        mes "^3355FFYou find another trail";
1258                                        mes "of footprints that heads";
1259                                        mes "towards the ^5C3317East^3355FF.^000000";
1260                                        set thai_find,10;
1261                                        close;
1262                                }
1263                        break;
1264                        }
1265                        close;
1266                }
1267        }
1268       
1269}
1270       
1271ayo_dun02,77,213,0      script  AyoFootprint7   139,1,1,{
1272OnTouch:
1273        if(thai_find == 10)
1274        {
1275                if(rand(1,3) < 2)
1276                {
1277                        emotion e_gasp,1;
1278                        mes "^3355FFWhere is he...?";
1279                        mes "He seems to have gone";
1280                        mes "deep into the dungeon.";
1281                        mes "Just looking for this";
1282                        mes "guy is exhausting...^000000";
1283                        set thai_find,11;
1284                        close;
1285                }
1286        }
1287       
1288}
1289       
1290ayo_dun02,86,254,0      script  AyoFootprint8   139,1,1,{
1291OnTouch:
1292        if(thai_find == 11)
1293        {
1294                if(rand(1,3) < 2)
1295                {
1296                        emotion e_gasp,1;
1297                        mes "^3355FFYou find traces of blood. Whoever was running in this direction may have been wounded. The trail of blood leads to the ^5C3317North^3355FF.^000000";
1298                        set thai_find,12;
1299                        close;
1300                }
1301        }
1302       
1303}
1304       
1305ayothaya,193,171,3      script  Old Man#02      842,{
1306
1307        if(thai_find == 3)
1308        {
1309                mes "[Tham]";
1310                mes "Weird...";
1311                mes "Why was that guy";
1312                mes "running into the";
1313                mes "shrine like that?";
1314                mes "That really";
1315                mes "bothers me...";
1316                next;
1317                mes "[Tham]";
1318                emotion e_gasp;
1319                mes "Oh, aren't you";
1320                mes "from Rune-Midgard?";
1321                mes "Hello there~";
1322                next;
1323                mes "[Tham]";
1324                mes "Ah...";
1325                mes "You heard me talking to myself? Well, I didn't see who he was but, some guy ran into the forest which leads to the shrine. He seemed really terrified of something.";
1326                next;
1327                mes "[Tham]";
1328                mes "He came from out of nowhere, so he scared the crap out of me. Do you think he could be a criminal?";
1329                next;
1330                mes "[Tham]";
1331                emotion e_ic;
1332                mes "Ah! I think, in his intense fear, he was screaming something about some kind of '^FF0000Shuda^000000,' or whatever. But what could it possibly mean?";
1333                next;
1334                mes "[Tham]";
1335                mes "Oh well, don't worry. All of our villagers aren't like that. Anyway, I hope you enjoy your travels in Ayotaya.";
1336                set thai_find,4;
1337                close;
1338        }
1339        else
1340        {
1341                set @randayo,rand(1,7);
1342                if(@randayo < 5)
1343                {
1344                        mes "[Tham]";
1345                        mes "Oh hello~";
1346                        mes "I can tell from your clothes that you must be from Rune-Midgard.";
1347                        next;
1348                        mes "[Tham]";
1349                        mes "Recently, it seems that";
1350                        mes "our village has been receiving";
1351                        mes "more tourism, and I can see that";
1352                        mes "our village is being influenced";
1353                        mes "in a positive way.";
1354                        next;
1355                        mes "[Tham]";
1356                        mes "Ah...";
1357                        mes "While you're here,";
1358                        mes "why don't you taste some";
1359                        mes "authentic Ayotayan cuisine";
1360                        mes "for yourself?";
1361                        next;
1362                        mes "[Tham]";
1363                        mes "We're known for our";
1364                        mes "spicy and sweet seafood,";
1365                        mes "and there are some nice";
1366                        mes "restaurants around here.";
1367                        next;
1368                        mes "[Tham]";
1369                        mes "Anyway, I'm sure that you'll like it. I hope that you come visit Ayotaya as often as you can~";
1370                        close;
1371                }
1372                else if(@randayo > 4 && @randayo < 7)
1373                {
1374                        mes "[Tham]";
1375                        mes "Ah~";
1376                        mes "I've got this craving for Ms. Mali the Spicy's food, especially her 'Tom Yum Goong.'";
1377                        next;
1378                        mes "[Tham]";
1379                        mes "I think it's the";
1380                        mes "most delicious dish";
1381                        mes "in the entire world!";
1382                        close;
1383                }
1384                else
1385                {
1386                        mes "[Tham]";
1387                        mes "Oh hello~";
1388                        mes "I can tell from your clothes that you must be from Rune-Midgard.";
1389                        next;
1390                        mes "[Tham]";
1391                        mes "I hope that you enjoy your stay here, and that you come visit Ayotaya as often as you can~";
1392                        close;
1393                }
1394        }
1395       
1396}
1397
1398// Ayothaya Dungeon Quest
1399//============================================================
1400ayothaya,83,132,0       script  Dusit#thai      843,{
1401        if (ayodunquest == 0) {
1402                mes "[Dusit]";
1403                mes "Oh...!";
1404                mes "You must be a traveller.";
1405                mes "I have a tale you may wish to hear if you're interested in listening.";
1406                next;
1407                if (select("What is it?:I know what the story is.") == 1) {
1408                        mes "[Dusit]";
1409                        mes "Ayothaya has a long history. Perhaps it looks calm and peaceful now, but in the past our village was terrorized by a terrible creature.";
1410                        next;
1411                        mes "[Dusit]";
1412                        mes "This beast is known to us as";
1413                        mes "the ^660000Sa-mhing Tiger^000000, which used";
1414                        mes "to dwell deep in the ancient ruins.";
1415                        next;
1416                        mes "[Dusit]";
1417                        mes "The Sa-mhing Tiger is addicted";
1418                        mes "to the taste of human flesh. It has been known to transform into the shape of a person it has eaten in order to lure out his family and friends.";
1419                        next;
1420                        mes "[Dusit]";
1421                        mes "The local people are still afraid that the creature might transform into someone they know, and sneak into their homes to eat them.";
1422                        next;
1423                        mes "[Dusit]";
1424                        mes "However, there is one way you can identify the Sa-mhing Tiger from a human being. Since it's a tiger, it cannot do some of the things";
1425                        mes "humans are taught to do,";
1426                        mes "such as light a match.";
1427                        next;
1428                        mes "[Dusit]";
1429                        mes "So, if by any chance you see";
1430                        mes "a friend acting strangely all";
1431                        mes "of a sudden, ask him to strike";
1432                        mes "a match. Make sure he is not";
1433                        mes "the Sa-mhing Tiger.";
1434                        next;
1435                        mes "[Dusit]";
1436                        mes "However...";
1437                        mes "I'm not sure if this actually works or not. I guess the best thing to do is just run for your life if you even suspect someone of being";
1438                        mes "the Sa-mhing Tiger.";
1439                        next;
1440                        mes "[Dusit]";
1441                        mes "Do you believe";
1442                        mes "in the existance";
1443                        mes "of man-eating tigers?";
1444                        next;
1445                        if (select("Well, not really.:Yes, I do and I think they're scary!") == 1) {
1446                                mes "[Dusit]";
1447                                mes "Umm...";
1448                                mes "Oh well. My late grandfather told me about the Sa-mhing Tiger when";
1449                                mes "I was a little kid. Of course,";
1450                                mes "I haven't seen it.";
1451                                next;
1452                                mes "[Dusit]";
1453                                mes "The closest thing I've seen to the Sa-mhing Tiger was a golden cat with a bell. Somehow, I don't think it ate men.";
1454                                close;
1455                        }
1456                        mes "[Dusit]";
1457                        mes "Run for your life if you ever encounter the Sa-mhing Tiger!";
1458                        mes "It'll eat you alive!";
1459                        next;
1460                        mes "[Dusit]";
1461                        mes "If you're interested in finding";
1462                        mes "out more about the story, I can introduce you to someone who";
1463                        mes "knows that creature more than";
1464                        mes "anyone else.";
1465                        next;
1466                        mes "[Dusit]";
1467                        mes "Why don't you talk to Boonthom? He's a pretty strange person, but there's something about him...";
1468                        next;
1469                        mes "[Dusit]";
1470                        mes "...";
1471                        mes "......";
1472                        next;
1473                        mes "[Dusit]";
1474                        mes "Ah well, you'll see what I'm talking about. I hope he'll help you learn more about that evil creature.";
1475                        set ayodunquest,1;
1476                        close;
1477                }
1478                mes "[Dusit]";
1479                mes "You do now?";
1480                mes "Then be careful!";
1481                mes "It'll eat you alive!";
1482                close;
1483        }
1484        else if (ayodunquest > 0) {
1485                mes "[Dusit]";
1486                mes "How are you?";
1487                mes "If you're interested";
1488                mes "in the Sa-mhing Tiger,";
1489                mes "please go talk to Boonthom.";
1490                next;
1491                mes "[Dusit]";
1492                mes "But beware!";
1493                mes "The Sa-mhing Tiger might be";
1494                mes "closer to you than you expect!";
1495                close;
1496        }
1497}
1498
1499ayo_in01,181,193,4      script  Shaman#thai     840,{
1500        if (ayodunquest == 1) {
1501                mes "[Boonthom]";
1502                mes "You...!";
1503                mes "Isn't it....!";
1504                mes "Oooooohhhhhhh!";
1505                next;
1506                mes "[Boonthom]";
1507                mes "Oh...?";
1508                next;
1509                mes "[Boonthom]";
1510                mes "...";
1511                next;
1512                mes "[Boonthom]";
1513                mes "...";
1514                mes "......";
1515                next;
1516                mes "[Boonthom]";
1517                mes "...";
1518                mes "......";
1519                mes ".........";
1520                next;
1521                mes "[Boonthom]";
1522                mes "Never mind.";
1523                mes "Hah! I've lost my";
1524                mes "train of thought.";
1525                next;
1526                mes "[Boonthom]";
1527                mes "So have you come to me to seek help? I can see the fear in your eyes. Let me gaze into your soul, and see what your fear is for myself. Hmmm...";
1528                next;
1529                mes "[Boonthom]";
1530                mes "...";
1531                next;
1532                mes "[Boonthom]";
1533                mes "...";
1534                mes "......";
1535                next;
1536                mes "[Boonthom]";
1537                mes "...";
1538                mes "......";
1539                mes ".........";
1540                next;
1541                mes "[Boonthom]";
1542                mes "What...!";
1543                mes "I see that you dread the Sa-mhing Tiger! I haven't heard any news of that monster for a long time...";
1544                next;
1545                mes "[Boonthom]";
1546                mes "A long time ago,";
1547                mes "the Sa-mhing Tiger";
1548                mes "really did roam the village";
1549                mes "and ate innocent people.";
1550                next;
1551                mes "[Boonthom]";
1552                mes "However, its terror";
1553                mes "was brought to an end when it";
1554                mes "was finally captured. I was one of those involved in capturing the Sa-mhing Tiger.";
1555                next;
1556                mes "[Boonthom]";
1557                mes "I insisted killing on it, but the other people were too afraid to do so. Instead, the Sa-mhing Tiger";
1558                mes "was locked in a cave inside of the ancient ruins.";
1559                next;
1560                mes "[Boonthom]";
1561                mes "I believe that was at least 10 years ago. Perhaps it's already dead by now. However, no one";
1562                mes "knows how powerful the tiger truly";
1563                mes "is. It may still be alive.";
1564                next;
1565                mes "[Boonthom]";
1566                mes "I don't think we need to worry about it though. It is locked up and there it shall remain.";
1567                next;
1568                switch(select("I want to explore the ancient ruins.:Locked up! Good! I'm not afraid!")) {
1569                case 1:
1570                        mes "[Boonthom]";
1571                        mes "You...";
1572                        mes "You are strange.";
1573                        mes "You want to explore the ancient ruins. Do all adventurers disregard their safety like that?";
1574                        next;
1575                        mes "[Boonthom]";
1576                        mes "It's your choice. But remember, it is very dangerous to go through the path to the center of the building. Usually, I forbid it.";
1577                        next;
1578                        mes "[Boonthom]";
1579                        mes "But if you want to go in,";
1580                        mes "I can give you some useful tips.";
1581                        mes "Would you like to listen?";
1582                        next;
1583                        if (select("If it's that dangerous, I'd rather not try.:Sure!") == 1) {
1584                                mes "[Boonthom]";
1585                                mes "You made a good decision.";
1586                                mes "You'd better be careful if";
1587                                mes "you want to stay alive.";
1588                                close;
1589                        }
1590                        mes "[Boonthom]";
1591                        mes "Umm, okay.";
1592                        mes "Since you're";
1593                        mes "that interested...";
1594                        next;
1595                        mes "[Boonthom]";
1596                        mes "If you wish to enter the ancient building, you must have protection against evil spirits and malice.";
1597                        next;
1598                        if (Class == Job_Priest || Class == Job_Acolyte || Class == Job_Crusader) {
1599                                mes "[Boonthom]";
1600                                mes "Even if you can";
1601                                mes "wield the power of";
1602                                mes "holiness, you will still need the spiritual security of our land.";
1603                        }
1604                        else {
1605                                mes "[Boonthom]";
1606                                mes "There are many ghosts and";
1607                                mes "demons within the cave, and they will attack people who do not possess holy power... Like you.";
1608                        }
1609                        next;
1610                        mes "[Boonthom]";
1611                        mes "I can make you an object";
1612                        mes "containing this holy power if you wish. In order to make it, I will need some materials.";
1613                        next;
1614                        mes "[Boonthom]";
1615                        mes "^3366991 Needle Packet^000000,";
1616                        mes "^3366991 Spool^000000,";
1617                        mes "^3366991 Solid Husk^000000 and";
1618                        mes "^3366991 Holy Water^000000...";
1619                        mes "That's all I need.";
1620                        next;
1621                        mes "[Boonthom]";
1622                        mes "Please come back";
1623                        mes "when you prepare all";
1624                        mes "the materials.";
1625                        set ayodunquest,2;
1626                        close;
1627                }
1628                mes "[Boonthom]";
1629                mes "Hmmm...";
1630                mes "Not afraid";
1631                mes "of it, are you?";
1632                next;
1633                mes "[Boonthom]";
1634                mes "............";
1635                mes "............";
1636                close;
1637        }
1638        else if (ayodunquest == 2) {
1639                if (countitem(7213) > 0 && countitem(7217) > 0 && countitem(7190) > 0 && countitem(523) > 0) {
1640                        mes "[Boonthom]";
1641                        mes "Excellent!";
1642                        mes "Now you have brought";
1643                        mes "everything I need. Let me make";
1644                        mes "the thing for you as promised...";
1645                        next;
1646                        mes "[Boonthom]";
1647                        mes "Ooooohmmmmm...";
1648                        next;
1649                        mes "[Boonthom]";
1650                        mes "Hmmmmmm...";
1651                        mes "Hmmmmmmmmm.";
1652                        next;
1653                        mes "[Boonthom]";
1654                        mes "Pffff pffff...";
1655                        next;
1656                        mes "[Boonthom]";
1657                        mes "Here you go.";
1658                        mes "Please take these holy threads.";
1659                        mes "With this, you will be able to enter the ruins with less worry.";
1660                        delitem 7213,1; //Needle_Pouch
1661                        delitem 7217,1; //Spool
1662                        delitem 7190,1; //Solid_Peeling
1663                        delitem 523,1; //Holy_Water
1664                        set ayodunquest,3;
1665                        getitem 7285,1; //Thread_Skein
1666                        next;
1667                        mes "[Boonthom]";
1668                        mes "Even if you lose this, don't worry. Just bring me the materials, and";
1669                        mes "I will make you another one.";
1670                        next;
1671                        mes "[Boonthom]";
1672                        mes "The ancient building consists";
1673                        mes "of 2 levels. Before you enter the 2nd underground level, please return to me so that I can tell you how to enter that place.";
1674                }
1675                mes "[Boonthom]";
1676                mes "Did you forget what materials";
1677                mes "you need to create my object of holy power? Please listen";
1678                mes "carefully this time.";
1679                next;
1680                mes "[Boonthom]";
1681                mes "^3366991 Needle Packet^000000,";
1682                mes "^3366991 Spool^000000,";
1683                mes "^3366991 Solid Husk^000000 and";
1684                mes "^3366991 Holy Water^000000.";
1685                next;
1686                mes "[Boonthom]";
1687                mes "See you later.";
1688                close;
1689        }
1690        else if (ayodunquest == 3) {
1691                if (countitem(7213) > 0 && countitem(7217) > 0 && countitem(7190) > 0 && countitem(523) > 0) {
1692                        mes "[Boonthom]";
1693                        mes "Excellent! Now you have brought everything I need, let me make the thing for you as I promised...";
1694                        next;
1695                        mes "[Boonthom]";
1696                        mes "Ooooohmmmmm...";
1697                        next;
1698                        mes "[Boonthom]";
1699                        mes "Hmmmmmm...";
1700                        mes "Hmmmmmmmmm.";
1701                        next;
1702                        mes "[Boonthom]";
1703                        mes "Pffff pffff...";
1704                        next;
1705                        mes "[Boonthom]";
1706                        mes "Here you go.";
1707                        mes "Please take these holy threads.";
1708                        mes "With this, you will be able to enter the ruins with less worry.";
1709                        delitem 7213,1; //Needle_Pouch
1710                        delitem 7217,1; //Spool
1711                        delitem 7190,1; //Solid_Peeling
1712                        delitem 523,1; //Holy_Water
1713                        getitem 7285,1; //Thread_Skein
1714                        next;
1715                        mes "[Boonthom]";
1716                        mes "Even if you lose this, don't worry. Just bring me the materials, I can make you another one.";
1717                        close;
1718                }
1719                mes "[Boonthom]";
1720                mes "If you lose the holy threads, don't worry. I can make some more for you. Just gather the following items.";
1721                next;
1722                mes "[Boonthom]";
1723                mes "^3366991 Needle Packet^000000,";
1724                mes "^3366991 Spool^000000,";
1725                mes "^3366991 Solid Husk^000000 and";
1726                mes "^3366991 Holy Water^000000.";
1727                next;
1728                mes "[Boonthom]";
1729                mes "See you later.";
1730                close;
1731        }
1732        else if (ayodunquest > 3 && ayodunquest < 9) {
1733                mes "[Boonthom]";
1734                mes "You finally started seeking the tiger. I hope that you will be safe from harm.";
1735                next;
1736                mes "[Boonthom]";
1737                mes "Feel free to ask";
1738                mes "me for help at anytime.";
1739                close;
1740        }
1741        else if (ayodunquest == 9) {
1742                mes "["+strcharinfo(0)+"]";
1743                mes "I copied down this";
1744                mes "message while exploring";
1745                mes "the dungeon. Would you";
1746                mes "take a look at this?";
1747                next;
1748                mes "[Stone Slate]";
1749                mes "^333333Do not enter the";
1750                mes "2nd underground level";
1751                mes "...is danger... You wil...";
1752                mes "...encounter... tiger...^000000";
1753                next;
1754                mes "[Stone Slate]";
1755                mes "^333333You must kill... In order to do... MUST... How to go... the 2nd underground level...";
1756                mes "You need more... Holy power... in order to... Otherwise, it's impossible...^000000";
1757                next;
1758                mes "[Boonthom]";
1759                mes "That was written by one of my comrades who entered the ruins,";
1760                mes "as he regretted letting the tiger live, lest it return.";
1761                next;
1762                mes "[Boonthom]";
1763                mes "If you were able to find this note, you must have strong determination to venture through the ruins.";
1764                next;
1765                mes "[Boonthom]";
1766                mes "As you can guess from the";
1767                mes "note, the 2nd underground level is very very dangerous. You will need holy threads that contain even more holy protection.";
1768                next;
1769                mes "[Boonthom]";
1770                mes "Now, go and gather some materials so that I can create more powerful holy threads for you.";
1771                next;
1772                mes "[Boonthom]";
1773                mes "^3366992 Holy Water^000000,";
1774                mes "^3366991 Yggdrasil Leaf^000000,";
1775                mes "^3366992 Needle Packet^000000 and";
1776                mes "^3366992 Spool^000000.";
1777                set ayodunquest,10;
1778                next;
1779                mes "[Boonthom]";
1780                mes "Return to me";
1781                mes "once you have";
1782                mes "gathered everything.";
1783                close;
1784        }
1785        else if (ayodunquest == 10) {
1786                if (countitem(523) > 1 && countitem(610) > 0 && countitem(7213) > 1 && countitem(7217) > 1) {
1787                        mes "[Boonthom]";
1788                        mes "Hmm~";
1789                        mes "You've brought";
1790                        mes "everything. Quite";
1791                        mes "the enthusiastic one,";
1792                        mes "aren't you?";
1793                        next;
1794                        mes "[Boonthom]";
1795                        mes "Ooooohmmmmm...";
1796                        next;
1797                        mes "[Boonthom]";
1798                        mes "Hmmmmmm...";
1799                        mes "Hmmmmmmmmm.";
1800                        next;
1801                        mes "[Boonthom]";
1802                        mes "Pffff pffff...";
1803                        next;
1804                        mes "[Boonthom]";
1805                        mes "Here you go.";
1806                        mes "Please take these holy threads.";
1807                        mes "With this, you will be able to enter the ruins with less worry.";
1808                        delitem 7213,2; //Needle_Pouch
1809                        delitem 7217,2; //Spool
1810                        delitem 610,1; //Leaf_Of_Yggdrasil
1811                        delitem 523,2; //Holy_Water
1812                        set ayodunquest,11;
1813                        getitem 7287,1; //Thread_Skein_
1814                        next;
1815                        mes "[Boonthom]";
1816                        mes "Even if you lose this, don't worry. Just bring me the materials, and";
1817                        mes "I will make you another one.";
1818                        close;
1819                }
1820                mes "[Boonthom]";
1821                mes "Hmm...?";
1822                mes "Didn't I tell you";
1823                mes "what I need to make";
1824                mes "a more powerful";
1825                mes "holy thread?";
1826                next;
1827                mes "[Boonthom]";
1828                mes "^3366992 Holy Water^000000,";
1829                mes "^3366991 Yggdrasil Leaf^000000,";
1830                mes "^3366992 Needle Packet^000000 and";
1831                mes "^3366992 Spool^000000.";
1832                next;
1833                mes "[Boonthom]";
1834                mes "Return to me";
1835                mes "with those items";
1836                mes "and I will craft";
1837                mes "more powerful holy";
1838                mes "threads for you.";
1839                close;
1840        }
1841        else if (ayodunquest == 11) {
1842                if (countitem(7287) > 0) {
1843                        mes "[Boonthom]";
1844                        mes "Those threads";
1845                        mes "will protect you";
1846                        mes "from the spiritual";
1847                        mes "dangers, but it's up";
1848                        mes "to you to defend yourself";
1849                        mes "from monster attacks, okay?";
1850                        close;
1851                }
1852                else if (countitem(523) > 1 && countitem(610) > 0 && countitem(7213) > 1 && countitem(7217) > 1 && countitem(7287) == 0) {
1853                        mes "[Boonthom]";
1854                        mes "Ooooohmmmmm...";
1855                        next;
1856                        mes "[Boonthom]";
1857                        mes "Hmmmmmm...";
1858                        mes "Hmmmmmmmmm.";
1859                        next;
1860                        mes "[Boonthom]";
1861                        mes "Pffff pffff...";
1862                        next;
1863                        mes "[Boonthom]";
1864                        mes "Here you go.";
1865                        mes "Please take these holy threads.";
1866                        mes "With this, you will be able to enter the ruins with less worry.";
1867                        delitem 7213,2; //Needle_Pouch
1868                        delitem 7217,2; //Spool
1869                        delitem 610,1; //Leaf_Of_Yggdrasil
1870                        delitem 523,2; //Holy_Water
1871                        getitem 7287,1; //Thread_Skein_
1872                        close;
1873                }
1874                mes "[Boonthom]";
1875                mes "Hmm...?";
1876                mes "Didn't I tell you";
1877                mes "what I need to make";
1878                mes "a more powerful";
1879                mes "holy thread?";
1880                next;
1881                mes "[Boonthom]";
1882                mes "^3366992 Holy Water^000000,";
1883                mes "^3366991 Yggdrasil Leaf^000000,";
1884                mes "^3366992 Needle Packet^000000 and";
1885                mes "^3366992 Spool^000000.";
1886                close;
1887        }
1888        else if (ayodunquest == 12) {
1889                mes "[Boonthom]";
1890                mes "Huh...!";
1891                mes "You must have seen something.";
1892                mes "I can tell by the gloomy look on your face, and the shadow looming over your soul.";
1893                next;
1894                mes "["+strcharinfo(0)+"]";
1895                mes "I found";
1896                mes "this old letter";
1897                mes "in the ruins.";
1898                next;
1899                mes "[Old Letter]";
1900                mes "^333333Dear, Boonthom...I was a fool...There is Sa-mhing Tig'...One who ....my remains... Please take...to Boonthom...";
1901                next;
1902                mes "[Boonthom]";
1903                mes "I see...";
1904                mes "Oh, my dear";
1905                mes "old friend...";
1906                next;
1907                mes "[Boonthom]";
1908                mes "Thank you for your trouble.";
1909                mes "My friend left that box for me.";
1910                mes "But I guess he would wish to give that box to the person who found his remains.";
1911                next;
1912                mes "[Boonthom]";
1913                mes "If you wish to explore the building again, but you don't have any holy thread, feel free to ask me at anytime.";
1914                set ayodunquest,13;
1915                close;
1916        }
1917        else if (ayodunquest > 12) {
1918                if (countitem(7287) > 0) {
1919                        mes "[Boonthom]";
1920                        mes "Best of luck on your";
1921                        mes "expeditions, brave";
1922                        mes "adventurer~";
1923                        close;
1924                }
1925                else if (countitem(523) > 1 && countitem(610) > 0 && countitem(7213) > 1 && countitem(7217) > 1 && countitem(7287) == 0) {
1926                        mes "[Boonthom]";
1927                        mes "Lost the";
1928                        mes "holy threads";
1929                        mes "somehow, did you?";
1930                        mes "With the items you";
1931                        mes "have, I'll simply";
1932                        mes "make more of them.";
1933                        next;
1934                        mes "[Boonthom]";
1935                        mes "Ooooohmmmmm...";
1936                        next;
1937                        mes "[Boonthom]";
1938                        mes "Hmmmmmm...";
1939                        mes "Hmmmmmmmmm.";
1940                        next;
1941                        mes "[Boonthom]";
1942                        mes "Pffff pffff...";
1943                        next;
1944                        mes "[Boonthom]";
1945                        mes "Here you go.";
1946                        mes "Please take these holy threads.";
1947                        mes "With this, you will be able to enter the ruins with less worry.";
1948                        delitem 7213,2; //Needle_Pouch
1949                        delitem 7217,2; //Spool
1950                        delitem 610,1; //Leaf_Of_Yggdrasil
1951                        delitem 523,2; //Holy_Water
1952                        getitem 7287,1; //Thread_Skein_
1953                        close;
1954                }
1955                mes "[Boonthom]";
1956                mes "Hmm...?";
1957                mes "Didn't I tell you";
1958                mes "what I need to make";
1959                mes "a more powerful";
1960                mes "holy thread?";
1961                next;
1962                mes "[Boonthom]";
1963                mes "^3366992 Holy Water^000000,";
1964                mes "^3366991 Yggdrasil Leaf^000000,";
1965                mes "^3366992 Needle Packet^000000 and";
1966                mes "^3366992 Spool^000000.";
1967                close;
1968        }
1969        mes "[Boonthom]";
1970        mes "Ooooohmmmmm...";
1971        close;
1972}
1973
1974ayo_fild01,129,197,0    script  Puraim#thai1    842,{
1975        if ((ayodunquest > 2 && countitem(7285) > 0) || (ayodunquest > 2 && countitem(7287) > 0)) {
1976                mes "[Puraim]";
1977                mes "Huh...?";
1978                mes "I feel it!";
1979                mes "I can feel the";
1980                mes "power of holiness!";
1981                mes "It's coming from you!";
1982                next;
1983                mes "[Puraim]";
1984                mes "I guess you can go ahead";
1985                mes "into the ruins. So that's";
1986                mes "what you want? To explore";
1987                mes "this area?";
1988                next;
1989                mes "[Puraim]";
1990                mes "I would suggest";
1991                mes "against coming inside.";
1992                mes "Even the local people";
1993                mes "fear this area.";
1994                next;
1995                mes "[Puraim]";
1996                mes "If the Sa-mhing Tiger wasn't around, there would still be all the evil spirits in this place. Even with the holy thread, this place is still dangerous.";
1997                next;
1998                mes "[Puraim]";
1999                mes "So what do you want?";
2000                mes "Do you still want to";
2001                mes "explore the area,";
2002                mes "adventurer?";
2003                next;
2004                if (select("Yes.:No! I'm too afraid of the ruins now.") == 1) {
2005                        mes "[Puraim]";
2006                        mes "Hmmm...";
2007                        mes "It seems you adventurers are tempted by the thrill of danger,";
2008                        mes "or you've all got some death wish.";
2009                        next;
2010                        mes "[Puraim]";
2011                        mes "Oh well, that's none of my business. After all, you already";
2012                        mes "have a holy spirit. Still, be careful. You might not want to go to the 2nd underground level of the ruins.";
2013                        next;
2014                        mes "[Puraim]";
2015                        mes "As you Rune-Midgardians";
2016                        mes "say, 'curiousity killed the cat.'";
2017                        mes "Anyway, go for it!";
2018                        next;
2019                        mes "^3355FFHe shoved you off the hill";
2020                        mes "and you plummet like a rock.^000000";
2021                        close2;
2022                        percentheal -10,0;
2023                        warp "ayo_fild02",30,135;
2024                        end;
2025                }
2026                mes "[Puraim]";
2027                mes "Good decision!";
2028                mes "As I expected, you're";
2029                mes "smart enough not to";
2030                mes "stupidly jeopardize your life.";
2031                close;
2032        }
2033        mes "[Puraim]";
2034        mes "If I were you, I wouldn't";
2035        mes "even dare to approach";
2036        mes "the ruins down over there.";
2037        next;
2038        mes "[Puraim]";
2039        mes "Anyone who doesn't have the protection of a holy spirit will be easy game for the evil creatures living there. You'd be killed in";
2040        mes "no time at all!";
2041        next;
2042        mes "[Puraim]";
2043        mes "Go back, adventurer.";
2044        mes "If you wish to explore";
2045        mes "this area, you'd better";
2046        mes "show me some holy spirit.";
2047        close;
2048}
2049
2050ayo_fild02,25,154,0     script  Aik#thai        843,{
2051        mes "[Aik]";
2052        mes "So, how was your expedition?";
2053        mes "I hope that the evil spirits will not follow you outside of the ruins, and haunt your dreams.";
2054        next;
2055        mes "[Aik]";
2056        mes "When you go back,";
2057        mes "remember to ward off";
2058        mes "the evil from your mind.";
2059        mes "Otherwise you will encounter";
2060        mes "trouble later...";
2061        next;
2062        mes "[Aik]";
2063        mes "So, would you";
2064        mes "like to go back?";
2065        next;
2066        if (select("Yes.:No, I need to look around more...") == 1) {
2067                mes "[Aik]";
2068                mes "Alright then...";
2069                mes "Here we go...";
2070                next;
2071                mes "^3355FFHe suddenly grabbed you";
2072                mes "and hurled you up into the air!^000000";
2073                close2;
2074                warp "ayo_fild01",115,200;
2075                end;
2076        }
2077        mes "[Aik]";
2078        mes "I see.";
2079        mes "Take care.";
2080        close;
2081}
2082
2083// Water Traps
2084ayo_dun01,273,26,0      script   #th_dun1_1_1::AyoTrap1 111,0,4,{
2085        mes "^3355FFYou look down and see a pool";
2086        mes "of water in the distance. It looks like a long drop to the bottom.^000000";
2087        next;
2088        mes "^3355FFYou are filled";
2089        mes "with apprehension,";
2090        mes "After all, if you fall down,^000000";
2091        mes "^2F2F4Fyou might get killed.^000000";
2092        close;
2093
2094OnTouch:
2095        mes "^3355FFYou look down and see a pool";
2096        mes "of water in the distance. It looks like a long drop to the bottom.^000000";
2097        next;
2098        mes "^3355FFYou are filled";
2099        mes "with apprehension.";
2100        mes "After all, if you fall down,";
2101        mes "^2F2F4Fyou might get killed.^000000";
2102        close;
2103}
2104
2105ayo_dun01,273,27,0      duplicate(AyoTrap1)      #th_dun1_1_2   111
2106ayo_dun01,272,27,0      duplicate(AyoTrap1)      #th_dun1_1_3   111,0,4
2107ayo_dun01,272,26,0      duplicate(AyoTrap1)      #th_dun1_1_4   111
2108
2109ayo_dun01,26,27,0       script   #th_dun1_1::AyoTrap2   -1,1,1,{
2110OnTouch:
2111        percentheal -100,0;
2112        end;
2113}
2114
2115ayo_dun01,28,27,0       duplicate(AyoTrap2)      #th_dun1_2     -1,0,1
2116ayo_dun01,27,25,0       duplicate(AyoTrap2)      #th_dun1_3     -1,1,0
2117ayo_dun01,25,25,0       duplicate(AyoTrap2)      #th_dun1_4     -1
2118ayo_dun01,272,273,0     duplicate(AyoTrap2)      #th_dun1_5     -1,1,1
2119ayo_dun01,274,273,0     duplicate(AyoTrap2)      #th_dun1_6     -1,0,1
2120ayo_dun01,273,271,0     duplicate(AyoTrap2)      #th_dun1_7     -1,1,0
2121ayo_dun01,271,271,0     duplicate(AyoTrap2)      #th_dun1_8     -1
2122ayo_dun01,26,273,0      duplicate(AyoTrap2)      #th_dun1_9     -1,1,1
2123ayo_dun01,28,273,0      duplicate(AyoTrap2)      #th_dun1_10    -1,0,1
2124ayo_dun01,27,271,0      duplicate(AyoTrap2)      #th_dun1_11    -1,1,0
2125ayo_dun01,25,271,0      duplicate(AyoTrap2)      #th_dun1_12    -1
2126
2127// Hints
2128ayo_dun01,156,148,0     script   #hint01::AyoHint       -1,0,4,{
2129OnTouch:
2130        if (rand(1,100) > 60 && ayodunquest < 11) {
2131                mes "^3355FFThe Holy Thread in your pocket suddenly began to glow. You feel that something is near you...^000000";
2132                close2;
2133                viewpoint 1,198,164,0,0xFF0000;
2134                viewpoint 1,87,16,1,0xFF0000;
2135                viewpoint 1,268,214,2,0xFF0000;
2136                viewpoint 1,147,274,3,0xFF0000;
2137                viewpoint 1,99,118,4,0xFF0000;
2138                viewpoint 1,16,188,5,0xFF0000;
2139        }
2140        end;
2141}
2142
2143ayo_dun01,259,42,0      duplicate(AyoHint)       #hint02        -1,2,0
2144ayo_dun01,259,44,0      duplicate(AyoHint)       #hint02_2      -1,2,0
2145ayo_dun01,259,46,0      duplicate(AyoHint)       #hint02_3      -1,2,0
2146
2147// Puzzle pieces
2148ayo_dun01,198,164,0     script   #hun_thai_1    111,{
2149        if (ayodunquest == 3) {
2150                set ayodunquest,4;
2151                mes "^3355FFYou find a piece of a stone slate with letters etched on it. It seems to be the 1st part of the slate.^000000";
2152                next;
2153                mes "^3355FFIt reads '^0000FFDo not enter the 2nd underground level^3355FF.' You are unable to read the rest of the message.^000000";
2154                close;
2155        }
2156        mes "^3355FFYou find a piece of a stone slate with letters etched on it. It seems to be the 1st part of the slate.^000000";
2157        close;
2158}
2159
2160ayo_dun01,87,16,0       script   #hun_thai_2    111,{
2161        if (ayodunquest == 4) {
2162                set ayodunquest,5;
2163                mes "^3355FFYou find a piece of a stone slate with letters etched on it. It seems to be the 2nd part of the slate.^000000";
2164                next;
2165                mes "^3355FFIt reads '^0000FF...is danger... You wil...^3355FF.' You are unable to read the rest of the message.^000000";
2166                close;
2167        }
2168        mes "^3355FFYou find a piece of a stone slate with letters etched on it. It seems to be the 2nd part of the slate.^000000";
2169        close;
2170}
2171
2172ayo_dun01,268,214,0     script   #hun_thai_3    111,{
2173        if (ayodunquest == 5) {
2174                set ayodunquest,6;
2175                mes "^3355FFYou find a piece of a stone slate with letters etched on it. It seems to be the 3rd part of the slate.^000000";
2176                next;
2177                mes "^3355FFIt reads '^0000FF...encounter... tiger...^3355FF.' You are unable to read the rest of the message.^000000";
2178                close;
2179        }
2180        mes "^3355FFYou find a piece of a stone slate with letters etched on it. It seems to be the 3rd part of the slate.^000000";
2181        close;
2182}
2183
2184ayo_dun01,147,274,0     script   #hun_thai_4    111,{
2185        if (ayodunquest == 6) {
2186                set ayodunquest,7;
2187                mes "^3355FFYou find a piece of a stone slate with letters etched on it. It seems to be the 4th part of the slate.^000000";
2188                next;
2189                mes "^3355FFIt reads '^0000FFYou must kill... In order to do... MUST... How to go... the 2nd underground level...^3355FF' You are unable to read the rest of the message.^000000";
2190                close;
2191        }
2192        mes "^3355FFYou find a piece of a stone slate with letters etched on it. It seems to be the 4th part of the slate.^000000";
2193        close;
2194}
2195
2196ayo_dun01,99,118,0      script   #hun_thai_5    111,{
2197        if (ayodunquest == 7) {
2198                set ayodunquest,8;
2199                mes "^3355FFYou find a piece of a stone slate with letters etched on it. It seems to be the 5th part of the slate.^000000";
2200                next;
2201                mes "^3355FFIt reads '^0000FFYou need more... Holy power... in order to...^3355FF' You are unable to read the rest of the message.^000000";
2202                close;
2203        }
2204        mes "^3355FFYou find a piece of a stone slate with letters etched on it. It seems to be the 5th part of the slate.^000000";
2205        close;
2206}
2207
2208ayo_dun01,16,188,0      script   #hun_thai_6    111,{
2209        if (ayodunquest == 8) {
2210                set ayodunquest,9;
2211                mes "^3355FFYou find a piece of a stone slate with letters etched on it. It seems to be the last part of the slate.^000000";
2212                next;
2213                mes "^3355FFIt reads '^0000FFOtherwise, it's impossible...^3355FF' You are unable to read the rest of the message.^000000";
2214                close;
2215        }
2216        mes "^3355FFYou find a piece of a stone slate with letters etched on it. It seems to be the last part of the slate.^000000";
2217        close;
2218}
2219
2220ayo_dun01,24,283,0      script   #2_dun_in      111,{
2221        if (ayodunquest > 10) {
2222                if (countitem(7287) > 0) {
2223                        mes "^3355FFThe holy threads";
2224                        mes "emanate a powerful sense";
2225                        mes "of safety and security.";
2226                        mes "With the protection of";
2227                        mes "holiness, you begin your";
2228                        mes "descent into the 2nd level.^000000.";
2229                        close2;
2230                        if (rand(1,10) > 5) {
2231                                warp "ayo_dun02",23,26;
2232                        }
2233                        else {
2234                                warp "ayo_dun02",275,26;
2235                        }
2236                        end;
2237                }
2238                mes "^3355FFYou find what seems to be the entrance to the 2nd level. However, you are filled with an overwhelming sense of dread. Somehow, you can't bring yourself to go down...^000000";
2239                close;
2240        }
2241        mes "^3355FFYou find what seems to be the entrance to the 2nd level. However, you are filled with an overwhelming sense of dread. Somehow, you can't bring yourself to go down...^000000";
2242        close;
2243}
2244
2245ayo_dun02,268,108,0     script   #reward_tiger  111,{
2246        if (ayodunquest == 11 && countitem(7287) > 0) {
2247                mes "^3355FFYou find half of the skeletal remains of a person sticking out from the ground. It seems to be the remains of Boonthom's comrade.^000000";
2248                next;
2249                mes "^3355FFYou find a piece of paper beside the skeleton, as well as a box.^000000";
2250                next;
2251                mes "^3355FFYou read what is written on the old sheet of paper. The letters have faded with age, and it is difficult to read.^000000";
2252                next;
2253                mes "[Old Letter]";
2254                mes "^333333Dear, Boonthom,";
2255                mes "I was a fool. There is 'Sa-mhing Tig'...One who ....my remains... Please take...to Boonthom...";
2256                next;
2257                mes "^3355FFYou pick";
2258                mes "up the box.^000000";
2259                set ayodunquest,12;
2260                getitem 603,1; //Old_Blue_Box
2261                close;
2262        }
2263}
2264
2265// Tom Tung Goong Quest
2266//============================================================
2267ayothaya,196,265,3      script  Einon#ayo       842,{
2268        if (tomyumgoong == 0) {
2269                mes "[Einon]";
2270                mes "Do you know what the";
2271                mes "most popular cuisine";
2272                mes "of this village is?";
2273                next;
2274                mes "[Einon]";
2275                mes "Ayotaya is world famous";
2276                mes "for its regional cuisine, but";
2277                mes "out of all Ayotayan dishes,";
2278                mes "'^3131FFTom Yum Goong^000000' is the best.";
2279                next;
2280                mes "[Einon]";
2281                mes "Tom Yum Goong is a type";
2282                mes "of soup that is very spicy. Try it once, and you will be amazed by its profound taste. Try it twice, and you will be enraptured by its tantalizing aroma.";
2283                next;
2284                mes "[Einon]";
2285                mes "It's really one of the most delicious foods in the world!";
2286                mes "Everyone in the world would";
2287                mes "want to try this at least once in his lifetime. So, would you like";
2288                mes "to try some?";
2289                next;
2290                if (select("Sure thing.:No, thanks. I hate spicy food.") == 1) {
2291                        mes "[Einon]";
2292                        mes "Okay...!";
2293                        mes "Now who would be";
2294                        mes "best for preparing";
2295                        mes "Tom Yum Goong for you?";
2296                        mes "Hmmmmm...";
2297                        next;
2298                        mes "[Einon]";
2299                        mes "Everyone in the village";
2300                        mes "knows how to make it, but";
2301                        mes "I recommend that you go";
2302                        mes "visit ^3131FFMali the Spicy^000000.";
2303                        next;
2304                        emotion e_no1;
2305                        set tomyumgoong,1;
2306                        mes "[Einon]";
2307                        mes "She is the best cook when it";
2308                        mes "comes to Tom Yum Goong!";
2309                        mes "Why don't you ask her";
2310                        mes "to cook you some?";
2311                        close;
2312                }
2313                mes "[Einon]";
2314                mes "Oh I see...";
2315                mes "However, when you";
2316                mes "change your mind,";
2317                mes "please come back.";
2318                close;
2319        }
2320        else if (tomyumgoong == 1) {
2321                mes "[Einon]";
2322                mes "Ah, you wanna know";
2323                mes "where ^3131FFMali the Spicy^000000 is?";
2324                mes "Well, there's not too many places";
2325                mes "a cook would stay other than in";
2326                mes "a restaurant, right? Hahaha~";
2327                close;
2328        }
2329        mes "[Einon]";
2330        mes "Golden Ayotaya...";
2331        mes "Although I've grown";
2332        mes "up in this village,";
2333        mes "I still think my village";
2334        mes "is magnificient and beautiful.";
2335        next;
2336        mes "[Einon]";
2337        mes "What do you think?";
2338        mes "Wouldn't you agree with me?";
2339        close;
2340}
2341       
2342ayo_in01,145,163,3      script  Cook#ayo        839,{
2343        if (tomyumgoong < 2) {
2344                mes "[Mali the Spicy]";
2345                mes "Hello, there!";
2346                mes "I am called Mali the Spicy.";
2347                mes "All of my dishes always amaze";
2348                mes "my customers with their tempting scents and deep flavors.";
2349                next;
2350                mes "[Mali the Spicy]";
2351                mes "I am especially proud of my";
2352                mes "^3131FFTom Yum Goong^000000, which is the";
2353                mes "best in the village. I suppose";
2354                mes "it's my fate to cook the greatest Tom Yum Goong ever.";
2355                if (tomyumgoong == 0) {
2356                        close;
2357                }
2358                else {
2359                        next;
2360                        mes "[Mali the Spicy]";
2361                        mes "Oh I see...";
2362                        mes "You want me to cook";
2363                        mes "Tom Yum Goong for you,";
2364                        mes "don't you?";
2365                        next;
2366                        mes "[Mali the Spicy]";
2367                        mes "Honestly, I've been really";
2368                        mes "busy ever since I opened this restaurant. If you really wish to taste my Tom Yum Goong, would";
2369                        mes "you do something for me?";
2370                        next;
2371                        if (select("Sure!:Eh... I dunno.") == 1) {
2372                                mes "[Mali the Spicy]";
2373                                mes "First, would you get";
2374                                mes "the ingredients to make";
2375                                mes "Tom Yum Goong for me? I'll need some ^CE0000Shrimps^000000, ^CE0000Chiles^000000 and ^CE0000Lemons^000000.";
2376                                next;
2377                                mes "[Mali the Spicy]";
2378                                mes "Remember, Shrimp is the main ingredient of this dish. So, the fresher the Shrimp, the tastier your food will be.";
2379                                next;
2380                                select("Where can I find them?");
2381                                mes "[Mali the Spicy]";
2382                                mes "I expected you";
2383                                mes "to ask me that.";
2384                                mes "For Shrimps, look around";
2385                                mes "the beach. You should see";
2386                                mes "a lot of them there.";
2387                                next;
2388                                mes "[Mali the Spicy]";
2389                                mes "However, you might have a hard time finding them since you haven't done that before. So just buy some Shrimp from the guy who sells";
2390                                mes "the freshest Shrimp around.";
2391                                next;
2392                                mes "[Mali the Spicy]";
2393                                mes "Hmmm...";
2394                                mes "If you mention";
2395                                mes "my name, that guy";
2396                                mes "might give you a discount.";
2397                                set tomyumgoong,2;
2398                                next;
2399                                mes "[Mali the Spicy]";
2400                                mes "His name is ^3131FFThongpool^000000.";
2401                                mes "He will be somewhere around the village selling Shrimps. Go and ask him to give you 20 Shrimps to cook Tom Yum Goong.";
2402                                close;
2403                        }
2404                        mes "[Mali the Spicy]";
2405                        mes "I understand this might be difficult to do, but it's worth";
2406                        mes "a try if you really want to taste the best Tom Yum Goong.";
2407                        close;
2408                }
2409        }
2410        else if (tomyumgoong > 1 && tomyumgoong < 4) {
2411                if (tomyumgoong == 2 && countitem(567) > 19) {
2412                        mes "[Mali the Spicy]";
2413                        mes "Errr...";
2414                        mes "What's wrong with these Shrimp?";
2415                        mes "They all have these scratches and rips in them! I can't believe Thongpool sold such bad Shrimp";
2416                        mes "to his customers!";
2417                        next;
2418                        mes "[Mali the Spicy]";
2419                        mes "I'm so sorry, but";
2420                        mes "I can't cook the best";
2421                        mes "Tom Yum Goong with";
2422                        mes "these Shrimp.";
2423                        next;
2424                        mes "[Mali the Spicy]";
2425                        mes "I know it's an inconvenience, but would you go back to Thongpool";
2426                        mes "and ask him to give you the freshest Shrimp to cook the best";
2427                        mes "Tom Yum Goong?";
2428                        close;
2429                }
2430                else if (tomyumgoong == 3) {
2431                        if (countitem(567) > 19) {
2432                                mes "[Mali the Spicy]";
2433                                mes "Ah, you came back!";
2434                                mes "Now, let me see what";
2435                                mes "you've brought. Hmm...";
2436                                mes "These are...";
2437                                next;
2438                                emotion e_no1;
2439                                mes "[Mali the Spicy]";
2440                                mes "The freshest Shrimp that";
2441                                mes "I've been looking for! Well done~";
2442                                mes "With these big and fresh Shrimp,";
2443                                mes "I can cook the best Tom Yum Goong for you! Thank you so much!";
2444                                delitem 567,20; //Prawn
2445                                next;
2446                                mes "[Mali the Spicy]";
2447                                mes "It will be a perfect food with the natural sweetness of the Shrimp, the sourness of Lemons and a little bit of fish sauce!";
2448                                next;
2449                                mes "[Mali the Spicy]";
2450                                mes "Oh... Right.";
2451                                mes "But we only have Shrimp.";
2452                                mes "Now, I want you to bring";
2453                                mes "me some ^CE0000Lemons^000000.";
2454                                next;
2455                                if (select("Where can I find Lemons?:I hate sour food. I'd better quit!") == 1) {
2456                                        set tomyumgoong,4;
2457                                        mes "[Mali the Spicy]";
2458                                        mes "A few days ago, I saw a good";
2459                                        mes "Lemon tree while taking a walk.";
2460                                        mes "But this tree belongs to an ordinary man who's not a Fruit Merchant.";
2461                                        next;
2462                                        mes "[Mali the Spicy]";
2463                                        mes "I'm not sure whether";
2464                                        mes "or not he'd sell Lemons";
2465                                        mes "to you, but you can try,";
2466                                        mes "I guess.";
2467                                        close;
2468                                }
2469                                emotion e_ag;
2470                                mes "[Mali the Spicy]";
2471                                mes "What a stupid...!";
2472                                mes "If you quit just because you really hate sour flavors, you must not be that eager to have my Tom Yum Goong!";
2473                                next;
2474                                mes "[Mali the Spicy]";
2475                                mes "Once you taste my";
2476                                mes "Tom Yum Goong, you'll";
2477                                mes "regret what you just said!";
2478                                close;
2479                        }
2480                        mes "[Mali the Spicy]";
2481                        mes "Huh...?";
2482                        mes "What did you do";
2483                        mes "with the Shrimps?";
2484                        mes "You didn't eat them";
2485                        mes "on the way here, did you?";
2486                        close;
2487                }
2488                mes "[Mali the Spicy]";
2489                mes "Make sure you ask";
2490                mes "Mr. Thongpool to give";
2491                mes "you 20 Shrimps.";
2492                mes "Now hurry~";
2493                close;
2494        }
2495        else if (tomyumgoong > 3 && tomyumgoong < 6) {
2496                if (tomyumgoong == 4 && countitem(568) > 9) {
2497                        mes "[Mali the Spicy]";
2498                        mes "You think these are";
2499                        mes "the best quality Lemons?";
2500                        mes "Take a closer look!";
2501                        next;
2502                        mes "[Mali the Spicy]";
2503                        mes "The skin of these";
2504                        mes "Lemons lack luster";
2505                        mes "and they don't even smell";
2506                        mes "fresh! They're just";
2507                        mes "common Lemons!";
2508                        close;
2509                }
2510                else if (tomyumgoong == 5) {
2511                        if (countitem(568) > 9) {
2512                                emotion e_gasp;
2513                                mes "[Mali the Spicy]";
2514                                mes "Welcome back!";
2515                                mes "Wow, you came back";
2516                                mes "really fast! Okay, let me";
2517                                mes "see the Lemons";
2518                                mes "you brought?";
2519                                next;
2520                                mes "[Mali the Spicy]";
2521                                mes "Wow, great!";
2522                                mes "These are really fresh Lemons!";
2523                                mes "How could you bring all of these by yourself? Thanks for your trouble~";
2524                                next;
2525                                mes "[Mali the Spicy]";
2526                                mes "Now, you should go buy";
2527                                mes "some ^CE0000Chiles^000000 and some";
2528                                mes "other materials in the Market.";
2529                                next;
2530                                mes "[Mali the Spicy]";
2531                                mes "When you talk";
2532                                mes "to the Merchants";
2533                                mes "in the Market, they";
2534                                mes "will know what you want.";
2535                                next;
2536                                if (select("Okay, I'll be right back.:Ah, I'm tired now. Let me take a rest first...") == 1) {
2537                                        delitem 568,10; //Lemon
2538                                        set tomyumgoong,6;
2539                                        mes "[Mali the Spicy]";
2540                                        mes "See you in a bit~";
2541                                        close;
2542                                }
2543                                mes "[Mali the Spicy]";
2544                                mes "It's your call.";
2545                                mes "But remember...";
2546                                mes "The Shrimps might go bad";
2547                                mes "while you're taking a rest.";
2548                                close;
2549                        }
2550                        mes "[Mali the Spicy]";
2551                        mes "Huh...?";
2552                        mes "What did you";
2553                        mes "do with Lemons?";
2554                        mes "You didn't eat them";
2555                        mes "all on the way here, did you?";
2556                        close;
2557                }
2558                mes "[Mali the Spicy]";
2559                mes "Alright...";
2560                mes "I'm counting on you";
2561                mes "to get the best Lemons";
2562                mes "from the guy that owns that tree.";
2563                next;
2564                mes "[Mali the Spicy]";
2565                mes "Somehow, you've got";
2566                mes "to get those high quality";
2567                mes "Lemons so that I can make";
2568                mes "some Tom Yum Goong!";
2569                close;
2570        }
2571        else if (tomyumgoong == 6) {
2572                if (countitem(7286) > 29) {
2573                        mes "[Mali the Spicy]";
2574                        mes "I don't understand...";
2575                        mes "Where did you get these";
2576                        mes "bad ingredients?! Didn't";
2577                        mes "I tell you that my";
2578                        mes "Tom Yum Goong";
2579                        mes "requires the best?!";
2580                        close;
2581                }
2582                mes "[Mali the Spicy]";
2583                mes "I know you've been working hard to do me this favor. I hope you'll put forth that last little bit of effort to finish this.";
2584                next;
2585                mes "[Malli the Spicy]";
2586                mes "Please go take a look in the Market. I don't doubt that it will be a good experience. After all, my fantastic Tom Yum Goong is waiting for you!";
2587                close;
2588        }
2589        else if (tomyumgoong == 7) {
2590                set .@now_weight,MaxWeight-Weight;
2591                if (.@now_weight > 1499) {
2592                        if (countitem(7286) > 29) {
2593                                delitem 7286,30; //Chilli
2594                                emotion e_gasp;
2595                                mes "[Mali the Spicy]";
2596                                mes "Now...";
2597                                mes "Everything is all set!";
2598                                mes "Before we start, let me";
2599                                mes "check the materials.";
2600                                next;
2601                                mes "[Mali the Spicy]";
2602                                mes "^CE0000Shrimp^000000, ^CE0000Chiles^000000, ^CE0000Lemons^000000...";
2603                                mes "Fish sauce and other little things...";
2604                                next;
2605                                mes "[Mali the Spicy]";
2606                                mes "Perfect!";
2607                                mes "Shall we begin?";
2608                                next;
2609                                mes "^FF0000*Tuk*^000000";
2610                                mes "^9C009C*Tup*^000000";
2611                                mes "^009C00*Puk*^000000";
2612                                specialeffect 125; //"Cook#ayo" EF_ENCHANTPOISON
2613                                next;
2614                                mes "^FF0031*Chop chop*^000000";
2615                                mes "^FF9C00*Tup tup tup*^000000";
2616                                mes "^639CFF*Pu pu^000000 -";
2617                                specialeffect 124; //"Cook#ayo" EF_VENOMDUST
2618                                next;
2619                                mes "[Mali the Spicy]";
2620                                mes "- ^9C6300Tup tup^000000 ^006363chook^000000";
2621                                mes "^316363Chop chop^000000";
2622                                mes "^FF0000Tup tup tup^000000 ^009C00Pu pu^000000 -";
2623                                specialeffect 23; //"Cook#ayo" EF_STONECURSE
2624                                specialeffect 98; //"Cook#ayo" EF_HASTEUP
2625                                specialeffect 12; //"Cook#ayo" EF_BEGINSPELL
2626                                next;
2627                                mes "[Mali the Spicy]";
2628                                mes "Wah^00009Cah^0000FFahhhh^0063FFaaaahhh^000000!";
2629                                emotion e_omg;
2630                                specialeffect 99; //"Cook#ayo" EF_FLASHER
2631                                specialeffect 90; //"Cook#ayo" EF_LORD
2632                                next;
2633                                mes "[Mali the Spicy]";
2634                                mes " ...";
2635                                mes " ......";
2636                                mes " .........";
2637                                next;
2638                                set tomyumgoong,8;
2639                                getitem 566,10; //Tomyumkung
2640                                emotion e_no1;
2641                                mes "[Mali the Spicy]";
2642                                mes "Here's your";
2643                                mes "Tom Yum Goong!";
2644                                mes "Ah~ This taste,";
2645                                mes "this scent... Yeah.";
2646                                mes "I know I did a good job.";
2647                                next;
2648                                mes "[Mali the Spicy]";
2649                                mes "Do you know what is the secret of Tom Yum Goong? It isn't simply just food. This has the power to heal you, and help you get into better shape.";
2650                                next;
2651                                mes "[Mali the Spicy]";
2652                                mes "Because...";
2653                                mes "It contains the";
2654                                mes "power of God.";
2655                                next;
2656                                mes "[Mali the Spicy]";
2657                                mes "Okay...!";
2658                                mes "I'm giving you";
2659                                mes "10 Tom Yum Goong";
2660                                mes "free of charge~";
2661                                next;
2662                                mes "[Mali the Spicy]";
2663                                mes "Thank you for all the trouble that you have been though to get these ingredients. It would make me happy if you shared Tom Yum Goong with your friends.";
2664                                next;
2665                                mes "[Mali the Spicy]";
2666                                mes "Share the flavor of Ayotaya, and let them know how beautiful our land is. It was good to see you, take care now~";
2667                                close;
2668                        }
2669                        mes "[Mali the Spicy]";
2670                        mes "Huh? What did you do with the Chiles? You didn't eat them all on the way here, did you?";
2671                        close;
2672                }
2673                mes "[Mali the Spicy]";
2674                mes "Hmm...";
2675                mes "You seem to be carrying too many things. Why don't you free up some space in your inventory first, and then come back?";
2676                close;
2677        }
2678        emotion e_wah;
2679        mes "[Mali the Spicy]";
2680        mes "Ah...!";
2681        mes "So busy, so busy!";
2682        mes "My customers never get tired of";
2683        mes "the taste of my Tom Yum Goong!";
2684        mes "Heh heh heh~!";
2685        close;
2686}
2687       
2688ayothaya,153,86,5       script  Thongpool#ayo   843,{
2689        if ((MaxWeight-Weight) < 2000 || checkweight(1201,1) == 0) {
2690                mes "- Wait a minute! -";
2691                mes "- Currently you're carrying -";
2692                mes "- too many items with you. -";
2693                mes "- Please enlighten your weight -";
2694                mes "- and try again. -";
2695                close;
2696        }
2697        if (tomyumgoong == 2) {
2698                mes "[Thongpool]";
2699                mes "Come adventurers,";
2700                mes "take a look! I have";
2701                mes "plenty of Shrimp!";
2702                next;
2703                mes "[Thongpool]";
2704                mes "You're looking for Shrimp,";
2705                mes "aren't you? How many Shrimp";
2706                mes "do you need? Twenty? Forty?";
2707                next;
2708                if (select("I need Shrimp for Tom Yum Goong.:Err, they look expensive.") == 1) {
2709                        mes "[Thongpool]";
2710                        mes "Ah! I guess Ms. Mali the Spicy recommended me to you. I guess";
2711                        mes "that also means you want to buy them in bulk?";
2712                        next;
2713                        mes "[Thongpool]";
2714                        mes "After all,";
2715                        mes "you'll need a larger";
2716                        mes "amount of Shrimp to";
2717                        mes "cook Tom Yum Goong.";
2718                        next;
2719                        mes "[Thongpool]";
2720                        mes "Oh yes, you will need 20 Shrimps for Ms. Mali's Tom Yum Goong.";
2721                        mes "I'll even give you a discount:";
2722                        mes "11,000 zeny for 20 shrimps.";
2723                        mes "What do you say?";
2724                        next;
2725                        if (select("I will take them.:I could get 100 Jellopies for that much!") == 1) {
2726                                if (Zeny > 10999) {
2727                                        set .@now_weight,MaxWeight-Weight;
2728                                        if (.@now_weight > 3999) {
2729                                                set zeny,zeny-11000;
2730                                                set tomyumgoong,3;
2731                                                getitem 567,20; //Prawn
2732                                                emotion e_no1;
2733                                                mes "[Thongpool]";
2734                                                mes "Good, now you have the";
2735                                                mes "freshest Shrimp in this village! It's time for you to go back and ask Ms. Mali to cook them for you.";
2736                                                close;
2737                                        }
2738                                        mes "[Thongpool]";
2739                                        mes "Awww...";
2740                                        mes "You're carrying too much stuff with you. I don't think you can carry more than what you have right now.";
2741                                        close;
2742                                }
2743                                mes "[Thongpool]";
2744                                mes "Awww...";
2745                                mes "You don't have";
2746                                mes "enough money.";
2747                                close;
2748                        }
2749                        mes "[Thongpool]";
2750                        mes "Well well well...";
2751                        mes "You might fill your hungry stomach with that many Jellopies but they wouldn't taste as good as my Shrimp!";
2752                        close;
2753                }
2754                mes "[Thongpool]";
2755                mes "What...?";
2756                mes "Do you think";
2757                mes "it's expensive?";
2758                mes "But the fantastic taste";
2759                mes "of Tom Yum Goong";
2760                mes "is priceless!";
2761                close;
2762        }
2763        else if (tomyumgoong == 3) {
2764                mes "[Thongpool]";
2765                mes "Mmm...?";
2766                mes "Did you need";
2767                mes "more Shrimps?";
2768                mes "Would you like";
2769                mes "to buy more?";
2770                next;
2771                if (select("Yes!:No, thanks.") == 1) {
2772                        if (Zeny > 10999) {
2773                                set .@now_weight,MaxWeight-Weight;
2774                                if (.@now_weight > 3999) {
2775                                        set zeny,zeny-11000;
2776                                        getitem 567,20; //Prawn
2777                                        mes "[Thongpool]";
2778                                        mes "There you go~";
2779                                        mes "The freshest Shrimp you can ever get in this village, and maybe even the world!";
2780                                        close;
2781                                }
2782                                mes "[Thongpool]";
2783                                mes "Awww...";
2784                                mes "You're carrying too much stuff with you. I don't think you can carry more than what you have right now.";
2785                                close;
2786                        }
2787                        mes "[Thongpool]";
2788                        mes "Awww...";
2789                        mes "You don't have";
2790                        mes "enough money.";
2791                        close;
2792                }
2793                mes "[Thongpool]";
2794                mes "Good, now you have gotten the freshest shrimps in this village!";
2795                mes "It's time for you to go back and ask Ms. Mali to cook for you.";
2796                close;
2797        }
2798        mes "[Thongpool]";
2799        mes "Welcome, welcome!";
2800        mes "I've got the best Shrimp caught in the cleanest waters in the world~!";
2801        close;
2802}
2803       
2804ayothaya,121,240,7      script  Mr. Jun#ayo     842,1,1,{
2805        if ((MaxWeight-Weight) < 2000 || checkweight(1201,1) == 0) {
2806                mes "- Wait a minute! -";
2807                mes "- Currently you're carrying -";
2808                mes "- too many items with you. -";
2809                mes "- Please enlighten your weight -";
2810                mes "- and try again. -";
2811                close;
2812        }
2813        if (tomyumgoong == 5) {
2814                emotion e_swt;
2815                mes "[Mr. Jun]";
2816                mes "Umm...?";
2817                mes "You don't need";
2818                mes "more Lemons";
2819                mes "again, do you?";
2820                next;
2821                switch(select("No.:Give me Lemons, old man!:Can I have some more Lemons, please?")) {
2822                case 1:
2823                        emotion e_ho;
2824                        mes "[Mr. Jun]";
2825                        mes "Then why don't you taste";
2826                        mes "the Lemons I gave you last time? They're really sour, but also very delicious!";
2827                        close;
2828                case 2:
2829                        emotion e_an;
2830                        mes "[Mr. Jun]";
2831                        mes "What...!?";
2832                        mes "What's wrong with you, kid?";
2833                        mes "What have you done with the";
2834                        mes "Lemons I gave you last time?";
2835                        close;
2836                case 3:
2837                        mes "[Mr. Jun]";
2838                        mes "Oh, I am sorry....recently my lemon storage";
2839                        mes "was attacked by ^3131FF'Leaf Cats'^000000 that are roaming around the Shrine.";
2840                        next;
2841                        mes "[Mr. Jun]";
2842                        mes "I wish that I could help you,";
2843                        mes "but I don't even have enough lemons for my business.";
2844                        mes "If you need lemons, why don't you go hunt them?";
2845                        close;
2846                }
2847        }
2848        mes "[Mr. Jun]";
2849        mes "...";
2850        close;
2851
2852OnTouch:
2853        if ((MaxWeight-Weight) < 2000 || checkweight(1201,1) == 0) {
2854                mes "- Wait a minute! -";
2855                mes "- Currently you're carrying -";
2856                mes "- too many items with you. -";
2857                mes "- Please enlighten your weight -";
2858                mes "- and try again. -";
2859                close;
2860        }
2861        if (tomyumgoong == 4) {
2862                mes "[Mr. Jun]";
2863                mes "Hello, there?";
2864                mes "Did you need";
2865                mes "some help...?";
2866                emotion e_hmm;
2867                next;
2868                if (select("I need some Lemons.:No, thanks.") == 1) {
2869                        mes "[Mr. Jun]";
2870                        mes "Umm...";
2871                        mes "Lemons?";
2872                        mes "As you see, I have plenty";
2873                        mes "of Lemons on my tree.";
2874                        mes "Do you really need some?";
2875                        next;
2876                        if (select("Yes, I will pay you.:No, thanks.") == 1) {
2877                                mes "[Mr. Jun]";
2878                                mes "I started growing this Lemon tree as a hobby, but I didn't expect to have such a good harvest of sweet,";
2879                                mes "succulent Lemons.";
2880                                next;
2881                                mes "[Mr. Jun]";
2882                                mes "Did you just say you were";
2883                                mes "going to pay me for the Lemons?";
2884                                mes "Oh, you've got me wrong. I don't intend to sell these.";
2885                                next;
2886                                mes "[Mr. Jun[";
2887                                mes "But...";
2888                                mes "I'm more than willing";
2889                                mes "to share some of them with";
2890                                mes "you, but only if you can...";
2891                                next;
2892                                mes "[Mr. Jun]";
2893                                mes "Play a small game with me!";
2894                                mes "How about that? I've been so bored to death. Even an old man like me needs to enjoy himself!";
2895                                next;
2896                                mes "[Mr. Jun]";
2897                                mes "Hahahaha~!";
2898                                mes "What do you say?";
2899                                mes "Would you like to try?";
2900                                next;
2901                                if (select("Sure, why not!:No, thanks.") == 1) {
2902                                        mes "[Mr. Jun]";
2903                                        mes "Good!";
2904                                        mes "The game I want us";
2905                                        mes "to play is an easy";
2906                                        mes "children's game.";
2907                                        next;
2908                                        mes "[Mr. Jun]";
2909                                        mes "^660000Rock,";
2910                                        mes "Paper, Scissors!^000000";
2911                                        mes "Perhaps you've heard";
2912                                        mes "of it in your land.";
2913                                        emotion e_scissors;
2914                                        next;
2915                                        mes "[Mr. Jun]";
2916                                        mes "Nuh-uh, don't look at me like that. I'm an old man, and I want to play this game and re-live my youth";
2917                                        mes "a little bit. You'll understand when you're my age.";
2918                                        next;
2919                                        mes "[Mr. Jun]";
2920                                        mes "Alright, if you win";
2921                                        mes "^3131FF3^000000 out of ^3131FF5^000000 matches,";
2922                                        mes "The Lemons are yours.";
2923                                        mes "Are you ready?";
2924                                        next;
2925                                        mes "[Mr. Jun]";
2926                                        mes "Okay...";
2927                                        mes "As you kids say,";
2928                                        mes "^990000Let's get eXtreme!^000000";
2929                                        next;
2930                                        set user_score,0;
2931                                        set pc_score,0;
2932                                        mes "[Mr. Jun]";
2933                                        mes "Rock!";
2934                                        mes "Paper!";
2935                                        mes "Scissors!";
2936                                        next;
2937                                        while(1) {
2938                                                if (.@pc_score == 5 || .@user_score == 3) {
2939                                                        break;
2940                                                }
2941                                                else {
2942                                                        set .@jun_mark,rand(1,3);
2943                                                        switch(select("Scissors:Rock:Paper")) {
2944                                                        case 1:
2945                                                                if (.@jun_mark == 1) {
2946                                                                        emotion e_scissors;
2947                                                                        emotion e_scissors,1;
2948                                                                        mes "[Mr. Jun]";
2949                                                                        mes "Hmpf.";
2950                                                                        mes "It's a draw.";
2951                                                                        mes "One more time!";
2952                                                                        mes "Rock! Paper!";
2953                                                                        mes "Scissors!";
2954                                                                        next;
2955                                                                }
2956                                                                else if (.@jun_mark == 2) {
2957                                                                        emotion e_rock;
2958                                                                        emotion e_scissors,1;
2959                                                                        set .@pc_score,.@pc_score + 1;
2960                                                                        mes "[Mr. Jun]";
2961                                                                        mes "Yes...!";
2962                                                                        mes "Oh my God, yes!";
2963                                                                        next;
2964                                                                }
2965                                                                else {
2966                                                                        emotion e_paper;
2967                                                                        emotion e_scissors,1;
2968                                                                        set .@pc_score,.@pc_score + 1;
2969                                                                        set .@user_score,.@user_score + 1;
2970                                                                        mes "[Mr. Jun]";
2971                                                                        mes "What...?";
2972                                                                        mes "I don't believe it!";
2973                                                                        mes "Bah.. !";
2974                                                                        next;
2975                                                                }
2976                                                                break;
2977                                                        case 2:
2978                                                                if (.@jun_mark == 1) {
2979                                                                        emotion e_scissors;
2980                                                                        emotion e_rock,1;
2981                                                                        set .@pc_score,.@pc_score + 1;
2982                                                                        set .@user_score,.@user_score + 1;
2983                                                                        mes "[Mr. Jun]";
2984                                                                        mes "No...!";
2985                                                                        mes "Sacrilege!";
2986                                                                        next;
2987                                                                }
2988                                                                else if (.@jun_mark == 2) {
2989                                                                        emotion e_rock;
2990                                                                        emotion e_rock,1;
2991                                                                        mes "[Mr. Jun]";
2992                                                                        mes "Hmpf.";
2993                                                                        mes "It's a draw.";
2994                                                                        mes "One more time!";
2995                                                                        mes "Rock! Paper!";
2996                                                                        mes "Scissors!";
2997                                                                        next;
2998                                                                }
2999                                                                else {
3000                                                                        emotion e_paper;
3001                                                                        emotion e_rock,1;
3002                                                                        set .@pc_score,.@pc_score + 1;
3003                                                                        mes "[Mr. Jun]";
3004                                                                        mes "Bwahahaha!";
3005                                                                        mes "You lose, kid!";
3006                                                                        next;
3007                                                                }
3008                                                                break;
3009                                                        case 3:
3010                                                                if (.@jun_mark == 1) {
3011                                                                        emotion e_scissors;
3012                                                                        emotion e_paper,1;
3013                                                                        set .@pc_score,.@pc_score + 1;
3014                                                                        mes "[Mr. Jun]";
3015                                                                        mes "Heh heh~";
3016                                                                        mes "Young fool!";
3017                                                                        next;
3018                                                                }
3019                                                                else if (.@jun_mark == 2) {
3020                                                                        emotion e_rock;
3021                                                                        emotion e_paper,1;
3022                                                                        set .@user_score,.@user_score + 1;
3023                                                                        set .@pc_score,.@pc_score + 1;
3024                                                                        mes "[Mr. Jun]";
3025                                                                        mes "Noooo...!";
3026                                                                        mes "This cannot be!";
3027                                                                        next;
3028                                                                }
3029                                                                else {
3030                                                                        emotion e_paper;
3031                                                                        emotion e_paper,1;
3032                                                                        mes "[Mr. Jun]";
3033                                                                        mes "Hmpf.";
3034                                                                        mes "It's a draw.";
3035                                                                        mes "One more time!";
3036                                                                        mes "Rock! Paper!";
3037                                                                        mes "Scissors!";
3038                                                                        next;
3039                                                                }
3040                                                                break;
3041                                                        }
3042                                                }
3043                                        }
3044                                        if (.@user_score == 3) {
3045                                                emotion e_pif;
3046                                                mes "[Mr. Jun]";
3047                                                mes "You... won.";
3048                                                mes "I'm so exhausted.";
3049                                                mes "I guess I can't compete";
3050                                                mes "with you youngsters";
3051                                                mes "anymore. Ha ha ha!";
3052                                                next;
3053                                                mes "[Mr. Jun]";
3054                                                mes "As promised,";
3055                                                mes "I shall share some";
3056                                                mes "of my Lemons with you.";
3057                                                mes "Grab as many as you want!";
3058                                                mes "^3355FFYou have plucked";
3059                                                mes "10 Lemons from the tree.^000000";
3060                                                set tomyumgoong,5;
3061                                                getitem 568,10; //Lemon
3062                                                next;
3063                                                emotion e_dots;
3064                                                mes "[Mr. Jun]";
3065                                                mes "Hmm...";
3066                                                mes "Looks like you need a lot of them. Oh well, that's fine with me. I had a good time with you.";
3067                                                next;
3068                                                mes "[Mr. Jun]";
3069                                                mes "Don't forget this though:";
3070                                                mes "Don't be selfish, and always share what you have with others. That's one of the most important values for human beings.";
3071                                                close;
3072                                        }
3073                                        emotion e_scissors;
3074                                        mes "[Mr. Jun]";
3075                                        mes "Muhahahaha!";
3076                                        mes "Victory is mine!";
3077                                        mes "Looks like you won't be getting";
3078                                        mes "any Lemons for now! But feel free to challenge me anytime!";
3079                                        close;
3080                                }
3081                                mes "[Mr. Jun]";
3082                                mes "Afraid are we?";
3083                                mes "There's no fooling you:";
3084                                mes "I'm one of the best at games!";
3085                                close;
3086                        }
3087                        mes "[Mr. Jun]";
3088                        mes "Hmm...";
3089                        mes "Now what can";
3090                        mes "I possibly do";
3091                        mes "with all these";
3092                        mes "Lemons?";
3093                        close;
3094                }
3095                mes "[Mr. Jun]";
3096                mes "Feel free to";
3097                mes "ask me for help";
3098                mes "any time, okay?";
3099                close;
3100        }
3101        mes "[Mr. Jun]";
3102        mes "...";
3103        close;
3104}
3105
3106ayothaya,213,94,7       script  Merchant#ayo    841,{
3107        if (tomyumgoong == 6) {
3108                mes "[Merchant Thongdum]";
3109                mes "Hello, there~";
3110                mes "Are you looking for";
3111                mes "ingredients to make";
3112                mes "Tom Yum Goong?";
3113                next;
3114                mes "[Merchant Thongdum]";
3115                mes "Let's see...";
3116                mes "I'm selling chiles,";
3117                mes "fish sauce, and some";
3118                mes "spices and flavorings";
3119                mes "you'll need. I'll sell";
3120                mes "it all to you for 2,000 zeny.";
3121                next;
3122                if (select("Thanks, I'll take it.:It's a rip-off, man!") == 1) {
3123                        emotion e_thx;
3124                        if (Zeny > 1999) {
3125                                set .@now_weight,MaxWeight-Weight;
3126                                if (.@now_weight > 1199) {
3127                                        set zeny,zeny-2000;
3128                                        set tomyumgoong,7;
3129                                        getitem 7286,30; //Chilli
3130                                        mes "[Merchant Thongdum]";
3131                                        mes "Thank you.";
3132                                        mes "I hope you will enjoy";
3133                                        mes "your Tom Yum Goong~";
3134                                        close;
3135                                }
3136                                mes "[Merchant Thongdum]";
3137                                mes "Uh oh...";
3138                                mes "It looks like";
3139                                mes "you're carrying";
3140                                mes "too much stuff";
3141                                mes "right now.";
3142                                next;
3143                                mes "[Merchant Thongdum]";
3144                                mes "I can't give you";
3145                                mes "anything if you don't";
3146                                mes "have the room to hold it!";
3147                                close;
3148                        }
3149                        mes "[Merchant Thongdum]";
3150                        mes "Hmm...?";
3151                        mes "Right now, it looks";
3152                        mes "like you don't have the";
3153                        mes "money to buy what you";
3154                        mes "need from me.";
3155                        close;
3156                }
3157                emotion e_no;
3158                mes "[Merchant Thongdum]";
3159                mes "Don't say that.";
3160                mes "My prices are always";
3161                mes "reasonable. I want you to know";
3162                mes "that I'm a respectable Merchant.";
3163                close;
3164        }
3165        else if (tomyumgoong == 7) {
3166                mes "[Merchant Thongdum]";
3167                mes "I thought I provided you";
3168                mes "with enough ingredients, but";
3169                mes "now that I think about it, I don't";
3170                mes "know how much Tom Yum Goong";
3171                mes "you're making.";
3172                next;
3173                mes "[Merchant Thongdum]";
3174                mes "Would you like to";
3175                mes "buy some more Chilis?";
3176                next;
3177                if (select("No, thanks.:Yes, please.") == 1) {
3178                        mes "[Merchant Thongdum]";
3179                        mes "Fare well~";
3180                        close;
3181                }
3182                if (Zeny > 1999) {
3183                        set .@now_weight,MaxWeight-Weight;
3184                        if (.@now_weight > 1199) {
3185                                set zeny,zeny-2000;
3186                                getitem 7286,30; //Chilli
3187                                mes "[Merchant Thongdum]";
3188                                mes "Thank you,";
3189                                mes "come again!";
3190                                close;
3191                        }
3192                        mes "[Merchant Thongdum]";
3193                        mes "Uh oh...";
3194                        mes "It looks like";
3195                        mes "you're carrying";
3196                        mes "too much stuff";
3197                        mes "right now.";
3198                        next;
3199                        mes "[Merchant Thongdum]";
3200                        mes "I can't give you";
3201                        mes "anything if you don't";
3202                        mes "have the room to hold it!";
3203                        close;
3204                }
3205                mes "[Merchant Thongdum]";
3206                mes "Hmm...?";
3207                mes "Right now, it looks";
3208                mes "like you don't have the";
3209                mes "money to buy what you";
3210                mes "need from me.";
3211                close;
3212        }
3213        mes "[Merchant Thongdum]";
3214        mes "Hello there!";
3215        mes "Ever try a Chili before?";
3216        next;
3217        mes "[Merchant Thongdom]";
3218        mes "Despite its tiny appearance,";
3219        mes "it has a very strong flavor. It's also hot and spicy, so you should be careful when you eat one.";
3220        next;
3221        mes "[Merchant Thongdum]";
3222        mes "The people of Ayotaya enjoy sensational food with distinct, spicy flavors. In Ayotayan cuisine, we use things like Chilis, garlic, ginger and cilantro.";
3223        next;
3224        mes "[Merchant Thongdum]";
3225        mes "I'm selling Chilis,";
3226        mes "so if you need any,";
3227        mes "please come to me~";
3228        close;
3229}
Note: See TracBrowser for help on using the browser.