root/npc/quests/quests_louyang.txt

Revision 1, 162.6 kB (checked in by jinshiro, 17 years ago)
Line 
1//===== eAthena Script =======================================
2//= Quest NPCs related to Louyang
3//===== By: ==================================================
4//= Evera and The eAthena Dev Team
5//===== Current Version: =====================================
6//= 1.9
7//===== Compatible With: =====================================
8//= eAthena 1.0
9//===== Description: =========================================
10//= [Aegis Conversion]
11//= Soup Quest
12//= - Variable in use: che_tre (max 5)
13//= Doctor Quest
14//= - Variable in use: che_par (max 18)
15//= Poison King Quest
16//= - Variable in use: ch_poison (max 20)
17//= Revolution Quest
18//= - Variable in use: QL_REVO (max 9)
19//===== Additional Comments: =================================
20//= 1.0 Initial Release [Evera]
21//= 1.1 Fixed double levelup bug [Lupus]
22//= 1.2 Added Revolution Quest. [SinSloth]
23//= 1.3 Fixed experience gains to match upcoming rate adjustments. [SinSloth]
24//= 1.4 Corrected NPC names to fall within proper restrictions. [L0ne_W0lf]
25//= 1.5 Fixed bad NPC header data to comply with rev. 11603. [L0ne_W0lf]
26//= 1.6 Rescripted Soup, Doctor, and Poison King quests [L0ne_W0lf]
27//=     to Aegis 10.3 standards. Attempted to save current
28//=     quest progress from the old scripts.
29//= 1.7 Added missing checkweights. And corrected [L0ne_W0lf]
30//=     a typo in Poison King quest.
31//= 1.8 Bug fixes. (bugreport:1025 bugreport:1062) [L0ne_W0lf]
32//= 1.9 Bug fixes/Typos. [Paradox924X]
33//============================================================
34
35// Soup Quest
36//============================================================
37lou_in02,53,174,7       script  Employee#1      822,6,62,{
38        if (gettime(3) >= 10 && gettime(3) < 22) {
39                mes "[Chang Pai]";
40                mes "Welcome, welcome!";
41                mes "We are ready to serve you~!";
42                mes "Now, go ahead and go upstairs~!";
43                close;
44        }
45        mes "[Chang Pai]";
46        mes "^666666*Yawn...*^000000";
47        close;
48
49OnTouch:
50        if (ch_tre == 2 || ch_tre == 3) {
51                if (gettime(3) >= 10 && gettime(3) < 14) {
52                        if (rand(1,10) < 9) {
53                                mes "[Chang Pai]";
54                                mes "Wait, who are you?!";
55                                mes "Put that down and get";
56                                mes "of out here right now!";
57                                next;
58                                mes "^3131FFYou have failed^000000";
59                                mes "^3131FFto steal the pot.^000000";
60                                set ch_tre,1;
61                                close;
62                        }
63                }
64                else if (gettime(3) >= 14 && gettime(3) < 17) {
65                        if (rand(1,10) < 10) {
66                                mes "[Chang Pai]";
67                                mes "Wait, who are you?!";
68                                mes "Put that down and get";
69                                mes "of out here right now!";
70                                next;
71                                mes "^3131FFYou have failed^000000";
72                                mes "^3131FFto steal the pot.^000000";
73                                set ch_tre,1;
74                                close;
75                        }
76                }
77                else if (gettime(3) >= 17 && gettime(3) < 21) {
78                        if (rand(1,10) < 6) {
79                                mes "[Chang Pai]";
80                                mes "Wait, who are you?!";
81                                mes "Put that down and get";
82                                mes "of out here right now!";
83                                next;
84                                mes "^3131FFYou have failed^000000";
85                                mes "^3131FFto steal the pot.^000000";
86                                set ch_tre,1;
87                                close;
88                        }
89                }
90                else {
91                        if (rand(1,10) < 5) {
92                                mes "[Chang Pai]";
93                                mes "^666666*Yawn...*^000000";
94                                mes "So...";
95                                mes "Sleepy...";
96                                next;
97                                mes "[Chang Pai]";
98                                mes "Huh...?";
99                                mes "Who are you!?";
100                                mes "Hey, I got a thief here!";
101                                next;
102                                mes "^3131FFYou have failed^000000";
103                                mes "^3131FFto steal the pot.^000000";
104                                set ch_tre,1;
105                                close;
106                        }
107                }
108        }
109        end;
110}
111
112lou_in02,76,181,3       script  Employee#2      822,2,2,{
113        if (gettime(3) >= 10 && gettime(3) < 22) {
114                mes "[Huang Jia Xian]";
115                mes "Welcome~";
116                mes "Sorry for making you wait. If you wish to rest, please go upstairs.";
117                next;
118                mes "[Huang Jia Xian]";
119                mes "Recently, many tourists are visiting Louyang and although business is great, we're now";
120                mes "busier than ever.";
121                next;
122                mes "[Huang Jia Xian]";
123                mes "^666666*Sigh...*^000000";
124                mes "I don't even";
125                mes "have time to eat.";
126                mes "I'm starving...!";
127                close;
128        }
129        mes "[Huang Jia Xian]";
130        mes "Ehhhh...";
131        mes "Forgive me...";
132        mes "....................";
133        mes "...Zzzzz...Zzzz...";
134        close;
135
136OnTouch:
137        if (ch_tre == 2 || ch_tre == 3) {
138                if (gettime(3) >= 10 && gettime(3) < 14) {
139                        if (rand(1,10) < 9) {
140                                mes "[Huang Jia Xian]";
141                                mes "What the...?";
142                                mes "Hey, what";
143                                mes "are you doing?";
144                                mes "Get out of here!";
145                                next;
146                                mes "^3131FFYou have failed^000000";
147                                mes "^3131FFto steal the pot.^000000";
148                                set ch_tre,1;
149                                close;
150                        }
151                }
152                else if (gettime(3) >= 14 && gettime(3) < 17) {
153                        if (rand(1,10) < 10) {
154                                mes "[Huang Jia Xian]";
155                                mes "What the...?";
156                                mes "Hey, what";
157                                mes "are you doing?";
158                                mes "Get out of here!";
159                                next;
160                                mes "^3131FFYou have failed^000000";
161                                mes "^3131FFto steal the pot.^000000";
162                                set ch_tre,1;
163                                close;
164                        }
165                }
166                else if (gettime(3) >= 17 && gettime(3) < 22) {
167                        if (rand(1,10) < 6) {
168                                mes "[Huang Jia Xian]";
169                                mes "What the...?";
170                                mes "Hey, what";
171                                mes "are you doing?";
172                                mes "Get out of here!";
173                                next;
174                                mes "^3131FFYou have failed^000000";
175                                mes "^3131FFto steal the pot.^000000";
176                                set ch_tre,1;
177                                close;
178                        }
179                }
180                else {
181                        if (rand(1,10) < 5) {
182                                mes "[Huang Jia Xian]";
183                                mes "*Yawn...*";
184                                mes "So very tired...";
185                                next;
186                                mes "[Huang Jia Xian]";
187                                mes "Hey, what are you";
188                                mes "doing here? Are you";
189                                mes "a Thief?! Somebody help!";
190                                mes "There's a Thief!";
191                                next;
192                                mes "^3131FFYou have failed^000000";
193                                mes "^3131FFto steal the pot.^000000";
194                                set ch_tre,1;
195                                close;
196                        }
197                }
198        }
199        end;
200}
201
202lou_in02,61,175,3       script  Employee#3      818,2,2,{
203        if (gettime(3) >= 10 && gettime(3) < 22) {
204                if (ch_tre == 5) {
205                        mes "[Ya Hua]";
206                        mes "Welcome, welcome!";
207                        mes "We have many rooms";
208                        mes "available! Why don't";
209                        mes "you go upstairs?";
210                        mes "Ha ha ha!";
211                        next;
212                        emotion e_swt;
213                        mes "[Ya Hua]";
214                        mes "Oh, if by any chance you came to try the Dragon Soup, I'm sorry, but it's no longer availalbe.";
215                        next;
216                        mes "[Ya Hua]";
217                        mes "But don't be too disappointed, we serve many other delicious foods that you can choose from!";
218                        close;
219                }
220                mes "[Ya Hua]";
221                mes "Welcome, welcome!";
222                mes "We have many rooms";
223                mes "available! Why don't";
224                mes "you go upstairs?";
225                mes "Ha ha ha!";
226                close;
227        }
228        mes "[Ya Hua]";
229        mes "^666666*Yawn...*^000000";
230        close;
231
232OnTouch:
233        if (ch_tre == 2 || ch_tre == 3) {
234                if (gettime(3) >= 10 && gettime(3) < 14) {
235                        if (rand(1,10) < 9) {
236                                mes "[Ya Hua]";
237                                mes "What do you think";
238                                mes "you're doing here?!";
239                                mes "Put that down and";
240                                mes "leave right now!";
241                                next;
242                                mes "^3131FFYou have failed^000000";
243                                mes "^3131FFto steal the pot.^000000";
244                                set ch_tre,1;
245                                close;
246                        }
247                }
248                else if (gettime(3) >= 14 && gettime(3) < 17) {
249                        if (rand(1,10) < 10) {
250                                mes "[Ya Hua]";
251                                mes "What do you think";
252                                mes "you're doing here?!";
253                                mes "Put that down and";
254                                mes "leave right now!";
255                                next;
256                                mes "^3131FFYou have failed^000000";
257                                mes "^3131FFto steal the pot.^000000";
258                                set ch_tre,1;
259                                close;
260                        }
261                }
262                else if (gettime(3) >= 17 && gettime(3) < 22) {
263                        if (rand(1,10) < 6) {
264                                mes "[Ya Hua]";
265                                mes "What do you think";
266                                mes "you're doing here?!";
267                                mes "Put that down and";
268                                mes "leave right now!";
269                                next;
270                                mes "^3131FFYou have failed^000000";
271                                mes "^3131FFto steal the pot.^000000";
272                                set ch_tre,1;
273                                close;
274                        }
275                }
276                else {
277                        if (rand(1,10) < 5) {
278                                mes "[Ya Hua]";
279                                mes "^666666*Yawn...*^000000";
280                                mes "Eyelids...";
281                                mes "Getting...";
282                                mes "Heavier...";
283                                next;
284                                mes "[Ya Hua]";
285                                mes "Wait a sec...";
286                                mes "Are you a Thief?!";
287                                mes "Get out of here!!";
288                                next;
289                                mes "^3131FFYou have failed^000000";
290                                mes "^3131FFto steal the pot.^000000";
291                                set ch_tre,1;
292                                close;
293                        }
294                }
295        }
296        end;
297}
298
299lou_in02,62,183,3       script  Chef#1-2        820,2,2,{
300        if (ch_tre > 0 && ch_tre < 4) {
301                mes "[Wang Shi Long]";
302                mes "Hm? Aren't you a customer? I am Wang Shi Long, the chef of this restaurant.";
303                next;
304                mes "[Wang Shi Long]";
305                mes "My family has served food to Lord Bai Long for a long time. This restaurant is own by my family and I am the successor.";
306                next;
307                mes "[Wang Shi Long]";
308                mes "Every dish my family cooks is counted among the most delicious food in Louyang.";
309                next;
310                mes "[Wang Shi Long]";
311                mes "Our Dragon Soup won especially high praise from our Lord Bai Long.";
312                next;
313                mes "[Wang Shi Long]";
314                mes "I'm also proud to tell you that my family only uses the freshest, highest quality ingredients for our dishes.";
315                next;
316                mes "[Wang Shi Long]";
317                mes "We have been popular in Louyang for hundreds and hundreds of years because of the quality of our gourmet food.";
318                next;
319                mes "[Wang Shi Long]";
320                mes "Recently, though, I've had a bad feeling that someone is trying to take over our restaurant...";
321                next;
322                mes "[Wang Shi Long]";
323                mes "Oh, well. Maybe I'm in a different mood because of some other reason. It's probably nothing.";
324                close;
325        }
326        else if (ch_tre > 3 && ch_tre < 6) {
327                mes "[Wang Shi Long]";
328                mes "^666666*Moans and Cries*^000000";
329                mes "I guess this is it...!";
330                mes "The end of my family's glory.";
331                mes "Someone stole the base broth";
332                mes "of my Dragon Soup!";
333                next;
334                mes "[Wang Shi Long]";
335                mes "What should I do, now?";
336                mes "Without Dragon Soup, my family's restaurant will now just be like all the others...";
337                close;
338        }
339        mes "[Wang Shi Long]";
340        mes "Hello, are you";
341        mes "one of our customers?";
342        mes "I am Wang Shi Long,";
343        mes "the chef of this";
344        mes "restaurant.";
345        next;
346        mes "[Wang Shi Long]";
347        mes "My family has served food";
348        mes "to Lord Bai Long for a long time. This restaurant has been handed down the family line, and I am the successor~";
349        next;
350        mes "[Wang Shi Long]";
351        mes "Our specialty dish, Dragon Soup, won especially high praise from Lord Bai Long, who is known for";
352        mes "his extremely discerning sense of taste.";
353        next;
354        mes "[Wang Shi Long]";
355        mes "I'm also proud to say that we cook with only the freshest and highest quality ingredients.";
356        next;
357        mes "[Wang Shi Long]";
358        mes "We've always been popular in Louyang for hundreds and hundreds of years because of our high quality gourmet cuisine.";
359        next;
360        mes "[Wang Shi Long]";
361        mes "In this dry and hot weather,";
362        mes "Dragon Soup is the best food for any appetite. I suggest that you try a bowl. You'll be quite pleased!";
363        close;
364
365OnTouch:
366        if (ch_tre == 2 || ch_tre == 3) {
367                if (gettime(3) >= 10 && gettime(3) < 14) {
368                        if (rand(1,10) < 9) {
369                                mes "[Wang Shi Long]";
370                                mes "Hey, what do you";
371                                mes "think you're doing?!";
372                                mes "Let go of that, and";
373                                mes "get outta here!";
374                                next;
375                                mes "^3131FFYou have failed^000000";
376                                mes "^3131FFto steal the pot.^000000";
377                                set ch_tre,1;
378                                warp "louyang",280,161;
379                                close;
380                        }
381                }
382                else if (gettime(3) >= 14 && gettime(3) < 17) {
383                        if (rand(1,10) < 10) {
384                                mes "[Wang Shi Long]";
385                                mes "Hey, what do you";
386                                mes "think you're doing?!";
387                                mes "Let go of that, and";
388                                mes "get outta here!";
389                                next;
390                                mes "^3131FFYou have failed^000000";
391                                mes "^3131FFto steal the pot.^000000";
392                                set ch_tre,1;
393                                warp "louyang",280,161;
394                                close;
395                        }
396                }
397                else if (gettime(3) >= 17 && gettime(3) < 22) {
398                        if (rand(1,10) < 6) {
399                                mes "[Wang Shi Long]";
400                                mes "Hey, what do you";
401                                mes "think you're doing?!";
402                                mes "Let go of that, and";
403                                mes "get outta here!";
404                                next;
405                                mes "^3131FFYou have failed^000000";
406                                mes "^3131FFto steal the pot.^000000";
407                                set ch_tre,1;
408                                warp "louyang",280,161;
409                                close;
410                        }
411                }
412                else {
413                        if (rand(1,10) < 5) {
414                                mes "[Wang Shi Long]";
415                                mes "^666666*Yawn...*^000000";
416                                mes "Hm...?";
417                                mes "Who's that?";
418                                next;
419                                mes "[Wang Shi Long]";
420                                mes "Wait...!";
421                                mes "What are you doing?!";
422                                mes "G-Get out of here!";
423                                next;
424                                mes "^3131FFYou have failed^000000";
425                                mes "^3131FFto steal the pot.^000000";
426                                set ch_tre,1;
427                                warp "louyang",280,161;
428                                close;
429                        }
430                }
431        }
432        end;
433}
434
435lou_fild01,195,177,5    script  Jiu Lian Bu#1-1 819,{
436        //Remove outdated variables and attempt to preserve prior quest progress.
437        if (QL_ACCEPTSOUP) set ch_tre,1;
438        if (QL_GOTDRAGONSOUP) set ch_tre,2;
439        if (QL_GOTFAKESOUP) set ch_tre,3;
440        if (QL_SOUPQUEST)  set ch_tre,4;
441        if (QL_SOUP2) set ch_tre,5;
442        set QL_ACCEPTSOUP,0; set QL_GOTDRAGONSOUP,0; set QL_GOTFAKESOUP,0; set QL_SOUPQUEST,0; set QL_SOUP2,0;
443
444        if (ch_tre == 0) {
445                mes "[Jiu Lian Bu]";
446                mes "Hey~";
447                mes "What's up?";
448                next;
449                mes "[Jiu Lian Bu]";
450                mes "I don't like hanging around too many people, so I came here. Listening to this stream really puts my mind at ease.";
451                next;
452                mes "[Jiu Lian Bu]";
453                mes "No offense, but I'm upset";
454                mes "at the sheer number of tourists coming over to Louyang. Sure, I can understand that our town is attractive and has beautiful sights.";
455                next;
456                mes "[Jiu Lian Bu]";
457                mes "But I just can't stand crowds of people. People gather like sheep";
458                mes "to any place that they hear is popular, and that really bugs me!";
459                next;
460                mes "[Jiu Lian Bu]";
461                mes "Speaking of which, there's even";
462                mes "a place in Louyang that's just like that. Man, I hate that restaurant!";
463                next;
464                if (select("What restaurant?:Ignore him.") == 1) {
465                        mes "[Jiu Lian Bu]";
466                        mes "West of Louyang, there's";
467                        mes "a restaurant built on a pond. It's been around for a long time, selling food for ridiculous prices!";
468                        next;
469                        mes "[Jiu Lian Bu]";
470                        mes "Oh sure, the food and flavors";
471                        mes "there have a long history, but I don't think that justifies how they charge their patrons!";
472                        next;
473                        mes "[Jiu Lian Bu]";
474                        mes "As a young man";
475                        mes "who loves his town,";
476                        mes "I can't let them manipulate my people like that!";
477                        next;
478                        mes "[Jiu Lian Bu]";
479                        mes "But everyone here already knows who I am, so I can't do anything! I've already had one too many, shall we say, 'incidents' with the people living here already.";
480                        next;
481                        mes "[Jiu Lian Bu]";
482                        mes "I've been caught for tagging walls, shoplifting, scamming, stealing a few girlfriends... So yeah, I'm not exactly known as a sterling citizen.";
483                        next;
484                        mes "[Jiu Lian Bu]";
485                        mes "Say, wait a minute. The local people around here aren't too familiar with you. Hmmm...";
486                        next;
487                        mes "[Jiu Lian Bu]";
488                        mes "Would you sneak into that restaurant and steal the";
489                        mes "^3131FFDragon Soup Broth^000000 for me?";
490                        next;
491                        mes "[Jiu Lian Bu]";
492                        mes "The Dragon Soup Broth is the backbone for the restaurant";
493                        mes "owner's secret recipe.";
494                        next;
495                        mes "[Jiu Lian Bu]";
496                        mes "But they've been cheating their customers by watering that broth down and selling it for a ridiculous price! Serves them right if their secrets were stolen!";
497                        next;
498                        mes "[Jiu Lian Bu]";
499                        mes "If you can steal some of the broth, I'll pay you back. So whaddya say?";
500                        next;
501                        if (select("I'll do it!:No, stealing is wrong.") == 1) {
502                                mes "[Jiu Lian Bu]";
503                                mes "Grrrrreat!";
504                                mes "I knew you'd";
505                                mes "see things my way!";
506                                next;
507                                mes "[Jiu Lian Bu]";
508                                mes "Okay, the restaurant is at the West side of Louyang. But you gotta be careful. The workers there watch over that broth like freakin' hawks!";
509                                next;
510                                mes "[Jiu Lian Bu]";
511                                mes "When you finally steal the broth, make sure you bring it without spilling any. Okay? Good luck~";
512                                set ch_tre,1;
513                                close;
514                        }
515                        mes "[Jiu Lian Bu]";
516                        mes "Stealing?";
517                        mes "You may have";
518                        mes "a point there.";
519                        next;
520                        mes "[Jiu Lian Bu]";
521                        mes "But then, that restaurant has been doing that to their customers for years! So, technically, we'd just be stealing back.";
522                        close;
523                }
524                mes "[Jiu Lian Bu]";
525                mes "That joint isn't even that great. I mean, it's so obvious that they rip off their customers! Dragon Soup?! More like... Dragon Crap Soup!";
526                close;
527        }
528        else if (ch_tre == 1) {
529                mes "[Jiu Lian Bu]";
530                mes "Huh...?";
531                mes "Whoa, I thought you were on your way to the restaurant. You better get a move on.";
532                next;
533                mes "[Jiu Lian Bu]";
534                mes "Alright then, pal. Make sure the guys who work there don't catch you. Good luck~";
535                close;
536        }
537        else if (ch_tre == 2) {
538                mes "[Jiu Lian Bu]";
539                mes "Wow! You made it!";
540                mes "Let me see...";
541                next;
542                mes "^3355FFJiu Lian Bu takes";
543                mes "a hearty sip of the";
544                mes "broth you've managed";
545                mes "to steal for him.^000000";
546                next;
547                mes "[Jiu Lian Bu]";
548                mes "Ohhhh man....";
549                mes "This is soooo not Dragon Soup Broth. Sorry, but would you go";
550                mes "and try to get it again?";
551                set ch_tre,1;
552                close;
553        }
554        else if (ch_tre == 3) {
555                mes "[Jiu Lian Bu]";
556                mes "Wow!";
557                mes "You made it!";
558                mes "Let me see...";
559                next;
560                mes "^3355FFJiu Lian Bu takes";
561                mes "a hearty sip of the";
562                mes "broth you've managed";
563                mes "to steal for him.^000000";
564                next;
565                mes "[Jiu Lian Bu]";
566                mes "Ooooh. Ooh yeah.";
567                mes "This is the stuff.";
568                mes "Muhahahahahaha~!";
569                mes "This'll put the chef";
570                mes "in agony for a while!";
571                next;
572                mes "[Jiu Lian Bu]";
573                mes "Good job, chum! Heh heh heh, because you risked your neck for me, I'm gonna show you an awesome place! Just follow me~";
574                set ch_tre,4;
575                close2;
576                warp "lou_fild01",180,170;
577                end;
578        }
579        else if (ch_tre > 3 && ch_tre < 6) {
580                mes "[Jiu Lian Bu]";
581                mes "Hey~";
582                mes "So how ya been, ya smooth criminal? You wanna visit that place again?";
583                next;
584                switch(select("Sure, let's go~:Nah, maybe next time.")) {
585                        mes "[Jiu Lian Bu]";
586                        mes "Alright~";
587                        mes "Let's get";
588                        mes "a groove on.";
589                        close2;
590                        warp "lou_fild01",180,170;
591                        end;
592                }
593                mes "[Jiu Lian Bu]";
594                mes "Not in the mood, eh?";
595                mes "No prob. But feel free";
596                mes "to come see me whenever";
597                mes "you want.";
598                close;
599        }
600        mes "[Jiu Lian Bu]";
601        mes "Wha...?";
602        mes "Hey, who are you? If you don't got anything to say to me, then get lost!";
603        close;
604}
605
606lou_fild01,175,173,3    script  Jiu Lian Bu#1-2 819,{
607        emotion e_heh;
608        if (ch_tre == 4) {
609                mes "[Jiu Lian Bu]";
610                mes "So...";
611                mes "Whaddya think?";
612                mes "Prettiest place";
613                mes "in Louyang, isn't it?";
614                next;
615                mes "[Jiu Lian Bu]";
616                mes "Whenever I'm depressed";
617                mes "or need to relax, I just sit here in enjoy the breeze. It helps me forget all my worries.";
618                next;
619                mes "[Jiu Lian Bu]";
620                mes "Heh heh, the best part is, this place is far away from my older sister. Man, that woman can nag, nag, nag, all day long.";
621                next;
622                mes "[Jiu Lian Bu]";
623                mes "Why don't you sit down and close your eyes, and feel that soothing wind. It's pretty refreshing...";
624                next;
625                emotion e_hmm;
626                mes "[Jiu Lian Bu]";
627                mes "Also...";
628                mes "I'm a little";
629                mes "embarrassed to";
630                mes "say this but...";
631                next;
632                mes "[Jiu Lian Bu]";
633                mes "I'm the kind of guy who speaks his mind. If there's something you just wanna say, but can't, it's kind of like poison in your mind.";
634                next;
635                mes "[Jiu Lian Bu]";
636                mes "You know what I'm talking about, right? If you bottle something up inside of you, it just causes you anxiety you don't need.";
637                next;
638                mes "[Jiu Lian Bu]";
639                mes "So...";
640                mes "This is what you do.";
641                mes "Clench your fist, take";
642                mes "a deep breath.";
643                next;
644                mes "[Jiu Lian Bu]";
645                mes "And just yell";
646                mes "whatever you want!";
647                mes "If you don't know";
648                mes "the words, just";
649                mes "screaming will do.";
650                mes "Let everything out!";
651                next;
652                mes "[Jiu Lian Bu]";
653                mes "Ready~!";
654                mes "Say it out loud!";
655                next;
656                input .@input$;
657                mes "["+strcharinfo(0)+"]";
658                mes .@input$;
659                mapannounce "lou_fild01","'"+strcharinfo(0)+"' shouts : "+.@input$,bc_map,"0x9CFF00";
660                next;
661                mes "[Jiu Lian Bu]";
662                mes "So, how do you feel?";
663                mes "Don't you feel better now? Hahaha~";
664                next;
665                mes "[Jiu Lian Bu]";
666                mes "So from now on, whenever you";
667                mes "wanna relieve yourself of stress, come see me and we'll come back to this place. Call it my way of saying thanks.";
668                set ch_tre,5;
669                close;
670        }
671        else if (ch_tre == 5) {
672                mes "[Jiu Lian Bu]";
673                mes "So...";
674                mes "Whaddya wanna do?";
675                next;
676                if (select("Shout.:Leave.") == 1) {
677                        mes "[Jiu Lian Bu]";
678                        mes "Alright~!";
679                        mes "Say it out loud!";
680                        next;
681                        input .@input$;
682                        mes "["+strcharinfo(0)+"]";
683                        mes .@input$;
684                        mapannounce "lou_fild01","'"+strcharinfo(0)+"' shouts : "+.@input$,bc_map,"0x9CFF00";
685                        next;
686                        mes "[Jiu Lian Bu]";
687                        mes "So, how do you feel? Don't you feel better now?";
688                        close;
689                }
690                mes "[Jiu Lian Bu]";
691                mes "Ahhh...";
692                mes "Alright, let's";
693                mes "get a groove on.";
694                close2;
695                warp "lou_fild01",200,174;
696                end;
697        }
698        mes "[Jiu Lian Bu]";
699        mes "Hey, pal~! This is my turf! Whaddya think you're doin' here?!";
700        next;
701        mes "[Jiu Lian Bu]";
702        mes "Now...";
703        mes "Get the hell";
704        mes "outta here.";
705        close2;
706        warp "lou_fild01",200,174;
707        end;
708}
709
710lou_in02,50,185,5       script  Pot#1   111,{
711        if (ch_tre == 1) {
712                mes "^3131FFBeneath the shadows,";
713                mes "you find a large pot filled with dark, red liquid. What do you";
714                mes "want to do?^000000 ";
715                next;
716                if (select("Take the pot.:Look for another pot.") == 1) {
717                        mes "^3131FFYou take a careful look around.";
718                        mes "It wouldn't be wise to steal this now if anyone is watching.^000000";
719                        next;
720                        if (gettime(3) >= 10 && gettime(3) < 14) {
721                                mes "^3131FFThe restaurant doesn't seem busy right now, so there's only a few employees and customers.^000000";
722                        }
723                        else if (gettime(3) >= 14 && gettime(3) < 17) {
724                                mes "^3131FFOnly the restaurant";
725                                mes "employees are around,";
726                                mes "and they busy chatting";
727                                mes "amongst each other.^000000";
728                        }
729                        else if (gettime(3) >= 17 && gettime(3) < 22) {
730                                mes "^3131FFThe restaurant is filled";
731                                mes "with customers, and the";
732                                mes "hustle and bustle of the";
733                                mes "restaurant employees.^000000";
734                                next;
735                                mes "^3131FFEveryone seems so busy";
736                                mes "and preoccupied that they don't";
737                                mes "notice you approach the pot.^000000";
738                        }
739                        else {
740                                mes "^3131FFSince the restaurant";
741                                mes "is closed, the whole place";
742                                mes "is completely quiet. The";
743                                mes "employees are all asleep.^000000";
744                        }
745                        next;
746                        mes "^3131FFYou carefully lift the pot, and although it's heavy, you think";
747                        mes "you can carry it.^000000";
748                        next;
749                        mes "^3131FFAll you have";
750                        mes "to do now is get";
751                        mes "away from this restaurant";
752                        mes "without getting caught...^000000";
753                        if (rand(1,4) < 4) {
754                                set ch_tre,2;
755                        }
756                        else {
757                                set ch_tre,3;
758                        }
759                        close;
760                }
761                mes "^3131FFYou decide to^000000";
762                mes "^3131FFlook for another pot.^000000";
763                close;
764        }
765        else if (ch_tre > 3 && ch_tre < 6) {
766                mes "^3131FFYou found a pot.^000000";
767                mes "^3131FFHowever, it's empty.^000000";
768                close;
769        }
770        if (gettime(3) >= 10 && gettime(3) < 22) {
771                mes "[Chef]";
772                mes "Ah...!";
773                mes "Please, do not";
774                mes "touch the pots!";
775                close;
776        }
777        mes "^3131FFBeneath the shadows,";
778        mes "you find a large pot filled with dark, red liquid.^000000 ";
779        close;
780}
781
782lou_in02,49,185,5       script  Pot#2   111,{
783        if (ch_tre == 1) {
784                mes "^3131FFBeneath the shadows,";
785                mes "you find a large pot filled with dark, red liquid. What do you";
786                mes "want to do?^000000";
787                next;
788                if (select("Take the pot.:Look for another pot.") == 1) {
789                        mes "^3131FFYou take a careful look around.";
790                        mes "It wouldn't be wise to steal this now if anyone is watching.^000000";
791                        next;
792                        if (gettime(3) >= 10 && gettime(3) < 14) {
793                                mes "^3131FFThe restaurant doesn't seem busy right now, so there's only a few employees and customers.^000000";
794                        }
795                        else if (gettime(3) >= 14 && gettime(3) < 17) {
796                                mes "^3131FFOnly the restaurant";
797                                mes "employees are around,";
798                                mes "and they busy chatting";
799                                mes "amongst each other.^000000";
800                        }
801                        else if (gettime(3) >= 17 && gettime(3) < 22) {
802                                mes "^3131FFThe restaurant is filled";
803                                mes "with customers, and the";
804                                mes "hustle and bustle of the";
805                                mes "restaurant employees.^000000";
806                                next;
807                                mes "^3131FFEveryone seems so busy";
808                                mes "and preoccupied that they don't";
809                                mes "notice you approach the pot.^000000";
810                        }
811                        else {
812                                mes "^3131FFSince the restaurant";
813                                mes "is closed, the whole place";
814                                mes "is completely quiet. The";
815                                mes "employees are all asleep.^000000";
816                        }
817                        next;
818                        mes "^3131FFYou carefully lift the pot, and although it's heavy, you think";
819                        mes "you can carry it.^000000";
820                        next;
821                        mes "^3131FFAll you have";
822                        mes "to do now is get";
823                        mes "away from this restaurant";
824                        mes "without getting caught...^000000";
825                        if (rand(1,4) < 4) {
826                                set ch_tre,2;
827                        }
828                        else {
829                                set ch_tre,3;
830                        }
831                        close;
832                }
833                mes "^3131FFYou decided to^000000";
834                mes "^3131FFlook for another pot.^000000";
835                close;
836        }
837        else if (ch_tre > 3 && ch_tre < 6) {
838                mes "^3131FFYou found";
839                mes "an empty pot.^000000";
840                close;
841        }
842        if (gettime(3) >= 10 && gettime(3) < 22) {
843                mes "[Chef]";
844                mes "Ah...!";
845                mes "Please, do not";
846                mes "touch the pots!";
847                close;
848        }
849        mes "^3131FFBeneath the shadows,";
850        mes "you find a large pot filled with dark, red liquid.^000000";
851        close;
852}
853
854lou_in02,58,183,5       script  Chef Assistant#lou1     823,5,5,{
855        mes "[Jin Wei Ling]";
856        mes "I used to be";
857        mes "an enthusiastic";
858        mes "martial artist.";
859        next;
860        mes "[Jin Wei Ling]";
861        mes "Although I became an";
862        mes "assistant chef for a living, I always think of myself as a martial artist first.";
863        next;
864        mes "[Jin Wei Ling]";
865        mes "So, I decided to reflect the spirit of the martial arts into my cooking. We are often very busy when there are many customers.";
866        next;
867        mes "[Jin Wei Ling]";
868        mes "When we're busy, I can use my martial arts to cook cuisine much more quickly! Hahaha~ Martial arts can be very practical!";
869        next;
870        specialeffect 55; //"Chef Assistant" EF_BEGINSPELL3
871        mes "[Jin Wei Ling]";
872        mes "Waaa-!!!!";
873        next;
874        specialeffect 11; //"Chef Assistant" EF_ENDURE
875        mes "[Jin Wei Ling]";
876        mes "Waaa Taaah-!!!!!";
877        next;
878        specialeffect 121; //"Chef Assistant" EF_SONICBLOW
879        mes "[Jin Wei Ling]";
880        mes "Waaa...";
881        mes "Waaa Taaah-!!!!!";
882        next;
883        specialeffect 122; //"Chef Assistant" EF_SONICBLOWHIT
884        mes "^3355FF* Chop chop chop chop chop *^000000";
885        next;
886        emotion e_no1;
887        mes "[Jin Wei Ling]";
888        mes "Hahahaha! Look these perfect vergetable slices! Muhahahaha!!";
889        mes "I will continue to hone my martial arts through cooking!";
890        close;
891
892OnTouch:
893        if (ch_tre == 2 || ch_tre == 3) {
894                if (gettime(3) >= 10 && gettime(3) < 14) {
895                        if (rand(1,10) < 9) {
896                                mes "[Jin Wei Ling]";
897                                mes "Wait! Who are you!";
898                                mes "Put that pot down";
899                                mes "and get out of";
900                                mes "here right now!";
901                                next;
902                                mes "^3131FFYou have failed^000000";
903                                mes "^3131FFto steal the pot.^000000";
904                                set ch_tre,1;
905                                close;
906                        }
907                }
908                else if (gettime(3) >= 14 && gettime(3) < 17) {
909                        if (rand(1,10) < 10) {
910                                mes "[Jin Wei Ling]";
911                                mes "Wait! Who are you!";
912                                mes "Put that pot down";
913                                mes "and get out of";
914                                mes "here right now!";
915                                next;
916                                mes "^3131FFYou have failed^000000";
917                                mes "^3131FFto steal the pot.^000000";
918                                set ch_tre,1;
919                                close;
920                        }
921                }
922                else if (gettime(3) >= 17 && gettime(3) < 22) {
923                        if (rand(1,10) < 6) {
924                                mes "[Jin Wei Ling]";
925                                mes "Wait! Who are you!";
926                                mes "Put that pot down";
927                                mes "and get out of";
928                                mes "here right now!";
929                                next;
930                                mes "^3131FFYou have failed^000000";
931                                mes "^3131FFto steal the pot.^000000";
932                                set ch_tre,1;
933                                close;
934                        }
935                }
936        }
937        end;
938}
939
940lou_in02,80,173,3       script  Li Min#lou      746,{
941        if (ch_tre == 5) {
942                mes "[Li Min]";
943                mes "^666666*Sigh*^000000 I am so disappointed. I came all the way down here to taste the food! I can't believe they don't sell it anymore!";
944                next;
945                mes "[Li Min]";
946                mes "The worst part is that I'm already addicted to the taste! ^666666*Sob...*^000000";
947                close;
948        }
949        mes "[Li Min]";
950        mes "Well, I don't really";
951        mes "live here in Louyang.";
952        mes "Still, I come here often";
953        mes "enough to visit.";
954        next;
955        mes "[Li Min]";
956        mes "I just returned";
957        mes "because I've got";
958        mes "a huge craving for the";
959        mes "food I tasted here";
960        mes "a while ago.";
961        next;
962        mes "[Li Min]";
963        mes "For some reason, I can't forget it. I can't get it out of my mind!";
964        next;
965        mes "[Li Min]";
966        mes "The taste, the texture.";
967        mes "The sweetness, melting down into my mouth, and its tempting scent lingering on my lips...";
968        next;
969        mes "[Li Min]";
970        mes "Ummmmm...";
971        mes "Royal Jelly!";
972        mes "It makes my";
973        mes "mouth water~";
974        close;
975}
976
977lou_in02,42,186,5       script  Liu Jia Lim#lou 816,{
978        if (ch_tre == 5) {
979                mes "[Liu Jia Lim]";
980                mes "Do you know what was this restaurant's best dish throughout all of its history? Dragon Soup!";
981                next;
982                emotion e_lv;
983                mes "[Liu Jia Lim]";
984                mes "Its delicate taste comes from";
985                mes "a broth extracted from pure meat that does not contain any fat. So it's also a very popular diet food for the ladies.";
986                next;
987                mes "[Liu Jia Lim]";
988                mes "I'm not sure what happened,";
989                mes "but people say this restaurant no longer sells Dragon Soup.";
990                mes "Was it because of the price...?";
991                close;
992        }
993        mes "[Liu Jia Lim]";
994        mes "Do you know what's the best dish at this restaurant? It's Dragon Soup! They've been selling it here for as long as this restaurant has been around.";
995        next;
996        mes "[Liu Jia Lim]";
997        mes "Its delicate taste comes from";
998        mes "a broth extracted from pure meat that does not contain any fat. So it's also a very popular diet food for the ladies.";
999        next;
1000        mes "[Liu Jia Lim]";
1001        mes "It's tasty and really good for your health. Why don't you order a bowl? I've never known anyone to taste Dragon Soup and not love it!";
1002        close;
1003}
1004
1005lou_in02,43,169,1       script  Jiang Rong#lou  827,{
1006        mes "[Jiang Rong]";
1007        mes "Dragon Soup is known for its spicy, yet sweet and refreshing taste.";
1008        next;
1009        mes "[Jiang Rong]";
1010        mes "It's made with all sorts of medicinal herbs, so it's good";
1011        mes "for your health as well.";
1012        next;
1013        mes "[Jiang Rong]";
1014        mes "Dragon Soup draws out the unnecessary heat created inside";
1015        mes "the body and circulates the blood. So it helps optimize the body's functions and promotes longevity.";
1016        next;
1017        mes "[Jiang Rong]";
1018        mes "I've eaten Dragon Soup regularly ever since I was young. Look at me, don't you think I look so healthy considering my age?";
1019        close;
1020}
1021
1022louyang,261,123,3       script  Chi Wu Ping#lou 824,{
1023        mes "[Chi Wu Ping]";
1024        mes "I don't feel good...";
1025        mes "So... Totally out of it...";
1026        next;
1027        mes "[Chi Wu Ping]";
1028        mes "Oh, my aching body!";
1029        mes "All my muscles are sore...";
1030        mes "There's only one thing that could cure all of this agonizing... pain...";
1031        next;
1032        emotion e_gasp;
1033        mes "[Chi Wu Ping]";
1034        mes "Hey kid~!";
1035        mes "You don't look like a local!";
1036        mes "Why don't you follow the road ahead and check out the big restaurant?";
1037        next;
1038        mes "[Chi Wu Ping]";
1039        mes "The soup that they sell there is probably the healthiest food you can ever find.";
1040        next;
1041        mes "[Chi Wu Ping]";
1042        if (BaseLevel < 80) {
1043                mes "I guess you could eat";
1044                mes "some of that soup";
1045                mes "for your health.";
1046        }
1047        else {
1048                mes "You seem to need";
1049                mes "that soup to ease";
1050                mes "the fatigue of your";
1051                mes "body and mind.";
1052        }
1053        close;
1054}
1055
1056louyang,174,150,5       script  Jiu Chi Ling#lou        815,{
1057        if (ch_tre == 5) {
1058                mes "[Jiu Chi Ling]";
1059                mes "There's a strange rumor going around that the restaurant is no longer selling Dragon Soup...";
1060                next;
1061                mes "[Jiu Chi Ling]";
1062                mes "Do you think";
1063                mes "my brother did";
1064                mes "something bad again!?";
1065                mes "I hope not! If he did...";
1066                mes "What am I supposed to do?!";
1067                close;
1068        }
1069        mes "[Jiu Chi Ling]";
1070        mes "I'm worried about my brother.";
1071        mes "He's young, rebellious and doesn't listen to anybody...";
1072        next;
1073        mes "[Jiu Chi Ling]";
1074        mes "He just left the";
1075        mes "house while he was";
1076        mes "complaining about";
1077        mes "that restaurant...";
1078        next;
1079        mes "[Jiu Chi Ling]";
1080        mes "^666666*Sigh~~*^000000";
1081        mes "I'm not gonna let him";
1082        mes "get away this time!";
1083        close;
1084}
1085
1086// Doctor Quest
1087//============================================================
1088lou_in02,265,69,5       script  Doctor#lyang    814,{
1089        //Remove outdated variables and attempt to preserve prior quest progress.
1090        if(QL_DOC1STTIME == 1 || QL_DOCQUEST == 1) set ch_par,2;
1091        if (QL_DOCQUEST == 2) set ch_par,10;
1092        if (QL_DOCQUEST == 3) set ch_par,17;
1093        if (QL_GOTHERB) set ch_par,16;
1094        set QL_DOC1STTIME,0; set QL_DOCQUEST,0; set QL_GOTHERB,0; set QL_BEENTOSTORAGE,0; set QL_GOTCOMPROP,0; set QL_TOOLMASTER,0;
1095
1096        if ((MaxWeight-Weight) < 2000 || checkweight(1201,1) == 0) {
1097                mes "^3355FFWait a minute! Right now, you're over weight, so you cannot receive more items. Please store some of your things in Kafra Storage and try again.^000000";
1098                close;
1099        }
1100        if (ch_par == 0) {
1101                mes "[Hua Tuo]";
1102                mes "There are many pressure points on the human body. Ever since ancient times, it has been believed that each pressure point was limited";
1103                mes "to its role and functions.";
1104                next;
1105                mes "[Hua Tuo]";
1106                mes "However, as I studied and experimented with every pressure point, I came to the conclusion that the use of pressure points, depending on the circumstances,";
1107                mes "can produce different results.";
1108                emotion e_gasp;
1109                next;
1110                mes "[Hua Tuo]";
1111                mes "Few pressure points tend to show the same symptoms, regardless of the problem. Most of the time, the effects of pressure points will differ depending on the body's health or the time of day.";
1112                next;
1113                mes "[Hua Tuo]";
1114                mes "For instance, the pressure point located on the upper side of navel is the most vulnerable point.";
1115                next;
1116                mes "[Hua Tuo]";
1117                mes "If pressed the wrong way, it can cause death. But between 5:15 am and 7:15 am, it's just a weak point.";
1118                set ch_par,1;
1119                close;
1120        }
1121        else if (ch_par == 1) {
1122                if (BaseLevel < 40) {
1123                        mes "[Hua Tuo]";
1124                        mes "Being strong as a person is not defined as mere physical strength.";
1125                        next;
1126                        mes "[Hua Tuo]";
1127                        mes "Factors such as intelligence, experience and knowledge are";
1128                        mes "also considered when judging one's strength.";
1129                        next;
1130                        mes "[Hua Tuo]";
1131                        mes "Let's say you're very strong and given the most powerful weapon.";
1132                        next;
1133                        mes "[Hua Tuo]";
1134                        mes "If you don't know how to use the weapon's power, you will not be strong... You will be weak.";
1135                        next;
1136                        mes "[Hua Tuo]";
1137                        mes "When the tools or weapons";
1138                        mes "overwhelm your capabilities,";
1139                        mes "the worst situations result.";
1140                        close;
1141                }
1142                mes "[Hua Tuo]";
1143                mes "Hmmm...";
1144                mes "I'm in trouble...";
1145                next;
1146                mes "[Hua Tuo]";
1147                mes "I cannot do anything without my medicine. But one my patients";
1148                mes "needs immediate treatment and";
1149                mes "I can't leave the office...";
1150                emotion e_swt2;
1151                next;
1152                if (select("I can help you.:What a shame!") == 1) {
1153                        mes "[Hua Tuo]";
1154                        mes "Huh...?";
1155                        mes "Are...";
1156                        mes "Are you serious?";
1157                        next;
1158                        mes "[Hua Tuo]";
1159                        mes "This won't take much effort, but it may be too much to ask this of you, especially since we have just met.";
1160                        next;
1161                        if (select("If you feel burdened...:I don't mind, I'd be glad to help.") == 1) {
1162                                mes "[Hua Tuo]";
1163                                mes "Thank you so";
1164                                mes "much for saying that.";
1165                                mes "I feel very uncomfortable asking a favor of someone I have only just met.";
1166                                next;
1167                                mes "[Hua Tuo]";
1168                                mes "However, I will ask you";
1169                                mes "if we meet another time.";
1170                                mes "Now, if you'll excuse me...";
1171                                emotion e_thx;
1172                                close;
1173                        }
1174                        mes "[Hua Tuo]";
1175                        mes "Hmm, I see.";
1176                        mes "Well then, let me";
1177                        mes "ask a favor of you.";
1178                        next;
1179                        mes "[Hua Tuo]";
1180                        mes "As you heard earlier, I need";
1181                        mes "a special medicine to treat this patient. However, I'm running out of the medicine I need.";
1182                        next;
1183                        mes "[Hua Tuo]";
1184                        mes "I will need you to get it for me since I cannot leave the patients that are waiting for me right now.";
1185                        next;
1186                        mes "[Hua Tuo]";
1187                        mes "^666666*Sigh*^000000";
1188                        mes "Misfortunes always seem";
1189                        mes "to occur one after another, don't they? My staff is currently too busy doing other errands.";
1190                        next;
1191                        mes "[Hua Tuo]";
1192                        mes "Please visit the";
1193                        mes "Tool Shop in town and bring me";
1194                        mes "the medicine that I need. Master will understand if you tell him you've been sent by me.";
1195                        next;
1196                        mes "[Hua Tuo]";
1197                        mes "I am sorry for causing you";
1198                        mes "so much trouble, but if you'll excuse me, I have other patients waiting. Please hurry back with";
1199                        mes "the medicine!";
1200                        set ch_par,2;
1201                        close;
1202                }
1203                mes "[Hua Tuo]";
1204                mes "^666666*Sigh*^000000 For some reason, I never seem to have enough medicine in stock. Is there no one I can ask to help me?";
1205                close;
1206        }
1207        else if (ch_par < 4) {
1208                mes "[Hua Tuo]";
1209                mes "You haven't gotten";
1210                mes "the medicine yet...?";
1211                mes "I hope you can get it";
1212                mes "as soon as you can...";
1213                close;
1214        }
1215        else if (ch_par == 4) {
1216                mes "[Hua Tuo]";
1217                mes "In order to prescribe medicine";
1218                mes "and apply acupuncture suited to";
1219                mes "a patient, I must first consider many different factors related to health.";
1220                next;
1221                mes "[Hua Tuo]";
1222                mes "I must be especially careful if the patient is in critical condition or is exhibiting unusual symptoms.";
1223                close;
1224        }
1225        else if (ch_par < 9) {
1226                mes "[Hua Tuo]";
1227                mes "Umm.....";
1228                mes "Is that so...?";
1229                mes "I can understand if you";
1230                mes "take your time to bring the item. There's no need to rush.";
1231                next;
1232                mes "[Hua Tuo]";
1233                mes "Everybody has their own";
1234                mes "worries, and I understand if your own problems must take priority.";
1235                next;
1236                mes "[Hua Tuo]";
1237                mes "Still, it's good";
1238                mes "to put yourself in someone";
1239                mes "else's shoes sometimes.";
1240                close;
1241        }
1242        else if (ch_par == 9) {
1243                if (countitem(7252) < 1) {
1244                        mes "[Hua Tuo]";
1245                        mes "Umm.....";
1246                        mes "Is that so...?";
1247                        mes "I can understand if you";
1248                        mes "take your time in bringing what I need. There's no rush.";
1249                        next;
1250                        mes "[Hua Tuo]";
1251                        mes "Everybody has their own";
1252                        mes "worries, and I understand if your own problems must take priority.";
1253                        next;
1254                        mes "[Hua Tuo]";
1255                        mes "Still, it's good";
1256                        mes "to put yourself in someone";
1257                        mes "else's shoes sometimes.";
1258                        close;
1259                }
1260                mes "[Hua Tuo]";
1261                mes "Ah...";
1262                mes "You've finally";
1263                mes "brought it to me!";
1264                mes "Thank you so much,";
1265                mes "I feel much more relieved...";
1266                next;
1267                mes "[Hua Tuo]";
1268                mes "I apologize";
1269                mes "in advance,";
1270                mes "but may I ask";
1271                mes "another favor of you?";
1272                next;
1273                mes "[Hua Tuo]";
1274                mes "I am asking you once more";
1275                mes "as now I see that you are trustworthy. Of course, I will compensate you for your trouble.";
1276                next;
1277                if (select("I'm sorry, I can't help you.:No problem.") == 1) {
1278                        mes "[Hua Tuo]";
1279                        mes "Alright....";
1280                        mes "I understand.";
1281                        mes "But let me thank you";
1282                        mes "for helping me out.";
1283                        mes "Please take this...";
1284                        next;
1285                        mes "[Hua Tuo]";
1286                        mes "This medicine is not that";
1287                        mes "great, but it's an old family secret. I hope it will be useful to you if you find yourself in great danger.";
1288                        delitem 7252,1; //Herb_Medicine
1289                        set ch_par,10;
1290                        getitem 679,2; //Gold_Pill
1291                        getexp 10000,0;
1292                        next;
1293                        mes "[Hua Tuo]";
1294                        mes "Well then,";
1295                        mes "I will see";
1296                        mes "you around.";
1297                        mes "Once again, thank";
1298                        mes "you for your help.";
1299                        close;
1300                }
1301                mes "[Hua Tuo]";
1302                mes "Thank you,";
1303                mes "thank you so much!";
1304                mes "I just ran out of some other medicines again, and I hope that you can assist me once more.";
1305                next;
1306                mes "[Hua Tuo]";
1307                mes "I hope that I am not causing";
1308                mes "you too much trouble. Um, so the medicines I'll need are...";
1309                next;
1310                mes "[Hua Tuo]";
1311                mes "^0000ff2 Leopard Claw^000000 which strengthen bones, ^0000ff10 Solid Peach^000000 which strengthens muscle, ^0000ff5 Poisonous Toad Skin^000000 which replenishes the skin...";
1312                next;
1313                mes "[Hua Tuo]";
1314                mes "^0000ff20 Brown Root^000000 which regulates the heart, ^0000ff10 Sprout^000000 which eases the abdomen and ^0000ff5 Honey Pot^000000 which provides nutrition.";
1315                next;
1316                mes "[Hua Tuo]";
1317                mes "I hope you were";
1318                mes "able to memorize all";
1319                mes "of that. Once again, that's...";
1320                next;
1321                mes "[Hua Tuo]";
1322                mes "^3355FF2 Leopard Claw^000000,";
1323                mes "^3355FF10 Solid Peach^000000,";
1324                mes "^3355FF5 Poisonous Toad Skin^000000,";
1325                mes "^3355FF20 Brown Root^000000,";
1326                mes "^3355FF10 Sprout^000000 and";
1327                mes "^3355FF5 Honey Pot^000000.";
1328                set ch_par,17;
1329                close;
1330        }
1331        else if (ch_par == 10) {
1332                mes "[Hua Tuo]";
1333                mes "Being strong as a person is not defined as mere physical strength.";
1334                next;
1335                mes "[Hua Tuo]";
1336                mes "Factors such as intelligence, experience and knowledge are";
1337                mes "also considered when judging one's strength.";
1338                next;
1339                mes "[Hua Tuo]";
1340                mes "Let's say you're very strong and given the most powerful weapon.";
1341                next;
1342                mes "[Hua Tuo]";
1343                mes "If you don't know how to use the weapon's power, you will not be strong... You will be weak.";
1344                next;
1345                mes "[Hua Tuo]";
1346                mes "When the tools or weapons";
1347                mes "overwhelm your capabilities,";
1348                mes "the worst situations result.";
1349                close;
1350        }
1351        else if (ch_par < 15) {
1352                mes "[Hua Tuo]";
1353                mes "Ah...";
1354                mes "Did you just say you're going to gather all the items soon? Oh, thank you for your kindness.";
1355                mes "I appreciate your effort";
1356                mes "on my behalf.";
1357                close;
1358        }
1359        else if (ch_par == 15) {
1360                mes "[Hua Tuo]";
1361                mes "Ah....";
1362                mes "Did you just say you're going to gather all the items soon? Oh, thank you for your kindness.";
1363                mes "I appreciate your effort";
1364                mes "on my behalf.";
1365                close;
1366        }
1367        else if (ch_par == 16) {
1368                if (countitem(7252) < 1) {
1369                        mes "[Hua Tuo]";
1370                        mes "Umm.....";
1371                        mes "Is that so...?";
1372                        mes "I understand even";
1373                        mes "if you can't bring";
1374                        mes "the medicine right away.";
1375                        next;
1376                        mes "[Hua Tuo]";
1377                        mes "It's okay for now,";
1378                        mes "so don't rush yourself.";
1379                        mes "Everybody has their own problems, so I can understand if your own troubles must take priority.";
1380                        next;
1381                        mes "[Hua Tuo]";
1382                        mes "Still, it's good to see that you're understanding of the troubles other people are having.";
1383                        close;
1384                }
1385                mes "[Hua Tuo]";
1386                mes "Ah, finally...";
1387                mes "You've brought what I need. Thank you so much, it's such a relief to have this medicine onhand again.";
1388                next;
1389                mes "[Hua Tuo]";
1390                mes "I apologize in advance,";
1391                mes "but may I ask you another favor?";
1392                mes "I am asking for your help once more, since I know I can depend on you. Of course, I will compensate you for your trouble.";
1393                next;
1394                if (select("I'm sorry...:No problem.") == 1) {
1395                        mes "[Hua Tuo]";
1396                        mes "Alright....";
1397                        mes "I understand.";
1398                        mes "But thank you for";
1399                        mes "helping me out.";
1400                        mes "Please take this...";
1401                        next;
1402                        mes "[Hua Tuo]";
1403                        mes "It's not much, but this medicine";
1404                        mes "is an old family secret. I hope that it will be of use to you in dangerous situations.";
1405                        delitem 7252,1; //Herb_Medicine
1406                        set ch_par,10;
1407                        getitem 679,2; //Gold_Pill
1408                        getexp 10000,0;
1409                        next;
1410                        mes "[Hua Tuo]";
1411                        mes "Well then, I will see you around. Once again, I'd like to thank you for your help.";
1412                        close;
1413                }
1414                mes "[Hua Tuo]";
1415                mes "Thank you, thank you so much!";
1416                mes "I've just run out of other medicines that my patients will be needing. I don't need too much, but you would be doing me a great favor.";
1417                next;
1418                mes "[Hua Tuo]";
1419                mes "The medicines I need are ^0000ff2 Leopard Claw^000000 which supports the bones, ^0000ff10 Solid Peach^000000 which strengthens the muscle, ^0000ff5 Poisonous Toad Skin^000000 which replenishes the skin...";
1420                next;
1421                mes "[Hua Tuo]";
1422                mes "^0000ff20 Brown Root^000000 which regulates the heart, ^0000ff10 Sprout^000000 which eases the abdomen and ^0000ff5 Honey Pot^000000 which provides nutrition.";
1423                next;
1424                mes "[Hua Tuo]";
1425                mes "I hope you've";
1426                mes "memorized it all.";
1427                mes "Once again, that's...";
1428                next;
1429                mes "[Hua Tuo]";
1430                mes "^3355FF2 Leopard Claw^000000,";
1431                mes "^3355FF10 Solid Peach^000000,";
1432                mes "^3355FF5 Poisonous Toad Skin^000000,";
1433                mes "^3355FF20 Brown Root^000000,";
1434                mes "^3355FF10 Sprout^000000 and";
1435                mes "^3355FF5 Honey Pot^000000.";
1436                set ch_par,17;
1437                close;
1438        }
1439        else if (ch_par == 17) {
1440                if (countitem(7172) > 1 && countitem(7164) > 9 && countitem(7155) > 4 && countitem(7188) > 19 && countitem(7193) > 9 && countitem(7121) > 4) {
1441                        mes "[Hua Tuo]";
1442                        mes "Hm? Ah, you have returned.";
1443                        mes "Sorry, I was taking care of my other patients. Have you already gathered the medicines I'll need?";
1444                        next;
1445                        mes "[Hua Tuo]";
1446                        mes "Let's see...";
1447                        mes "Oh, you've brought them all.";
1448                        mes "Thank you so much for your";
1449                        mes "generous help. It's such a relief to have these medicines available again...";
1450                        next;
1451                        mes "[Hua Tuo]";
1452                        mes "Please take this as a token of my appreciation. It's not much, but this medicine is an old family secret. I hope it will be helpful to you in dangerous situations.";
1453                        delitem 7172,2; //Leopard_Talon
1454                        delitem 7164,10; //Hard_Peach
1455                        delitem 7155,5; //Poison_Toad's_Skin
1456                        delitem 7188,20; //Browny_Root
1457                        delitem 7193,10; //Germinating_Sprout
1458                        delitem 7121,5; //Honey_Jar
1459                        delitem 7252,1; //Herb_Medicine
1460                        set ch_par,18;
1461                        getitem 679,5; //Gold_Pill
1462                        getexp 30000,0;
1463                        next;
1464                        mes "[Hua Tuo]";
1465                        mes "However, please remember not to take more than the recommended dosage for the pills I have given you. Even medicine, in the wrong doses, can become poison to the body.";
1466                        close;
1467                }
1468                mes "[Hua Tuo]";
1469                mes "Hmm...";
1470                mes "Unfortunately, you haven't collected everything that I need yet. Once again, please gather...";
1471                next;
1472                mes "[Hua Tuo]";
1473                mes "^3355FF2 Leopard Claw^000000,";
1474                mes "^3355FF10 Solid Peach^000000,";
1475                mes "^3355FF5 Poisonous Toad Skin^000000,";
1476                mes "^3355FF20 Brown Root^000000,";
1477                mes "^3355FF10 Sprout^000000 and";
1478                mes "^3355FF5 Honey Pot^000000.";
1479                close;
1480        }
1481        mes "[Hua Tuo]";
1482        mes "Your health is affected by";
1483        mes "many factors. Nutricious food and medicine alone cannot guarantee";
1484        mes "a healthy lifestyle.";
1485        next;
1486        mes "[Hua Tuo]";
1487        mes "Seemingly little things like your everyday mood and behavior, your thoughts and words also contribute to states of illness or well-being.";
1488        next;
1489        mes "[Hua Tuo]";
1490        mes "Everyone needs time to quiet";
1491        mes "their thoughts and relax. If you can maintain a calm mood throughout your daily life, your body will greatly benefit.";
1492        next;
1493        mes "[Hua Tuo]";
1494        mes "Hahaha...";
1495        mes "I hope you enjoy";
1496        mes "your visit here";
1497        mes "in Louyang.";
1498        close;
1499}
1500
1501lou_in02,272,55,0       script  Familiar-Looking Patient        798,{
1502        if (ch_par == 0 ) {
1503                mes "[??????]";
1504                mes "Awwww.....";
1505                mes "Ummm....";
1506                mes "^666666*Cough...cough...*^000000";
1507                emotion e_omg;
1508                set ch_par,1;
1509                close;
1510        }
1511        else if (ch_par < 18) {
1512                mes "[??????]";
1513                mes "^666666*Cough cough...*^000000";
1514                mes "Aww......www...";
1515                mes "Aww...wwww..";
1516                emotion e_dots;
1517                close;
1518        }
1519        else {
1520                mes "[??????]";
1521                mes "Zzzzzzz";
1522                mes "Zzzzz.....";
1523                mes "Zzzzz.....";
1524                close;
1525        }
1526}
1527
1528lou_in02,248,166,2      script  Tool Shop Master#lou    824,{
1529        if (ch_par < 2) {
1530                mes "[Wang Chuiyi]";
1531                mes "My business hasn't been doing";
1532                mes "well recently. And what is wrong with this weather? I don't know what's going on with the world...";
1533                close;
1534        }
1535        else if (ch_par == 2) {
1536                mes "[Wang Chuiyi]";
1537                mes "Darn it!";
1538                mes "I hate this";
1539                mes "weather...!";
1540                next;
1541                mes "[Wang Chuiyi]";
1542                mes "Um? Can I help";
1543                mes "you with anything?";
1544                emotion e_what;
1545                next;
1546                if (select("I'm here to get something for the doctor...:I agree, the weather really is bad.") == 1) {
1547                        mes "[Wang Chuiyi]";
1548                        mes "Huh?";
1549                        mes "An errand for the doctor?";
1550                        mes "She must have run out of";
1551                        mes "medicine again. Go ahead";
1552                        mes "and check the storage.";
1553                        next;
1554                        mes "[Wang Chuiyi]";
1555                        mes "You can find the storage on";
1556                        mes "the opposite side of this building. There, you'll see a guy named Jiang Xiayou. Go ahead and ask him for the stuff you need.";
1557                        set ch_par,3;
1558                        close;
1559                }
1560                mes "[Wang Chuiyi]";
1561                mes "Tell me about it. This weather keeps stressing me out. Damn,";
1562                mes "I don't think I'll live very long if I keep getting aggravated like";
1563                mes "this by the weather...";
1564                close;
1565        }
1566        else if (ch_par == 3) {
1567                mes "[Wang Chuiyi]";
1568                mes "I can't understand why outsiders continue to travel here to Louyang despite the weather. I'm also getting tired of keeping my business here. Sooner or later,";
1569                mes "I may have to leave.";
1570                close;
1571        }
1572        else if (ch_par == 4) {
1573                mes "[Wang Chuiyi]";
1574                mes "What? He didn't give you the stuff you need? Huh, I guess you did something he didn't like. I can't help you if that's the case.";
1575                close;
1576        }
1577        else if (ch_par < 10) {
1578                mes "[Wang Chuiyi]";
1579                mes "I can't understand why outsiders continue to travel here to Louyang despite the weather. I'm also getting tired of keeping my business here. Sooner or later,";
1580                mes "I may have to leave.";
1581                close;
1582        }
1583        else {
1584                mes "[Wang Chuiyi]";
1585                mes "God, what is wrong with this weather?! I wish the Cloud God would bring the rainy season, but it doesn't seem possible.";
1586                close;
1587        }
1588}
1589
1590lou_in02,201,166,4      script  Storage Keeper#lou      819,{
1591        if ((MaxWeight-Weight) < 2000 || checkweight(1201,1) == 0) {
1592                mes "^3355FF * Wait a moment!! *";
1593                mes "Currently you're over weight, so you cannot receive more items into your inventory. Please store some of your items into Kafra Storage and try again.^000000";
1594                close;
1595        }
1596        if (ch_par < 3) {
1597                mes "[Jiang Xiayou]";
1598                mes "^666666*Yawn...*^000000";
1599                mes "This is boring...";
1600                mes "So boring, it's ridiculous. I don't wanna waste any more time here, I've got important things to do...";
1601                close;
1602        }
1603        else if (ch_par == 3) {
1604                mes "[Jiang Xiayou]";
1605                mes "Huh?";
1606                mes "What, what are you doing here?";
1607                mes "If you don't need anything, you better get a move on.";
1608                next;
1609                switch(select("Sorry about that.:It's hot, isn't it?:I'm on an errand for the doctor.")) {
1610                case 1:
1611                        mes "[Jiang Xiayou]";
1612                        mes "That's right!";
1613                        mes "You don't mess with a person in this hot weather! Now, go away. Can't you see I'm busy!";
1614                        close;
1615                case 2:
1616                        mes "[Jiang Xiayou]";
1617                        mes "You don't have to";
1618                        mes "ask me that. I can feel";
1619                        mes "it for myself! Now, I got";
1620                        mes "a bunch of things to take";
1621                        mes "care of, so quit bugging me.";
1622                        mes "Damn, it's hot!";
1623                        close;
1624                case 3:
1625                        mes "[Jiang Xiayou]";
1626                        mes "Oh yeah?";
1627                        mes "Well, why didn't you";
1628                        mes "say so? Let's see.";
1629                        mes "Hmmm...";
1630                        next;
1631                        emotion e_gasp;
1632                        next;
1633                        mes "[Jiang Xiayou]";
1634                        mes "Actually, could you help me";
1635                        mes "out first? Don't worry, it's not so hard but it's pretty important for me. Once you help me out, I'll";
1636                        mes "get you what you need.";
1637                        next;
1638                        if (select("Um, what is it?:Sorry, I'm busy.") == 1) {
1639                                mes "[Jiang Xiayou]";
1640                                mes "Cool, thanks. I have to go get";
1641                                mes "some official documents from";
1642                                mes "City Hall, but I can't leave this storage area since no one can take over my shift.";
1643                                next;
1644                                mes "[Jiang Xiayou]";
1645                                mes "So I want you to go get the documents from City Hall for me.";
1646                                mes "I don't think it'll take much of your time.";
1647                                next;
1648                                mes "[Jiang Xiayou]";
1649                                mes "Just go East from here";
1650                                mes "and look for the building that looks sort of like it was made in gauge form. That's City Hall.";
1651                                next;
1652                                mes "[Jiang Xiayou]";
1653                                mes "I don't get why the government spent so much money making that building, but anyway, I hope you can do that for me.";
1654                                next;
1655                                mes "[Jiang Xiayou]";
1656                                mes "Oh, I almost forgot.";
1657                                mes "You have to ask for a specific type of document, so let me tell you right now.";
1658                                next;
1659                                mes "[Jiang Xiayou]";
1660                                mes "This is important,";
1661                                mes "So don't forget this.";
1662                                set .@paper_j,rand(10,13);
1663                                if (.@paper_j == 10) {
1664                                        mes "When the guy asks what you need, you tell him: '^ff0000Residence Transfer Application^000000.' Just like that.";
1665                                        set ch_par,5;
1666                                }
1667                                else if (.@paper_j == 11) {
1668                                        mes "When the guy asks what you need, you tell him: '^ff0000Summer SAT Class Application^000000.' Got it?";
1669                                        set ch_par,6;
1670                                }
1671                                else if (.@paper_j == 12) {
1672                                        mes "When the guy asks what you need, you tell him: '^ff0000Sandy Dust Phenomenon Report^000000.' Easy, right?";
1673                                        set ch_par,7;
1674                                }
1675                                else if (.@paper_j == 13) {
1676                                        mes "When the guy asks what you need, you tell him: '^ff0000Communication Proposal^000000.' Just like that?";
1677                                        set ch_par,8;
1678                                }
1679                                next;
1680                                mes "[Jiang Xiayou]";
1681                                mes "If you don't specify the";
1682                                mes "documents you need, they won't give you anything. So be careful and don't forget!";
1683                                close;
1684                        }
1685                        mes "[Jiang Xiayou]";
1686                        mes "Bah~!";
1687                        mes "Forget it, then!";
1688                        next;
1689                        mes "[Jiang Xiayou]";
1690                        mes "The medicines you're looking for might be around here, so look around. If it weren't for the doctor, I wouldn't even let you hang around, you know that?";
1691                        emotion e_pif;
1692                        set ch_par,4;
1693                        close;
1694                }
1695        }
1696        else if (ch_par == 4) {
1697                mes "[Jiang Xiayou]";
1698                mes "Hah...";
1699                mes "Sorry pal, you'll have to find the medicines on your own. A man's life is at stake, so I guess you oughta get a move on.";
1700                close;
1701        }
1702        else if (ch_par < 9) {
1703                mes "[Jiang Xiayou]";
1704                mes "Huh?";
1705                mes "Haven't you gone";
1706                mes "to City Hall yet?";
1707                mes "Whaaaat a lazy ass.";
1708                next;
1709                mes "[Jiang Xiayou]";
1710                mes "Shouldn't you hurry to get that medicine to the doc? We're talking a man's life at stake, that mean anything to you?";
1711                next;
1712                mes "[Jiang Xiayou]";
1713                mes "I guess you're";
1714                mes "the forgetful type...";
1715                mes "When the guy asks what";
1716                mes "you need, you tell him:";
1717                if (ch_par == 5) {
1718                        mes "'^ff0000Residence Transfer Application^000000.'";
1719                }
1720                else if (ch_par == 6) {
1721                        mes "'^ff0000Summer SAT Class Application^000000.'";
1722                }
1723                else if (ch_par == 7) {
1724                        mes "'^ff0000Sandy Dust Phenomenon Report^000000'.";
1725                }
1726                else if (ch_par == 8) {
1727                        mes "^ff0000Communication Proposal^000000.'";
1728                }
1729                next;
1730                mes "[Jiang Xiayou]";
1731                mes "Just like that.";
1732                mes "Now, go to it, tiger.";
1733                close;
1734        }
1735        else if (ch_par == 9) {
1736                mes "[Jiang Xiayou]";
1737                mes "Hmm...";
1738                mes "You're lucky.";
1739                mes "Alright, go ahead.";
1740                mes "Still, things have";
1741                mes "become complicated...";
1742                close;
1743        }
1744        else if (ch_par == 10) {
1745                mes "[Jiang Xiayou]";
1746                mes "^666666*Yawn~*^000000 I really hope the";
1747                mes "weather gets better. Man, now why did I have to think about the heat? Now I'm all depressed...";
1748                next;
1749                mes "[Jiang Xiayou]";
1750                mes "Huh. I guess I should";
1751                mes "take care of these things";
1752                mes "as soon as I can...";
1753                close;
1754        }
1755        else if (ch_par < 15) {
1756                mes "[Jiang Xiayou]";
1757                mes "Huh?";
1758                mes "Haven't you gone to City Hall yet? Whaaaaat a lazy ass.";
1759                next;
1760                mes "[Jiang Xiayou]";
1761                mes "If I were you, I'd hurry so I could get that medicine to the doc. A man's life is at stake here, that's gotta mean something to you!";
1762                next;
1763                mes "[Jiang Xiayou]";
1764                mes "I guess you're";
1765                mes "the forgetful type...";
1766                mes "When the guy asks what";
1767                mes "you need, you tell him:";
1768                if (ch_par == 11) {
1769                        mes "'^ff0000Residence Transfer Application^000000.'";
1770                }
1771                else if (ch_par == 12) {
1772                        mes "'^ff0000Summer SAT Class Application^000000.'";
1773                }
1774                else if (ch_par == 13) {
1775                        mes "'^ff0000Sandy Dust Phenomenon Report^000000.'";
1776                }
1777                else if (ch_par == 14) {
1778                        mes "'^ff0000Communication Proposal^000000.'";
1779                }
1780                next;
1781                mes "[Jiang Xiayou]";
1782                mes "Just like that.";
1783                mes "Now, go to it, tiger.";
1784                close;
1785        }
1786        else if (ch_par == 15) {
1787                mes "[Jiang Xiayou]";
1788                mes "You finally brought it! Haha,";
1789                mes "I just got everything you need, too. Let me see...";
1790                mes "Yup, this is it!";
1791                mes "Good, good...";
1792                next;
1793                mes "^3355FF*Rummage rummage*";
1794                mes "......^000000";
1795                next;
1796                select("Excuse me.");
1797                mes "[Jiang Xiayou]";
1798                mes "Huh?";
1799                mes "Ah....";
1800                mes "Haha...";
1801                mes "Sorry about";
1802                mes "that. Hahaha~";
1803                next;
1804                mes "[Jiang Xiayou]";
1805                mes "Ah! Here you go. Even if it was kind of annoying to do, I guess";
1806                mes "we gotta help each other, right? Alright then, I'll see ya around.";
1807                set ch_par,16;
1808                getitem 7252,1; //Herb_Medicine
1809                close;
1810        }
1811        mes "[Jiang Xiayou]";
1812        mes "^666666*Yawn~*^000000 I really hope the";
1813        mes "weather gets better. Man, now why did I have to think about the heat? Now I'm all depressed...";
1814        next;
1815        mes "[Jiang Xiayou]";
1816        mes "Huh. I guess I should";
1817        mes "take care of these things";
1818        mes "as soon as I can...";
1819        close;
1820
1821OnEmotion1:
1822        emotion e_an;
1823        end;
1824
1825OnEmotion2:
1826        emotion e_pif;
1827        end;
1828
1829OnEmotion3:
1830        emotion e_gg;
1831        end;
1832
1833OnEmotion4:
1834        emotion e_wah;
1835        end;
1836
1837OnEmotion5:
1838        emotion e_rock;
1839}
1840
1841lou_in02,210,47,0       script  City Hall Officer#lou   825,{
1842        if (ch_par < 5) {
1843                mes "[Jin Chiyuan]";
1844                mes "^666666*Yawn~*^000000";
1845                mes "Gosh, this hot weather is such";
1846                mes "a pain. Oh? You look like a tourist. Are you enjoying your stay?";
1847                next;
1848                mes "[Jin Chiyuan]";
1849                mes "Although we've been having bad weather recently, there are many good places to visit in Louyang.";
1850                mes "I hope you have a good time.";
1851                close;
1852        }
1853        else if (ch_par < 9) {
1854                mes "[Jin Chiyuan]";
1855                mes "Hm? A Rune-Midgardian?";
1856                mes "Now, how may I help you?";
1857                next;
1858                if (select("I need a document.:I just dropped by.") == 1) {
1859                        mes "[Jin Chiyuan]";
1860                        mes "Ah, you do?";
1861                        mes "Unfortunately, there are many people waiting in line to procure government forms, so it will take";
1862                        mes "a while to handle your request.";
1863                        next;
1864                        mes "[Jin Chiyuan]";
1865                        mes "^333333*Whispers*";
1866                        mes "Well, there is a way that you can, shall we say, expediate our processing of your request...^000000";
1867                        next;
1868                        if (select("Huh? Come again?:A little zeny to cut the red tape, eh?") == 1) {
1869                                mes "[Jin Chiyuan]";
1870                                mes "^666666*Ahem!*^000000 Nothing.";
1871                                mes "Nothing of importance. Now, I'm very busy, so if you would go fill the application over there...";
1872                                close;
1873                        }
1874                        input .@input;
1875                        if (.@input < 10000) {
1876                                mes "[Jin Chiyuan]";
1877                                mes "Good lord,";
1878                                mes "what are you thinking?";
1879                                mes "What am I, a beggar?!";
1880                                mes "That's a poor excuse";
1881                                mes "for a bribe!";
1882                                next;
1883                                mes "[Jin Chiyuan]";
1884                                mes "I mean...";
1885                                mes "How dare you bribe an officer of the law! I hope other outsiders are not like you! Please leave immediately!";
1886                                emotion e_pif;
1887                                close;
1888                        }
1889                        else {
1890                                if (Zeny > .@input) {
1891                                        mes "[Jin Chiyuan]";
1892                                        mes "What...?!";
1893                                        mes "That's not what I meant,";
1894                                        mes "but if you insist on donating to our government...";
1895                                        next;
1896                                        mes "[Jin Chiyuan]";
1897                                        mes "^666666*Whispers*^000000";
1898                                        mes "^333333When you go up stairs, another officer will give you the document you want.^000000 ^666666*Ahem*^000000 Louyang thanks you!";
1899                                        set zeny,zeny-.@input;
1900                                        if (ch_par == 5) {
1901                                                set ch_par,11;
1902                                        }
1903                                        else if (ch_par == 6) {
1904                                                set ch_par,12;
1905                                        }
1906                                        else if (ch_par == 7) {
1907                                                set ch_par,13;
1908                                        }
1909                                        else if (ch_par == 8) {
1910                                                set ch_par,14;
1911                                        }
1912                                        close;
1913                                }
1914                                else {
1915                                        mes "[Jin Chiyuan]";
1916                                        mes "Good lord, what are you thinking? What am I, a beggar?! That's a poor excuse for a bribe!";
1917                                        next;
1918                                        mes "[Jin Chiyuan]";
1919                                        mes "I mean...";
1920                                        mes "How dare you bribe an officer of the law! I hope other outsiders are not like you! Please leave immediately!";
1921                                        emotion e_pif;
1922                                        close;
1923                                }
1924                        }
1925                }
1926                mes "[Jin Chiyuan]";
1927                mes "Oh well...";
1928                mes "Let me tell you that this is not a good time for tourists. I hope you don't wander into places you're";
1929                mes "not supposed to be.";
1930                next;
1931                mes "[Jin Chiyuan]";
1932                mes "Quite frankly,";
1933                mes "it's a dangerous climate for curiosity right now. Please,";
1934                mes "be careful.";
1935                close;
1936        }
1937        else if (ch_par == 9) {
1938                mes "[Jin Chiyuan]";
1939                mes "Oh well...";
1940                mes "Let me tell you that this is not a good time for tourists. I hope you don't wander into places you're";
1941                mes "not supposed to be.";
1942                next;
1943                mes "[Jin Chiyuan]";
1944                mes "Quite frankly,";
1945                mes "it's a dangerous climate for curiosity right now. Please,";
1946                mes "be careful.";
1947                close;
1948        }
1949        else if (ch_par == 10) {
1950                mes "[Jin Chiyuan]";
1951                mes "Oh well...";
1952                mes "Let me tell you that this is not a good time for tourists. I hope you don't wander into places you're";
1953                mes "not supposed to be.";
1954                next;
1955                mes "[Jin Chiyuan]";
1956                mes "Quite frankly,";
1957                mes "it's a dangerous climate for curiosity right now. Please,";
1958                mes "be careful.";
1959                close;
1960        }
1961        else if (ch_par < 15) {
1962                mes "[Jin Chiyuan]";
1963                mes "Haven't you met the officer I told you about? I've contacted him about the matter, so you may meet him upstairs.";
1964                next;
1965                mes "[Jin Chiyuan]";
1966                mes "Hahahaha...";
1967                mes "Take care,";
1968                mes "Rune-Midgardian.";
1969        }
1970        else if (ch_par == 15) {
1971                mes "[Jin Chiyuan]";
1972                mes "Ah~";
1973                mes "You met him,";
1974                mes "didn't you?";
1975                mes "Hahaha...";
1976                mes "Enjoy your stay";
1977                mes "in Louyang!";
1978                emotion e_heh;
1979                close;
1980        }
1981        mes "[Jin Chiyuan]";
1982        mes "Welcome.";
1983        mes "How may I help you?";
1984        next;
1985        mes "[Jin Chiyuan]";
1986        mes "If you have nothing to ask of me, please leave. This place is not";
1987        mes "a playground for adventurers.";
1988        emotion e_pif;
1989        close;
1990}
1991
1992lou_in02,156,38,0       script  Studying Officer#lou    822,{
1993        if (ch_par < 5) {
1994                mes "[Huang Zhishu]";
1995                mes ".....";
1996                mes "^666666*Mumble mumble*^000000";
1997                next;
1998                mes "^3355FFHe appears to be";
1999                mes "rummaging around for";
2000                mes "some documents and takes";
2001                mes "no notice of you.^000000";
2002                next;
2003                if (select("Excuse me.:Pass him.") == 1) {
2004                        mes "[Huang Zhishu]";
2005                        mes "Hmmm...?";
2006                        mes "Well...";
2007                        mes "...";
2008                        mes "I see...";
2009                        mes "^666666*Mumble mumble...*^000000";
2010                        close;
2011                }
2012                mes "[Huang Zhishu]";
2013                mes ".........";
2014                mes "^666666*Mumble mumble*^000000";
2015                close;
2016        }
2017        else if (ch_par < 9) {
2018                mes "[Huang Zhishu]";
2019                mes "Books contain the spirit and";
2020                mes "ideas of their authors. Any work of art can be considered a window into the soul of its creator.";
2021                next;
2022                mes "[Huang Zhishu]";
2023                mes "^666666*Mumble mumble...*^000000";
2024                mes "Hmm... I see...";
2025                mes "Ah, I see....";
2026                mes "^666666*Mumble mumble...*^000000";
2027                close;
2028        }
2029        else if (ch_par == 9) {
2030                mes "[Huang Zhishu]";
2031                mes "A book is more than a mere collection of pages and words are more than simple arrangements of letters that mean nothing.";
2032                next;
2033                mes "[Huang Zhishu]";
2034                mes "For humans seeking to enrich their lives, books are an important part of their education, as books can impart various kinds of knowledge.";
2035                next;
2036                mes "[Huang Zhishu]";
2037                mes "Read as many books as you can. Without books and the knowledge";
2038                mes "of others, you'll never grasp the essense of life.";
2039                next;
2040                mes "^3355FF*Rummage rummage...*^000000";
2041                close;
2042        }
2043        else if (ch_par == 10) {
2044                mes "[Huang Zhishu]";
2045                mes "A book is more than a mere collection of pages and words are more than simple arrangements of letters.";
2046                next;
2047                mes "[Huang Zhishu]";
2048                mes "For humans seeking to enrich their lives, books are an important part of their education, as they can impart various kinds of knowledge.";
2049                next;
2050                mes "[Huang Zhishu]";
2051                mes "Read as many books as you can. Without books and the knowledge of others, you'll never grasp the essense of life.";
2052                next;
2053                mes "[Huang Zhishu]";
2054                mes "^3355FF*Rummage rummage...*^000000";
2055                close;
2056        }
2057        else if (ch_par < 15) {
2058                mes "[Huang Zhishu]";
2059                mes "Huh?";
2060                mes "What are you doing here?";
2061                mes "Please don't disturb me,";
2062                mes "I'm trying to study.";
2063                next;
2064                mes "^3355FF*Rummage rummage...*^000000";
2065                next;
2066                if (select("Sorry about that.:I came to pick up my documents.") == 1) {
2067                        mes "[Huang Zhishu]";
2068                        mes "Apology accepted.";
2069                        mes "Hmmm....";
2070                        mes "Oh I see, I see...";
2071                        next;
2072                        mes "^3355FF*Rummage rummage...*";
2073                        mes ".........^000000";
2074                        emotion e_gasp;
2075                        close;
2076                }
2077                mes "[Huang Zhishu]";
2078                mes "Huh?";
2079                mes "Ah...";
2080                mes "You're the one I'm waiting for.";
2081                mes "So what kind of document";
2082                mes "did you need?";
2083                next;
2084                input .@input$;
2085                switch (ch_par) {
2086                case 11:
2087                        if (.@input$ == "Residence Transfer Application")
2088                                set .@paper,1;
2089                        break;
2090                case 12:
2091                        if (.@input$ == "Summer SAT Class Application")
2092                                set .@paper,1;
2093                        break;
2094                case 13:
2095                        if (.@input$ == "Sandy Dust Phenomenon Report")
2096                                set .@paper,1;
2097                        break;
2098                case 14:
2099                        if (.@input$ == "Communication Proposal")
2100                                set .@paper,1;
2101                        break;
2102                }
2103                mes "[Huang Zhishu]";
2104                mes "Let's see, now.";
2105                mes "You want...";
2106                mes "a "+ .@input$ +"?";
2107                next;
2108                if (.@paper == 1) {
2109                        mes "[Huang Zhishu]";
2110                        mes "Now where did I put that? You want a "+.@input$+", huh? I think I'll need some time to find it. Ah, right, I think I know where I put that.";
2111                        next;
2112                        mes "...";
2113                        next;
2114                        mes "...";
2115                        mes "......";
2116                        next;
2117                        mes "...";
2118                        mes "......";
2119                        mes ".........";
2120                        next;
2121                        mes "...";
2122                        mes "......";
2123                        mes ".........";
2124                        mes "............";
2125                        next;
2126                        mes "...";
2127                        mes "......";
2128                        mes ".........";
2129                        mes "............";
2130                        mes "...............";
2131                        next;
2132                        mes "[Huang Zhishu]";
2133                        mes "Here it is. A few days ago, someone asked me for the same document,";
2134                        mes "so I was able to find it again pretty easily. I hope it's useful to you.";
2135                        set ch_par,15;
2136                        close;
2137                }
2138                mes "[Huang Zhishu]";
2139                mes "Huh?";
2140                mes "Wha...?";
2141                next;
2142                mes "[Huang Zhishu]";
2143                mes "I'm sorry but I don't think we have that one. You might want to check the name of the document once";
2144                mes "more, and then ask me again.";
2145                close;
2146        }
2147        mes "[Huang Zhishu]";
2148        mes "Hmmm...?";
2149        mes "Do you think I need to go outside more often? Well, I guess for some reason, I don't feel well. I guess I really should get some fresh air. ^666666*Yawn...*^000000";
2150        emotion e_ok;
2151        next;
2152        mes "[Huang Zhishu]";
2153        mes "But you should get out more often yourself! It's not a good idea to always stay home. If you don't get some exercise when you're young,";
2154        mes "it could affect your health later.";
2155        close;
2156}
2157
2158lou_in02,204,169,0      script  Supply Stack#1lou       111,{
2159        set .@now_weight,MaxWeight-Weight;
2160        if (.@now_weight < 2000) {
2161                mes "^3355FF* Wait a minute! *";
2162                mes "You're carrying too many items with you. Please put some of your items into your Kafra Storage and try again. ^000000";
2163                close;
2164        }
2165        if (ch_par == 4) {
2166                if (rand(1,20) == 7) {
2167                        mes "^3355FF*Rummage rummage*";
2168                        mes "It seems there's something inside of this stack. It might be a good idea to rummage around to see if you can find something.^000000";
2169                        next;
2170                        if (rand(1,100) == 67) {
2171                                mes "^3355FF*Rummage rummage*";
2172                                mes "*Rummage rummage*";
2173                                mes "*Rummage rummage*";
2174                                mes "You found a medicine.^000000";
2175                                set ch_par,9;
2176                                getitem 7252,1; //Herb_Medicine
2177                                next;
2178                                mes "[Jiang Xiayou]";
2179                                mes "What...!";
2180                                mes "You found it...?!";
2181                                mes "Bah, I can't believe it!";
2182                                mes "You're just lucked out!";
2183                                mes "^666666*Grumble grumble*^000000";
2184                                close;
2185                        }
2186                        mes "^3355FF*Rummage rummage*";
2187                        mes "*Rummage rummage*";
2188                        mes "*Rummage rummage*";
2189                        mes "You didn't find anything.^000000";
2190                        next;
2191                        mes "[Jiang Xiayou]";
2192                        mes "Hey, hey...";
2193                        mes "I told you! It's not too late, why don't you do me the favor I asked? I'm only asking you once!";
2194                        donpcevent "Storage Keeper#lou::OnEmotion1";
2195                        close;
2196                }
2197                mes "^3355FF*Rummage rummage*";
2198                mes "You didn't find anything. You decided to give up your search.^000000";
2199                close;
2200        }
2201        mes "^3355FFThere are many things piled up to the ceiling. Since there's too many things jumbled together, it doesn't look like it's possible that you'll find anything here.^000000";
2202        next;
2203        mes "[Jiang Xiayou]";
2204        mes "Hey, don't touch anything! If you mess anything up, you've gotta pile it up again, got it? If you don't want to clean up after yourself, don't make a mess!";
2205        close;
2206}
2207
2208lou_in02,207,168,0      script  Supply Stack#5lou       111,{
2209        set .@now_weight,MaxWeight-Weight;
2210        if (.@now_weight < 2000) {
2211                mes "^3355FF* Wait a minute !! *";
2212                mes "You're carrying too many items with you. Please put some of your items into your Kafra Storage and try again.^000000";
2213                close;
2214        }
2215        if (ch_par == 4) {
2216                if (rand(1,20) == 13) {
2217                        mes "^3355FF*Rummage rummage*";
2218                        mes "It seems there's something inside of this stack. You decide to rummage around to see if you can find anything.^000000";
2219                        next;
2220                        if (rand(1,100) == 43) {
2221                                mes "^3355FF*Rummage rummage*";
2222                                mes "*Rummage rummage*";
2223                                mes "*Rummage rummage*";
2224                                mes "You found a medicine.^000000";
2225                                set ch_par,9;
2226                                getitem 7252,1; //Herb_Medicine
2227                                next;
2228                                mes "[Jiang Xiayou]";
2229                                mes "Err...";
2230                                mes "You found it...?!";
2231                                mes "I can't believe it!";
2232                                mes "You just lucked out.";
2233                                close;
2234                        }
2235                        mes "^3355FF*Rummage rummage*";
2236                        mes "*Rummage rummage*";
2237                        mes "*Rummage rummage*";
2238                        mes "You didn't find anything.^000000";
2239                        next;
2240                        mes "[Jiang Xiayou]";
2241                        mes "Hey, hey...";
2242                        mes "I told you!";
2243                        mes "It's not too late for you";
2244                        mes "to do the favor I asked.";
2245                        mes "I'm only asking you once!";
2246                        close;
2247                }
2248                mes "^3355FF*Rummage rummage*";
2249                mes "You didn't find anything. You decided to give up your search.^000000";
2250                close;
2251        }
2252        mes "^3355FFThere are many things piled up to the ceiling. Since there is too much stuff jumbled together, it doesn't seem possible that you'll find anything in this stack.^000000";
2253        next;
2254        mes "[Jiang Xiayou]";
2255        mes "Hey, don't touch anything! If you mess anything up, you've gotta pile it up again, got it? If you don't want to clean up after yourself, don't make a mess!";
2256        donpcevent "Storage Keeper#lou::OnEmotion5";
2257        close;
2258}
2259
2260lou_in02,206,163,0      script  Supply Stack#4lou       111,{
2261        set .@now_weight,MaxWeight-Weight;
2262        if (.@now_weight < 2000) {
2263                mes "^3355FF* Wait a minute !! *";
2264                mes "You're carrying too many items with you. Please put some of your items into your Kafra Storage and try again.^000000";
2265                close;
2266        }
2267        if (ch_par == 4) {
2268                if (rand(1,20) == 4) {
2269                        mes "^3355FF*Rummage rummage*";
2270                        mes "It seems there's something inside of this stack. You decide to rummage around to see if you can find anything.^000000";
2271                        next;
2272                        if (rand(1,100) == 11) {
2273                                mes "^3355FF*Rummage rummage*";
2274                                mes "*Rummage rummage*";
2275                                mes "*Rummage rummage*";
2276                                mes "You found a medicine.^000000";
2277                                set ch_par,9;
2278                                getitem 7252,1; //Herb_Medicine
2279                                next;
2280                                mes "[Jiang Xiayou]";
2281                                mes "Err...";
2282                                mes "You found it...?!";
2283                                mes "I can't believe it!";
2284                                mes "You just lucked out.";
2285                                donpcevent "Storage Keeper#lou::OnEmotion4";
2286                                close;
2287                        }
2288                        mes "^3355FF*Rummage rummage*";
2289                        mes "*Rummage rummage*";
2290                        mes "*Rummage rummage*";
2291                        mes "You didn't find anything.^000000";
2292                        next;
2293                        mes "[Jiang Xiayou]";
2294                        mes "Hey, hey...";
2295                        mes "I told you!";
2296                        mes "It's not too late for you";
2297                        mes "to do the favor I asked.";
2298                        mes "I'm only asking you once!";
2299                        close;
2300                }
2301                mes "^3355FF*Rummage rummage*";
2302                mes "You didn't find anything. You decided to give up your search.^000000";
2303                close;
2304        }
2305        mes "^3355FFThere are many things piled up to the ceiling. Since there is too much stuff jumbled together, it doesn't seem possible that you'll find anything in this stack.^000000";
2306        next;
2307        mes "[Jiang Xiayou]";
2308        mes "Hey, don't touch anything! If you mess anything up, you've gotta pile it up again, got it? If you don't want to clean up after yourself, don't make a mess!";
2309        close;
2310}
2311
2312lou_in02,198,170,0      script  Supply Stack#3lou       111,{
2313        set .@now_weight,MaxWeight-Weight;
2314        if (.@now_weight < 2000) {
2315                mes "^3355FF* Wait a minute !! *";
2316                mes "You're carrying too many items with you. Please put some of your items into your Kafra Storage and try again.^000000";
2317                close;
2318        }
2319        if (ch_par == 4) {
2320                if (rand(1,20) == 18) {
2321                        mes "^3355FF*Rummage rummage*";
2322                        mes "It seems there's something inside of this stack. You decide to rummage around to see if you can find anything.^000000";
2323                        next;
2324                        if (rand(1,100) == 96) {
2325                                mes "^3355FF*Rummage rummage*";
2326                                mes "*Rummage rummage*";
2327                                mes "*Rummage rummage*";
2328                                mes "You found a medicine.^000000";
2329                                set ch_par,9;
2330                                getitem 7252,1; //Herb_Medicine
2331                                next;
2332                                mes "[Jiang Xiayou]";
2333                                mes "Err...";
2334                                mes "You found it...?!";
2335                                mes "I can't believe it!";
2336                                mes "You just lucked out.";
2337                                close;
2338                        }
2339                        mes "^3355FF*Rummage rummage*";
2340                        mes "*Rummage rummage*";
2341                        mes "*Rummage rummage*";
2342                        mes "You didn't find anything.^000000";
2343                        next;
2344                        mes "[Jiang Xiayou]";
2345                        mes "Hey, hey...";
2346                        mes "I told you!";
2347                        mes "It's not too late for you";
2348                        mes "to do the favor I asked.";
2349                        mes "I'm only asking you once!";
2350                        donpcevent "Storage Keeper#lou::OnEmotion3";
2351                        close;
2352                }
2353                mes "^3355FF*Rummage rummage*";
2354                mes "You didn't find anything. You decided to give up your search.^000000";
2355                close;
2356        }
2357        mes "^3355FFThere are many things piled up to the ceiling. Since there is too much stuff jumbled together, it doesn't seem possible that you'll find anything in this stack.^000000";
2358        next;
2359        mes "[Jiang Xiayou]";
2360        mes "Hey, don't touch anything! If you mess anything up, you've gotta pile it up again, got it? If you don't want to clean up after yourself, don't make a mess!";
2361        close;
2362}
2363
2364lou_in02,192,170,0      script  Supply Stack#2  111,{
2365        set .@now_weight,MaxWeight-Weight;
2366        if (.@now_weight < 2000) {
2367                mes "^3355FF* Wait a minute !! *";
2368                mes "You're carrying too many items with you. Please put some of your items into your Kafra Storage and try again.^000000";
2369                close;
2370        }
2371        if (ch_par == 4) {
2372                if (rand(1,20) == 10) {
2373                        mes "^3355FF*Rummage rummage*";
2374                        mes "It seems there's something inside of this stack. You decide to rummage around to see if you can find anything.^000000";
2375                        next;
2376                        if (rand(1,100) == 87) {
2377                                mes "^3355FF*Rummage rummage*";
2378                                mes "*Rummage rummage*";
2379                                mes "*Rummage rummage*";
2380                                mes "You found a medicine.^000000";
2381                                set ch_par,9;
2382                                getitem 7252,1; //Herb_Medicine
2383                                next;
2384                                mes "[Jiang Xiayou]";
2385                                mes "Err...";
2386                                mes "You found it...?!";
2387                                mes "I can't believe it!";
2388                                mes "You just lucked out.";
2389                                close;
2390                        }
2391                        mes "^3355FF*Rummage rummage*";
2392                        mes "*Rummage rummage*";
2393                        mes "*Rummage rummage*";
2394                        mes "You didn't find anything.^000000";
2395                        next;
2396                        mes "[Jiang Xiayou]";
2397                        mes "I told you! Now stop bugging me and leave now! I don't wanna deal with someone who won't trust me.";
2398                        donpcevent "Storage Keeper#lou::OnEmotion2";
2399                        close;
2400                }
2401                mes "^3355FF*Rummage rummage*";
2402                mes "You didn't find anything. You decided to give up your search.^000000";
2403                close;
2404        }
2405        mes "^3355FFThere are many things piled up to the ceiling. Since there is too much stuff jumbled together, it doesn't seem possible that you'll find anything in this stack.^000000";
2406        next;
2407        mes "[Jiang Xiayou]";
2408        mes "Hey, don't touch anything! If you mess anything up, you've gotta pile it up again, got it? If you don't want to clean up after yourself, don't make a mess!";
2409        close;
2410}
2411
2412louyang,129,121,0       warp    Storage Warp#1  1,1,lou_in02,203,161;
2413louyang,125,121,0       warp    Storage Warp#2  1,1,lou_in02,198,161;
2414lou_in02,198,159,0      warp    Storage Warp#3  1,1,louyang,124,118;
2415lou_in02,203,159,0      warp    Storage Warp#4  1,1,louyang,129,118
2416
2417// Poison King Quest
2418//============================================================
2419lou_in02,123,39,4       script  Poison King#lou 824,{
2420        // Attempt to preserve prior quest progress.
2421        if (ch_poison == 0 && CL_POISONKING != 0) {
2422                if (QL_POISONKING <= 12) set ch_poison,QL_POISONKING;
2423                else if (QL_POISONKING == 16) set ch_poison,19;
2424                else if (QL_POISONKING >= 17) set ch_poison,20;
2425                // Remove outdated variable.
2426                set QL_POISONKING,0;
2427        }
2428        if (checkweight(1201,1) == 0) {
2429                mes "^3355FF * Wait a minute! *";
2430                mes "Right now, you are carrying too many items with you. Please place some of your items into Kafra Storage and try again.^000000";
2431                close;
2432        }
2433        if (ch_poison < 6) {
2434                mes "[Nagash Arses]";
2435                mes "It's been 40 years since I came here. Hahaha, but it doesn't feel like it's been that long.";
2436                next;
2437                mes "[Nagash Arses]";
2438                mes "In the past, I was one of the";
2439                mes "most renowned experts in the use";
2440                mes "of poison. I even created a martial art based on its use, and formed my own martial arts organization.";
2441                next;
2442                mes "[Nagash Arses]";
2443                mes "Now, those memories";
2444                mes "don't even seem real";
2445                mes "anymore. This poem is";
2446                mes "all I can remember...";
2447                next;
2448                mes "[Nagash Arses]";
2449                mes "As I lay in bed looking";
2450                mes "up at the moonlight";
2451                mes " ";
2452                mes "It looks like the";
2453                mes "frost on the ground.";
2454                next;
2455                mes "[Nagash Arses]";
2456                mes "I lift head up to look";
2457                mes "at the bright moon,";
2458                mes " ";
2459                mes "I lower my head";
2460                mes "feeling homesick.";
2461                next;
2462                if ((countitem(506) > 0 || countitem(511) > 0 || countitem(716) > 0) && (ch_poison > 0 && rand(1,300) > 99)) {
2463                        switch(select("Ask about the poem.:Ask about his hometown.:Ask about use of Poison.:Ask about his situation.")) {
2464                        case 1:
2465                                mes "[Nagash Arses]";
2466                                mes "Ah, have you";
2467                                mes "head of this poem?";
2468                                mes "As I grow older, my";
2469                                mes "memory also grows worse,";
2470                                mes "but I really like this poem";
2471                                mes "and don't want to forget it.";
2472                                next;
2473                                mes "[Nagash Arses]";
2474                                mes "I hope you don't";
2475                                mes "mind helping me";
2476                                mes "memorize this poem...";
2477                                next;
2478                                set .@question_poet,rand(1,4);
2479                                if (.@question_poet == 1) {
2480                                        mes "[Nagash Arses]";
2481                                        mes "'^3355FFAs I lay^000000 ^3355FFlooking up at the moonlight^000000.' In this first line, what word should be in [ ]?";
2482                                        next;
2483                                        if (select("on the ground:with you:in bed:in the stars") == 3)
2484                                                set .@answer_poet,.@answer_poet + 10;
2485                                        mes "[Nagash Arses]";
2486                                        mes "'^3355FFIt looks like the^000000 ^3355FFon the ground^000000.' In the second line, which word should be in [ ]?";
2487                                        next;
2488                                        if (select("frost:dew:pebbles:snow") == 1)
2489                                                set .@answer_poet,.@answer_poet + 10;
2490                                        mes "[Nagash Arses]";
2491                                        mes "Now to see if you see really understand the poem. It's no use to just know the words. They must be a part of you as well.";
2492                                        next;
2493                                        mes "[Nagash Arses]";
2494                                        mes "How would you describe the overall mood and tone of the speaker of this poem?";
2495                                        next;
2496                                        if (select("Romantic:Wistful:Regretful:Passionate") == 2)
2497                                                set .@answer_poet,.@answer_poet + 10;
2498                                        mes "[Nagash Arses]";
2499                                        mes "What do you think is the";
2500                                        mes "major theme of this poem?";
2501                                        next;
2502                                        if (select("Tragedy:Separation:Love:Revenge:Buddy Cop Film") == 2)
2503                                                set .@answer_poet,.@answer_poet + 10;
2504                                        next;
2505                                        mes "[Nagash Arses]";
2506                                        mes "Ha ha ha! You understand this poem well! Now, would you repeat the first line for me again?";
2507                                        next;
2508                                        if (.@answer_poet > 30) {
2509                                                if (select("When I lay in bed looking up at the moon light:When I lay in bed thinking of the moon light:As I lay in bed looking up at the moonlight:As I lay in bed thinking of the moonlight") == 3) {
2510                                                        set ch_poison,2;
2511                                                }
2512                                        }
2513                                        else {
2514                                                select("When I lay in bed looking up at the moon light:When I lay in bed thinking of the moon light:As I lay in bed looking up at the moonlight:As I lay in bed thinking of the moon light");
2515                                        }
2516                                        mes "[Nagash Arses]";
2517                                        mes "Thank you for your time,";
2518                                        mes "youngster. Oh, and this is";
2519                                        mes "an old, famous poem written";
2520                                        mes "by Li Tai Bai. You know that,";
2521                                        mes "don't you?";
2522                                        close;
2523                                }
2524                                else if (.@question_poet == 2) {
2525                                        mes "[Nagash Arses]";
2526                                        mes "'^3355FFIt looks like the^000000 ^3355FFon the ground^000000.' In the second line, which word should be in [ ]?";
2527                                        next;
2528                                        if (select("frost:dew:pebbles:snow") == 1)
2529                                                set .@answer_poet,.@answer_poet + 10;
2530                                        mes "[Nagash Arses]";
2531                                        mes "'^3355FFI lower my head feeling^000000 [ ].' Which word should be in [ ]?";
2532                                        next;
2533                                        if (select("homesick.:drowsy:loneliness.:heartbroken.") == 1)
2534                                                set .@answer_poet,.@answer_poet + 10;
2535                                        next;
2536                                        mes "[Nagash Arses]";
2537                                        mes "Now to see if you see really understand the poem. It's no use to just know the words. To know this poem by heart is to truly take it to heart.";
2538                                        next;
2539                                        mes "[Nagash Arses]";
2540                                        mes "According to the poem,";
2541                                        mes "where is the location";
2542                                        mes "of the speaker as he is";
2543                                        mes "gazing at the moon?";
2544                                        next;
2545                                        if (select("In his hometown.:In jail.:In the depths of the cosmos.:In bed.") == 4)
2546                                                set .@answer_poet,.@answer_poet + 10;
2547                                        mes "[Nagash Arses]";
2548                                        mes "Although this poem is only four lines long, its structure can be easily classified. How would you describe this poem's structure?";
2549                                        next;
2550                                        if (select("Why, it's a sonnet.:It's prose with erratic caesuras.:It's a quatrain, of course.:Iambic pentameter?") == 3)
2551                                                set .@answer_poet,.@answer_poet + 10;
2552                                        next;
2553                                        mes "[Nagash Arses]";
2554                                        mes "Ha ha ha! You understand this poem well! Now, would you repeat the first line for me again?";
2555                                        next;
2556                                        if (.@answer_poet > 30) {
2557                                                if (select("It looks like the frost on the ground:It looks like an icicle on the ground:It looks as though shining:It looks like the frost in the sky") == 1) {
2558                                                        set ch_poison,2;
2559                                                }
2560                                        }
2561                                        else {
2562                                                select("It looks like the frost on the ground:It looks like an icicle on the ground:It looks as though shining:It looks like the frost in the sky");
2563                                        }
2564                                        mes "[Nagash Arses]";
2565                                        mes "Thank you for your time,";
2566                                        mes "youngster. Oh, and this is";
2567                                        mes "an old, famous poem written";
2568                                        mes "by Li Tai Bai. You know that,";
2569                                        mes "don't you?";
2570                                        close;
2571                                }
2572                                else if (.@question_poet == 3) {
2573                                        mes "[Nagash Arses]";
2574                                        mes "'^3355FFIt looks like the^000000 ^3355FFon the ground^000000.' In the second line, which word should be in [ ]?";
2575                                        next;
2576                                        if (select("frost:dew:pebbles:snow") == 1)
2577                                                set .@answer_poet,.@answer_poet + 10;
2578                                        next;
2579                                        mes "[Nagash Arses]";
2580                                        mes "'^3355FFI lower my head feeling^000000 [ ].' Which word should be in [ ]?";
2581                                        next;
2582                                        if (select("homesick.:drowsy:loneliness.:heartbroken.") == 1)
2583                                                set .@answer_poet,.@answer_poet + 10;
2584                                        next;
2585                                        mes "[Nagash Arses]";
2586                                        mes "Now to see if you see really understand the poem. It's not enough to just know the words. You must know what they truly mean.";
2587                                        next;
2588                                        mes "[Nagash Arses]";
2589                                        mes "In the first two lines, what two images are being linked by the poet?";
2590                                        next;
2591                                        if (select("Bed and ground:Frost and hometown:Gloomy:Smokey:Moonlight and frost") == 5)
2592                                                set .@answer_poet,.@answer_poet + 10;
2593                                        mes "[Nagash Arses]";
2594                                        mes "In this land, the image of the moon often appears in poems expressing separation, longing and homesickness. Why would gazing at the moon offer comfort?";
2595                                        next;
2596                                        if (select("The rabbit on the moon grants wishes.:Its sheer beauty eases any anxiety.:Because it wanes and waxes.:All places and peoples share the same moon.") == 4)
2597                                                set .@answer_poet,.@answer_poet + 10;
2598                                        next;
2599                                        mes "[Nagash Arses]";
2600                                        mes "Ha ha ha! You understand this poem well! Now, would you repeat the third line for me again?";
2601                                        next;
2602                                        if (.@answer_poet > 30) {
2603                                                if (select("I look up at the bright moon:I lift my head to look at the bright moon:I turn my head to look at the bright moon:I face the bright moon") == 2) {
2604                                                        set ch_poison,2;
2605                                                }
2606                                        }
2607                                        else {
2608                                                select("I look up at the bright moon:I lift my head to look at the bright moon:I turn my head to look at the bright moon:I face the bright moon");
2609                                        }
2610                                        mes "[Nagash Arses]";
2611                                        mes "Thank you for your time,";
2612                                        mes "youngster. Oh, and this is";
2613                                        mes "an old, famous poem written";
2614                                        mes "by Li Tai Bai. You know that,";
2615                                        mes "don't you?";
2616                                        close;
2617                                }
2618                                else {
2619                                        mes "[Nagash Arses]";
2620                                        mes "'^3355FFIt looks like the^000000 ^3355FFon the ground^000000.' In the second line,";
2621                                        mes "which word should be in [ ]?";
2622                                        next;
2623                                        if (select("frost:dew:pebbles:snow") == 1)
2624                                                set .@answer_poet,.@answer_poet + 10;
2625                                        next;
2626                                        mes "[Nagash Arses]";
2627                                        mes "'^3355FFI lift my^000000 ^3355FFto look at the bright moon^000000.' In the third line, which word should be in [ ]?";
2628                                        next;
2629                                        if (select("eyes:head:gaze:sights") == 2)
2630                                                set .@answer_poet,.@answer_poet + 10;
2631                                        next;
2632                                        mes "[Nagash Arses]";
2633                                        mes "Now to see if you see really understand the poem. It's no";
2634                                        mes "use to just know the words. They must be a part of you as well.";
2635                                        next;
2636                                        mes "[Nagash Arses]";
2637                                        mes "What do you think is the major theme of this poem?";
2638                                        next;
2639                                        if (select("Tragedy:Separation:Love:Revenge:Buddy Cop Film") == 2)
2640                                                set .@answer_poet,.@answer_poet + 10;
2641                                        next;
2642                                        mes "[Nagash Arses]";
2643                                        mes "Why might be one reason why the bright moonlight looks like frost on the ground to the poet?";
2644                                        next;
2645                                        if (select("He's looking through a frosty window.:A bright moon glimmers like icicles.:He's homesick, so the moonlight looks cold:It's called 'poetic license.'") == 3)
2646                                                set .@answer_poet,.@answer_poet + 10;
2647                                        next;
2648                                        mes "[Nagash Arses]";
2649                                        mes "Ha ha ha! You understand this poem well! Now, would you repeat the last line for me again?";
2650                                        next;
2651                                        if (.@answer_poet > 30) {
2652                                                if (select("I cry for my home town.:I lower my head feeling homesick.:I miss my home town.:I sob feeling homesick.") == 2) {
2653                                                        set ch_poison,2;
2654                                                }
2655                                        }
2656                                        else {
2657                                                select("I cry for my home town.:I lower my head feeling homesick.:I miss my home town.:I sob feeling homesick.");
2658                                        }
2659                                        mes "[Nagash Arses]";
2660                                        mes "Thank you for your time,";
2661                                        mes "youngster. Oh, and this is";
2662                                        mes "an old, famous poem written";
2663                                        mes "by Li Tai Bai. You know that,";
2664                                        mes "don't you?";
2665                                        close;
2666                                }
2667                        case 2:
2668                                mes "[Nagash Arses]";
2669                                mes "Are you asking me";
2670                                mes "about my hometown...?";
2671                                mes "As a Rune-Midgardian,";
2672                                mes "I'm sure you've at least";
2673                                mes "heard of Morroc...";
2674                                next;
2675                                mes "[Nagash Arses]";
2676                                mes "A city built in the middle of the desert, its founders had to combat the harsh and unforgiving forces of nature everyday.";
2677                                next;
2678                                mes "[Nagash Arses]";
2679                                mes "Yeah, the blazing sun never";
2680                                mes "seems to leave, and it's a dry,";
2681                                mes "desert area, but people still";
2682                                mes "manage to live there.";
2683                                next;
2684                                if (ch_poison == 2) {
2685                                        mes "[Nagash Arses]";
2686                                        mes "Ah~ I miss Morroc, my hometown.";
2687                                        mes "I used to be a member of the Assassin organization known as the 'Canine of Desert.' Long ago, I was their poison expert.";
2688                                        next;
2689                                        switch(select("Tell him news of Morroc.:Info about 'Canine of Desert'.:Just listen.")) {
2690                                        case 1:
2691                                                mes "[Nagash Arses]";
2692                                                mes "Hm? Do you have recent news of Morroc?";
2693                                                next;
2694                                                mes "["+strcharinfo(0)+"]";
2695                                                mes "Yeah, I've got some news you might be interested in.";
2696                                                input .@input$;
2697                                                mes "["+strcharinfo(0)+"]";
2698                                                mes ""+.@input$+"";
2699                                                next;
2700                                                if (rand(1,50) > 25) {
2701                                                        mes "[Nagash Arses]";
2702                                                        mes "Ah, I see. Thank you for the news. Now, let me continue my story.";
2703                                                        next;
2704                                                }
2705                                                else {
2706                                                        mes "[Nagash Arses]";
2707                                                        mes "I see! You just said,";
2708                                                        mes ""+.@input$+".";
2709                                                        next;
2710                                                        mes "[Nagash Arses]";
2711                                                        mes "Thank you for";
2712                                                        mes "telling me the news.";
2713                                                        close;
2714                                                }
2715                                                break;
2716                                        case 2:
2717                                                mes "[Nagash Arses]";
2718                                                mes "I just told you what 'Canine of Desert' is. Now you tell me what it is. If you were listening, you would be able to.";
2719                                                next;
2720                                                input .@input$;
2721                                                if (.@input$ == "Assassin Organization" || .@input$ == "Assassin" || .@input$ == "Assassins") {
2722                                                        mes "[Nagash Arses]";
2723                                                        mes "Correct. You listened to me very well. They are Assassins. Assassins that were abandoned by society.";
2724                                                        next;
2725                                                        mes "[Nagash Arses]";
2726                                                        mes "'Canine of Desert' is the name of that Assassin organization. Don't forget that.";
2727                                                        next;
2728                                                        mes "[Nagash Arses]";
2729                                                        mes "...";
2730                                                        next;
2731                                                        mes "[Nagash Arses]";
2732                                                        mes "...";
2733                                                        mes "......";
2734                                                        next;
2735                                                        mes "[Nagash Arses]";
2736                                                        mes "Bah! I forgot what I was just talking about! This bad memory of mine frustrates me so much!";
2737                                                        close;
2738                                                }
2739                                                else {
2740                                                        if (BaseJob == Job_Assassin) {
2741                                                                mes "[Nagash Arses]";
2742                                                                mes "How could you not know what the 'Canine of Desert' is?! Just how long have you been an Assassin?!";
2743                                                                next;
2744                                                                mes "[Nagash Arses]";
2745                                                                mes "You're supposed to be aware of your origins and your colleagues! Oh, the shame...";
2746                                                                close;
2747                                                        }
2748                                                        mes "[Nagash Arses]";
2749                                                        mes "Well, I suppose I can't blame you for not knowing or remembering. When you get the chance, find someone wearing a purple suit...";
2750                                                        next;
2751                                                        mes "[Nagash Arses]";
2752                                                        mes "Any Assassin worth his salt should know what the 'Canine of Desert' is.";
2753                                                        close;
2754                                                }
2755                                        case 3:
2756                                                if (rand(1,33) < 12) {
2757                                                        mes "[Nagash Arses]";
2758                                                        mes "Wait...";
2759                                                        mes "Let me think...";
2760                                                        mes "Now how did I becoming interested in the use of poison...?";
2761                                                        close;
2762                                                }
2763                                        }
2764                                        mes "[Nagash Arses]";
2765                                        mes "I tried many things to develop my poison skills when I was young.";
2766                                        mes "I tried to extract poison from Muka's needles and from purple mushrooms. Eventually, I became";
2767                                        mes "an expert of toxins from my efforts.";
2768                                        next;
2769                                        mes "[Nagash Arses]";
2770                                        mes "One time I even injected";
2771                                        mes "a poison into my own body";
2772                                        mes "to fully test it. Yeah...";
2773                                        mes "It almost killed me.";
2774                                        next;
2775                                        mes "[Nagash Arses]";
2776                                        mes "I was recognized as the man who";
2777                                        mes "was most highly skilled in the use of poison in the 'Canine of Desert,' and I was sent on the most crucial and dangerous missions.";
2778                                        next;
2779                                        mes "[Nagash Arses]";
2780                                        mes "One day, I was hired by the Alberta Merchant Guild to assassinate an enemy that had been threatening them. However, I never got to complete that mission.";
2781                                        next;
2782                                        mes "[Nagash Arses]";
2783                                        mes "While I was on the ship to procceed with my mission, we encountered heavy wind and waves and the ship sank. I believe I was the only survivor of that accident.";
2784                                        next;
2785                                        mes "[Nagash Arses]";
2786                                        mes "I was floated helplessly on the ocean and somehow managed";
2787                                        mes "to arrive here, in Louyang. That was forty years ago.";
2788                                        next;
2789                                        mes "[Nagash Arses]";
2790                                        mes "It seemed that my arrival was rather timely. Louyang was intruded by huge mobs of dangerous monsters that were even able to infiltrate the Castle of the Dragon.";
2791                                        next;
2792                                        mes "[Nagash Arses]";
2793                                        mes "Since I was one of the best Assassins of the 'Canine of Desert,' I did far more than my share of monster killing.";
2794                                        next;
2795                                        mes "[Nagash Arses]";
2796                                        mes "It was on the battlefield that";
2797                                        mes "I met Bai Long who is now lord of this town. But back then, he was known as the 'Street Knight.'";
2798                                        next;
2799                                        mes "[Nagash Arses]";
2800                                        mes "I remember seeing him surrounded";
2801                                        mes "by enemies, and I dove into thick of battle to keep him from getting killed. We fought back to back and managed to stay alive back then.";
2802                                        next;
2803                                        mes "[Nagash Arses]";
2804                                        mes "You have to understand that it's not easy to let someone back you";
2805                                        mes "up in battle unless there's a solid trust. Those fights... were the greatest moments in my life.";
2806                                        next;
2807                                        mes "[Nagash Arses]";
2808                                        mes "Sadly, many of our comrades,";
2809                                        mes "all of them respectable and highly skilled martial artists, fell in battle. The number of monsters we had to contend with was just overwhelming.";
2810                                        next;
2811                                        mes "[Nagash Arses]";
2812                                        mes "Still, I managed to continue my poison research, even during those tough times. I studied medicine in this town and was able use that knowledge to enhance my understanding of poisons.";
2813                                        next;
2814                                        mes "[Nagash Arses]";
2815                                        mes "I created a new skill based on all of my knowledge, and learned how";
2816                                        mes "to put poison on weapons.";
2817                                        next;
2818                                        mes "[Nagash Arses]";
2819                                        mes "I even learned martial arts in Louyang, and combined that";
2820                                        mes "knowledge with my poison expertise to create my own unique fighting style.";
2821                                        next;
2822                                        mes "[Nagash Arses]";
2823                                        mes "Well, that's my story.";
2824                                        mes "But now, I just miss my";
2825                                        mes "home town. I miss the heat";
2826                                        mes "of the desert and the glare";
2827                                        mes "of the blazing sun...";
2828                                        set ch_poison,3;
2829                                        close;
2830                                }
2831                                else {
2832                                        mes "[Nagash Arses]";
2833                                        mes "Ah, Morroc.";
2834                                        mes "That name brings";
2835                                        mes "back memories of";
2836                                        mes "being an Assassin";
2837                                        mes "in the 'Canine of Desert.'";
2838                                        next;
2839                                        mes "[Nagash Arses]";
2840                                        mes "^666666*Sigh...*^000000";
2841                                        mes "I wish I could see";
2842                                        mes "Morroc just once before I die.";
2843                                        next;
2844                                        if (select("Tell him news of Morroc.:Ask about 'Canine of Desert.'") == 1) {
2845                                                mes "[Nagash Arses]";
2846                                                mes "Hm...?";
2847                                                mes "Is there anything";
2848                                                mes "you want to say?";
2849                                                next;
2850                                                mes "["+strcharinfo(0)+"]";
2851                                                mes "I have news";
2852                                                mes "of Morroc...";
2853                                                input .@input$;
2854                                                mes "["+strcharinfo(0)+"]";
2855                                                mes ""+.@input$+"";
2856                                                next;
2857                                                if (rand(1,50) > 30) {
2858                                                        mes "[Nagash Arses]";
2859                                                        mes "I see...";
2860                                                        mes "Thank you for";
2861                                                        mes "telling me that.";
2862                                                        close;
2863                                                }
2864                                                mes "[Nagash Arses]";
2865                                                mes "I see!";
2866                                                mes "You just said, "+.@input$+". Thank you.";
2867                                                close;
2868                                        }
2869                                        mes "[Nagash Arses]";
2870                                        mes "I just told you what 'Canine of Desert.' If you can't remember what I just told you, it's no use for me to explain further. You go ahead and tell me what it is.";
2871                                        next;
2872                                        input .@input$;
2873                                        if (.@input$ == "Assassin Organization" || .@input$ == "Assassin" || .@input$ == "Assassins") {
2874                                                mes "[Nagash Arses]";
2875                                                mes "Correct. You listened to me very well. They are Assassins. Assassins that were abandoned by society.";
2876                                                next;
2877                                                mes "[Nagash Arses]";
2878                                                mes "Canine of Desert";
2879                                                mes "is the name of an";
2880                                                mes "Assassin organization.";
2881                                                mes "Do not forget that.";
2882                                                close;
2883                                        }
2884                                        else {
2885                                                if (BaseJob == Job_Assassin) {
2886                                                        mes "[Nagash Arses]";
2887                                                        mes "How could you not know what the 'Canine of Desert' is?! Just how long have you been an Assassin?!";
2888                                                        next;
2889                                                        mes "[Nagash Arses]";
2890                                                        mes "You're supposed to be aware of your origins and your colleagues! Oh, the shame...";
2891                                                        close;
2892                                                }
2893                                                mes "[Nagash Arses]";
2894                                                mes "Well, I suppose I can't blame you for not knowing or remembering. When you get the chance, find someone wearing a purple suit...";
2895                                                next;
2896                                                mes "[Nagash Arses]";
2897                                                mes "Any Assassin worth his salt should know what the 'Canine of Desert' is.";
2898                                                close;
2899                                        }
2900                                }
2901                        case 3:
2902                                if (ch_poison == 4 || ch_poison == 5) {
2903                                        mes "[Nagash Arses]";
2904                                        mes "Did you just say you";
2905                                        mes "want to learn about the";
2906                                        mes "use of poison?";
2907                                        next;
2908                                        mes "[Nagash Arses]";
2909                                        mes "Why do you want";
2910                                        mes "to learn about it?";
2911                                        mes "Even if I wanted to";
2912                                        mes "teach, I'm too old to";
2913                                        mes "remember everything";
2914                                        mes "clearly...";
2915                                        next;
2916                                        mes "[Nagash Arses]";
2917                                        mes "Go find my last disciple,";
2918                                        mes "^0000FFSong Zhi Du^000000, as he may tell you something useful. He's working at the doctor's office. If it weren't for him, I'd be starving now.";
2919                                        set ch_poison,5;
2920                                        close;
2921                                }
2922                                else {
2923                                        mes "[Nagash Arses]";
2924                                        mes "Did you just say you";
2925                                        mes "want to learn about the";
2926                                        mes "use of poison?";
2927                                        next;
2928                                        mes "[Nagash Arses]";
2929                                        mes "Why do you want";
2930                                        mes "to learn about it?";
2931                                        mes "Even if I wanted to";
2932                                        mes "teach, I'm too old to";
2933                                        mes "remember everything";
2934                                        mes "clearly...";
2935                                        close;
2936                                }
2937                        case 4:
2938                                if (ch_poison == 3) {
2939                                        mes "[Nagash Arses]";
2940                                        mes "You're asking me how";
2941                                        mes "things came to be like";
2942                                        mes "this? Life used to be good.";
2943                                        next;
2944                                        mes "[Nagash Arses]";
2945                                        mes "As I told you, I distinguished myself in the battles with monsters. I was rewarded with Louyang citizenship and given";
2946                                        mes "gifts of money.";
2947                                        next;
2948                                        mes "[Nagash Arses]";
2949                                        mes "I was invited to join a martial arts organization that specialized in the use of poison. I joined them, excited about further broadening my knowledge.";
2950                                        next;
2951                                        mes "[Nagash Arses]";
2952                                        mes "I was stunned by the enormous body of knowledge about toxins that they provided. I tried to learn as much as I could so I could develop my own, unique poisoning skills.";
2953                                        next;
2954                                        mes "[Nagash Arses]";
2955                                        mes "As I studied with them, together we started to clear the town of the remaining monsters. Can you guess the results of our efforts to clean up the city?";
2956                                        next;
2957                                        switch(select("...??:It must have been good.:I guess it was okay?:I don't know, but how did it go?")) {
2958                                        case 1:
2959                                                mes "[Nagash Arses]";
2960                                                mes "Did you even listen to me? It's no use talking to you if you don't even care about what I have to say.";
2961                                                next;
2962                                                mes "[Nagash Arses]";
2963                                                mes "I'm sorry for keeping you from what you wanted to do. Take care of yourself, youngster.";
2964                                                close;
2965                                        case 2:
2966                                                mes "[Nagash Arses]";
2967                                                mes "You're right!";
2968                                                mes "We got rid of every";
2969                                                mes "single monster in the city!";
2970                                                next;
2971                                                break;
2972                                        case 3:
2973                                                mes "[Nagash Arses]";
2974                                                mes "Just okay...?";
2975                                                mes "I don't think you realized how powerful we were back then! Eh...";
2976                                                next;
2977                                                mes "[Nagash Arses]";
2978                                                mes "Sorry for keeping you from what you wanted to do. Take care of yourself, youngster.";
2979                                                close;
2980                                        case 4:
2981                                                mes "[Nagash Arses]";
2982                                                mes "We got rid of every single monster in the city!";
2983                                                next;
2984                                        }
2985                                        mes "[Nagash Arses]";
2986                                        mes "We managed to eliminate every monster that was wandering around Louyang. At the time, we were the only people brave enough to take on this sort of task.";
2987                                        next;
2988                                        mes "[Nagash Arses]";
2989                                        mes "Unfortunately, other martial arts organizations grew envious of our success, insisting that we were dishonorable for using poison to attack our enemies.";
2990                                        next;
2991                                        mes "[Nagash Arses]";
2992                                        mes "Although we can accept criticism for our use of poison, we were finally blamed for something we never would have done.";
2993                                        next;
2994                                        mes "[Nagash Arses]";
2995                                        mes "Someone put poison into a meal which was eaten by a son of the lord and then falsely accused us!";
2996                                        next;
2997                                        mes "[Nagash Arses]";
2998                                        mes "In the end, our organization was disbanded and I was put in jail.";
2999                                        mes "I suffered through much to escape from prison...";
3000                                        next;
3001                                        mes "[Nagash Arses]";
3002                                        mes "However, because of all the injuries I've had to endure in jail and in my escape attempts,";
3003                                        mes "I can no longer use my";
3004                                        mes "martial arts.";
3005                                        next;
3006                                        mes "[Nagash Arses]";
3007                                        mes "Even to this day, the police are hounding after me. I really want to tell the lord of Louyang that I'm innocent, but it may be";
3008                                        mes "too late now...";
3009                                        set ch_poison,4;
3010                                        close;
3011                                }
3012                                else {
3013                                        mes "[Nagash Arses]";
3014                                        mes "I...";
3015                                        mes "I don't want";
3016                                        mes "to talk about that.";
3017                                        mes "Let's not talk about it.";
3018                                        close;
3019                                }
3020                        }
3021                }
3022                else {
3023                        switch(select("Grin at him.:Lament for his grief.:Reprove him.:Listen to the poem again.:Show him a sad look.")) {
3024                        case 1:
3025                                mes "[Nagash Arses]";
3026                                mes "Yeah, I don't blame you.";
3027                                mes "I know I look stupid. Legally,";
3028                                mes "I'm a criminal after all.";
3029                                mes "I don't any friends and";
3030                                mes "there's no one I can trust.";
3031                                close;
3032                        case 2:
3033                                mes "[Nagash Arses]";
3034                                mes "How can you sympathize?";
3035                                mes "I doubt anyone has had";
3036                                mes "experiences that are";
3037                                mes "much worse than mine...";
3038                                close;
3039                        case 3:
3040                                mes "[Nagash Arses]";
3041                                mes "Wha--? I haven't wronged you in any way! Why must you be so mean to an old man? You don't even know half of what I've had to go through.";
3042                                close;
3043                        case 4:
3044                                mes "[Nagash Arses]";
3045                                mes "As I lay in bed looking";
3046                                mes "up at the moonlight";
3047                                mes " ";
3048                                mes "It looks like the";
3049                                mes "frost on the ground.";
3050                                next;
3051                                mes "[Nagash Arses]";
3052                                mes "I lift head up to look";
3053                                mes "at the bright moon,";
3054                                mes " ";
3055                                mes "I lower my head";
3056                                mes "feeling homesick.";
3057                                close;
3058                        case 5:
3059                                mes "[Nagash Arses]";
3060                                mes "Do you miss your hometown";
3061                                mes "as much as I do? I'm envious";
3062                                mes "of you, youngster. You have";
3063                                mes "the freedom to go";
3064                                mes "wherever you want.";
3065                                next;
3066                                mes "[Nagash Arses]";
3067                                mes "I'm a wanted criminal.";
3068                                mes "Even if I were free to";
3069                                mes "travel, I may not have";
3070                                mes "the strength to try.";
3071                                next;
3072                                mes "[Nagash Arses]";
3073                                mes "Let's not talk about this any longer. It's reminding me of";
3074                                mes "my worst memories.";
3075                                next;
3076                                set ch_poison,1;
3077                                if (BaseClass == Job_Thief) {
3078                                        mes "[Nagash Arses]";
3079                                        mes "Ah, you look just like I did when";
3080                                        mes "I was young. It seems you know";
3081                                        mes "a little something about poison.";
3082                                        next;
3083                                        mes "[Nagash Arses]";
3084                                        mes "It seems you haven't";
3085                                        mes "perfected your knowledge yet,";
3086                                        mes "though. Oh well, I doubt I can";
3087                                        mes "pinpoint what you need to master.";
3088                                        next;
3089                                        mes "[Nagash Arses]";
3090                                        mes "I'm too old to remember anything. Ha ha ha. Maybe if I saw something related to poison, I might remember something...";
3091                                        next;
3092                                        mes "[Nagash Arses]";
3093                                        mes "...";
3094                                        next;
3095                                        mes "[Nagash Arses]";
3096                                        mes "No, no...";
3097                                        mes "I think I'm too old";
3098                                        mes "to remember anything.";
3099                                        mes "Anything at all.";
3100                                        close;
3101                                }
3102                                mes "[Nagash Arses]";
3103                                mes "I'm too old to remember anything. Ha ha ha. Maybe if I saw something related to poison, I might remember something...";
3104                                next;
3105                                mes "[Nagash Arses]";
3106                                mes "...";
3107                                next;
3108                                mes "[Nagash Arses]";
3109                                mes "No, no...";
3110                                mes "I think I'm too old";
3111                                mes "to remember anything.";
3112                                mes "Anything at all.";
3113                                close;
3114                        }
3115                }
3116        }
3117        else if (ch_poison > 4 && ch_poison < 12) {
3118                mes "[Nagash Arses]";
3119                mes "If you wish to talk about poison, you'd better go to the doctor's office. My last disciple is";
3120                mes "working there.";
3121                next;
3122                mes "[Nagash Arses]";
3123                mes "Now, let me rest.";
3124                mes "I am very tired.";
3125                mes "I... I hope he doesn't";
3126                mes "have any bad intentions...";
3127                close;
3128        }
3129        else if (ch_poison == 12) {
3130                mes "[Nagash Arses]";
3131                mes "Aren't you the youngster";
3132                mes "I talked to a while ago?";
3133                mes "Did you get a chance";
3134                mes "to meet my disciple?";
3135                mes "How was he?";
3136                next;
3137                mes "[Nagash Arses]";
3138                mes "He was sick all the time when he was young, so he worried me a lot. But now I'm proud of him and he's doing as well just any other fine young man.";
3139                next;
3140                mes "[Nagash Arses]";
3141                mes "I am living only for him,";
3142                mes "and hope that he becomes a great healer someday. Recently, I've found that my sole comfort is in treating diseases for other people...";
3143                next;
3144                mes "[Nagash Arses]";
3145                mes "By the way...";
3146                mes "You look pale...";
3147                mes "Did something happen?";
3148                next;
3149                switch(select("Nothing.:I want to talk about your diciple.:I don't feel good.")) {
3150                case 1:
3151                        mes "[Nagash Arses]";
3152                        mes "Oh...";
3153                        mes "I see...";
3154                        mes "But take care";
3155                        mes "of yourself.";
3156                        next;
3157                        mes "[Nagash Arses]";
3158                        mes "You better enjoy your physical strength when you're young. When you're my age, it's tough to regain your health once you lose it.";
3159                        close;
3160                case 2:
3161                        mes "[Nagash Arses]";
3162                        mes "Did something happen to him?";
3163                        mes "I've been worried since he hasn't come to visit me since you last came to speak with me.";
3164                        next;
3165                        if (countitem(678) > 1) {
3166                                if (select("Give him Poison Bottle.:Cancel and go to 'Song Zhi Du.") == 1) {
3167                                        delitem 678,1; //Poison_Bottle
3168                                        mes "[Nagash Arses]";
3169                                        mes "Huh!?";
3170                                        mes "Isn't this...!?";
3171                                        next;
3172                                        mes "[Nagash Arses]";
3173                                        mes "I've dreamed of creating";
3174                                        mes "a poison of such potency!";
3175                                        mes "W-where did you find this?";
3176                                        next;
3177                                        if (select("It's common nowadays.:Explain to him what happened.") == 1) {
3178                                                mes "[Nagash Arses]";
3179                                                mes "Really...?";
3180                                                mes "Then someone";
3181                                                mes "finally figured it out.";
3182                                                next;
3183                                                mes "[Nagash Arses]";
3184                                                mes "I shared all of my knowledge with others, so I guess a doctor might have figured how to create this.";
3185                                                next;
3186                                                mes "[Nagash Arses]";
3187                                                mes "^666666*Sigh...*^000000";
3188                                                mes "Now I feel depressed";
3189                                                mes "for some reason...";
3190                                                close;
3191                                        }
3192                                        mes "^3355FFYou tell Nagash Arses how";
3193                                        mes "Song Zhi Du created this Deadly Poison Bottle and his plan to get his revenge on the lord of Louyang.^000000";
3194                                        next;
3195                                        mes "[Nagash Arses]";
3196                                        mes "^666666*Sigh...*^000000";
3197                                        next;
3198                                        mes "[Nagash Arses]";
3199                                        mes "Will you...";
3200                                        mes "Will you excuse";
3201                                        mes "me for a second...?";
3202                                        set ch_poison,15;
3203                                        close;
3204                                }
3205                                mes "["+strcharinfo(0)+"]";
3206                                mes "...Nothing much.";
3207                                next;
3208                                mes "[Nagash Arses]";
3209                                mes "Hmm...?";
3210                                mes "I guess you don't know what is going on. I've heard some bad rumors about him, which is why I'm asking.";
3211                                next;
3212                                mes "[Nagash Arses]";
3213                                mes "I hope he'll be fine.";
3214                                mes "After all, he's truly";
3215                                mes "kind at heart.";
3216                                close;
3217                        }
3218                        mes "[Nagash Arses]";
3219                        mes "Hmm...?";
3220                        mes "I guess you don't know what is going on. I've heard some bad rumors about him, which is why I'm asking.";
3221                        next;
3222                        mes "[Nagash Arses]";
3223                        mes "I hope he'll be fine.";
3224                        mes "After all, he's truly";
3225                        mes "kind at heart.";
3226                        close;
3227                case 3:
3228                        mes "[Nagash Arses]";
3229                        mes "Oh, you don't?";
3230                        mes "Well, that can happen";
3231                        mes "sometimes when you're";
3232                        mes "in a foreign land for";
3233                        mes "too long. I hope you";
3234                        mes "feel better soon.";
3235                        close;
3236                }
3237        }
3238        else if (ch_poison == 13) {
3239                mes "[Nagash Arses]";
3240                mes "Recently...";
3241                mes "I've been getting";
3242                mes "a bad feeling...";
3243                next;
3244                mes "[Nagash Arses]";
3245                mes "I want to blame it";
3246                mes "on my solitude, but...";
3247                close;
3248        }
3249        else if (ch_poison == 14) {
3250                mes "^3355FFNagash Arses. He is no longer a well-known Assassin or the martial arts organization of which he was once master has long since disbanded.^000000";
3251                next;
3252                mes "^3355FFNow he is but a poor old man";
3253                mes "who is in anguish over his disciple. No matter what you say, he continues to talk about something totally unrelated, as if in a dream.^000000";
3254                close;
3255        }
3256        else if (ch_poison == 15 || ch_poison == 16) {
3257                mes "[Nagash Arses]";
3258                mes "Youngster...";
3259                mes "I beg of you.";
3260                mes "Please do not let him";
3261                mes "bring any harm to the lord.";
3262                next;
3263                mes "[Nagash Arses]";
3264                mes "If you cannot stop him,";
3265                mes "then please interrupt him";
3266                mes "from carrying out his plan.";
3267                next;
3268                mes "[Nagash Arses]";
3269                mes "I tried...";
3270                mes "To convince myself";
3271                mes "that what I had heard";
3272                mes "were just ugly rumors.";
3273                mes "I was wrong...";
3274                next;
3275                mes "[Nagash Arses]";
3276                mes "I am pretty sure he's been asking you, as well as others, for aid. Even if you do not agree to carry out his plan, I'm sure he will find someone to poison Lord Bai Long.";
3277                next;
3278                mes "[Nagash Arses]";
3279                mes "There is only one way he can poison";
3280                mes "the lord. He likes drinking, and has a favorite drink bottle he keeps with him all the time. You must get rid of his drink.";
3281                next;
3282                mes "[Nagash Arses]";
3283                mes "Please, I beg you.";
3284                mes "For my sake, as well";
3285                mes "as that of my disciple,";
3286                mes "Louyang's leader must live...";
3287                set ch_poison,16;
3288                close;
3289        }
3290        else if (ch_poison == 17) {
3291                mes "[Nagash Arses]";
3292                mes "So...";
3293                mes "What...";
3294                mes "What happened?";
3295                next;
3296                mes "["+strcharinfo(0)+"]";
3297                mes "I made it.";
3298                next;
3299                mes "[Nagash Arses]";
3300                mes "You did?!";
3301                mes "Oh~ thank you,";
3302                mes "thank you so much!";
3303                emotion e_an;
3304                next;
3305                mes "[Nagash Arses]";
3306                mes "Thank God I've";
3307                mes "lived this long.";
3308                mes "And... I just realized";
3309                mes "something while you away.";
3310                next;
3311                mes "[Nagash Arses]";
3312                mes "This is a journal that I have been writing for 15 years about my feelings of guilt, and what really happened in the past. I hope you can deliver this to the lord for me.";
3313                next;
3314                mes "^3355FFYou obtained";
3315                mes "^0000FFPoison King,";
3316                mes "Nagash Arses' Jounal^000000.";
3317                set ch_poison,18;
3318                close;
3319        }
3320        else if (ch_poison == 18) {
3321                mes "[Nagash Arses]";
3322                mes "I hope you";
3323                mes "can deliver this";
3324                mes "to Lord Bai Long...";
3325                close;
3326        }
3327        else if (ch_poison == 19) {
3328                mes "^3355FFYou gave him the";
3329                mes "^0000FFLetter from Bai Long^000000.";
3330                next;
3331                mes "[Nagash Arses]";
3332                mes "What's this...?";
3333                next;
3334                mes "[Nagash Arses]";
3335                mes "Why, he's invited me";
3336                mes "to take the position of";
3337                mes "a government official!";
3338                mes "I'm truly grateful!";
3339                next;
3340                mes "[Nagash Arses]";
3341                mes "However, please let him";
3342                mes "know that I must respectfully decline his offer. I'm afraid that I may be a burden to him once again.";
3343                next;
3344                mes "[Nagash Arses]";
3345                mes "Please tell him that I wish to enjoy the rest of my life here. Also, there are people here";
3346                mes "who still need me...";
3347                next;
3348                mes "[Nagash Arses]";
3349                mes "Thank you, youngster.";
3350                mes "You've stopped my disciple";
3351                mes "and helped me make up";
3352                mes "with an old friend...";
3353                next;
3354                mes "^3355FFNagash Arses put his palm on your back, and you can feel his strength flowing into you.^000000";
3355                next;
3356                mes "^3355FFYou grow dizzy, but you also feel like you're becoming more powerful and gaining experience.^000000";
3357                next;
3358                set ch_poison,20;
3359                if (BaseLevel < 56) {
3360                        getexp 9000,0;
3361                }
3362                else if (BaseLevel > 55 && BaseLevel < 61) {
3363                        getexp 10500,0;
3364                }
3365                else if (BaseLevel > 60 && BaseLevel < 66) {
3366                        getexp 18684,0;
3367                }
3368                else if (BaseLevel > 65 && BaseLevel < 71) {
3369                        getexp 27411,0;
3370                }
3371                else if (BaseLevel > 70 && BaseLevel < 76) {
3372                        getexp 70757,0;
3373                }
3374                else if (BaseLevel > 75 && BaseLevel < 81) {
3375                        getexp 130246,0;
3376                }
3377                else if (BaseLevel > 80 && BaseLevel < 86) {
3378                        getexp 150340,0;
3379                }
3380                else if (BaseLevel > 85 && BaseLevel < 91) {
3381                        getexp 182052,0;
3382                }
3383                else if (BaseLevel > 90) {
3384                        getexp 406786,0;
3385                }
3386                mes "^3355FFThen...";
3387                mes "Everything blacks out...^000000";
3388                close2;
3389                warp "louyang",270,136;
3390                end;
3391        }
3392        else if (ch_poison > 20) {
3393                mes "^3355FFHe looks tired";
3394                mes "for some reason,";
3395                mes "as if he's thinking";
3396                mes "of Morroc, his hometown.^000000";
3397                next;
3398                mes "^3355FFYou reflect on when he gave you his remaining strength and remember that he told you that he used to be one of the greatest Assassins...^000000";
3399                next;
3400                mes "^3355FFBut after all that's happened,";
3401                mes "he just looks like an old man who likes treating other people. It seems that he's finally at peace with himself.^000000";
3402                close;
3403        }
3404        else {
3405                mes "[Nagash Arses]";
3406                mes "My name, Nagash Arses,";
3407                mes "is also the name of the poison king in the legend of Arcturus. I have good reason to be proud of my name!";
3408                close;
3409        }
3410}
3411
3412lou_in02,253,45,0       script  Employee#poison 822,{
3413        if (checkweight(1201,1) == 0) {
3414                mes "^3355FF * Wait a minute! *";
3415                mes "You're carrying too many items with you right now. Please put some of your things into Kafra Storage and try again.^000000";
3416                close;
3417        }
3418        if (ch_par < 10 && ch_poison < 6) {
3419                while(1) {
3420                        if (.@r_o_o_f > 5) {
3421                                break;
3422                        }
3423                        else {
3424                                if (rand(1,4) > 2) {
3425                                        set .@r_o_o_f,.@r_o_o_f + 1;
3426                                        mes "[Song Zhi Du]";
3427                                        mes "Let's see, there's that medicine, and then the medicine over here...";
3428                                        next;
3429                                }
3430                                else {
3431                                        mes "[Song Zhi Du]";
3432                                        mes "...";
3433                                        mes "......";
3434                                        next;
3435                                }
3436                        }
3437                }
3438                mes "[Song Zhi Du]";
3439                mes "I feel like you're looking at me. Is there something that you want?";
3440                next;
3441                switch(select("......:Ask him about his master.:Ask about Poison Organization.:Ask why he's working here.")) {
3442                case 1:
3443                        mes "[Song Zhi Du]";
3444                        mes "I guess there's nothing you really need from me. Well then, if you'll excuse me...";
3445                        close;
3446                case 2:
3447                        mes "[Song Zhi Du]";
3448                        mes "Oh, I'm sorry, but I'm kind of busy right now. You see, we're running out of medicine...";
3449                        next;
3450                        mes "[Song Zhi Du]";
3451                        mes "My master, Hua Tuo,";
3452                        mes "is also having difficulty treating all of his patients. I must get him the medicine that he needs...";
3453                        close;
3454                case 3:
3455                        mes "[Song Zhi Du]";
3456                        mes "What...?";
3457                        mes "What did";
3458                        mes "you just say...?";
3459                        next;
3460                        input .@input$;
3461                        mes "[Song Zhi Du]";
3462                        mes ""+.@input$+"...?";
3463                        next;
3464                        mes "[Song Zhi Du]";
3465                        mes "I've never heard of that organization in my life. I'm sorry I can't help you. Now, if you'll excuse me...";
3466                        close;
3467                case 4:
3468                        mes "[Song Zhi Du]";
3469                        mes "Of course I'm working here to learn about medicine. I'm grateful for the chance to work under the most famous doctor in this area.";
3470                        next;
3471                        mes "[Song Zhi Du]";
3472                        mes "Doctor Hua Tuo is such a great person. I'm more than happy to assist him in saving the lives of others with his medical knowledge.";
3473                        next;
3474                        mes "[Song Zhi Du]";
3475                        mes "Even though I'm just in charge of the medicine storage, I'm working hard to become his disciple someday.";
3476                        next;
3477                        mes "[Song Zhi Du]";
3478                        mes "And working with Doctor Hua Tuo is really worthwhile. Well, sometimes it's really hard to supply medicine when we have too many patients though.";
3479                        next;
3480                        select("Why don't you gather medicinal herbs then?");
3481                        mes "[Song Zhi Du]";
3482                        mes "My job is keeping this storage.";
3483                        mes "I'm not supposed to leave my position. I need to organize the herbs, and make sure they're in good condition.";
3484                        close;
3485                }
3486        }
3487        else if (ch_par > 9 && ch_poison < 5) {
3488                mes "[Song Zhi Du]";
3489                mes "Well, well. Thank you for your trouble. I didn't expect you to gather all these herbs for us...";
3490                next;
3491                mes "[Song Zhi Du]";
3492                mes "I suppose I underestimated you. By the way, do you know anything about poison?";
3493                next;
3494                if (select("Yes, I am kind of interested in it.:No, not at all.") == 1) {
3495                        mes "[Song Zhi Du]";
3496                        mes "Oh, I see. Well, if you have some time, why don't you go visit my old master in the slums?";
3497                        next;
3498                        mes "[Song Zhi Du]";
3499                        mes "If you two get along, I will tell you something important.";
3500                        close;
3501                }
3502                mes "[Song Zhi Du]";
3503                mes "Huh. I see. Well, thank you for your trouble once again. I hope you have a good time in Louyang.";
3504                close;
3505        }
3506        else if (ch_par > 9 && ch_poison == 5) {
3507                mes "[Song Zhi Du]";
3508                mes "...";
3509                mes "So, did you talk";
3510                mes "to my old master?";
3511                mes "It seems he really";
3512                mes "likes you.";
3513                next;
3514                mes "[Song Zhi Du]";
3515                mes "As you know, my master has been accused of something he didn't do! And they crippled his use of the martial arts!";
3516                next;
3517                mes "[Song Zhi Du]";
3518                mes "I can't forgive what";
3519                mes "they've have done to my master!";
3520                mes "I want to grind their bones";
3521                mes "to powder! And that's before";
3522                mes "I kill them!";
3523                next;
3524                mes "[Song Zhi Du]";
3525                mes "He's innocent and all he did";
3526                mes "was research poison with all";
3527                mes "of his effort! And for that,";
3528                mes "they destroyed him!";
3529                next;
3530                mes "[Song Zhi Du]";
3531                mes "I was young";
3532                mes "when it happened...";
3533                mes "Too young to know";
3534                mes "any martial arts.";
3535                next;
3536                mes "[Song Zhi Du]";
3537                mes "I couldn't protect him.";
3538                mes "All I could do was hide and";
3539                mes "watch other people get killed.";
3540                next;
3541                mes "[Song Zhi Du]";
3542                mes "I hate myself";
3543                mes "for not being strong!";
3544                mes "But, my body isn't suited";
3545                mes "for martial arts.";
3546                next;
3547                mes "[Song Zhi Du]";
3548                mes "All I can do is maintain my weak body and make sure it's reasonably healthy. Even so, if it weren't for my master, I'd be dead";
3549                mes "in the streets...";
3550                next;
3551                mes "[Song Zhi Du]";
3552                mes "It was my master who picked me up from the streets and cured me. So, I've decided to become a doctor and save as many lives as I can.";
3553                next;
3554                mes "[Song Zhi Du]";
3555                mes "But before";
3556                mes "I do that,";
3557                mes "I want ^FF0000revenge^000000!";
3558                next;
3559                mes "[Song Zhi Du]";
3560                mes "As I told you, I am weak.";
3561                mes "Too weak... I know that from";
3562                mes "the bottom of my heart.";
3563                next;
3564                mes "[Song Zhi Du]";
3565                mes "But...";
3566                next;
3567                mes "[Song Zhi Du]";
3568                mes "I am knowledgable about medicine, especially the use of poison. I can tell you that I'm one of the best.";
3569                next;
3570                mes "[Song Zhi Du]";
3571                mes "Poison can kill people but it can also be used to save lifes. The people who destroyed my master";
3572                mes "will pay the price.";
3573                next;
3574                mes "[Song Zhi Du]";
3575                mes "Do you understand";
3576                mes "why I'm furious!?";
3577                next;
3578                if (select("But revenge isn't good.:Yes, I fully understand.") == 1) {
3579                        mes "[Song Zhi Du]";
3580                        mes "Hmm...";
3581                        mes "I see.";
3582                        next;
3583                        mes "[Song Zhi Du]";
3584                        mes "I suppose you couldn't";
3585                        mes "understand the way I feel.";
3586                        mes "After all, you didn't have";
3587                        mes "to go through the same";
3588                        mes "things I did.";
3589                        next;
3590                        mes "[Song Zhi Du]";
3591                        mes "I suppose I expected too much, since my master likes you. How could you know the rage and";
3592                        mes "sadness that I feel!?";
3593                        next;
3594                        mes "[Song Zhi Du]";
3595                        mes "Fine.";
3596                        mes "Go do whatever";
3597                        mes "you were going to do.";
3598                        mes "I'm just disappointed...";
3599                        set ch_poison,6;
3600                        close;
3601                }
3602                mes "[Song Zhi Du]";
3603                mes "Yes! Yes!";
3604                mes "You do understand!";
3605                next;
3606                mes "[Song Zhi Du]";
3607                mes "I volunteered for this medicine storage position so that I can secretly study poison! Now, the time for action has come!";
3608                next;
3609                mes "[Song Zhi Du]";
3610                mes "Still, I'll need some materials to complete my research. Then, when";
3611                mes "I succeed and create a poison pill, I'll need someone to carry my revenge out for me.";
3612                next;
3613                mes "[Song Zhi Du]";
3614                mes "Since my body is so frail, I can't bear the tension and rage of seeing my lifelong enemy face to face.";
3615                set ch_poison,8;
3616                close;
3617        }
3618        else if (ch_par > 9 && ch_poison == 6) {
3619                mes "[Song Zhi Du]";
3620                mes "I'm so disappointed.";
3621                mes "You've even seen the";
3622                mes "pitiable state of my";
3623                mes "master for yourself!";
3624                mes "How could you not";
3625                mes "understand me?!";
3626                next;
3627                if (select("I'm sorry for last time.:No matter what, revenge isn't good.") == 1) {
3628                        mes "[Song Zhi Du]";
3629                        mes "If you really";
3630                        mes "feel sorry for me,";
3631                        mes "then you must help me";
3632                        mes "carry out my revenge!";
3633                        next;
3634                        mes "[Song Zhi Du]";
3635                        mes "I still need to complete the";
3636                        mes "poison potion I'm creating. I hope you can bring what I need to finish it. Go and get me...";
3637                        next;
3638                        mes "[Song Zhi Du]";
3639                        mes "^0000FF4 Bee Sting,";
3640                        mes "10 Venom Canine,";
3641                        mes "10 Empty Potion,";
3642                        mes "30 Green Potion^000000.";
3643                        set ch_poison,7;
3644                        next;
3645                        mes "[Song Zhi Du]";
3646                        mes "An apology is fine, but you must also show me that you are sorry and help me carry out my plan. Do you have any problem with this?";
3647                        close;
3648                }
3649                mes "[Song Zhi Du]";
3650                mes "Oh, forget about it.";
3651                mes "I don't think I can ever";
3652                mes "make you understand how I feel.";
3653                specialeffect 11; //"Employee#poison" EF_ENDURE
3654                close2;
3655                set ch_poison,6;
3656                end;
3657        }
3658        else if (ch_par > 9 && ch_poison == 7) {
3659                mes "[Song Zhi Du]";
3660                mes "So, did you";
3661                mes "gather everything";
3662                mes "I asked of you?";
3663                next;
3664                if (select("Yes.:What do you need again?") == 1) {
3665                        if (countitem(939) > 3 && countitem(937) > 9 && countitem(1093) > 9 && countitem(506) > 29) {
3666                                delitem 939,4; //Bee_Sting
3667                                delitem 937,10; //Posionous_Canine
3668                                delitem 1093,10; //Empty_Potion
3669                                delitem 506,30; //Green_Potion
3670                                set ch_poison,8;
3671                                mes "[Song Zhi Du]";
3672                                mes "Ah...";
3673                                mes "With these, I accept your apology. Thank you for all the trouble you went through to get this stuff.";
3674                                next;
3675                                mes "[Song Zhi Du]";
3676                                mes "Now that you're this involved, you're in this with me all the way! I've been waiting for this";
3677                                mes "day for years...";
3678                                next;
3679                                mes "[Song Zhi Du]";
3680                                mes "All that's left is to create this poison, and then to get the";
3681                                mes "lord of Louyang to drink it...";
3682                                close;
3683                        }
3684                        mes "[Song Zhi Du]";
3685                        mes "Where are things";
3686                        mes "I asked you to bring?";
3687                        mes "Are you testing my";
3688                        mes "patience or what?";
3689                        next;
3690                        mes "[Song Zhi Du]";
3691                        mes "You're still missing some of the items I need. I must have them all in order to finish making this poison!";
3692                        specialeffect 11; //"Employee#poison" EF_ENDURE
3693                        close;
3694                }
3695                mes "[Song Zhi Du]";
3696                mes "*Sigh...*";
3697                mes "Go and get me...";
3698                next;
3699                mes "[Song Zhi Du]";
3700                mes "^0000FF4 Bee Sting,";
3701                mes "10 Venom Canine,";
3702                mes "10 Empty Potion,";
3703                mes "30 Green Potion^000000.";
3704                specialeffect 11; //"Employee#poison" EF_ENDURE
3705                close;
3706        }
3707        else if (ch_par > 9 && ch_poison == 8) {
3708                emotion e_gasp;
3709                mes "[Song Zhi Du]";
3710                mes "Ah, hello.";
3711                mes "Please give me a minute,";
3712                mes "I've just received a message.";
3713                next;
3714                mes "[Song Zhi Du]";
3715                mes "Ah!";
3716                mes "It says here";
3717                mes "that my delivery";
3718                mes "has finally arrived!";
3719                next;
3720                mes "[Song Zhi Du]";
3721                mes "Would you bring me the";
3722                mes "box from the firecracker";
3723                mes "lady at the entrance";
3724                mes "to Louyang? Thanks";
3725                mes "in advance.";
3726                close;
3727        }
3728        else if (ch_par > 9 && ch_poison == 9) {
3729                if (countitem(7126) > 0) {
3730                        delitem 7126,countitem(7126); //Large_Jellopy
3731                        mes "[Song Zhi Du]";
3732                        mes "Ah. Thank you,";
3733                        mes "I needed this. Now,";
3734                        mes "shall we begin?";
3735                        next;
3736                        mes "[Song Zhi Du]";
3737                        mes "First, I shall mix a poison extracted from Venom Canine";
3738                        mes "with a foreign liquid named Karvodailnirol.";
3739                        next;
3740                        mes "[Song Zhi Du]";
3741                        mes "Then, I add Green Herb extract, poison extracted from Bee Sting and a Large Jellopy into the liquid! Finally, I must heat them all!";
3742                        specialeffect 12; //"Employee#poison" EF_BEGINSPELL
3743                        next;
3744                        mes "[Song Zhi Du]";
3745                        mes "Finally, I have to carefully heat the mixture and collect it all into a Potion Bottle.";
3746                        specialeffect 125; //"Employee#poison" EF_ENCHANTPOISON
3747                        specialeffect 124; //"Employee#poison" EF_VENOMDUST
3748                        next;
3749                        mes "[Song Zhi Du]";
3750                        mes "Now, I've got to do this just right. This is a very delicate procedure...";
3751                        next;
3752                        specialeffect 17; //"Employee#poison" EF_MAGNUMBREAK
3753                        emotion e_omg;
3754                        mes "[Song Zhi Du]";
3755                        mes "No!! I failed again! ^666666*Sigh...*^000000 And I spent a long time preparing all of those materials...";
3756                        set ch_poison,10;
3757                        close;
3758                }
3759                emotion e_gasp;
3760                mes "[Song Zhi Du]";
3761                mes "Ah, hello.";
3762                mes "Please give me a minute,";
3763                mes "I've just received a message.";
3764                next;
3765                mes "[Song Zhi Du]";
3766                mes "Ah!";
3767                mes "It says here";
3768                mes "that my delivery";
3769                mes "has finally arrived!";
3770                next;
3771                mes "[Song Zhi Du]";
3772                mes "Would you bring me the";
3773                mes "box from the firecracker";
3774                mes "lady at the entrance";
3775                mes "to Louyang? Thanks";
3776                mes "in advance.";
3777                close;
3778        }
3779        else if (ch_par > 9 && ch_poison == 10) {
3780                if (countitem(939) > 3 && countitem(937) > 9 && countitem(1093) > 9 && countitem(506) > 29 && countitem(7126) > 0) {
3781                        mes "[Song Zhi Du]";
3782                        mes "Oh! You brought";
3783                        mes "me everything I need!";
3784                        mes "I'm very impressed!";
3785                        next;
3786                        mes "[Song Zhi Du]";
3787                        mes "You're the only one";
3788                        mes "who actually understands how";
3789                        mes "I feel. Thank you for gathering all of these ^FF0000materials^000000.";
3790                        next;
3791                        delitem 939,countitem(939); //Bee_Sting
3792                        delitem 937,countitem(937); //Posionous_Canine
3793                        delitem 1093,countitem(1093); //Empty_Potion
3794                        delitem 506,countitem(506); //Green_Potion
3795                        delitem 7126,countitem(7126); //Large_Jellopy
3796                        mes "[Song Zhi Du]";
3797                        mes "Alright, now";
3798                        mes "to create the poison.";
3799                        mes "This is going to be tough.";
3800                        mes "Here we go...";
3801                        next;
3802                        if (rand(1,1000) > 700) {
3803                                mes "[Song Zhi Du]";
3804                                mes "First, I shall mix a poison extracted from Venom Canine";
3805                                mes "with a foreign liquid named Karvodailnirol.";
3806                                next;
3807                                mes "[Song Zhi Du]";
3808                                mes "Then, I add Green Herb extract,";
3809                                mes "a poison extracted from Bee Sting and a Large Jellopy!";
3810                                specialeffect 12; //"Employee#poison" EF_BEGINSPELL
3811                                next;
3812                                mes "[Song Zhi Du]";
3813                                mes "Finally, I have to carefully heat the mixture and collect it all into a Potion Bottle.";
3814                                specialeffect 125; //"Employee#poison" EF_ENCHANTPOISON
3815                                specialeffect 124; //"Employee#poison" EF_VENOMDUST
3816                                next;
3817                                mes "[Song Zhi Du]";
3818                                mes "*Phew...*";
3819                                mes "Did...";
3820                                mes "Did I make it?";
3821                                next;
3822                                specialeffect 20; //"Employee#poison" EF_PATTACK
3823                                specialeffect 53; //"Employee#poison" EF_POISONHIT
3824                                emotion e_omg;
3825                                mes "[Song Zhi Du]";
3826                                mes "Hahaha~!";
3827                                mes "Success! ";
3828                                mes "It works!";
3829                                mes "I finally created it!";
3830                                mes "Mwahahahahahah!";
3831                                next;
3832                                mes "[Song Zhi Du]";
3833                                mes "Muhahahahaha!";
3834                                next;
3835                                mes "[Song Zhi Du]";
3836                                mes "Muhahahahaha!";
3837                                mes "Hahahahahahahahahahah!";
3838                                mes "";
3839                                next;
3840                                mes "[Song Zhi Du]";
3841                                mes "I made it!";
3842                                mes "I made it!";
3843                                mes "Now, revenge will be mine!";
3844                                next;
3845                                set ch_poison,11;
3846                                getitem 678,2; //Poison_Bottle
3847                                mes "[Song Zhi Du]";
3848                                mes "Hahaha! Now, please";
3849                                mes "take this bottle. But be careful. Even if you smell it just a little, it can cause your body to decompose, leading to death.";
3850                                close;
3851                        }
3852                        mes "[Song Zhi Du]";
3853                        mes "First, I shall mix a poison extracted from Venom Canine";
3854                        mes "with a foreign liquid named Karvodailnirol.";
3855                        next;
3856                        mes "[Song Zhi Du]";
3857                        mes "Then I add Green Herb extract, a poison extracted from Bee Sting and a Large Jellopy!";
3858                        specialeffect 12; //"Employee#poison" EF_BEGINSPELL
3859                        next;
3860                        mes "[Song Zhi Du]";
3861                        mes "Then I must carefully heat the mixture, and gather it all into a potion bottle.";
3862                        specialeffect 125; //"Employee#poison" EF_ENCHANTPOISON
3863                        specialeffect 124; //"Employee#poison" EF_VENOMDUST
3864                        next;
3865                        mes "[Song Zhi Du]";
3866                        mes "*Phew...*";
3867                        mes "Did...";
3868                        mes "Did I make it?";
3869                        next;
3870                        specialeffect 17; //"Employee#poison" EF_MAGNUMBREAK
3871                        emotion e_omg;
3872                        mes "[Song Zhi Du]";
3873                        mes "NO! I... I've failed again! And I spent a long time getting everything ready...";
3874                        close;
3875                }
3876                mes "[Song Zhi Du]";
3877                mes "I'm not sure what went wrong.";
3878                mes "Hmm, would you please help me again? I've used all the materials from last time.";
3879                next;
3880                mes "[Song Zhi Du]";
3881                mes "^0000FF4 Bee Sting^000000,";
3882                mes "^0000FF10 Venom Canine^000000,";
3883                mes "^0000FF10 Empty Potion Bottle^000000,";
3884                mes "^0000FF30 Green Potion^000000 and";
3885                mes "^0000FF1 Large Jellopy^000000.";
3886                next;
3887                mes "[Song Zhi Du]";
3888                mes "That's everything I'll need.";
3889                mes "I would apologize, but since you've shown that you'll help carry out my revenge, I know you'll understand.";
3890                close;
3891        }
3892        else if (ch_par > 9 && ch_poison == 11) {
3893                mes "[Song Zhi Du]";
3894                mes "Hahahaha...!";
3895                mes "Now, time has come.";
3896                mes "With this poison, Louyang's";
3897                mes "lord will be cast into hell!";
3898                next;
3899                mes "[Song Zhi Du]";
3900                mes "If they lied about my master,";
3901                mes "then I'll simply make their lies into truth. Then, my master";
3902                mes "won't feel victimized!";
3903                next;
3904                mes "[Song Zhi Du]";
3905                mes "Lord Bai Long!";
3906                mes "You will die!";
3907                mes "Ha HA HA HA HA!";
3908                next;
3909                mes "[Song Zhi Du]";
3910                mes "Muhahahaha!";
3911                mes "Hahaha...Haha..hahaha..haha...hahahahaha...mmmmuhahahahahahahaha!!";
3912                next;
3913                mes "[Song Zhi Du]";
3914                mes "Muhahahahahaha!";
3915                mes "...........";
3916                next;
3917                mes "[Song Zhi Du]";
3918                mes "Ah, forgive me.";
3919                mes "I was overly excited.";
3920                mes "Yes, I must calm down...";
3921                next;
3922                mes "[Song Zhi Du]";
3923                mes "Now, I have one last favor to ask of you. Please sneak into the Castle of the Dragon.";
3924                next;
3925                mes "[Song Zhi Du]";
3926                mes "I want you to put this poison some place where Lord Bai Long might stay. But be careful, the castle has a lot of security.";
3927                next;
3928                mes "[Song Zhi Du]";
3929                mes "Still, you're an adventurer from Rune-Midgard. You've probably had challenges like this before, so I'm sure you'll find a way.";
3930                next;
3931                mes "[Song Zhi Du]";
3932                mes "Anyway, I'm sure my master";
3933                mes "will be happy to know that";
3934                mes "I finally created the ^0000FFpoison";
3935                mes "he wished to create^000000!";
3936                next;
3937                mes "[Song Zhi Du]";
3938                mes "Hahaha...!";
3939                mes "Master, I did it!";
3940                mes "Your disciple Song Zhi Du made the world's deadliest poison for you!";
3941                set ch_poison,12;
3942                close;
3943        }
3944        else if (ch_par > 9 && ch_poison == 12) {
3945                mes "[Song Zhi Du]";
3946                mes "Remember...";
3947                mes "The Castle of the Dragon";
3948                mes "is under heavy surveillance.";
3949                mes "I guess Lord Bai Long is";
3950                mes "insecure. Heh heh.";
3951                next;
3952                mes "[Song Zhi Du]";
3953                mes "Anyways, I hope you'll be";
3954                mes "really careful. When you go in, don't forget to use this poison somewhere the Lord Bai Long";
3955                mes "can ingest it.";
3956                next;
3957                mes "[Song Zhi Du]";
3958                mes "Anyway, I'm sure my master";
3959                mes "will be happy to know that";
3960                mes "I finally created the ^0000FFpoison";
3961                mes "he wished to create^000000!";
3962                next;
3963                mes "[Song Zhi Du]";
3964                mes "Hahaha...!";
3965                mes "Master, I did it!";
3966                mes "Your disciple Song Zhi Du made the world's deadliest poison for you!";
3967                next;
3968                mes "[Song Zhi Du]";
3969                mes "Leave now,";
3970                mes "my friend!";
3971                mes "For my revenge!";
3972                mes "Go and kill Lord Bai Long!";
3973                close;
3974        }
3975        else if (ch_par > 9 && ch_poison == 13) {
3976                mes "[Song Zhi Du]";
3977                mes "Ah!";
3978                mes "You came back!";
3979                next;
3980                mes "[Song Zhi Du]";
3981                mes "Ah yes.";
3982                mes "All I have to do now";
3983                mes "is wait and hear news";
3984                mes "of Lord Bai Long's death.";
3985                next;
3986                mes "[Song Zhi Du]";
3987                mes "Thank you so much, my friend. You've satisfied my old grudge.";
3988                next;
3989                mes "[Song Zhi Du]";
3990                mes "Now, I am getting tired.";
3991                mes "Let me rest... Take care, my friend, and travel in safety.";
3992                next;
3993                mes "[Song Zhi Du]";
3994                mes "But before you go, let me give you some poison and a medicinal pill.";
3995                mes "I made these with the leftover materials and medicine in the storage.";
3996                set ch_poison,14;
3997                getitem 678,3; //Poison_Bottle
3998                next;
3999                mes "[Song Zhi Du]";
4000                mes "Please take the";
4001                mes "medicine pill";
4002                mes "right away.";
4003                next;
4004                mes "^3355FFYou swallowed a strange pill";
4005                mes "that shines with a gold color.";
4006                mes "It tastes bitter...^000000";
4007                next;
4008                mes "^3355FFThe nasty taste lingers in your mouth, but then you feel a great warmth flowing throughout your body. Eventually, you pass out.^000000";
4009                next;
4010                if (BaseLevel < 56) {
4011                        getexp 8909,0;
4012                }
4013                else if (BaseLevel > 55 && BaseLevel < 61) {
4014                        getexp 10213,0;
4015                }
4016                else if (BaseLevel > 60 && BaseLevel < 66) {
4017                        getexp 17684,0;
4018                }
4019                else if (BaseLevel > 65 && BaseLevel < 71) {
4020                        getexp 25411,0;
4021                }
4022                else if (BaseLevel > 70 && BaseLevel < 76) {
4023                        getexp 68757,0;
4024                }
4025                else if (BaseLevel > 75 && BaseLevel < 81) {
4026                        getexp 128246,0;
4027                }
4028                else if (BaseLevel > 80 && BaseLevel < 86) {
4029                        getexp 142340,0;
4030                }
4031                else if (BaseLevel > 85 && BaseLevel < 91) {
4032                        getexp 152052,0;
4033                }
4034                else if (BaseLevel > 90) {
4035                        getexp 366786,0;
4036                }
4037                warp "louyang",270,136;
4038                end;
4039        }
4040        else if (ch_par > 9 && ch_poison == 14) {
4041                mes "[Song Zhi Du]";
4042                mes "......................";
4043                next;
4044                mes "^3355FFSong Zhi Du looks blankly at the ceiling. With his revenge, it seems he's lost his motivation in life. Was it a good idea to help him, after all?^000000";
4045                next;
4046                mes "^3355FFBy hearsay, the poisoned drink didn't work so well, as a Thief from a foreign land actually stole the bottle.^000000";
4047                close;
4048        }
4049        else if (ch_par > 9 && ch_poison == 15 && ch_poison < 20) {
4050                mes "[Song Zhi Du]";
4051                mes "What happened?";
4052                mes "Why isn't";
4053                mes "Lord Bai Long dead yet?!";
4054                next;
4055                mes "[Song Zhi Du]";
4056                mes "Hmmm...";
4057                mes "You don't have";
4058                mes "a different plot";
4059                mes "in mind, do you?";
4060                close;
4061        }
4062        else if (ch_par > 9 && ch_poison == 20) {
4063                mes "[Song Zhi Du]";
4064                mes "Ah...";
4065                mes "Welcome.";
4066                mes "My master told";
4067                mes "me everything.";
4068                next;
4069                mes "[Song Zhi Du]";
4070                mes "Somehow, I feel relieved, but sorry at the same time. Still, now I can forget everything that's happened in the past.";
4071                next;
4072                mes "[Song Zhi Du]";
4073                mes "Now, I've decided to focus more on my medical studies so that I can really save as many lives as I can. I'm sorry I've been so rude to you before.";
4074                next;
4075                mes "[Song Zhi Du]";
4076                mes "Also, I hope you will";
4077                mes "take these, since I don't";
4078                mes "need them any longer.";
4079                set ch_poison,21;
4080                getitem 678,5; //Poison_Bottle
4081                next;
4082                mes "[Song Zhi Du]";
4083                mes "Thank you";
4084                mes "once again, friend.";
4085                mes "Now, if you'll excuse me,";
4086                mes "I have many things to do...";
4087                close;
4088        }
4089        else if (ch_poison > 20) {
4090                mes "^3355FFSong Zhi Du is busily engaged with organizing medicinal herbs. The faint look of sadness that used to be on his face now seems drained.^000000";
4091                next;
4092                mes "^3355FFStill, from his movements and the pace at which he is working, you can tell that he loves what he is doing. It seems that Song Zhi Du has finally found his life's path.^000000";
4093                close;
4094        }
4095        mes "[Song Zhi Du]";
4096        mes "Nagash Arses is also the name of poison king in a legend of Arcturus. There's good reason for my master to be proud of his name!";
4097        close;
4098}
4099
4100lou_fild01,224,348,0    script  Lady#delivery   817,{
4101        if (checkweight(1201,1) == 0) {
4102                mes "^3355FF * Wait a minute! *";
4103                mes "Currently, you're carrying too many items. Please put some of your things into Kafra Storage and try again.^000000";
4104                close;
4105        }
4106        if (ch_poison < 8) {
4107                if (rand(1,10) > 5) {
4108                        mes "[Lady]";
4109                        mes "You're at the";
4110                        mes "entrance of Louyang.";
4111                        mes "I hope you enjoy";
4112                        mes "your stay here~";
4113                        emotion e_kis;
4114                        close;
4115                }
4116                mes "[Lady]";
4117                mes "You're at the entrance of Louyang.";
4118                next;
4119                mes "[Lady]";
4120                mes "Louyang is well known";
4121                mes "for its various firecrackers.";
4122                mes "Would you like to see one?";
4123                next;
4124                if (select("Sure!:No thanks~") == 1) {
4125                        mes "[Lady]";
4126                        mes "Alright, there you go!";
4127                        if (Zeny > 99) {
4128                                set zeny,zeny-100;
4129                        }
4130                        close2;
4131                        donpcevent " #fire::OnClaymore";
4132                        end;
4133                }
4134                mes "[Lady]";
4135                mes "Hmpf...!";
4136                emotion e_dots;
4137                close;
4138        }
4139        else if (ch_poison == 8) {
4140                mes "[Lady]";
4141                mes "Would you";
4142                mes "like to see some";
4143                mes "firecrackers?";
4144                next;
4145                if (select("Sure!:No thanks~") == 1) {
4146                        mes "[Lady]";
4147                        mes "Alright,";
4148                        mes "there you go!";
4149                        if (Zeny > 99) {
4150                                set zeny,zeny-100;
4151                        }
4152                        close2;
4153                        donpcevent " #fire::OnClaymore";
4154                        end;
4155                }
4156                mes "[Lady]";
4157                mes "Hmm, if not firecrackers,";
4158                mes "then you must want something";
4159                mes "else. Did someone send you?";
4160                next;
4161                if (select("Yes.:No.") == 1) {
4162                        mes "[Lady]";
4163                        mes "Who was it?";
4164                        mes "Please tell me";
4165                        mes "his name.";
4166                        next;
4167                        input .@input$;
4168                        if (.@input$ == "Song Zhi Du") {
4169                                mes "[Lady]";
4170                                mes "Oh, I see.";
4171                                mes "Let me give";
4172                                mes "you the package.";
4173                                next;
4174                                mes "[Lady]";
4175                                mes "Ah, wait! I forgot!";
4176                                mes "You must first pay the";
4177                                mes "delivery fee of 1,000 zeny.";
4178                                next;
4179                                if (Zeny > 999) {
4180                                        set zeny,zeny-1000;
4181                                        getitem 7126,1; //Large_Jellopy
4182                                        mes "[Lady]";
4183                                        mes "Thank you~";
4184                                        mes "Now that the fee is paid,";
4185                                        mes "please bring this to";
4186                                        mes "Song Zhi Du.";
4187                                        mes "Take care!";
4188                                        set ch_poison,9;
4189                                        close;
4190                                }
4191                                mes "[Lady]";
4192                                mes "Errr...";
4193                                mes "You don't have enough zeny for the fee. I can't give you the package unless the delivery fee is paid!";
4194                                emotion e_an;
4195                                close;
4196                        }
4197                        mes "[Lady]";
4198                        mes "Hmmm?";
4199                        mes "I don't know who that is.";
4200                        mes "So I definitely don't have";
4201                        mes "a package for whoever you're";
4202                        mes "talking about.";
4203                        close;
4204                }
4205                mes "[Lady]";
4206                mes "No...?";
4207                next;
4208                mes "[Lady]";
4209                mes "Are you...";
4210                mes "Coming on to me?";
4211                close;
4212        }
4213        else if (ch_poison > 8) {
4214                if (rand(1,10) > 5) {
4215                        mes "[Lady]";
4216                        mes "You're at the";
4217                        mes "entrance of Louyang.";
4218                        mes "I hope you have a good time~";
4219                        emotion e_kis;
4220                        close;
4221                }
4222                mes "[Lady]";
4223                mes "You're at the";
4224                mes "entrance of";
4225                mes "Louyang.";
4226                next;
4227                mes "[Lady]";
4228                mes "Louyang is well known";
4229                mes "for its various firecrackers.";
4230                mes "Would you like to see one?";
4231                next;
4232                if (select("Sure!:No thanks~") == 1) {
4233                        mes "[Lady]";
4234                        mes "Alright~";
4235                        mes "There you go!";
4236                        if (Zeny > 99) {
4237                                set zeny,zeny-100;
4238                        }
4239                        close2;
4240                        donpcevent " #fire::OnClaymore";
4241                        end;
4242                }
4243                mes "[Lady]";
4244                mes "Hmpf...!";
4245                emotion e_dots;
4246                close;
4247        }
4248}
4249
4250lou_fild01,225,350,0    script   #fire  139,{
4251        end;
4252
4253OnClaymore:
4254        specialeffect 106; //" #fire" EF_BLASTMINEBOMB
4255        end;
4256}
4257
4258lou_in01,101,125,0      script  Trap#lou_in1    -1,20,1,{
4259OnTouch:
4260        if (ch_poison == 12 || ch_poison == 16) {
4261                mes "[Soldier]";
4262                mes "Who goes there!";
4263                next;
4264                mes "^3355FFYou ran away as quickly as you could!^000000";
4265                close2;
4266                warp "louyang",218,246;
4267                end;
4268        }
4269        end;
4270}
4271
4272lou_in01,101,129,0      script  Trap#lou_in2    -1,20,1,{
4273OnTouch:
4274        if (ch_poison == 12 || ch_poison == 16) {
4275                mes "[Soldier]";
4276                mes "Huh...?";
4277                mes "What was";
4278                mes "that noise?";
4279                next;
4280                mes "^3355FFYou bolted away from the castle as fast as your legs could carry you.^000000";
4281                close2;
4282                warp "louyang",218,246;
4283                end;
4284        }
4285        end;
4286}
4287
4288lou_in01,101,134,0      script  Trap#lou_in3    -1,20,1,{
4289OnTouch:
4290        if (ch_poison == 12 || ch_poison == 16) {
4291                mes "[Soldier]";
4292                mes "Huh...?";
4293                mes "Is somebody there?";
4294                next;
4295                mes "^3355FFYou escaped from the soldier's suspicious gaze.^000000";
4296                close2;
4297                warp "louyang",218,246;
4298                end;
4299        }
4300        end;
4301}
4302
4303lou_in01,114,163,0      script  Trap#lou_in4    -1,6,1,{
4304OnTouch:
4305        if (ch_poison == 12 || ch_poison == 16) {
4306                mes "[Soldier]";
4307                mes "Hold it right there, Rune-Midgardian!";
4308                next;
4309                mes "^3355FFYou run as fast as you can before the soldiers can catch you.^000000";
4310                close2;
4311                warp "louyang",218,246;
4312                end;
4313        }
4314        end;
4315}
4316
4317lou_in01,114,165,0      script  Trap#lou_in5    -1,1,0,{
4318OnTouch:
4319        if (ch_poison == 12 || ch_poison == 16) {
4320                mes "[Soldier]";
4321                mes "Huh...?";
4322                mes "I hear something!";
4323                next;
4324                mes "^3355FFYou escape before the soldier can find you.^000000";
4325                close2;
4326                warp "louyang",218,246;
4327                end;
4328        }
4329        end;
4330}
4331
4332louyang,217,278,0       script   #lou_path      111,{
4333        if (ch_poison == 12 || ch_poison == 16) {
4334                set name,PcName;
4335                mes "["+strcharinfo(0)+"]";
4336                mes "What's this?";
4337                mes "A crack in the wall?";
4338                next;
4339                mes "^3355FFYou jump to the stone wall and peep into the crack. It looks big enough for someone to squeeze through.^000000";
4340                next;
4341                mes "^3355FFYou move through the crack as quickly as you can.^000000";
4342                close2;
4343                warp "lou_in01",119,167;
4344                end;
4345        }
4346        end;
4347}
4348
4349lou_in01,107,163,0      script   #lou_drink1    111,{
4350        if (ch_poison == 12) {
4351                mes "^3355FFYou found a drink bottle that's possibly owned by Bai Long, lord of Louyang.^00000";
4352                next;
4353                mes "^3355FFYou put the deadly poison into the bottle.^000000";
4354                delitem 678,1; //Poison_Bottle
4355                set ch_poison,13;
4356                close;
4357        }
4358        else if (ch_poison == 13) {
4359                mes "^3355FFIt would be smart to get out of this place as soon as you can.^000000";
4360                close;
4361        }
4362        else if (ch_poison == 16) {
4363                if (countitem(938) > 0 && countitem(713) > 0) {
4364                        mes "^3355FFYou take the drink bottle and replace it with a bottle filled with Sticky Mucus. Hopefully Bai Long won't notice!^000000";
4365                        delitem 938,1; //Sticky_Mucus
4366                        delitem 713,1; //Empty_Bottle
4367                        set ch_poison,17;
4368                        close;
4369                }
4370                mes "^3355FFIt seems that you need switch Bai Long's drinking bottle with something else. Just taking the drink bottle would arouse suspicion.^000000";
4371                next;
4372                mes "^3355FFMaybe if you found some kind of empty bottle and filled it with something, like Sticky Mucus...^000000";
4373                close;
4374        }
4375        mes "^3355FFYou found a drink bottle. It's fancy enough that the only possible owner could be Bai Long, lord of Louyang.^000000";
4376        close;
4377}
4378
4379lou_in01,118,167,0      script   #lou_drink2    111,{
4380        if (ch_poison == 12) {
4381                mes "^3355FFYou squeeze through the crack as quickly as you can.^000000";
4382                close2;
4383                warp "louyang",217,278;
4384                end;
4385        }
4386        else if (ch_poison == 13) {
4387                mes "^3355FFYou squeeze through the crack as quickly as you can.^000000";
4388                close2;
4389                warp "louyang",217,278;
4390                end;
4391        }
4392        end;
4393}
4394
4395lou_in01,99,158,4       script  Lord#bailong    821,{
4396        if (checkweight(1201,1) == 0) {
4397                mes "^3355FF * Wait a minute! *";
4398                mes "Right now you're carrying too many items. Please put some of your things into Kafra Storage and try again.^000000";
4399                close;
4400        }
4401        if (ch_poison == 12 || ch_poison == 16) {
4402                mes "[Lord Bai Long]";
4403                mes "Hey...!";
4404                mes "You're not doing";
4405                mes "anything suspicious";
4406                mes "are you?";
4407                next;
4408                mes "^3355FFYou run away";
4409                mes "from Bai Long as";
4410                mes "fast as you can!^000000";
4411                close2;
4412                warp "louyang",218,246;
4413                end;
4414        }
4415        else {
4416                mes "[Lord Bai Long]";
4417                mes "Hahahaha!";
4418                mes "Welcome to Louyang!";
4419                next;
4420                mes "[Lord Bai Long]";
4421                mes "Louyang is such a great city.";
4422                mes "We've protected this land for forty years from the invasions of evil creatures!";
4423                next;
4424                mes "[Lord Bai Long]";
4425                mes "I hope you enjoy";
4426                mes "your stay here,";
4427                mes "Rune-Midgardian!";
4428                next;
4429                if (ch_poison == 18) {
4430                        mes "^3355FFYou give Nagash Arses' Journal";
4431                        mes "to Bai Long. He reads it intently, slowly turning each page.^000000";
4432                        next;
4433                        mes "^3355FFHe's completely silent for about fifteen minutes, and focuses all";
4434                        mes "of his attention of the journal.^000000";
4435                        next;
4436                        mes "^3355FFA single tear trickles";
4437                        mes "from his eye as he reads";
4438                        mes "the words of Nagash Arse...^000000";
4439                        next;
4440                        mes "[Lord Bai Long]";
4441                        mes "Thank you..";
4442                        mes "Adventurer...";
4443                        next;
4444                        mes "[Lord Bai Long]";
4445                        mes "Thank you so much.";
4446                        mes "You've helped me make";
4447                        mes "up with an old friend!";
4448                        next;
4449                        mes "[Lord Bai Long]";
4450                        mes "I, Bai Long, will work on giving";
4451                        mes "fair treatment to all of martial arts organizations, regardless of their methods or philosophies!";
4452                        next;
4453                        mes "[Lord Bai Long]";
4454                        mes "I will also forgive Song Zhi Du, even if he tried to poison me.";
4455                        mes "He is innocent...";
4456                        next;
4457                        mes "[Lord Bai Long]";
4458                        mes "As a matter of fact, it was reported to me that Nagash was deported to his homeland after";
4459                        mes "that incident. I had no idea";
4460                        mes "he was in jail!";
4461                        next;
4462                        mes "[Lord Bai Long]";
4463                        mes "Thank you so";
4464                        mes "much for your help!";
4465                        next;
4466                        next;
4467                        mes "[Lord Bai Long]";
4468                        mes "Please, take this as a token of gratitute. And please deliver this letter to Nagash and Song Zhi Du for me.";
4469                        set ch_poison,19;
4470                        getitem 603,1; //Old_Blue_Box
4471                        next;
4472                        mes "^3355FFYou obtained ^0000FFBai Long's letter^000000.";
4473                        next;
4474                        mes "[Lord Bai Long]";
4475                        mes "Thank you in advance.";
4476                        close;
4477                }
4478                mes "[Lord Bai Long]";
4479                mes "How could I have lost my friend from our glory days? Hmm...?";
4480                mes "Oh, I didn't realize you were still there... Listening to me.";
4481                next;
4482                mes "[Lord Bai Long]";
4483                mes "I'm sorry, I was just talking to myself. I hope you have a good time while staying here in Louyang.";
4484                close;
4485        }
4486}
4487
4488lou_in01,111,151,4      script  Soldier#bailong1        825,{
4489        if (ch_poison == 12 || ch_poison == 16) {
4490                mes "[Soldier]";
4491                mes "Hey...";
4492                mes "There's something";
4493                mes "fishy about you...! ";
4494                next;
4495                mes "^3355FFYou escaped from the castle, far away from the suspicious guard...^000000";
4496                close2;
4497                warp "louyang",218,246;
4498                end;
4499        }
4500        mes "[Soldier]";
4501        mes "^666666*Yawn*^000000 It's so boring here nowadays. Although, I hear that";
4502        mes "a long time ago, things were";
4503        mes "much different.";
4504        next;
4505        mes "[Soldier]";
4506        mes "Supposedly, monsters used to intrude Louyang all the time! Heh, but that's just a rumor. Still, there are a bunch of rumors going around that I'm curious about...";
4507        close;
4508}
4509
4510lou_in01,91,151,4       script  Soldier#bailong2        825,{
4511        if (ch_poison == 12 || ch_poison == 16) {
4512                mes "[Soldier]";
4513                mes "Huh...?";
4514                mes "Is somebody there? ";
4515                next;
4516                mes "^3355FFYou ran away";
4517                mes "as quickly";
4518                mes "as you could.^000000";
4519                close2;
4520                warp "louyang",218,246;
4521                end;
4522        }
4523        mes "[Soldier]";
4524        mes ".....z...Z....z...";
4525        next;
4526        select("Hey, wake up!");
4527        mes "[Soldier]";
4528        mes "Yeeeesss...Sir!";
4529        mes "I was not dozing off~ seerious...ly...";
4530        next;
4531        mes "[Soldier]";
4532        mes "...";
4533        next;
4534        mes "[Soldier]";
4535        mes "...";
4536        mes "......";
4537        next;
4538        mes "[Soldier]";
4539        mes ".....z...Z....z...";
4540        close;
4541}
4542
4543lou_in01,102,144,4      script  Soldier#bailong3        825,{
4544        if (ch_poison == 12 || ch_poison == 16) {
4545                mes "[Soldier]";
4546                mes "Huh...?";
4547                mes "What was that?";
4548                next;
4549                mes "^3355FFYou escape the soldier's";
4550                mes "suspicious gaze as quickly";
4551                mes "as you can.^000000";
4552                close2;
4553                warp "louyang",218,246;
4554                end;
4555        }
4556        mes "[Soldier]";
4557        mes "People have been";
4558        mes "saying that there's";
4559        mes "a scammer at the";
4560        mes "entrance of town...";
4561        next;
4562        select("...?");
4563        mes "[Soldier]";
4564        mes "But I went there and I didn't";
4565        mes "find anyone suspicious. I swear, everything seemed completely normal!";
4566        close;
4567}
4568
4569lou_in01,99,144,4       script  Soldier#bailong4        825,{
4570        if (ch_poison == 12 || ch_poison == 16) {
4571                mes "[Soldier]";
4572                mes "Who goes there?!";
4573                next;
4574                mes "^3355FFYou ran away";
4575                mes "as quickly";
4576                mes "as you could.^000000";
4577                close2;
4578                warp "louyang",218,246;
4579                end;
4580        }
4581        mes "[Soldier]";
4582        mes "Ah, don't bother";
4583        mes "to listen to this";
4584        mes "guy beside of me.";
4585        next;
4586        mes "[Soldier]";
4587        mes "I hope you have a good time while you're staying here in Louyang!";
4588        close;
4589}
4590
4591// Revolution Quest
4592//===================================================================
4593lou_in02,77,37,7        script  Hermit  824,{
4594
4595        if(!QL_REVOL)
4596        {
4597                mes "[Sun Mao]";
4598                mes "Where there's a will,";
4599                mes "there's a way. When we";
4600                mes "work together, there's";
4601                mes "nothing we cannot do.";
4602                next;
4603                mes "[Sun Mao]";
4604                mes "Will you lend us your power, and help us build a better future? Will you join our movement for social reform in Louyang?";
4605                next;
4606                mes "[Sun Mao]";
4607                mes "It doesn't matter if you're a local or a foreigner. So long as we share the same goal of creating a better Louyang, where everyone is treated as an equal.";
4608                next;
4609                mes "[Sun Mao]";
4610                mes "My name...";
4611                mes "is Sun Mao.";
4612                mes "This invitation may be sudden, but I am a man of action. I see in your face that you too despise injustice.";
4613                next;
4614                switch( select( "What am I supposed to do?","I will join you!","Well, I'm just another tourist..." ) )
4615                {
4616                        case 1:
4617                                mes "[Sun Mao]";
4618                                mes "For now, we must recruit as many members as we can. When we're ready, we'll start a movement that will change Louyang, and even the world!";
4619                                next;
4620                                mes "[Sun Mao]";
4621                                mes "However, we currently do not have the manpower to carry out the plans we have laid out. We've been lucky the lord hasn't found us out yet.";
4622                                next;
4623                                mes "[Sun Mao]";
4624                                mes "I wish everyone would understand our intentions, but the people of this city are disunited. This is not the first time I have approached a foreigner for help...";
4625                                next;
4626                                mes "[Sun Mao]";
4627                                mes "I suppose you understand the urgency of our cause, and our need to gather others who see the merit of our goals!";
4628                                close;
4629
4630                        case 2:
4631                                mes "[Sun Mao]";
4632                                mes "Oh, God must be on my side today and has sent you to me. Thank you for making the big decision...";
4633                                next;
4634                                mes "[Sun Mao]";
4635                                mes "I shall then engrave your name";
4636                                mes "on this bloody pledge board. But before I do so, I shall ask once more. Do you truly wish to join us, through pain and bloodshed?";
4637                                next;
4638                                switch( select( "No, wait!","I am 100% sure." ) )
4639                                {
4640                                        case 1:
4641                                                mes "[Sun Mao]";
4642                                                mes "I understand if you need time to decide. If you do decide to join us, please return. Time is on our side, after all.";
4643                                                close;
4644
4645                                        case 2:
4646                                                set QL_REVOL,1;
4647                                                mes "[Sun Mao]";
4648                                                mes strcharinfo(0)+ "...!";
4649                                                mes "Your name is now engraved on this bloody pledge board. We will fight together to the death for Louyang's future!";
4650                                                next;
4651                                                getpartymember(getcharid(1));
4652                                                set @partymember,$@partymembercount;
4653                                                if (getpartyleader(getcharid(1),1) == getcharid(0) || !@partymember)
4654                                                {
4655                                                        mes "[Sun Mao]";
4656                                                        mes "Now, the most important thing for our cause is to gather more recruits and increase our numbers. Please find others who will join us in our fight.";
4657                                                        next;
4658                                                        mes "[Sun Mao]";
4659                                                        mes "However, as to not arouse suspicion, bring only one new recruit at a time. Also, we suggest not to bring a friend in a party with you.";
4660                                                        next;
4661                                                        mes "[Sun Mao]";
4662                                                        mes "Now, I will wait for you here. Go forth and find others who wish for a better future for Louyang!";
4663                                                        close;
4664                                                }
4665                                                mes "[Sun Mao]";
4666                                                mes "Please assist the people who fight behind you. As more are gathered, one of our comrades will inform you of further instructions.";
4667                                                close;
4668                                }
4669
4670                        case 3:
4671                                mes "[Sun Mao]";
4672                                mes "Are you...? I see, you may leave now. Do not reveal what you have seen or heard in this place.";
4673                                next;
4674                                mes "[Sun Mao]";
4675                                mes "If you're a real tourist, you do not want to get involved in our business, one way or another.";
4676                                close;
4677                }
4678        }
4679        else if(getpartyleader(getcharid(1),2) == getcharid(0))
4680        {
4681                if(QL_REVOL == 9)
4682                {
4683                        mes "[Sun Mao]";
4684                        mes "Once again,";
4685                        mes "thank you for";
4686                        mes "your trouble.";
4687                        mes "Go back safe.";
4688                        close;
4689                }
4690                getpartymember(getcharid(1));
4691                set @partymember,$@partymembercount;
4692                if(QL_REVOL < 8)
4693                {
4694                        if(@partymember == QL_REVOL +1)
4695                        {
4696                                if(@partymember != 8)
4697                                {
4698                                        set QL_REVOL,QL_REVOL +1;
4699                                        mes "[Sun Mao]";
4700                                        mes "Oh, you brought a new comrade! Welcome. Please help your friend understand our intentions before joining us.";
4701                                        next;
4702                                        mes "[Sun Mao]";
4703                                        switch(QL_REVOL)
4704                                        {
4705                                                case 2:
4706                                                        mes "Please bring another friend that both of you can trust. Remember, add one person at a time into your party.";
4707                                                        next;
4708                                                        mes "[Sun Mao]";
4709                                                        mes "Otherwise, other people may learn of what we are doing, and that will lead to trouble.";
4710                                                        close;
4711
4712                                                case 3:
4713                                                        mes "The three of you may all move together for our cause. Please try to find another recruit to be your fourth member, invite him to your party and bring him to this place.";
4714                                                        close;
4715
4716                                                case 4:
4717                                                        mes "Ah, now there are four of you. However, we must continue to strengthen our ranks at a cautious pace. Please go and find one new recruit, and only one, to add to your party.";
4718                                                        close;
4719
4720                                                case 5:
4721                                                        mes "Now, there are five of you. Needless to say, we still require more manpower. Please go out and seek another new member for our cause. Remember, only add one more person to your party and return to me.";
4722                                                        close;
4723
4724                                                case 6:
4725                                                        mes "There are now six of you. So far, so good. Please go forth and find just one more person to add to your party and bring him to me so that we may recruit him.";
4726                                                        close;
4727
4728                                                case 7:
4729                                                        mes "Now, there are seven of you, but we still lack the manpower we need. Please go forth and seek out one, and only one, more person to add to your party and then return to me.";
4730                                                        close;
4731                                        }
4732                                }
4733                                mes "[Sun Mao]";
4734                                mes "Great work, you've brought another new comrade! Welcome! Please explain our goals and the righteousness of our cause to our new friend so that he may fully join us.";
4735                                next;
4736                                if(BaseLevel < 50)
4737                                {
4738                                        mes "[Sun Mao]";
4739                                        mes "It is almost time to take the action...";
4740                                        next;
4741                                        mes "[Sun Mao]";
4742                                        mes "I recognize your pledge to fight for us, but I fear that you are not yet ready for the task I have available for you.";
4743                                        next;
4744                                        mes "[Sun Mao]";
4745                                        mes "However, we still have time. Go out and train with the party members you have gathered to gain more experience.";
4746                                        next;
4747                                        mes "[Sun Mao]";
4748                                        mes "Together, all of you will be able to train faster than if you were to go train alone. Come back when you feel that you are ready for this task.";
4749                                        close;
4750                                }
4751                                mes "[Sun Mao]";
4752                                mes "At long last, there are eight of you. Now, I believe there is among manpower amongst you to carry out this mission. Please listen carefully.";
4753                                next;
4754                                mes "[Sun Mao]";
4755                                mes "The martial arts organizations of Louyang, as you may well know, have been divided between those that fight for justice, and those that serve evil purposes.";
4756                                next;
4757                                mes "[Sun Mao]";
4758                                mes "Recently, some of the evil organizations have conspired with corrupt government officials in the interest to expand their power.";
4759                                next;
4760                                mes "[Sun Mao]";
4761                                mes "These corrupt government officials have been suspicious of our gunpowder research and arrested our comrade, ^3355FFHao Chenryu^000000, our gunpowder expert, under the pretext of investigation.";
4762                                next;
4763                                mes "[Sun Mao]";
4764                                mes "Without him, we cannot continue the gunpowder research, or produce the gunpowder we'll need for our movement. We must contact him so that he may make gunpowder for us.";
4765                                next;
4766                                mes "[Sun Mao]";
4767                                mes "Unfortunately, many of us cannot contact him, as our identities are known to the officials. However, since you are new recruits, as well as Rune-Midgardians, they will not know how you are.";
4768                                next;
4769                                mes "[Sun Mao]";
4770                                mes "Your mission will be to deliver these chemicals to our comrade Hao Chenryu who is held captive by the government.";
4771                                next;
4772                                mes "[Sun Mao]";
4773                                mes "Since flammable chemicals are not allowed inside government offices, you must keep them well hidden. If the chemicals are equally divided among the eight of you, we might succeed!";
4774                                next;
4775                                set QL_REVOL,8;
4776                                getitem 7068,8;
4777                                getitem 7096,8;
4778                                getitem 7004,8;
4779                                mes "[Sun Mao]";
4780                                mes "There you go. Now, divide these materials equally among the eight of you. The eight of you must fully cooperate with each other, or our plan will fail. Understood?";
4781                                close;
4782
4783                        }
4784                        else if(@partymember < QL_REVOL +1)
4785                        {
4786                                mes "[Sun Mao]";
4787                                switch(QL_REVOL)
4788                                {
4789                                        case 1:
4790                                                mes "You made a party. Now, why don't you go recruit more followers? For now, just add one more person, lest we arouse the suspicion of our enemies.";
4791                                                close;
4792
4793                                        case 2:
4794                                                mes "Hmmm...";
4795                                                mes "Having trouble finding a third person to add to your party? It's important that you find someone that is trustworthy. Be careful and don't get caught!";
4796                                                close;
4797
4798                                        case 3:
4799                                                mes "Hmmm...";
4800                                                mes "Having trouble finding a forth person to add to your party? I understand that it's important that you find someone you can trust. Be careful and don't get caught!";
4801                                                close;
4802
4803                                        case 4:
4804                                                mes "Having trouble finding a fifth person to add to your party? I understand that it's important that you find someone you can trust. Be careful and don't get caught!";
4805                                                close;
4806
4807                                        case 5:
4808                                                mes "Having trouble finding a six person to add to your party? It's important that you find someone that is trustworthy. Be careful and don't get caught!";
4809                                                close;
4810
4811                                        case 6:
4812                                                mes "Having trouble finding a seventh person to add to your party? It's important that you find someone that is trustworthy. Be careful and don't get caught!";
4813                                                close;
4814
4815                                        case 7:
4816                                                mes "Hmmm...";
4817                                                mes "Having trouble finding an eighth person to add to your party? It's important that you find someone that is trustworthy. Be careful and don't get caught!";
4818                                                close;
4819                                }
4820                        }
4821                        else
4822                        {
4823                                mes "[Sun Mao]";
4824                                mes "Oh no! You've brought more than one more person to join us! We can't do any recruiting now, it will bring unnecessary attention to our activities!";
4825                                next;
4826                                mes "[Sun Mao]";
4827                                switch(QL_REVOL)
4828                                {
4829                                        case 1:
4830                                                mes "Please make sure that there is a total of two members in your party so that we can recruit your friend. I believe that will look natural.";
4831                                                close;
4832
4833                                        case 2:
4834                                                mes "At this stage in our plan, we cannot afford any unnecessary attention to our activities! Please make sure that there is a total of three members in your party so that we can recruit your friend.";
4835                                                close;
4836                                        case 3:
4837                                                mes "Please make sure that there is a total of four members in your party so that we can recruit your friend. I believe that will look natural.";
4838                                                close;
4839                                        case 4:
4840                                                mes "Please make sure that there is a total of five members in your party so that we can recruit your friend. I believe that will look natural.";
4841                                                close;
4842                                        case 5:
4843                                        case 6:
4844                                                mes "By this time, you should know that you should only bring one more person at a time. You know that it is crucial that we do not attract any undue attention before we can take action!";
4845                                                close;
4846                                        case 7:
4847                                                mes "At this stage in our plan, we cannot afford any unnecessary attention to our activities! Please make sure that there is a total of eight members in your party so that we can recruit your friend.";
4848                                                close;
4849                                }
4850                        }
4851                }
4852                else if(QL_REVOL == 8)
4853                {
4854                        if(@partymember == 8)
4855                        {
4856                                if(countitem(7204) > 7)
4857                                {
4858                                        mes "[Sun Mao]";
4859                                        mes "Welcome back! I see that the mission has been successfully accomplished! Great work, men!";
4860                                        next;
4861                                        mes "[Sun Mao]";
4862                                        mes "Finally, we have a weapon to mete out severe retribution to our enemies, the corrupt government officials and the evil martial arts organizations! I appreciate your help, comrades.";
4863                                        next;
4864                                        delitem 7204,countitem(7204);
4865                                        set ch_make,0;
4866                                        set QL_REVOL,9;
4867                                        getitem 668,8;
4868                                        mes "[Sun Mao]";
4869                                        mes "Please take these funds and share them with your party members. I hope that all of you will lend your power to our cause once again.";
4870                                        next;
4871                                        mes "[Sun Mao]";
4872                                        mes "Once again, I thank you for your help. Now, go in safety.";
4873                                        close;
4874                                }
4875                                mes "[Sun Mao]";
4876                                mes "Your mission is to take the materials I have given you and your party members, and to smuggle them to Hao Chenryu.";
4877                                next;
4878                                mes "[Sun Mao]";
4879                                mes "Hao Chenryu is currently held captive by corrupt members of the government. Remember to divide the materials equally among your party members so that the officials do find them.";
4880                                close;
4881                        }
4882                        mes "[Sun Mao]";
4883                        mes "Huh, where are all your members? Come back to me with all of your recruits.";
4884                        next;
4885                        mes "[Sun Mao]";
4886                        mes "Remember that you move together with your comrades. There isn't a traitor amongst you, is there?";
4887                        close;
4888                }
4889        }
4890        else
4891        {
4892                if(ch_make == 1)
4893                {
4894                        set ch_make,0;
4895                        mes "[Sun Mao]";
4896                        mes "Ah...";
4897                        mes "You have";
4898                        mes "returned!";
4899                        mes "Ha ha ha ha!";
4900                        next;
4901                        mes "[Sun Mao]";
4902                        mes "I would like to commend you and your comrades for your excellent performance in the last mission. Come back anytime if you wish to be assigned to another task for our cause.";
4903                        close;
4904                }
4905                mes "[Sun Mao]";
4906                mes "Remember that the authoritative center of the party is its leader. The party members must act as one in order to accomplish their goals.";
4907                close;
4908        }
4909}
4910
4911lou_in01,43,147,3       script  Gunpowder Expert        750,{
4912
4913        if(ch_make == 0)
4914        {
4915                getpartymember(getcharid(1));
4916                set @partymember,$@partymembercount;
4917                if(!QL_REVOL)
4918                {
4919                        mes "[Hao Chenryu]";
4920                        mes "Who...";
4921                        mes "Are you?";
4922                        next;
4923                        mes "[Hao Chenryu]";
4924                        mes "I only trust my comrades in the cause for Louyang, so leave me alone. Death before oppression! Freedom for Louyang!";
4925                        close;
4926                }
4927                else if(@partymember != 8)
4928                {
4929                        mes "[Hao Chenryu]";
4930                        mes "Mao told me that eight Rune-Midgardians";
4931                        mes "would be coming.";
4932                        mes "But what happened?";
4933                        mes "I'm confused...";
4934                        next;
4935                        mes "[Hao Chenryu]";
4936                        mes "Mao's plans are flawless,";
4937                        mes "so I'm sticking to the scenario he's drawn up. You're either improvising needlessly, or you're not really my comrade...";
4938                        close;
4939                }
4940                else if(countitem(7068) && countitem(7096) && countitem(7004))
4941                {
4942                        mes "[Hao Chenryu]";
4943                        mes "Ah, I see that Mao";
4944                        mes "has sent you. I'm sorry";
4945                        mes "for the trouble you've";
4946                        mes "gone through to smuggle";
4947                        mes "the chemicals to me, comrade.";
4948                        next;
4949                        mes "[Hao Chenryu]";
4950                        mes "Please give me";
4951                        mes "a minute so that";
4952                        mes "I may quickly make";
4953                        mes "the gunpowder.";
4954                        next;
4955                        switch( select( "Make Gunpowder.","Cancel." ) )
4956                        {
4957                                case 1:
4958                                        delitem 7068,1;
4959                                        delitem 7096,1;
4960                                        delitem 7004,1;
4961                                        mes "[Hao Chenryu]";
4962                                        mes "I don't want you to be caught if the soldiers inspect your goods. It will be better if one of you carry a Cart and hide the gunpowder in there.";
4963                                        set ch_make,1;
4964                                        getitem 7204,1;
4965                                        close;
4966
4967                                case 2:
4968                                        mes "[Hao Chenryu]";
4969                                        mes "Is...";
4970                                        mes "Something wrong?!";
4971                                        next;
4972                                        mes "[Hao Chenryu]";
4973                                        mes "I guess we must";
4974                                        mes "be extra careful,";
4975                                        mes "as there is much";
4976                                        mes "surveillance in";
4977                                        mes "this place.";
4978                                        close;
4979                        }
4980                }
4981                else
4982                {
4983                        mes "[Hao Chenryu]";
4984                        mes "Hmmm...";
4985                        mes "It seems like";
4986                        mes "you're one of us.";
4987                        next;
4988                        mes "[Hao Chenryu]";
4989                        mes "If you came for the";
4990                        mes "gunpowder, you should";
4991                        mes "get some chemcials";
4992                        mes "from your party leader.";
4993                        close;
4994                }
4995        }
4996        else if(countitem(7204))
4997        {
4998                mes "[Hao Chenryu]";
4999                mes "Be careful!";
5000                mes "It's easy for";
5001                mes "gunpowder to be";
5002                mes "found during the";
5003                mes "inspection process!";
5004                mes "Hide it well...!";
5005                close;
5006        }
5007        else
5008        {
5009                mes "[Hao Chenryu]";
5010                mes "I hope you bring the gunpowder to Mao safely. The next time you see him, please give him my thanks.";
5011                close;
5012        }
5013}
5014
5015lou_in01,45,138,3       script  Soldier#1       825,{
5016
5017        if(countitem(7204))
5018        {
5019                mes "[Soldier]";
5020                mes "Hold on there!";
5021                next;
5022                mes "[Soldier]";
5023                mes "You're not allowed to bring any gunpowder out of here. Now go";
5024                mes "and put it back, Rune-Midgardian! Move!";
5025                close;
5026        }
5027        mes "[Soldier]";
5028        mes "It's strange to see outsiders in this kind of place. We don't have any business with you,";
5029        mes "so move along.";
5030        close2;
5031        warp "lou_in01",82,141;
5032        end;
5033}
5034
5035lou_in01,82,139,7       script  Soldier#2       825,{
5036
5037        if(countitem(7068) || countitem(7096) || countitem(7004))
5038        {
5039                mes "[Soldier]";
5040                mes "I am sorry, but it is prohibited to enter with some of the products";
5041                mes "you are carrying. I cannot let you in.";
5042                close;
5043        }
5044        mes "[Soldier]";
5045        mes "There is nothing much, but if you wish to look around this room, please be my guest.";
5046        close2;
5047        warp "lou_in01",47,141;
5048        end;
5049}
Note: See TracBrowser for help on using the browser.