summaryrefslogtreecommitdiff
path: root/npc/quests/quests_louyang.txt
blob: a383d44000f373d4b58518fc0c565e0a0046615f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
//===== eAthena Script ======================================= 
//= Quest NPCs related to Louyang
//===== By: ================================================== 
//= Evera and The eAthena Dev Team
//===== Current Version: ===================================== 
//= 1.3
//===== Compatible With: ===================================== 
//= eAthena 1.0
//===== Description: ========================================= 
//= Soup Quest, Tool Master Quest, Doctor Quest,
//= Poison King  Quest
//===== Additional Comments: ================================= 
//= 1.0 Initial Release [Evera]
//= 1.1 Fixed double levelup bug [Lupus]
//= 1.2 Added Revolution Quest. [SinSloth]
//= 1.3 Fixed experience gains to match upcoming rate adjustments. [SinSloth]
//============================================================ 

//============================================================
//== Soup Quest
//============================================================

lou_fild01,195,177,4	script	Jiu Lian Bu#01	819,{
	if(QL_SOUP2) goto L_DONE;
	if(QL_SOUPQUEST)goto L_WHERE;
	if(QL_GOTFAKESOUP) goto L_FAKE;
	if(QL_GOTDRAGONSOUP) goto L_SOUP;
	if(QL_ACCEPTSOUP) goto L_GORESTA;
	mes "[Jiu Lian Bu]";
	mes "Hey~";
	mes "What's up?";
	next;
	mes "[Jiu Lian Bu]";
	mes "I don't like hanging around too many people, so I came here. Listening to this strean really puts my mind to ease.";
	next;
	mes "[Jiu Lian Bu]";
	mes "No offense, but I'm upset";
	mes "at the sheer number of tourists coming over to Louyang";
	mes "Sure, I can understand that our town is attractive and has beautiful sights.";
	next;
	mes "[Jiu Lian Bu]";
	mes "But I just can't stand crowds of people. People gather like sheep to any place they hear is popular, and that really bugs me!";
	next;
	mes "[Jiu Lian Bu]";
	mes "Speaking of which, there's even";
	mes "a place in Louyang that's just like";
	mes "that. Man, I hate that restaurant!";
	next;
	menu "What restaurant?",-,"Ignore him.",M_IGNORE;

	mes "[Jiu Lian Bu]";
	mes "In the east side of Louyang, there's a restaurant built on a pond. It's been around for a long time, selling food for ridiculous prices!";
	next;
	mes "[Jiu Lian Bu]";
	mes "Oh sure, the food and flavors";
	mes "there have a long history, but I";
	mes "don't think that justifies how they";
	mes "charge their patrons!";
	next;
	mes "[Jiu Lian Bu]";
	mes "As a young man";
	mes "who loves his town,";
	mes "I can't let them manipulate my";
	mes "people like that!";
	next;
	mes "[Jiu Lian Bu]";
	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.";
	next;
	mes "[Jiu Lian Bu]";
	mes "I've been caught for tagging walls, shoplifting, camming, stealing a few girlfriends... So yeah, I'm not exactly known as a sterling citizen.";
	next;
	mes "[Jiu Lian Bu]";
	mes "Say, wait a minute. The local";
	mes "people around here aren't too";
	mes "familiar with you. Hmmm...";
	next;
	mes "[Jiu Lian Bu]";
	mes "Would you sneak into that restaurant and steal the ^3131FFDragon Soup Broth^000000 for me?";
	next;
	mes "[Jiu Lian Bu]";
	mes "The Dragon Soup Broth is the";
	mes "backbone for the restaurant";
	mes "owner's secret recipe.";
	next;
	mes "[Jiu Lian Bu]";
	mes "But they've been cheating their";
	mes "customers by watering that broth";
	mes "down and selling it for a";
	mes "ridiculous price! Serves them right";
	mes "if their secrets were stolen!";
	next;
	mes "[Jiu Lian Bu]";
	mes "If you can steal some of the broth,";
	mes "I'll pay you back. Whaddaya say?";
	next;
	menu "I'll do it!",-,"No, stealing is wrong.",M_NO;

	mes "[Jiu Lian Bu]";
	mes "Great!";
	mes "I knew you'd";
	mes "see things my way!";
	next;
	mes "[Jiu Lian Bu]";
	mes "Okay, the restaurant is at the East side of Louyang. But you got to be careful. The workers there watch over that broth like freakin' hawks!";
	set QL_ACCEPTSOUP,1;
	close;

M_NO:
	mes "[Jiu Lian Bu]";
	mes "Stealing?";
	mes "You may have";
	mes "a point there.";
	next;
	mes "[Jiu Lian Bu]";
	mes "But then, that restaurant has been doing that to their customers for years! So, technically. we'd just be stealing back.";
	close;	

M_IGNORE:
	mes "[Jiu Lian Bu]";
	mes "That join isn't even that great. I mean, it's so obvious that they rip off their customers! Dragon Soup?! More like... Dragon Crap Soup!";
	close;

L_GORESTA:
	mes "[Jiu Lian Bu]";
	mes "Huh...?";
	mes "Whoa, I thought you were on you way to the restaurant. You better get a move on.";
	next;
	mes "[Jiu Lian Bu]";
	mes "Alright then, pal. Make sure the";
	mes "guys who work there don't catch you. Good luck~";
	close;

L_FAKE:
	mes "[Jiu Lian Bu]";
	mes "Wow! You made it!";
	mes "Let me see...";
	next;
	mes "^445BA7Jiu Lian Bu takes a hearty sip of the broth you've managed to steal for him.";
	next;
	mes "[Jiu Lian Bu]";
	mes "Ohhhh man....";
	mes "This is so not Dragon Soup Broth. Sorry, but would you go and try to get it again?";
	set QL_GOTFAKESOUP,0;
	close;

L_SOUP:
	mes "[Jiu Lian Bu]";
	mes "Wow! You made it!";
	mes "Let me see...";
	next;
	mes "^445BA7Jiu Lian Bu takes a hearty sip of the broth you've managed to steal for him.";
	next;	
	mes "Ooooh. Ooh yeah.";
	mes "This is the stuff.";
	mes "Muhahahahahaha~!";
	mes "This'll put the chef";
	mes "in agony for a while!";
	next;
	set QL_GOTDRAGONSOUP,0;
	set QL_ACCEPTSOUP,0;
	set QL_SOUPQUEST,1;
	mes "[Jiu Lian Bu]";
	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~";
	close2;
	warp "lou_fild01",180,171;
	end;

L_DONE:
	mes "[Jiu Lian Bu]";
	mes "Hey~";
	mes "So how ya been, ya smooth criminal?";
	mes "You want to visit that place again?";
	next;
	menu "Sure, let's go~",-,"Nah, maybe next time.",M_NAH;

	mes "[Jiu Lian Bu]";
	mes "Alright~";
	mes "Let's get";
	mes "a groove on.";
	close2;
	warp "lou_fild01",180,171;
	end;

M_NAH:
	next;
	mes "[Jiu Lian Bu]";
	mes "Not in the mood, eh?";
	mes "No prob. But feel free";
	mes "to come see me whenever";
	mes "you want.";
	close;
L_WHERE:
	mes "[Jiu Lian Bu]";
	mes "Hey where did you go?";
	mes "Come up again and I'll";
	mes "give you your reward.";
	close2;
	warp "lou_fild01",180,171;
	end;
}

lou_fild01,175,174,4	script	Jiu Lian Bu#02	819,{
	if(QL_SOUPQUEST < 1) goto L_DOQUEST;
	if(QL_SOUP2 < 1) goto L_1STTIME;
	mes "[Jiu Lian Bu]";
	mes "So...";
	mes "Whaddya want to do?";
	emotion e_heh;
	next;
	menu "Shout.",-,"Leave.",M_LEAVE;

	mes "[Jiu Lian Bu]";
	mes "Ready~!";
	mes "Say it out loud!";
	next;
	input @loushout$;
	mapannounce "lou_fild01","'" + strcharinfo(0) + "' shouts: " + @loushout$ ,1,0x9CFF00;
	mes "[" + strcharinfo(0) + "]";
	mes @loushout$;
	close;
	
M_LEAVE:
	mes "[Jiu Lian Bu]";
	mes "Ahhh...";
	mes "Alright, let's";	
	mes "get a groove on.";
	close2;
	warp "lou_fild01",197,174;
	end;

L_DOQUEST:
	mes "[Jiu Lian Bu]";
	mes "Who are you?";
	mes "Get off my turf!";
	close2;
	warp "lou_fild01",197,174;
	end;

L_1STTIME:
	mes "[Jiu Lian Bu]";
	mes "So...";
	mes "Whaddya think?";
	mes "Prettiest place in Louyang, isn't it?";
	next;
	mes "[Jiu Lian Bu]";
	mes "Whenever I'm depressed or need to relax, I just sit here and enjoy the breeze. It helps me forget all my worries.";
	next;
	mes "[Jiu Lian Bu]";
	mes "Heh heh, the best part is, this place is far away from my older siste. Man, that woman can nag, nag, nag, all day long.";
	next;
	mes "[Jiu Lian Bu]";
	mes "Why don't you sit down and close your eyes, and feel that soothing wind. It's pretty refreshing";
	next;
	mes "[Jiu Lian Bu]";
	mes "Also...";
	mes "I'm a little";
	mes "embarrassed to";
	mes "say this but...";
	next;
	mes "[Jiu Lian Bu]";
	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.";
	next;
	mes "[Jiu Lian Bu]";
	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.";
	next;
	mes "[Jiu Lian Bu]";
	mes "So..";
	mes "This is what you do.";
	mes "Clench your first, take";
	mes "a deep breath.";
	next;
	mes "[Jiu Lian Bu]";
	mes "And just yell";
	mes "Whatever you want!";
	mes "If you don't know";
	mes "the words, just";
	mes "screaming will do.";
	mes "Let everything out!";
	next;
	mes "[Jiu Lian Bu]";
	mes "Ready~!";
	mes "Say it out loud!";
	next;
	input @loushout$;
	mapannounce "lou_fild01","'" + strcharinfo(0) + "' shouts: " + @loushout$ ,1,0x9CFF00;
	mes "[" + strcharinfo(0) + "]";
	mes @loushout$;
	set QL_SOUP2,1;
	next;
	mes "[Jiu Lian Bu]";
	mes "So, how do you feel?";
	mes "Don't you feel better now? Hahaha~";
	next;
	mes "[Jiu Lian Bu]";
	mes "So from now on, whenever you";
	mes "want to relieve yourself of stress,";
	mes "come see me and we'll come back to";
	mes "this place. Call it my way of";
	mes "saying thanks.";
	close;	
}

lou_in02,61,175,2	script	Employee#01	818,2,2{
	mes "[Ya Hua]";
	mes "^6A6A6A*Yawn...*";
	close;

OnTouch:
	if(QL_GOTDRAGONSOUP == 1 || QL_GOTFAKESOUP == 1) goto S_CAUGHT;
	end;

S_CAUGHT:
	mes "[Ya Hua]";
	mes "^6A6A6A*Yawn...*";
	mes "^000000Eyelids...";
	mes "Getting...";
	mes "Heavier...";
	next;
	mes "[Ya Hua]";
	mes "Wait a sec...";
	mes "Are you a thief?!";
	mes "Get out of here!!";
	if(QL_GOTFAKESOUP == 1) set QL_GOTFAKESOUP,0;
	if(QL_GOTDRAGONSOUP == 1) set QL_GOTDRAGONSOUP,0;
	next;
	mes "^3131FFYou have failed";
	mes "^3131FFto steal the pot.";
	close;
}

lou_in02,54,174,6	script	Employee#02	822,{
	mes "[Chang Pai]";
	mes "^6A6A6A*Yawn...*";
	close;
}

lou_in02,50,185,4	script	Pot#01	111,{
	if(QL_SOUPQUEST == 1) goto L_EMPTY;
	if(QL_ACCEPTSOUP < 1) goto L_NORMAL;
	mes "^3131FFBeneath the shadows, you find a large pot filled with dark, red liquid. What do you want to do?";
	next;
	menu "Take the pot.",-,"Look for another pot.",M_LOOK;

	if (QL_GOTDRAGONSOUP == 1) set QL_GOTDRAGONSOUP,0;
	mes "^3131FFYou take a careful look around. It wouldn't be wise to steal this now if anyone is watching.";
	next;
	mes "^3131FFSince the restaurant is closed, the whole place is completely quiet. The employees are all asleep.";
	next;
	mes "^3131FFYou carefully lift the pot, and although it's heavy, you think you can carry it.";
	next;
	mes "^3131FFAll you have";
	mes "^3131FFto do now is get";
	mes "^3131FFaway from this restaurant";
	mes "^3131FFwithout getting caught...";
	set QL_GOTFAKESOUP,1;
	close;

M_LOOK:
	mes "^3131FFYou decide to";
	mes "look for another pot.";
	close;

L_NORMAL:
	mes "[Chef]";
	mes "Ah...";
	mes "Please, do not";
	mes "touch the pots!";
	close;

L_EMPTY:
	mes "^3131FFYou found a pot, however it's empty.";
	close;
}

lou_in02,49,185,4	script	Pot#02	111,{
	if(QL_SOUPQUEST == 1) goto L_EMPTY;
	if(QL_ACCEPTSOUP < 1) goto L_NORMAL;
	mes "^3131FFBeneath the shadows, you find a large pot filled with dark, red liquid. What do you want to do?";
	next;
	menu "Take the pot.",-,"Look for another pot.",M_LOOK;

	if (QL_GOTFAKESOUP == 1) set QL_GOTFAKESOUP,0;
	mes "^3131FFYou take a careful look around. It wouldn't be wise to steal this now if anyone is watching.";
	next;
	mes "^3131FFSince the restaurant is closed, the whole place is completely quiet. The employees are all asleep.";
	next;
	mes "^3131FFYou carefully lift the pot, and although it's heavy, you think you can carry it.";
	next;
	mes "^3131FFAll you have";
	mes "^3131FFto do now is get";
	mes "^3131FFaway from this restaurant";
	mes "^3131FFwithout getting caught...";
	set QL_GOTDRAGONSOUP,1;
	close;

M_LOOK:
	mes "^3131FFYou decide to";
	mes "look for another pot.";
	close;

L_NORMAL:
	mes "[Chef]";
	mes "Ah...";
	mes "Please, do not";
	mes "touch the pots!";
	close;

L_EMPTY:
	mes "^3131FFYou found an empty pot.";
	close;
}

lou_in02,62,183,4	script	Chef	820,{
	if(QL_SOUPQUEST == 1) goto L_FINISHED;
	mes "[Wang Shi Long]";
	mes "Hello, are you";
	mes "one of our customers?";
	mes "I am Wang Shi Long";
	mes "the chef of this restaurant.";
	next;
	mes "[Wang Shi Long]";
	mes "My family has server food";
	mes "to Lord Bai Long for a long time.";
	mes "This restaurant has been handed";
	mes "down the family line, and I am the successor~";
	next;
	mes "[Wang Shi Long]";
	mes "Our specialty, Dragon Soup,";
	mes "won especially high praise from";
	mes "Lord Bai Long, who is known for";
	mes "his extremely discerning sense of taste.";
	next;
	mes "[Wang Shi Long]";
	mes "I'm also proud to say that we cook";
	mes "with only the freshest and highest";
	mes "quality ingredients.";	
	next;	
	mes "[Wang Shi Long]";
	mes "We've always been popular in";
	mes "Louyang for hundreds and hundreds";
	mes "of years because of our high";
	mes "quality gourmet cuisine.";
	next;
	mes "[Wang Shi Long]";
	mes "In this dry and hot weather,";
	mes "Dragon Soup is the best food for";
	mes "any appetite. I suggest that you";
	mes "try a bowl. You'll be quite";
	mes "pleased!";
	close;

L_FINISHED:
	mes "[Wang Shi Long]";
	mes "^6A6A6A*Moans and Cries*^000000";
	mes "I guess this is it...!";
	mes "The end of my family's glory.";
	mes "Someone stole the base broth";
	mes "of my Dragon Soup!";
	next;
	mes "[Wang Shi Long]";
	mes "What should I do, now?";
	mes "Without Dragon Soup, my family's";
	mes "restaurant will now just be like";
	mes "all the others...";
	close;
}

lou_in02,42,186,4	script	Liu Jia Lim	816,{
	if(QL_SOUPQUEST == 1) goto L_FINISHED;
	mes "[Liu Jia Lim]";
	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";
	next;
	mes "[Liu Jia Lim]";
	mes "It's delicate taste comes from a broth extracted from pure meat that doesn't contain any fat. So it's also a very popular diet food for the ladies.";
	next;
	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!";
	close;

L_FINISHED:
	mes "[Liu Jia Lim]";
	mes "Do you know what was this restaurant's best dish throughout all of its history? Dragon Soup!";
	next;
	mes "[Liu Jia Lim]";
	mes "It's delicate taste comes from a broth extracted from pure meat that doesn't contain any fat. So it's also a very popular diet food for the ladies.";
	next;
	mes "[Liu Jia Lim]";
	mes "I'm not sure what happened, but people say this restaurant no longer sells Dragon Soup.";
	mes "Was it because of the price...?";
	close;
}

lou_in02,80,173,2	script	Li Min	746,{
	if(QL_SOUPQUEST == 1) goto L_FINISHED;
	mes "[Li Min]";
	mes "Well, I don't really";
	mes "live here in Louyang.";
	mes "Still, I come here often";
	mes "enough to visit.";
	next;
	mes "[Li Min]";
	mes "I just returned";
	mes "because I've got";
	mes "a huge craving for the";
	mes "food I tasted here";
	mes "a while ago.";
	next;
	mes "[Li Min]";
	mes "For some reason, I can't forget it.";
	mes "I can't get it out of my mind!";
	next;
	mes "[Li Min]";
	mes "The taste, the texture.";
	mes "The sweetness, melting down into my";
	mes "mouth, and it's tempting scent";
	mes "lingering on my lips...";
	next;
	mes "[Li Min]";
	mes "Ummmmm...";
	mes "Royal Jelly!";
	mes "It makes my";
	mes "mouth water~";
	close;

L_FINISHED:
	mes "[Li Min]";
	mes "^6A6A6A*Sigh*^000000 I am so disappointed. I came";
	mes "all the way down here to taste the";
	mes "food! I can't believe they don't";
	mes "sell it anymore!";
	next;
	mes "[Li Min]";
	mes "The worst part is that I'm already";
	mes "addicted to the taste! ^6A6A6A*Sob...*^000000";
	close;
}

louyang,174,150,4	script	Liu Chi Ling	815,{
	if(QL_SOUPQUEST == 1) goto L_RUMOR;
	mes "[Jiu Chi Ling]";
	mes "I'm worried about my brother.";
	mes "He's young, rebellious and doesn't";
	mes "listen to anybody...";
	next;
	mes "[Jiu Chi Ling]";
	mes "He just left the";
	mes "house while he was";
	mes "complaining about";
	mes "that restaurant...";
	next;
	mes "[Jiu Chi Ling]";
	mes "^6A6A6A*Sigh~~*^000000";
	mes "I'm not going to let him get";
	mes "away this time!";
	close;

L_RUMOR:
	mes "[Jiu Chi Ling]";
	mes "There's a strange rumor going";
	mes "around that the restaurant is no";
	mes "longer selling Dragon Soup...";
	next;
	mes "[Jiu Chi Ling]";
	mes "Do you think";
	mes "my brother did";
	mes "something bad again!?";
	mes "I hope not! If he did...";
	mes "What am I supposed to do?!";
	close;
}


//============================================================
//================================================ Tool Master
//====================================================== Quest
lou_in02,210,47,8	script	City Hall Officer	825,{
	if(QL_GOTCOMPROP == 1)goto L_BEENTOHIM;
	if(QL_LOUBRIBE == 1)goto L_OFFICER;
	if(QL_BEENTOSTORAGE == 1)goto L_QUEST;
	mes "[Jin Chiyuan]";
	mes "^6A6A6A*Yawn~*^000000";
	mes "Gosh, this hot weather is such a pain. Oh? You look like a tourist. Are you enjoying your stay?";
	next;
	mes "[Jin Chiyuan]";
	mes "Although we've been having bad weather recently, there are many good places to visit in Louyang. I hope you have a good time.";
	close;	

L_QUEST:
	mes "[Jin Chiyuan]";
	mes "Hm? A Rune-Midgardian? Now, how may I help you?";
	next;
	menu "I need a document.",-,"I just dropped by",M_DROP;

	mes "[Jin Chiyuan]";
	mes "Ah, you do?";
	mes "Unfortunately, there are many people waiting in line to procure goverment forms, so it will take a while to handle your request.";
	next;
	mes "[Jin Chiyuan]";
	mes "^6A6A6A*whispers*";
	mes "^2A2A2AWell, there is a way that you can, shall we say, expedite our processing of your request...^000000";
	next;
	menu "Huh? Come again?",-,"A little zeny to cut the red tape, eh?",M_BRIBE;

	mes "[Jin Chiyuan]";
	mes "^6A6A6A*Ahem!*^000000 Nothing.";
	mes "Nothing of importance. Now, I'm very busy, so if you would go fill the application over there...";
	close;

M_BRIBE:
	input @loubribe;
	if(@loubribe < 10000)goto L_POOR;
	if(zeny < @loubribe)goto L_NOTENOUGH;
	set Zeny, Zeny - @loubribe;
	set QL_LOUBRIBE,1;
	mes "[Jin Chiyuan]";
	mes "What...?!";
	mes "That's not what I meant, but if you insist on donating to our government...";
	next;
	mes "[Jin Chiyuan]";	
	mes "^6A6A6A*Whispers*";
	mes "^2A2A2AWhen you go upstairs, another officer will give you the document you want.^6A6A6A *Ahem* ^000000Louyang thanks you!";
	close;

L_POOR:
	mes "[Jin Chiyuan]";
	mes "Good lord,";
	mes "What are you thinking? What am I, a beggar?! That's a poor excuse for a bribe!";
	next;
	emotion e_pif;
	mes "[Jin Chiyuan]";
	mes "I mean...";
	mes "How dare you bribe an officer of the law! I hope other outsiders are not like you! Please leave immediately.";
	close;

M_DROP:
	mes "[Jin Chiyuan]";
	mes "Oh well...";
	mes "Let me tell you that this is not a good time for tourists. I hope you don't wander into places you're not supposed to be.";
	next;
	mes "[Jin Chiyuan]";
	mes "Quite frankly,";
	mes "it's a dangerous climate for curiosity right now. Please, be careful.";
	close;

L_NOTENOUGH:
	mes "[Jin Chiyuan]";
	mes "You don't even have that much money.";
	close;

L_OFFICER:
	mes "[Jin Chiyuan]";
	mes "Haven't you met the officer I told you about? I've contacted him about the matter, so you may meet him upstairs.";
	next;
	mes "[Jin Chiyuan]";
	mes "Hahahaha...";
	mes "Take care,";
	mes "Rune-Midgardian.";
	close;

L_BEENTOHIM:
	emotion e_heh;
	mes "[Jin Chiyuan]";
	mes "Ah~";
	mes "You met him,";
	mes "didn't you?";
	mes "Hahaha...";
	mes "Enjoy your stay";
	mes "in Louyang!";
	close;
}

lou_in02,156,38,8	script	Studying Officer	822,{
	if(QL_GOTCOMPROP == 1)goto L_RANT2;
	if(QL_LOUBRIBE == 1)goto L_BRIBED;
	if(QL_BEENTOSTORAGE == 1)goto L_RANT;
	mes "[Huang Zhishu]";
	mes ".....";
	mes "^6A6A6A*Mumble mumble*^000000";
	next;
	mes "^3131FFHe appears to be rummaging around for some documents and takes no notice of you.";
	next;
	menu "Excuse me.",-,"Pass him.",M_PASS;
	
	mes "[Huang Zhishu]";
	mes "Hmmm...?";
	mes "Well...";
	mes "...";
	mes "I see...";
	mes "^6A6A6A*Mumble mumble...*^000000";
	close;

M_PASS:
	mes "[Huang Zhishu]";
	mes ".....";
	mes "^6A6A6A*Mumble mumble*^000000";
	close;

L_RANT:
	mes "[Huang Zhishu]";
	mes "Books contain the spirit and ideas of their authors. Any work of are can be considered a window into the soul of its creator.";
	next;
	mes "[Huang Zhishu]";
	mes "^6A6A6A*Mumble mumble...*^000000";
	mes "Hmm... I see...";
	mes "Ah, I see....";
	mes "^6A6A6A*Mumble mumble...*^000000";
	close;

L_BRIBED:
	mes "^3131FF*Rummage rummage...*^000000";
	next;
	menu "Sorry about that.",-,"I came to pick up my documents.",L_DOCU;

	mes "[Huang Zhishu]";
	mes "Apology accepted.";
	mes "Hmmm....";
	mes "Oh I see, I see...";
	next;
	emotion e_gasp;
	mes "^3131FF*Rummage rummage...*";
	mes "^3131FF..........";
	close;	

L_DOCU:
	mes "[Huang Zhishu]";
	mes "Huh?";
	mes "Ah...";
	mes "You're the one I'm waiting for. So what kind of document did you need?";
	input @loudocument$;
	next;
	mes "[Huang Zhishu]";
	mes "Let's see now.";
	mes "You want..";
	mes "a " + @loudocument$ + "?";
	next;
	if(@loudocument$ != "Communication Proposal")goto L_WHAT;
	mes "[Huang Zhishu]";
	mes "Now where did I put that? You want a Communication Proposal, huh? I think I'll need some time to find it. Ah, right. I think I know where I put that.";
	next;
	mes "...";
	next;
	mes "...";
	mes "......";
	next;
	mes "...";
	mes "......";
	mes ".........";
	next;
	mes "...";
	mes "......";
	mes ".........";
	mes "............";
	next;
	mes "...";
	mes "......";
	mes ".........";
	mes "............";
	mes "...............";
	next;
	mes "[Huang Zhishu]";
	mes "Here it is. Someone asked me for the same document a few days ago so I was able to find it again pretty easily. I hope it's useful to you.";			
	set QL_GOTCOMPROP,1;
	set QL_LOUBRIBE,0;
	set QL_BEENTOSTORAGE,0;
	close;

L_WHAT:
	mes "[Huang Zhishu]";
	mes "Huh?";
	mes "Wha...";
	next;
	mes "[Huang Zhishu]";
	mes "I'm sorry but I don't think we have that one. You might want to check the name of the document once more, and then come back to me.";
	close;

L_RANT2:
	emotion e_ok;
	mes "[Huang Zhishu]";
	mes "Hmmm...?";
	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.";
	mes "^6A6A6A*Yawn...*^000000";
	next;
	mes "[Huang Zhishu]";
	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, it could affect your health later.";
	close;
}

lou_in02,248,166,2	script	Tool Shop Master	824,{
	if(QL_GOTHERB == 1)goto L_HERB;
	if(QL_TOOLMASTER == 1)goto L_STORAGE;
	if(QL_DOCQUEST == 1)goto L_QUEST;
L_HERB:
	mes "[Wang Chuiyi]";
	mes "My business hasn't been doing well recently. And what is wrong with this weather? I don't know what's going on with the world...";
	close;

L_QUEST:
	mes "[Wang Chuiyi]";
	mes "Darn it!";
	mes "I hate this";
	mes "weather...!";
	next;
	emotion e_what;
	mes "[Wang Chuiyi]";
	mes "Um? Can I help";
	mes "you with anything?";
	next;
	menu "I'm here to get something for the doctor...",-,"I agree, the weather really is bad.",M_WEATHER;

	mes "[Wang Chuiyi]";
	mes "Huh?";
	mes "An errand for the doctor? She must have run out of medicine again. Go ahead and check the storage.";
	next;
	mes "[Wang Chuiyi]";
	mes "You can find the storage on 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.";
	set QL_TOOLMASTER,1;
	close;

M_WEATHER:
	mes "[Wang Chuiyi]";
	mes "Tell me about it. This weather keeps stressing me out. Damn, I don't think I'll live very long if I keep getting aggravated like this by the weather...";
	close;

L_STORAGE:
	mes "[Wang Chuiyi]";
	mes "You can find the storage on 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.";
	close;
}

lou_in02,201,166,5	script	Storage Keeper	819,{
	if(QL_GOTCOMPROP == 1)goto L_FINALLY;
	if(QL_BEENTOSTORAGE == 1)goto L_LAZY;
	if(QL_TOOLMASTER == 1)goto L_QUEST;
	mes "[Jiang Xiayou]";
	mes "^6A6A6A*Yawn...*^000000";
	mes "This is boring...";
	mes "So boring, it's ridiculous. I don't want to waste any more time here, I've got important things to do...";
	close;

L_QUEST:
	mes "[Jiang Xiayou]";
	mes "Huh?";
	mes "What, what are you doing here? If you don't need anything, you better get a move on.";
	next;
	menu "Sorry about that.",-,"It's hot isn't it?",M_HOT,"I'm on an errand for the doctor.",M_ERRAND;

	mes "[Jiang Xiayou]";
	mes "That's right!";
	mes "You don't mess with a person in this hot weather! Now, go away. Can't you see I'm busy!";
	close;

M_HOT:
	mes "[Jiang Xiayou]";
	mes "You don't have to ask me that. I can feel if for myself! Now, I got a bunch of things to take care of, so quit bugging me. Damn, it's hot!";
	close;

M_ERRAND:
	mes "[Jiang Xiayou]";
	emotion e_gasp;
	mes "Oh yeah?";
	mes "Well, why didn't you say so? Let's see.";
	mes "Hmmm...";
	next;
	mes "[Jiang Xiayou]";
	mes "Actually, could you help me out first? Don't worry, it's not so hard but it's pretty important for me. Once you help me out, I'll get what you need.";
	next;
	menu "Um, what is it?",-,"Sorry, I'm busy.",L_BUSY;

	mes "[Jiang Xiayou]";
	mes "Cool, thanks. I have to go get some official documents from City Hall, but I can't leave this storage area since no one can take over my shift.";
	next;
	mes "[Jiang Xiayou]";
	mes "So I want you to go get the documents from City Hall for me. I don't think it'll take much of your time.";
	next;
	mes "[Jiang Xiayou]";
	mes "Just go east from here and look for the building that looks sort of like it was made in gauge form. That's City Hall.";
	next;
	mes "[Jiang Xiayou]";
	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.";
	next;
	mes "[Jiang Xiayou]";
	mes "Oh, I almost forgot.";
	mes "You have to ask for a specific type of document, so let me tell you right now.";
	next;
	mes "[Jiang Xiayou]";	
	mes "This is important,";
	mes "so don't forget this.";
	mes "When the guy asks what you need, you tell him: '^FF0000Communication Proposal^000000' Just like that?";
	next;
	mes "[Jiang Xiayou]";
	mes "If you don't specify the documents you need, they won't give you anything. So be careful and don't forget!";
	set QL_BEENTOSTORAGE,1;
	close;

L_BUSY:
	mes "[Jiang Xiayou]";
	mes "Bah~!";
	mes "Forget it, then!";
	next;
	mes "[Jiang Xiayou]";
	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?";
	close;

L_LAZY:
	mes "[Jiang Xiayou]";
	mes "Huh?";
	mes "Haven't you gone to City Hall yet?";
	mes "What a lazy ass";
	next;
	mes "[Jiang Xiayou]";
	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?";
	next;
	mes "[Jiang Xiayou]";
	mes "I guess you're";
	mes "the forgetful type...";
	mes "When the guy asks what you need, you tell him:";
	mes "'^FF0000Communication Proposal^000000'.";
	next;
	mes "[Jiang Xiayou]";
	mes "Just like that.";
	mes "Now, go to it, tiger.";
	close;

L_FINALLY:
	mes "[Jiang Xiayou]";
	mes "You finally brought it! Haha, I just got everything you need, too. Let me see...";
	mes "Yup this is it!";
	mes "Good, good...";
	next;
	mes "^3131FF*Rummage rummage...*";
	mes "^3131FF......";
	next;
	menu "Excuse me.",-;
	mes "[Jiang Xiayou]";
	mes "Huh?";
	mes "Ah....";
	mes "Haha...";
	mes "Sorry about";
	mes "that. Hahaha~";
	next;
	getitem	7252,1; //Herbal Medicine
	mes "[Jiang Xiayou]";
	mes "Ah! Here you go. Even if it was kind of annoying to do, I guess we gotta help each other, right? Alright then, I'll see ya around.";
	set QL_GOTHERB,1;
	set QL_BEENTOSTORAGE,0;
	set QL_GOTCOMPROP,0;
	set QL_TOOLMASTER,0;
	close;
}


//============================================================
//===================================================== Doctor
//====================================================== Quest
lou_in02,265,69,4	script	Doctor	814,{
	if(QL_DOCQUEST == 1) goto L_MED;
	if(QL_DOCQUEST == 2) goto L_RANT;
	if(QL_DOCQUEST == 3) goto L_CHECKITM;
	if(QL_DOC1STTIME == 1) goto L_QUEST;
	mes "[Hua Tuo]";
	mes "There are many pressure points on the human body. Ever since ancient times, it has been believed that each pressure point was limited to its role and functions.";
	next;
	mes "[Hua Tuo]";
	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, can produce different results.";
	next;
	mes "[Hua Tuo]";
	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 time of day.";
	next;
	mes "[Hua Tuo]";
	mes "For instance, the pressure point located on the upper side of the navel is the most vulnerable point.";
	next;
	mes "[Hua Tuo]";
	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.";
	set QL_DOC1STTIME,1;
	close;
				
L_QUEST:
	mes "[Hua Tuo]";
	mes "Hmmm...";
	mes "I'm in trouble";
	next;
	emotion e_swt2;
	mes "[Hua Tuo]";
	mes "I cannot do anything without my medicine. But one of my patients needs immediate treatment and I can't leave the office...";
	next;
	menu "I can help you",-,"What a shame!",M_SHAME;

	mes "[Hua Tuo]";
	mes "Huh...?";
	mes "Are...";
	mes "Are you serious?";
	next;
	mes "[Hua Tuo]";
	mes "This won't take much effort, but it may be too much to ask of you, especially since we have just met.";
	next;
	menu "If you feel burdened...",-,"I don't mind, I'd be glad to help.",M_HELP2;

	mes "[Hua Tuo]";
	mes "Thank you so";
	mes "much for saying that.";
	mes "I feel very uncomfortable asking a favor of someone I have only just met.";
	next;
	emotion e_thx;
	mes "[Hua Tuo]";
	mes "However, I will ask you if we meet another time. Now, if you'll excuse me...";
	close;

M_HELP2:
	mes "[Hua Tuo]";
	mes "Hmm, I see.";
	mes "Well then, let me";
	mes "ask a favor of you.";
	next;
	mes "[Hua Tuo]";
	mes "As you heard earlier, I need a special medicine to treat this patient. However, I'm running out of the medicine I need.";
	next;
	mes "[Hua Tuo]";
	mes "I will need you to get it for me since I cannot leave the patients that are waiting for me right now.";
	next;
	mes "[Hua Tuo]";
	mes "^6A6A6A*Sigh*^000000";
	mes "Misfortunes always seem to occur one after another, don't they? My staff is currently too busy doing other errands.";
	next;
	mes "[Hua Tuo]";		
	mes "Please visit the";
	mes "Tool Shop in town and bring me the medicine that I need. Master will understand if you tell him you've been sent by me.";
	next;
	mes "[Hua Tuo]";
	mes "I am sorry for causing you so much trouble, but if you'll excuse me, I have other patients waiting. Please hurry back with the medicine!";
	set QL_DOCQUEST,1;
	close;

M_SHAME:
	mes "[Hua Tuo]";
	mes "^6A6A6A*Sigh*^000000 For some reason, I never seem to have enough in stock. Is there no one I can ask to help me?";
	close;

L_MED:
	if(countitem(7252) == 0)goto L_NOMED;
	delitem 7252,1; //Herbal Medicine
	mes "[Hua Tuo]";
	mes "Ah, finally...";
	mes "You've brought what I need. Thank you so much, it's such a relief to have this medicine on hand again.";
	next;
	mes "[Hua Tuo]";
	mes "I apologize in advance, but may I ask you for another favor? I am asking for your help once, since I know I can depend on you. Of course, I will compensate you for your trouble.";
	next;
	menu "I'm sorry...",L_DONE,"No problem.",-;

	mes "[Hua Tuo]";
	mes "Thank you, thank you so much!";
	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.";
	next;		
	mes "[Hua Tuo]";
	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 which replenishes the skin...";
	next;
	mes "[Hua Tuo]";
	mes "^0000FF20 Brown Root^000000 which regulates the heart, ^0000FF10 Sprout^000000 which eases the abdomen and ^0000FF5 Honey Pot^000000 which provides nutrition.";
	next;		
	mes "[Hua Tuo]";
	mes "I hope you've memorized it all.";
	mes "Once again, that's...";
	set QL_DOCQUEST,3;
	next;
L_INGREDIENT:
	mes "[Hua Tuo]";
	mes "^3131FF2 Leopard Claw^000000,";
	mes "^3131FF10 Solid Peach^000000,";
	mes "^3131FF5 Poisonous Toad Skin^000000,";
	mes "^3131FF20 Brown Root^000000,";
	mes "^3131FF10 Sprout^000000 and";
	mes "^3131FF5 Honey Pot^000000.";
	close;	

L_DONE:
	mes "[Hua Tuo]";
	mes "Alright...";
	mes "I understand.";
	mes "But thank you for helping me out. please take this...";
	next;
	mes "[Hua Tuo]";
	mes "It's not much, but this medicine is an old family secret. I hope that it will be of use to you in dangerous situations.";
	set QL_GOTHERB,0;
	set QL_DOC1STTIME,0;
	set QL_DOCQUEST,2;
	getitem 679,2; //Pilule
	getexp 10000,0;
	next;
	mes "[Hua Tuo]";
	mes "Well then, I will see you around. Once again, I'd like to thank you for your help.";
	close;

L_NOMED:
	mes "[Hua Tuo]";	
	mes "You haven't gotten the medicine yet...? I hope you can get it as soon as possible...";
	close;

L_RANT:
	mes "[Hua Tuo]";
	mes "Being strong as a person is not defined as mere physical strength.";
	next;
	mes "[Hua Tuo]";
	mes "Factors such as intelligence, experience and knowledge are also considered when judging one's strength.";
	next;
	mes "[Hua Tuo]";
	mes "Let's say you're very strong and given the most powerful weapon.";
	next;
	mes "[Hua Tuo]";
	mes "If you don't know how to use the weapon's power, you will not be strong... You will be weak.";
	next;
	mes "[Hua Tuo]";
	mes "When the tools or weapons overwhelm your capabilities, the worst situations result.";
	close;

L_CHECKITM:
	if(countitem(7172) < 2)goto L_NOTENOUGH; //Leopard Claw
	if(countitem(7164) < 10)goto L_NOTENOUGH; //Solid Peach
	if(countitem(7155) < 5)goto L_NOTENOUGH; //Poisonous Toad Skin
	if(countitem(7188) < 20)goto L_NOTENOUGH; //Brown Root
	if(countitem(7193) < 10)goto L_NOTENOUGH; //Sprout
	if(countitem(7121) < 5)goto L_NOTENOUGH; //Honey Pot
	delitem 7172,2; //Leopard Claw
	delitem 7164,10; //Solid Peach
	delitem 7155,5; //Poisonous Toad Skin
	delitem 7188,20; //Brown Root
	delitem 7193,10; //Sprout
	delitem 7121,5; //Honey Pot
	//These following mess are made up, I didn't finish the quest =/
	mes "[Hua Tuo]";
	mes "Thank you so much, now I can treat my patients.";
	next;
	mes "[Hua Tuo]";
	mes "Ah...";
	mes "Of course!";
	mes "Here's your reward. Use this medicine when you feel weary.";
	getitem 679,5; //Pilule
	getexp 30000,0;
	set QL_GOTHERB,0;
	set QL_DOC1STTIME,0;
	set QL_DOCQUEST,2;
	close;
	
L_NOTENOUGH:
	mes "[Hua Tuo]";
	mes "Hmm....";
	mes "Unfortunately, you haven't collected everything that I need yet. Once again, please gather...";
	next;
	goto L_INGREDIENT;
}


//============================================================
//================================================ Poison King
//====================================================== Quest
lou_fild01,224,348,7	script	Lady#04	817,{

	emotion 30;
	mes "[Lady]";
	mes "You're at the entrance of Louyang.";
	if(QL_POISONKING > 8)
	{
	mes "I hope you have a good time~";
	close;
	}
	next;
	mes "[Lady]";
	mes "Louyang is well known";
	mes "for its various firecrackers.";
	mes "Would you like to see one?";
	next;
	menu "Sure!",s_Firework,"No thanks~",-;

	if(QL_POISONKING == 8)goto s_PKQuest;
	mes "[Lady]";
	mes "Hmpf...!";
	emotion 9;
	close;

s_PKQuest:
	mes "[Lady]";
	mes "Hmm, if not firecrackers,";
	mes "then you must want something";
	mes "else. Did someone send you?";
	next;
	menu "Yes.",s_Sent,"No.",-;

	mes "[Lady]";
	mes "No...?";
	if(!Sex)close;
	next;
	mes "[Lady]";
	mes "Are you...";
	mes "Coming on to me?";
	close;

s_Sent:
	mes "[Lady]";
	mes "Who was it?";
	mes "Please tell me";
	mes "his name.";
	next;
	input @PKstr$;
	if(@PKstr$ != "Song Zhi Du")goto s_Dunno;

	mes "[Lady]";
	mes "Oh, I see.";
	mes "Let me give";
	mes "you the package.";
	next;
	mes "[Lady]";
	mes "Ah, wait! I forgot!";
	mes "You must first pay the";
	mes "delivery fee of 1,000 zeny.";
	next;
	mes "[Lady]";
	if(Zeny < 1000)goto s_NEnoughZeny;
	mes "Thank you~";
	mes "Now that the fee is paid,";
	mes "please bring this to";
	mes "Song Zhi Du.";
	mes "Take care!";
	set Zeny,Zeny-1000;
	getitem 7126,1;
	set QL_POISONKING,9;
	close;

s_NEnoughZeny:
	mes "Sorry, you don't have";
	mes "enough zeny to pay the";
	mes "delivery fee.";
	close;

s_Dunno:
	mes "[Lady]";
	mes "Hmmm?";
	mes "I don't know who that is.";
	mes "So I definitely don't have";
	mes "a package for whoever you're";
	mes "talking about.";
	close;

s_Firework:
	mes "[Lady]";
	mes "Alright, there you go!";
	close2;
	donpcevent "LouFireWrk::OnExplosion";
	end;

}

lou_fild01,225,349,1	script	LouFireWrk	139,{

OnExplosion:
	misceffect 183;
	end;

}

lou_in01,99,158,4	script	Lord	821,{
	mes "[Lord Bai Long]";
	mes "Hahahaha!";
	mes "Welcome to Louyang!";
	next;
	mes "[Lord Bai Long]";
	mes "Louyang is such a great city.";
	mes "We're protected this land for forty";
	mes "years from the invasions of evil";
	mes "creatures!";
	next;
	mes "[Lord Bai Long]";
	mes "I hope you enjoy";
	mes "your stay here,";
	mes "Rune-Midgardian!";
	next;
	if(QL_POISONKING == 15)goto s_Journal;
	mes "[Lord Bai Long]";
	mes "How could I have lost my friend";
	mes "from our glory days? Hmm...?";
	mes "Oh, I didn't realize you were still";
	mes "there...Listening to me.";
	next;
	mes "[Lord Bai Long]";
	mes "I'm sorry, I was just talking to";
	mes "myself. I hope you have a good time";
	mes "while you stay here in Louyang.";
	close;

s_Journal:
	mes "^3131FFYou give Nagash Arses' Journal";
	mes "to Bai Long. He reads it intently,";
	mes "slowly turnin each page.";
	next;
	mes "^3131FFHe's completely silent for about";
	mes "fifteen minutes, and focuses all";
	mes "of his attention on the journal.";
	next;
	mes "^3131FFA single tear trickles";
	mes "from his eye as he reads";
	mes "the words of Nagash Arses...^000000";
	next;
	mes "[Lord Bai Long]";
	mes "Thank you..";
	mes "Adventurer...";
	next;
	mes "[Lord Bai Long]";
	mes "Thank you so much.";
	mes "You've helped me make";
	mes "up with an old friend!";
	next;
	mes "[Lord Bai Long]";
	mes "I, Bai Long, will work on giving";
	mes "fair treatment to all of martial";
	mes "arts organizations, regardless of";
	mes "their methods or philosophies!";
	next;
	mes "[Lord Bai Long]";
	mes "I will also forgive Song Zhi Du,";
	mes "even if he tried to poison me.";
	mes "He is innocent...";
	next;
	mes "[Lord Bai Long]";
	mes "As a matter of fact, it was";
	mes "reported to me that Nagash was";
	mes "deported to his homeland after";
	mes "that incident. I had no idea";
	mes "he was in jail!";
	next;
	mes "[Lord Bai Long]";
	mes "Thank you so";
	mes "much for your help!";
	next;
	mes "[Lord Bai Long]";
	mes "Please take this as a token of";
	mes "gratitude. And please deliver this";
	mes "letter to Nagash and Song Zhi Du";
	mes "for me.";
	getitem 603,1;
	set QL_POISONKING,16;
	next;
	mes "^3131FFYou obtained ^0000FFBai Long's letter.^000000";
	next;
	mes "[Lord Bai Long]";
	mes "Thank you in advance.";
	close;

}
lou_in02,253,45,4	script	Employee#04	822,{

	if(QL_POISONKING == 30)goto s_NoGoodIdea;
	if(QL_POISONKING == 18)goto s_Busy;
	if(QL_POISONKING == 17)goto s_Told;
	if(QL_POISONKING == 14 && QL_POISONPATH < 2)goto s_CameBack;
	if(QL_POISONKING > 13)goto s_Proud;
	if(QL_POISONKING > 12)goto s_Security;
	if(QL_POISONKING == 12)goto s_LordDie;
	if(QL_POISONKING == 11)goto s_MaterialCheck;
	if(QL_POISONKING == 10)goto s_NotSure;
	if(QL_POISONKING == 9)goto s_Thanked;
	if(QL_POISONKING == 7 && QL_POISONDISLIKED)goto s_Materials2;
	if(QL_POISONKING > 6)goto s_DeliveryMes;
	if(QL_POISONKING == 6 && QL_POISONDISLIKED)goto s_Pity;
	if(QL_POISONKING == 6)goto s_Talked;
	if(QL_DOCQUEST != 2)goto s_NotPoison;
	mes "[Song Zhi Du]";
	mes "Well, well. Thank you for you're";
	mes "trouble. I didn't expect you to";
	mes "gather all these herbs for us...";
	next;
	mes "[Song Zhi Du]";
	mes "I suppose I underestimated you. By";
	mes "the way, do you know anything about";
	mes "poison?";
	next;
	menu "Yes, I am kind of interested in it",-,"No, not at all",s_No;
	mes "[Song Zhi Du]";
	mes "Oh, I see. Well, if you have some";
	mes "time, why don't you go visit my old";
	mes "master in the slums?";
	next;
	mes "[Song Zhi Du]";
	mes "If you two get along, I will tell";
	mes "you something important.";
	set QL_POISONKING,1;
	close;
s_No:
	mes "[Song Zhi Du]";
	mes "Huh? I see. Well, thank you for";
	mes "your troubles once again. I hope you";
	mes "have a good time in Louyang.";
	close;

s_NotPoison:
	mes "[Song Zhi Du]";
	mes "^111111*Sigh*^000000.....";
	mes "I wish there was someone who";
	mes "could help me carry my revenge out.";
	close;

s_Talked:
	mes "[Song Zhi Du]";
	mes "...";
	mes "So, did you talk";
	mes "to my old master?";
	mes "It seems he really";
	mes "likes you.";
	next;
	mes "[Song Zhi Du]";
	mes "As you know, my master has been";
	mes "accused of something he didn't do!";
	mes "And they crippled his use of the";
	mes "martial arts!";
	next;
	mes "[Song Zhi Du]";
	mes "I can't forgive what";
	mes "they've done to my master!";
	mes "I want to grind their bones";
	mes "to powder! And that's before";
	mes "I kill them!";
	next;
	mes "[Song Zhi Du]";
	mes "He's innocent and all he did";
	mes "was research poison with all";
	mes "of his effort! And for that,";
	mes "they destroyed him!";
	next;
	mes "[Song Zhi Du]";
	mes "I was yound";
	mes "when it happened...";
	mes "Too young to know";
	mes "any martial arts.";
	next;
	mes "[Song Zhi Du]";
	mes "I could protect him.";
	mes "All I could do was hide and";
	mes "watch other people get killed.";
	next;
	mes "[Song Zhi Du]";
	mes "I hate myself";
	mes "for not being strong!";
	mes "But, my body isn't suited";
	mes "for martial arts.";
	next;
	mes "[Song Zhi Du]";
	mes "All I can do is maintain my weak";
	mes "body and make sure it's reasonably";
	mes "healthy. Even so, if it weren't for";
	mes "my master, I'd be dead";
	mes "in the streets...";
	next;
	mes "[Song Zhi Du]";
	mes "It was my master who picked me up";
	mes "from the streets and cured me. So,";
	mes "I've decided to become a doctor and";
	mes "save as many lives as I can.";
	next;
	mes "[Song Zhi Du]";
	mes "But before";
	mes "I do that,";
	mes "I want ^FF0000revenge^000000!";
	next;
	mes "[Song Zhi Du]";
	mes "As I told you, I am weak.";
	mes "Too weak... I know that from";
	mes "the bottom of my heart.";
	next;
	mes "[Song Zhi Du]";
	mes "But...";
	next;
	mes "[Song Zhi Du]";
	mes "I am knowledged about medicine,";
	mes "especially the use of poison. I can";
	mes "tell you that I'm one of the best.";
	next;
	mes "[Song Zhi Du]";
	mes "Poison can kill people but it can";
	mes "also be used to save lives. The";
	mes "people who destroyed my master";
	mes "will pay the price.";
	next;
	mes "[Song Zhi Du]";
	mes "Do you understand";
	mes "why I'm furious!?";
	next;
	menu "But Revenge isn't good.",-,"Yes, I fully understand",s_Understand;

	mes "[Song Zhi Du]";
	mes "Hmm...";
	mes "I see.";
	next;
	mes "[Song Zhi Du]";
	mes "I supposed you couldn't";
	mes "understand the way I feel.";
	mes "After all, you didn't have";
	mes "to go through the same";
	mes "things I did.";
	next;
	mes "[Song Zhi Du]";
	mes "I suppose I expected too much";
	mes "since my master likes you. How";
	mes "could you know the rage and";
	mes "sadness that I feel!?";
	next;
	mes "[Song Zhi Du]";
	mes "Fine.";
	mes "Go do whatever";
	mes "you were going to do.";
	mes "I'm just disappointed...";
	set QL_POISONDISLIKED,1;
	close;

s_Understand:
	mes "[Song Zhi Du]";
	mes "Yes! Yes!";
	mes "You do understand!";
	next;
	mes "[Song Zhi Du]";
	mes "I volunteered for this medicine";
	mes "storage position so that I can";
	mes "secretly study poison! Now, the";
	mes "time for action has come!";
	next;
	mes "[Song Zhi Du]";
	mes "Still, I'll need some materials to";
	mes "complete my research. Then, when";
	mes "I succeeed and create a poison pill,";
	mes "I'll need someone to carry my";
	mes "revenge out for me.";
	next;
	mes "[Song Zhi Du]";
	mes "Since my body is so frail, I can't";
	mes "bear the tension and rage of seeing";
	mes "my lifelong enemy face to face.";
	set QL_POISONKING,7;
	close;

s_Pity:
	mes "[Song Zhi Du]";
	mes "I'm so disappointed.";
	mes "You've even seen the";
	mes "pitiable state of my";
	mes "master for yourself!";
	mes "How could you not";
	mes "understand me?!";
	next;
	menu "I'm sorry for the last time",s_Sorry,"No matter what, revenge isn't good.",-;

	specialeffect 11;
	mes "[Song Zhi Du]";
	mes "Oh, forget about it";
	mes "I don't think I can ever";
	mes "make you understand how I feel.";
	close;

s_Sorry:
	mes "[Song Zhi Du]";
	mes "If you really";
	mes "feel sorry for me,";
	mes "then you must help me";
	mes "carry out my revenge!";
	next;
	mes "[Song Zhi Du]";
	mes "I still need to complete the";
	mes "poison potion I'm creating. I hope";
	mes "you can bring what I need to finish";
	mes "it. Go and get me...";
	next;
	mes "[Song Zhi Du]";
	mes "^0000FF4 Bee Sting^000000,";
	mes "^0000FF10 Venom Canine^000000,";
	mes "^0000FF10 Empty Potion Bottle^000000,";
	mes "^0000FF30 Green Potion^000000.";
	next;
	mes "[Song Zhi Du]";
	mes "An apology is fine, but you must";
	mes "also show me that you are sorry and";
	mes "help me carry out my plan. Do you";
	mes "have any problem with this?";
	set QL_POISONKING,7;
	close;

s_Materials2:
	mes "[Song Zhi Du]";
	mes "So, did you";
	mes "gather everything";
	mes "I asked of you?";
	next;
	menu "Yes.",s_Items,"What do you need again?",-;

	mes "[Song Zhi Du]";
	mes "^111111*Sigh...*^000000";
	mes "Go and get me...";
	next;
	specialeffect 11;
	mes "[Song Zhi Du]";
	mes "^0000FF4 Bee Sting^000000,";
	mes "^0000FF10 Venom Canine^000000,";
	mes "^0000FF10 Empty Potion Bottle^000000,";
	mes "^0000FF30 Green Potion^000000.";
	close;

s_Items:
	if(countitem(939) < 4 || countitem(937) < 10 || countitem(1093) < 10 || countitem(506) < 30)goto s_NEnoughItems;
	delitem 939,4; //Bee Sting
	delitem 937,10; //Venom Canine
	delitem 1093,10; //Empty Potion Bottle
	delitem 506,30; //Green Potion
	set QL_POISONDISLIKED,0;
	mes "[Song Zhi Du]";
	mes "Ah...";
	mes "With these, I accept your apology";
	mes "Thank you for all the trouble you";
	mes "went through to get this stuff";
	next;
	mes "[Song Zhi Du]";
	mes "Now that you're this involved,";
	mes "you're in this with me all the way!";
	mes "I've been waiting for this";
	mes "day for years...";
	next;
	mes "[Song Zhi Du]";
	mes "All that's left is to create this";
	mes "poison, and then to get the";
	mes "lord of Louyang to drink it..";
	close;


s_NEnoughItems:
	mes "[Song Zhi Du]";
	mes "Where are the things";
	mes "I asked you to bring?";
	mes "Are you testing my";
	mes "patience or what?";
	next;
	specialeffect 11;
	mes "[Song Zhi Du]";
	mes "You're still missing some of the";
	mes "items I need. I must have them all";
	mes "in order to finish making this";
	mes "poison!";
	close;

s_DeliveryMes:
	emotion 0;
	mes "[Song Zhi Du]";
	mes "Ah, hello.";
	mes "Please give me a minute,";
	mes "I've just received a message.";
	next;
	mes "[Song Zhi Du]";
	mes "Ah!";
	mes "It says here";
	mes "that my delivery";
	mes "has finally arrived!";
	next;
	mes "[Song Zhi Du]";
	mes "Would you bring me the";
	mes "box from the firecracker";
	mes "lady at the entrance";
	mes "to Louyang? Thanks";
	mes "in advance.";
	set QL_POISONKING,8;
	close;

s_Thanked:
	if(countitem(7126) == 0)goto s_WheresJellopy;
	delitem 7126,1;
	mes "[Song Zhi Du]";
	mes "Ah. Thank you,";
	mes "I needed this. Now,";
	mes "shall we begin?";
	next;
	mes "[Song Zhi Du]";
	mes "First, I shall mix a poison";
	mes "extraced from Venom Canine";
	mes "with a foreign liquid named";
	mes "Karvodailnirol.";
	next;
	specialeffect 12;
	mes "[Song Zhi Du]";
	mes "Then, I add Green Herb extract,";
	mes "poison extracted from Bee Sting and";
	mes "a Large Jellopy into the liquid!";
	mes "Finally, I must heat them all!";
	next;
	specialeffect 124;
	specialeffect 20;
	mes "[Song Zhi Du]";
	mes "Finally, I have to carefully heat";
	mes "the mixture and collect it all into";
	mes "a Potion Bottle.";
	next;
	mes "[Song Zhi Du]";
	mes "Now I've got to do this just";
	mes "right. This is a very delicate";
	mes "procedure...";
	next;
	specialeffect 17;
	emotion 23;			
	mes "[Song Zhi Du]";
	mes "No!! I failed again! ^656565*Sigh...*^000000 And";
	mes "I spent a long time preparing all";
	mes "of those materials...";
	set QL_POISONKING,10;
	close;

s_WheresJellopy:
	//Made up Dialog
	emotion 0;
	mes "[Song Zhi Du]";
	mes "I was told by the lady at";
	mes "the gate that she gave you";
	mes "the ^0000FFLarge Jellopy^000000...";
	mes "Yet you don't have it?";
	next;
	mes "[Song Zhi Du]";
	mes "I can't make the poison without";
	mes "it. You'll have to find a new one";
	mes "somehow.";
	close;

s_NotSure:
	mes "[Song Zhi Du]";
	mes "I'm not sure what went wrong.";
	mes "Hmm, would you please help me";
	mes "again? I've used all the materials";
	mes "from last time.";
	next;
	mes "[Song Zhi Du]";
	mes "^0000FF4 Bee Sting^000000,";
	mes "^0000FF10 Venom Canine^000000,";
	mes "^0000FF10 Empty Potion Bottle^000000,";
	mes "^0000FF30 Green Potion^000000 and";
	mes "^0000FF1 Large Jellopy^000000.";
	next;
	mes "[Song Zhi Du]";
	mes "That's everything I'll need.";
	mes "I would apologize, but since you've";
	mes "shown that you'll help carry out my";
	mes "revenge, I know you'll understand.";
	set QL_POISONKING,11;
	close;

s_MaterialCheck:
	if(countitem(939) < 4 || countitem(937) < 10 || countitem(1093) < 10 || countitem(506) < 30 || countitem(7126) < 1 )goto s_NEnoughItems2;
	delitem 939,countitem(939); //Bee Sting
	delitem 937,countitem(937); //Venom Canine
	delitem 1093,countitem(1093); //Empty Potion Bottle
	delitem 506,countitem(506); //Green Potion
	delitem 7126,countitem(7126); //Large Jellopy
	mes "[Song Zhi Du]";
	mes "Oh! You brought";
	mes "me everything I need!";
	mes "I'm very impressed!";
	next;
	mes "[Song Zhi Du]";
	mes "You're the only one";
	mes "who actually understands how";
	mes "I feel. Thank you for gathering all";
	mes "of these ^0000FFmaterials^000000.";
	next;
	mes "[Song Zhi Du]";
	mes "Alright, now";
	mes "to create the poison.";
	mes "This is going to be tough.";
	mes "Here we go...";
	next;
	mes "[Song Zhi Du]";
	mes "First, I shall mix a poison";
	mes "extraced from Venom Canine";
	mes "with a foreign liquid named";
	mes "Karvodailnirol.";
	next;
	specialeffect 12;
	mes "[Song Zhi Du]";
	mes "Then, I add Green Herb extract,";
	mes "poison extracted from Bee Sting and";
	mes "a Large Jellopy into the liquid!";
	mes "Finally, I must heat them all!";
	next;
	specialeffect 124;
	specialeffect 20;
	mes "[Song Zhi Du]";
	mes "Finally, I have to carefully heat";
	mes "the mixture and collect it all into";
	mes "a Potion Bottle.";
	next;
	mes "[Song Zhi Du]";
	mes "^111111*Phew...*";
	mes "Did...";
	mes "Did I make it?";
	next;

	set @PKSuccessRate,rand(1,1000);
	if(@PKSuccessRate > 700)
	{
	emotion 23;
	specialeffect 20;
	mes "[Song Zhi Du]";
	mes "Hahaha~!";
	mes "Success!";
	mes "It works!";
	mes "I finally created it!";
	mes "Mwahahahahahaha!";
	next;
	mes "[Song Zhi Du]";
	mes "Muhahahahaha!";
	next;
	mes "[Song Zhi Du]";
	mes "Muhahahahaha!";
	mes "Hahahahahahahahahahahaha!";
	next;
	mes "[Song Zhi Du]";
	mes "I made it!";
	mes "I made it!";
	mes "Now, revenge will be mine!";
	next;
	mes "[Song Zhi Du]";
	mes "Hahaha! Now, please";
	mes "take this bottle. But be careful.";
	mes "Even if you smell it just a little,";
	mes "it can cause your body to";
	mes "decompose, leading to death.";
	getitem 678,2; //Poison Bottle
	set QL_POISONKING,12;
	close;
	}
	else
	{
	emotion 23;
	specialeffect 17;
	mes "[Song Zhi Du]";
	mes "NO! I... I've failed again! And I";
	mes "spent a long time getting";
	mes "everything ready...";
	close;
	}

s_NEnoughItems2:
	//Made up mes
	mes "[Song Zhi Du]";
	mes "You seem to be missing some";
	mes "of the materials that I need,";
	mes "don't come back until you get";
	mes "them!";
	next;
	mes "[Song Zhi Du]";
	mes "I will need the following:";
	mes "^0000FF4 Bee Sting^000000,";
	mes "^0000FF10 Venom Canine^000000,";
	mes "^0000FF10 Empty Potion Bottle^000000,";
	mes "^0000FF30 Green Potion^000000 and";
	mes "^0000FF1 Large Jellopy^000000.";
	close;

s_LordDie:
	mes "[Song Zhi Du]";
	mes "Hahahaha...!";
	mes "Now, time has come.";
	mes "With this poison, Louyang's";
	mes "lord will be cast into hell!";
	next;
	mes "[Song Zhi Du]";
	mes "If they lied about my master,";
	mes "then I'll simply make their lies";
	mes "into truth. Then, my master";
	mes "won't feel victimized!";
	next;
	mes "[Song Zhi Du]";
	mes "Lord Bai Long!";
	mes "You will die!";
	mes "Ha HA HA HA HA!";
	next;
	mes "[Song Zhi Du]";
	mes "Muhahahahaha!";
	mes "Hahaha...Haha..hahaha..haha..hahah";
	mes "ahaha...mmmmuhahahahahahahahahaha!!";
	next;
	mes "[Song Zhi Du]";
	mes "Muhahahahahaha!";
	mes "............";
	next;
	mes "[Song Zhi Du]";
	mes "Ah, forgive me.";
	mes "I was overly excited.";
	mes "Yes, I must calm down...";
	next;
	mes "[Song Zhi Du]";
	mes "Now, I have one last favor to ask";
	mes "of you. Please sneak into the";
	mes "Castle of the Dragon.";
	next;
	mes "[Song Zhi Du]";
	mes "I want you to put this poison some";
	mes "place where Lord Bai Long might";
	mes "stay. But be careful, the castle";
	mes "has a lot of security.";
	next;
	mes "[Song Zhi Du]";
	mes "Still, you're an adventurer from";
	mes "Rune-Midgard. You've probably had";
	mes "challenges like this before, so I'm";
	mes "sure you'll find a way.";
	next;
	mes "[Song Zhi Du]";
	mes "Anyway, I'm sure my master";
	mes "will be happy to know that";
	mes "I finally created the ^0000FFpoison";
	mes "he wished to create^000000!";
	next;
	mes "[Song Zhi Du]";
	mes "Hahaha...!";
	mes "Master, I did it!";
	mes "Your disciple Song Zhi Du made the";
	mes "world's deadliest poison for you!";
	set QL_POISONKING,13;
	close;

s_Security:
	mes "[Song Zhi Du]";
	mes "Remember...";
	mes "The Castle of the Dragon";
	mes "is under heavy surveillance.";
	mes "I guess Lord Bai Long is";
	mes "insecure. Heh heh.";
	next;
	mes "[Song Zhi Du]";
	mes "Anyways, I hope you'll be";
	mes "really careful. When you go in,";
	mes "don't forget to use this poison";
	mes "somewhere the Lord Bai Long";
	mes "can ingest it.";
	next;
	mes "[Song Zhi Du]";
	mes "Anyway, I'm sure my master";
	mes "will be happy to know that";
	mes "I finally created the ^0000FFpoison";
	mes "he wished to create^000000!";
	next;
	mes "[Song Zhi Du]";
	mes "Hahaha...!";
	mes "Master, I did it!";
	mes "Your disciple Song Zhi Du made the";
	mes "world's deadliest poison for you!";
	next;
	mes "[Song Zhi Du]";
	mes "Leave now,";
	mes "my friend!";
	mes "For my revenge!";
	mes "Go and kill Lord Bai Long!";
	close;

s_CameBack:
	mes "[Song Zhi Du]";
	mes "Ah!";
	mes "You came back!";
	next;
	mes "[Song Zhi Du]";
	mes "Ah yes.";
	mes "All I have to do now";
	mes "is wait and hear news";
	mes "of Lord Bai Long's death.";
	next;
	mes "[Song Zhi Du]";
	mes "Thank you so much, my friend.";
	mes "You've satisfied my old grudge.";
	next;
	mes "[Song Zhi Du]";
	mes "Now, I am getting tired.";
	mes "Let me rest... Take care, my";
	mes "friend, and travel in safety.";
	next;
	mes "[Song Zhi Du]";
	mes "But before you go, let me give you";
	mes "some poison and a medicinal pill.";
	mes "I made these with the leftover";
	mes "materials and medicine in the";
	mes "storage.";
	next;
	mes "[Song Zhi Du]";
	mes "Please take the";
	mes "medicine pill";
	mes "right away.";
	next;
	mes "^3131FFYou swallowed a strange pill";
	mes "that shines with a gold color.";
	mes "it tastes bitter...";
	next;
	mes "^3131FFThe nasty taste lingers in your";
	mes "mouth but then you feel a great";
	mes "warmth flowing throughout your";
	mes "body. Eventually, you pass out.";
	close2;
	set QL_POISONKING,30;
	set QL_POISONPATH,0;
	getitem 678,3;
	if(BaseLevel < 56) getexp 8909,0;
	else if(BaseLevel > 55 && BaseLevel < 61) getexp 10213,0;
	else if(BaseLevel > 60 && BaseLevel < 66) getexp 17684,0;
	else if(BaseLevel > 65 && BaseLevel < 71) getexp 25411,0;
	else if(BaseLevel > 70 && BaseLevel < 76) getexp 68757,0;
	else if(BaseLevel > 75 && BaseLevel < 81) getexp 128246,0;
	else if(BaseLevel > 80 && BaseLevel < 86) getexp 142340,0;
	else if(BaseLevel > 85 && BaseLevel < 91) getexp 152052,0;
	else if(BaseLevel > 90) getexp 366786,0;
	warp "louyang",270,136;
	end;

s_Proud:
	mes "[Song Zhi Du]";
	mes "Nagash Arses is also the name of";
	mes "the Poison King in a legend of";
	mes "Arcturus. There's good reasons for";
	mes "my master to be proud of hise name!";
	close;

s_Told:
	mes "[Song Zhi Du]";
	mes "Ah...";
	mes "Welcome.";
	mes "My master told";
	mes "me everything.";
	next;
	mes "[Song Zhi Du]";
	mes "Somehow, I feel relieved, but sorry";
	mes "at the same time. Still, now I can";
	mes "forget everything that's happened";
	mes "in the past.";
	next;
	mes "[Song Zhi Du]";
	mes "Now, I've decided to focus more on";
	mes "my medical studies so that I can";
	mes "really save as many lives as I can.";
	mes "I'm sorry I've been so rude to you";
	mes "before.";
	next;
	mes "[Song Zhi Du]";
	mes "Also, I hope you will";
	mes "take these, since I don't";
	mes "need them any longer.";
	getitem 678,5; //Poison Bottle
	set QL_POISONKING,18;
	set QL_POISONPATH,0;
	next;
	mes "[Song Zhi Du]";
	mes "Thank you";
	mes "once again, friend.";
	mes "Now if you'll excuse me,";
	mes "i have many things to do...";
	close;

s_Busy:
	mes "^3131FFSong Zhi Du is busily engaged with";
	mes "organizing medicinal herbs. The";
	mes "faint look of sadness that used to";
	mes "be on his face now seems drained.";
	next;
	mes "^3131FFStill, from his movements and the";
	mes "pace at which he is working, you";
	mes "can tell that he loves what he is";
	mes "doing. It seems that Song Zhi Du";
	mes "has finally found his life's path.";
	close;

s_NoGoodIdea:
	mes "[Song Zhi Du]";
	mes "...................";
	next;
	mes "^3131FFSong Zhi Du looks blankly at the";
	mes "ceiling. With his revenge, it seems";
	mes "he's lost his motivation in life.";
	mes "Was it a good idea to help him,";
	mes "after all?";
	next;
	mes "^3131FFBy hearsay, the poisoned drink";
	mes "didn't work so well, as a Thief";
	mes "from a foreign land actually stole";
	mes "the bottle.";
	close;

}

lou_in02,122,38,4	script	Poison King	824,{

	if(QL_POISONKING > 16 && QL_POISONKING != 30)goto s_Proud;
	if(QL_POISONKING == 16)goto s_Letter;
	if(QL_POISONKING == 15)goto s_Hope;
	if(QL_POISONKING == 14 && QL_POISONPATH > 1)goto s_Happened;
	if(QL_POISONKING == 30)goto s_Emo;
	if(QL_POISONPATH == 2)goto s_StopHim;
	if(QL_POISONKING == 13 || QL_POISONKING == 14)goto s_MetDisciple;
	mes "[Nagash Arses]";
	mes "It's been 40 years since I came";
	mes "here. Hahaha, but it doesn't feel";
	mes "like it's been that long.";
	next;
	mes "[Nagash Arses]";
	mes "In the past, I was one of the";
	mes "most renowned experts in the use";
	mes "of poison. I even created a martial";
	mes "art based on it's use, and formed my";
	mes "own martial arts organization.";
	next;
	mes "[Nagash Arses]";
	mes "Now, those memories";
	mes "don't even seem real";
	mes "anymore. This poem is";
	mes "all I can remember...";
	next;
	mes "[Nagash Arses]";
	mes "As I lay in bed looking";
	mes "up at the moonlight,";
	mes " ";
	mes "It looks like the ";
	mes "frost on the ground.";
	next;
	mes "[Nagash Arses]";
	mes "I lift head up to look";
	mes "at the bright moon,";
	mes " ";
	mes "I lower my head";
	mes "feeling homesick.";
	if(!QL_POISONKING)close;
	next;
	if(QL_POISONKING > 1)goto s_Menu2;
	menu "Grin at him.",-,"Lament on his grief.",s_Grief,"Reprove him.",s_Reprove,"Listen to the poem again.",s_Again,"Show him a sad look.",s_Sad;

	mes "[Nagash Arses]";
	mes "Yeah, I don't blame you.";
	mes "I know I look stupid. Legally,";
	mes "I'm a criminal after all.";
	mes "I don't have any friends and";
	mes "there's no one I can trust.";
	close;

s_Grief:
	mes "[Nagash Arses]";
	mes "How can you sympathize?";
	mes "I doubt anyone has had";
	mes "experiences that are";
	mes "much worse than mine...";
	close;

s_Reprove:
	mes "What--? I haven't wrongers you in any";
	mes "way! Why must you be so mean to an";
	mes "old man? You don't even know half";
	mes "of what I've gone though.";
	close;

s_Again:
	mes "[Nagash Arses]";
	mes "As I lay in bed looking";
	mes "up at the moonlight,";
	mes " ";
	mes "It looks like the ";
	mes "frost on the ground.";
	next;
	mes "[Nagash Arses]";
	mes "I lift head up to look";
	mes "at the bright moon,";
	mes " ";
	mes "I lower my head";
	mes "feeling homesick.";
	close;

s_Sad:
	mes "[Nagash Arses]";
	mes "Do you miss your hometown";
	mes "as much as I do? I'm envious";
	mes "of you, youngster. You have";
	mes "the freedom to go";
	mes "wherever you want.";
	next;
	mes "[Nagash Arses]";
	mes "I'm a wanted criminal.";
	mes "Even if I were free to";
	mes "travel, I may not have";
	mes "the strength to try.";
	next;
	mes "[Nagash Arses]";
	mes "Let's not talk about this any";
	mes "longer. It's reminded me of";
	mes "my worst memories.";
	next;
	mes "[Nagash Arses]";
	mes "I'm too old to remember anything.";
	mes "Ha ha ha. Maybe if I saw something";
	mes "related to poison, I might remember";
	mes "something.";
	next;
	mes "[Nagash Arses]";
	mes "...";
	next;
	mes "[Nagash Arses]";
	mes "No, no...";
	mes "I think I'm too old";
	mes "to remember anything.";
	mes "Anything at all.";
	set QL_POISONKING,2;
	close;

s_Menu2:
	menu "Ask about the poem.",-,"Ask about his hometown.",s_Hometown,"Ask him about use of poison.",s_Poison,"Ask about his situation.",s_Situation;

	mes "[Nagash Arses]";
	mes "Ah, have you";
	mes "heard of this poem?";
	mes "As I grow older, my";
	mes "memory also drows worse,";
	mes "but I really like this poem";
	mes "and don't want to forget it.";
	next;
	mes "[Nagash Arses]";
	mes "I hope you don't";
	mes "mind helping me";
	mes "memorize this poem...";
	next;
	set @PKrand,rand(0,2);
	if(@PKrand == 0)
{
	mes "[Nagash Arses]";
	mes "^3131FF'As I lay ^000000[ ]^3131FF looking up at the";
	mes "moonlight.'^000000 In this first line,";
	mes "what word should be in [ ]?";
	next;
	menu "on the ground",s_1,"with you",s_1,"in bed",-,"in the stars",s_1;
	set @PKtest,@PKtest+1;

s_1:
	mes "[Nagash Arses]";
	mes "^3131FF'It looks like the ^000000[ ]^3131FF on the";
	mes "ground.'^000000 In the second line, which";
	mes "word should be in [ ]?";
	next;
	menu "Frost",-,"Dew",s_2,"Pebbles",s_2,"Snow",s_2;
	set @PKtest,@PKtest+1;

s_2:
	mes "[Nagash Arses]";
	mes "Now to see if you really";
	mes "understand the poem. It's no";
	mes "use to just know the words. They";
	mes "must be a part of you as well.";
	next;
	mes "[Nagash Arses]";
	mes "How would you describe the overall";
	mes "mood and tone of the speaker of";
	mes "this poem?";
	next;
	menu "Romantic",s_3,"Wistful",s_3,"Regretful",-,"Passionate",s_3;
	set @PKtest,@PKtest+1;

s_3:
	set @PKrand2,rand(0,1);
	if(!@PKrand2)
	{
	mes "[Nagash Arses]";
	mes "What do you think is the major";
	mes "theme of this poem?";
	next;
	menu "Tragedy",s_4,"Seperation",-,"Love",s_4,"Revenge",s_4,"Buddy Cop Film",s_4;
	}
	if(@PKrand2)
	{
	mes "[Nagash Arses]";
	mes "According to the poem,";
	mes "where is the location";
	mes "of the speaker as he is";
	mes "gazing at the moon?";
	next;
	menu "In his hometown",s_4,"In jail",s_4,"In the depths of the cosmos.",s_4,"In bed",-;
	}
	set @PKtest,@PKtest+1;

s_4:
	mes "[Nagash Arses]";
	mes "Ha ha ha! You undestand this poem";
	mes "well! Now, would you repeat the";
	mes "first line for me again?";
	next;
	menu "When I lay in bed looking up at the moonlight",s_5,"When I lay in bed thinking of the moonlight",s_5,"As I lay in bed looking up at the moonlight",-,"As I lay in bed thinking of the moonlight",s_5;
	set @PKtest,@PKtest+1;

s_5:
}
	if(@PKrand == 1)
{
	mes "[Nagash Arses]";
	mes "^3131FF'It looks like the ^000000[ ]^3131FF on the";
	mes "ground.'^000000 In the second line, which";
	mes "word should be in [ ]?";
	next;
	menu "Frost",-,"Dew",s_6,"Pebbles",s_6,"Snow",s_6;
	set @PKtest,@PKtest+1;

s_6:
	mes "[Nagash Arses]";
	mes "^3131FFI lower my head feeling ^000000[ ]^3131FF.^000000'";
	mes "Which word should be in [ ]?";
	next;
	menu "Homesick",-,"Drowsy",s_7,"Loneliness",s_7,"Heartbroken",s_7;
	set @PKtest,@PKtest+1;

s_7:
	mes "[Nagash Arses]";
	mes "Now to see if you really";
	mes "understand the poem. It's no";
	mes "use to just know the words. They";
	mes "must be a part of you as well.";
	next;
	mes "[Nagash Arses]";
	mes "in the first two lines, what";
	mes "is being linked by the poet?";
	next;
	menu "Bed and ground.",s_8,"Frost and hometown.",-,"Gloomy.",s_8,"Smokey.",s_8,"Moonlight and Frost.",s_8;
	set @PKtest,@PKtest+1;

s_8:
	mes "[Nagash Arses]";
	mes "In this land, the image of the moon";
	mes "often appears in poems expressing";
	mes "seperation, longing and";
	mes "homesickness. Why would gazing at";
	mes "the moon offer comfort?";
	next;
	menu "The rabbit on the moon grants wishes.",s_9,"It's sheer beauty eases anxiety",s_9,"Because it wanes and waxes",s_9,"All people and places share the same moon",-;
	set @PKtest,@PKtest+1;

s_9:
	mes "[Nagash Arses]";
	mes "Ha ha ha! You understand this poem";
	mes "well! Now, would you repeat the";
	mes "third line for me again?";
	next;
	menu "I look upon the bright moon",s_10,"I lift my head to look at the bright moon.",-,"I turn my head to look at the bright moon.",s_10,"I face the bright moon.",s_10;
	set @PKtest,@PKtest+1;

s_10:
}
	if(@PKrand == 2)
{
	mes "[Nagash Arses]";
	mes "^3131FF'It looks like the ^000000[ ]^3131FF on the";
	mes "ground.'^000000 In the second line, which";
	mes "word should be in [ ]?";
	next;
	menu "Frost",-,"Dew",s_11,"Pebbles",s_11,"Snow",s_11;
	set @PKtest,@PKtest+1;

s_11:
	mes "[Nagash Arses]";
	mes "^3131FF'I lift my ^000000[ ]^3131FF to look at the";
	mes "bright moon.'^000000 In the third line,";
	mes "which word should be in [ ]?";
	next;
	menu "eyes",s_12,"head",-,"gaze",s_12,"sights",s_12;
	set @PKtest,@PKtest+1;

s_12:
	mes "[Nagash Arses]";
	mes "Now to see if you really";
	mes "understand this poem. It's no";
	mes "use to just know the words. They";
	mes "must be a part of you as well.";
	next;
	mes "[Nagash Arses]";
	mes "What do you think is the major";
	mes "theme of this poem?";
	next;
	menu "Tragedy",s_13,"Seperation",-,"Love",s_13,"Revenge",s_13,"Buddy Cop Film",s_13;
	set @PKtest,@PKtest+1;

s_13:
	set @PKrand2,rand(0,1);
	if(!@PKrand2)
	{
	mes "[Nagash Arses]";
	mes "What might be one reason why the";
	mes "bright moonlight looks like frost";
	mes "on the ground to the poet?";
	next;
	menu "He's looking though a frosty window",s_14,"A bright moon glimmers like icicles",-,"He's homesick, so the moonlight looks cold.",s_14,"It's called 'Poetic Lisense.'",s_14;
	}
	if(@PKrand2)
	{
	mes "[Nagash Arses]";
	mes "Although this poem is only four";
	mes "lines long, it's structure can be";
	mes "easily classified. How would you";
	mes "describe this poem's structure?";
	next;
	menu "Why it's a sonnet",s_14,"It's a prose with erratic caesuras",s_14,"It's a quatrain of course",-,"Lambic Pentameter?",s_14;
	}
	set @PKtest,@PKtest+1;

s_14:
	mes "[Nagash Arses]";
	mes "Ha ha ha! You understand this poem";
	mes "well! Now, would you repeat the";
	mes "last line for me again?";
	next;
	menu "I cry for my home town.",s_15,"I lower my head feeling homesick.",-,"I miss my home town",s_15,"I sob feeling homesick.",s_15;
	set @PKtest,@PKtest+1;

s_15:
}
	if(@PKtest == 5 && QL_POISONKING == 2)set QL_POISONKING,3;
	mes "[Nagash Arses]";
	mes "Thank you for yout time,";
	mes "youngster. Oh, and this is";
	mes "an old, famous poem written";
	mes "by Li Tai Bai. You know that,";
	mes "don't you?";
	close;

s_Hometown:
	mes "[Nagash Arses]";
	mes "Are you asking me";
	mes "about my hometown...?";
	mes "As a Rune-Midgardian,";
	mes "I'm sure you've at least";
	mes "heard of Morroc...";
	next;
	mes "[Nagash Arses]";
	mes "A city built in the middle of the";
	mes "desert, its founders had to combat";
	mes "the harsh and unforgiving forces of";
	mes "nature everyday.";
	next;
	mes "[Nagash Arses]";
	mes "Yeah, the blazing sun never";
	mes "seems to leave, and it's a dry,";
	mes "desert area, but people still";
	mes "manage to live there.";
	next;
	mes "[Nagash Arses]";
	mes "Ah~ I miss Morroc, my hometown.";
	mes "I used to be a member of the";
	mes "Assassin organization known as the";
	mes "'Canine of Desert.' Long ago, I was";
	mes "their poison expert.";
	next;
	if(QL_POISONKING == 3)goto s_AltMenu;
	menu "Tell him news of Morroc",s_News,"Info about 'Canine of Desert'",s_Canine;

s_AltMenu:
	menu "Tell him news of Morroc",s_News,"Info about 'Canine of Desert'",s_Canine,"Just listen",s_Listen;

s_News:
	mes "[Nagash Arses]";
	mes "Hm...?";
	mes "Is there anything";
	mes "you want to say?";
	next;
	mes "[" + strcharinfo(0) +"]";
	mes "I have news";
	mes "of Morroc...";
	input @PKstr$;
	mes "[" + strcharinfo(0) +"]";
	mes @PKstr$;
	next;
	mes "[Nagash Arses]";
	mes "I see...";
	mes "Thank you for";
	mes "telling me that.";
	close;

s_Canine:
	mes "[Nagash Arses]";
	mes "I just told you what the 'Canine";
	mes "of Desert' is. If you can't remember what";
	mes "I just told you, it's no use for me";
	mes "to explain further. You go ahead";
	mes "and tell me what it is.";
	next;
	input @PKstr$;
	mes "[Nagash Arses]";
	mes "Well, I suppose I can't blame you";
	mes "for not knowing or remembering.";
	mes "When you get the chance, find";
	mes "someone wearing a purple suit...";
	next;
	mes "[Nagash Arses]";
	mes "Any Assassin worth his salt should";
	mes "know what the 'Canine of Desert'";
	mes "is.";
	close;

s_Listen:
	mes "[Nagash Arses]";
	mes "I tried Many things to develop my";
	mes "poison skills when I was young.";
	mes "I tried to extract poison from";
	mes "Muka's needles and from purple";
	mes "mushrooms. Eventually, I became";
	mes "an expert of toxins from my";
	mes "efforts. ";
	next;
	mes "[Nagash Arses]";
	mes "One time I even injected";
	mes "a poison into my own body";
	mes "to fully test it. Yeah...";
	mes "It almost killed me.";
	next;
	mes "[Nagash Arses]";
	mes "I was recognized as the man who";
	mes "was most highly skilled in the use";
	mes "of poison in the 'Canine of";
	mes "Desert,' and I was sent on the most";
	mes "crucial and dangerous missions.";
	next;
	mes "[Nagash Arses]";
	mes "One day, I was hired by the Alberta";
	mes "Merchant Guild to assassinate an";
	mes "enemy that had been threatening";
	mes "them. However, I never got to";
	mes "complete that missions.";
	next;
	mes "[Nagash Arses]";
	mes "While I was on the ship to proceed";
	mes "with my mission, we encountered";
	mes "heavy wind and waves, and the ship";
	mes "sank. I believe I was the only";
	mes "survivor of that accident.";
	next;
	mes "[Nagash Arses]";
	mes "I was floated helplessly on the";
	mes "ocean and somehow managed";
	mes "to arrive here, in Louyang. That";
	mes "was forty years ago.";
	next;
	mes "[Nagash Arses]";
	mes "It seemed that my arrival was";
	mes "rather timely. Louyang was intruded";
	mes "by huge mobs of dangerous monsters";
	mes "that were able to infiltrate";
	mes "the Castle of the Dragon.";
	next;
	mes "[Nagash Arses]";
	mes "Since I was one of the best";
	mes "assassins of the 'Canine of";
	mes "Desert.� I did far more than my";
	mes "share fair of monster killing.";
	next;
	mes "[Nagash Arses]";
	mes "It was on the battlefield that";
	mes "I met Bai Long who is now the Lord of";
	mes "this town. But back then, he was";
	mes "known as the 'Street Knight.'";
	next;
	mes "[Nagash Arses]";
	mes "I remember seeing him surrounded";
	mes "by enemies, and I dove into thick";
	mes "of battle to keep him from getting";
	mes "killed. We fought back to back and";
	mes "managed to stay alive back then.";
	next;
	mes "[Nagash Arses]";
	mes "You have to understand that it's";
	mes "not easy to let someone back you";
	mes "up in battle unless there's a solid";
	mes "trust. Those sights... where the";
	mes "greatest moments in my life.";
	next;
	mes "[Nagash Arses]";
	mes "Sadly, Many of our comrades,";
	mes "all of them respectable and highly";
	mes "skilled in martial artists, fell in";
	mes "battle. The number of monsters we";
	mes "had to contend with was just";
	mes "overwhelming.";
	next;
	mes "[Nagash Arses]";
	mes "Still, I manage to continue my";
	mes "poison research, even during those";
	mes "tough times. I studied medicine in";
	mes "this town and was able to use that";
	mes "knowledge to enhance my";
	mes "understanding of poisons.";
	next;
	mes "[Nagash Arses]";
	mes "I created a new skill based on all";
	mes "of my knowledge, and learned how";
	mes "to put poison on weapons.";
	next;
	mes "[Nagash Arses]";
	mes "I even learned martial arts in";
	mes "Louyang, and combined that";
	mes "knowledge with my poison expertise";
	mes "to create my own unique fighting";
	mes "style.";
	next;
	mes "[Nagash Arses]";
	mes "Well, that's my story.";
	mes "But now, I just miss my";
	mes "home town. I miss the heat";
	mes "of the desert, and the glare";
	mes "of the blazing sun.";
	set QL_POISONKING,4;
	close;

s_Poison:
	mes "[Nagash Arses]";
	mes "Did you just say you";
	mes "want to learn about the";
	mes "use of poison?";
	next;
	mes "[Nagash Arses]";
	mes "Why would you want";
	mes "to learn about it?";
	mes "Even if I wanted to";
	mes "teach, I'm too old to";
	mes "remember everything";
	mes "clearly...";
	if(QL_POISONKING > 4)goto s_Disciple;
	close;

s_Disciple:
	next;
	mes "[Nagash Arses]";
	mes "Go find my last disciple,";
	mes "^0000FFSong Zhi Du^000000, as he may tell you";
	mes "something useful. He's working at";
	mes "the doctor's office. If it weren't";
	mes "for him, I'd be starving now.";
	if(QL_POISONKING == 5)set QL_POISONKING,6;
	close;

s_Situation:
	if(QL_POISONKING == 4)goto s_Situation2;
	mes "[Nagash Arses]";
	mes "I...";
	mes "I don't want";
	mes "to talk about that.";
	mes "Let's not talk about it.";
	close;

s_Situation2:
	mes "[Nagash Arses]";
	mes "You're asking me how";
	mes "things came to be like";
	mes "this? Life used to be good.";
	next;
	mes "[Nagash Arses]";
	mes "Ah I told you, I distinguished";
	mes "myself in the battles with";
	mes "monsters. I was rewarded with";
	mes "Louyang citizenship and given";
	mes "gifts of money.";
	next;
	mes "[Nagash Arses]";
	mes "I was invited to join a martial";
	mes "arts organization that specialized";
	mes "in the use of poison. I joined";
	mes "them, excited about further";
	mes "broadening my knowldege.";
	next;
	mes "[Nagash Arses]";
	mes "I was stunned by the enormous body";
	mes "of knowledge about toxins that they";
	mes "provided. I tried to learn as much";
	mes "as I could so I could develop my";
	mes "own, unique poisoning skills.";
	next;
	mes "[Nagash Arses]";
	mes "As I studied with them, together we";
	mes "started to clear the town of the";
	mes "remaining monsters. Can you guess";
	mes "the results of our effors to clean";
	mes "up the city?";
	next;
	menu "..??",-,"It must have been good.",s_Good,"I guess it was okay.",s_Okay,"I don't know, but how did it go?",s_Dunno;

	mes "[Nagash Arses]";
	mes "Did you even listen to me? It's no";
	mes "use talking to you if you don't";
	mes "even care about what I have to";
	mes "say.";
	next;
	goto s_False;

s_Good:
	mes "[Nagash Arses]";
	mes "You're right!";
	mes "We got rid of every";
	mes "single monster in the city!";
	next;
	goto s_Right;

s_Okay:
	mes "[Nagash Arses]";
	mes "Just okay...?";
	mes "I don't think you realized how";
	mes "powerful we were back then! Eh...";
	next;
	goto s_False;

s_Dunno:
	mes "[Nagash Arses]";
	mes "We got rid of every single monster";
	mes "in the city!";
	next;

s_Right:
	mes "[Nagash Arses]";
	mes "We managed to eliminate every";
	mes "monster that was wandering around";
	mes "Louyang. At the time, we were the";
	mes "only people brave enough to take on";
	mes "this sort of task.";
	next;
	mes "[Nagash Arses]";
	mes "Unfortunately, other martial arts";
	mes "organizations grew envious of our";
	mes "success, insisting that we were";
	mes "dishonorable for using poison to";
	mes "attack our enemies.";
	next;
	mes "[Nagash Arses]";
	mes "Although we can accept criticism";
	mes "for our use of poison, we were";
	mes "finally blamed for something we";
	mes "never would have done.";
	next;
	mes "[Nagash Arses]";
	mes "Someone put poison into a meal";
	mes "which was eaten by a son of the";
	mes "lord and then falsely accused us!";
	next;
	mes "[Nagash Arses]";
	mes "in the end, our organization was";
	mes "disbanded and I was put in jail.";
	mes "I suffered through much to escape";
	mes "from prison...";
	next;
	mes "[Nagash Arses]";
	mes "However, because of all the";
	mes "injuries I've had to endure in jail";
	mes "and in my escape attempts,";
	mes "I can no longer use my";
	mes "martial arts.";
	next;
	mes "[Nagash Arses]";
	mes "Even to this day, the police are";
	mes "hounding after me. I really want to";
	mes "tell the lord of Louyang that I'm";
	mes "innocent, but it may be";
	mes "too late now...";
	set QL_POISONKING,5;
	close;

s_False:
	mes "[Nagash Arses]";
	mes "Sorry for keeping you from what you";
	mes "wanted to do. Take care of";
	mes "yourself, youngster.";
	close;

s_MetDisciple:
	mes "[Nagash Arses]";
	mes "Aren't you the youngster";
	mes "I talked to a while ago?";
	mes "Did you get a chance";
	mes "to meet my disciple?";
	mes "How was he?";
	next;
	mes "[Nagash Arses]";
	mes "He was sick all the time when he";
	mes "was young, so he worried me a lot.";
	mes "But now I'm proud of him and he's";
	mes "doing as well as just any other fine";
	mes "young man.";
	next;
	mes "[Nagash Arses]";
	mes "I am living only for him,";
	mes "and hope that he becomes a great";
	mes "healer someday. Recently, I've";
	mes "found that my sole comfort is in";
	mes "treating diseases for other";
	mes "people...";
	next;
	mes "[Nagash Arses]";
	mes "By the way...";
	mes "You look pale...";
	mes "Did something happen?";
	next;
	menu "Nothing",-,"I want to talk about your disciple",s_TalkDisciple,"I don't feel good.",s_DontFeelG;

	mes "[Nagash Arses]";
	mes "Oh...";
	mes "I see...";
	mes "But take care";
	mes "of yourself.";
	next;
	mes "[Nagash Arses]";
	mes "You better enjoy your physical";
	mes "strength when you're young. When";
	mes "you're my age, it's tough to regain";
	mes "your health once you lose it.";
	close;

s_TalkDisciple:
	mes "[Nagash Arses]";
	mes "Did something happen to him?";
	mes "I've been worried since he hasn't";
	mes "come to visit me since you last";
	mes "came to speak with me.";
	next;
	if(QL_POISONPATH == 1)goto s_BeFine;
	if(countitem(678))menu "Give him Poison Bottle.",s_Bottle,"Cancel and go to 'Song Zhi Du'.",-;
	else
	{
	mes "[" + strcharinfo(0) + "]";
	mes "...Nothing much.";
	close;
	} 

	mes "[" + strcharinfo(0) + "]";
	mes "...Nothing much.";
	next;
s_BeFine:
	mes "[Nagash Arses]";
	mes "Hmm...?";
	mes "I guess you don't know what is";
	mes "going on. I've heard some bad";
	mes "rumors about him, which is why I'm";
	mes "asking.";
	next;
	mes "[Nagash Arses]";
	mes "I hope he'll be fine.";
	mes "After all, he's truly";
	mes "kind at heart.";
	close;

s_Bottle:
	delitem 678,1;
	mes "[Nagash Arses]";
	mes "Huh!?";
	mes "Isn't this...!?";
	next;
	mes "[Nagash Arses]";
	mes "I've dreamed of creating";
	mes "a poison of such potency!";
	mes "W-where did you find this?";
	next;
	menu "It's common nowadays.",-,"Explain to him what happened.",s_Explain;

	mes "[Nagash Arses]";
	mes "Really...?";
	mes "Then someone finally figured it out.";
	next;
	mes "[Nagash Arses]";
	mes "I shared all of my knowledge with";
	mes "others, so I guess a doctor might";
	mes "have figured out how to creat this.";
	next;
	mes "[Nagash Arses]";
	mes "^666666*Sigh...*^000000";
	mes "Now I feel depressed";
	mes "for some reason..";
	set QL_POISONPATH,1;
	close;

s_Explain:
	mes "^3131FFYou tell Nagash Arses how";
	mes "Song Zhi Du created this Deadly";
	mes "Poison Bottle and his plan to get";
	mes "his revenge on the lord of";
	mes "Louyang.^000000";
	next;
	mes "[Nagash Arses]";
	mes "^666666*Sigh...*^000000";
	next;
	mes "[Nagash Arses]";
	mes "Will you...";
	mes "Will you excuse";
	mes "me for a second...?";
	set QL_POISONPATH,2;
	close;

s_DontFeelG:
	mes "[Nagash Arses]";
	mes "Oh, you don't?";
	mes "Well, that can happen";
	mes "sometimes when you're";
	mes "in a foreign land for";
	mes "too long. I hope you";
	mes "feel better soon.";
	close;

s_StopHim:
	mes "[Nagash Arses]";
	mes "Youngster...";
	mes "I beg of you.";
	mes "Please don not let him";
	mes "bring any harm to the lord.";
	next;
	mes "[Nagash Arses]";
	mes "If you cannot stop him,";
	mes "then please interrupt him";
	mes "from carrying out his plan.";
	next;
	mes "[Nagash Arses]";
	mes "I tried...";
	mes "To convince myself";
	mes "that what I had heard";
	mes "were just ugly rumors.";
	mes "I was wrong...";
	next;
	mes "[Nagash Arses]";
	mes "I am pretty sure he's been asking";
	mes "you, as well as others, for aid.";
	mes "Even if you do not agree to carry";
	mes "out his plan, I'm sure he will find";
	mes "someone to poison Lord Bai Long.";
	next;
	mes "[Nagash Arses]";
	mes "There is only one way he can";
	mes "poison the lord. He likes";
	mes "drinking, and has a favorite";
	mes "drink bottle he keeps with him";
	mes "all the time. You must get rid";
	mes "of his drink.";
	next;
	mes "[Nagash Arses]";
	mes "Please, I beg you.";
	mes "for my sake, as well";
	mes "as that of my disciple,";
	mes "Louyang's leader must live...";
	close;

s_Emo:
	mes "^3131FFNagash Arses. He is no longer a";
	mes "well-known Assassin of the martial";
	mes "arts organization of which he was";
	mes "once master has lon since";
	mes "disbanded.";
	next;
	mes "^3131FFNow he is but a poor old man";
	mes "who is in anguish over his";
	mes "disciple. No matter what you say,";
	mes "he continues to talk about";
	mes "something totally unrelated, as if";
	mes "in a dream.";
	close;

s_Happened:
	mes "[Nagash Arses]";
	mes "So...";
	mes "What..";
	mes "What happened?";
	next;
	mes "[" + strcharinfo(0) + "]";
	mes "i made it.";
	next;
	emotion 6;
	mes "[Nagash Arses]";
	mes "You did?!";
	mes "Oh~ thank you,";
	mes "thank you so much!";
	next;
	mes "[Nagash Arses]";
	mes "Thank God I've";
	mes "lived this long.";
	mes "And... I just realized";
	mes "something while you were away.";
	next;
	mes "[Nagash Arses]";
	mes "This is a journal that I have been";
	mes "writing for 15 years about my";
	mes "feelings of guild, and what really";
	mes "happened in the past. I hope you";
	mes "can deliver this to the lord for";
	mes "me.";
	next;
	mes "^3131FFYou obtained";
	mes "^0000FFPoison King,";
	mes "Nagash Arses' Journal.";
	set QL_POISONKING,15;
	close;

s_Hope:
	mes "[Nagash Arses]";
	mes "I hope you";
	mes "can deliver this";
	mes "to Lord Bai Long...";
	close;

s_Letter:
	mes "^3131FFYou gave him the";
	mes "^0000FFLetter from Bai Long.^000000";
	next;
	mes "[Nagash Arses]";
	mes "What's this...?";
	next;
	mes "[Nagash Arses]";
	mes "Why, he's invited me";
	mes "to take the position of";
	mes "a government official!";
	mes "I'm truly grateful!";
	next;
	mes "[Nagash Arses]";
	mes "However, please let him";
	mes "know that I must respectfully";
	mes "decline his offer. I'm afraid that";
	mes "I may be a burden to him once";
	mes "again.";
	next;
	mes "[Nagash Arses]";
	mes "Please tell him that I wish to";
	mes "enjoy the rest of my life here.";
	mes "Also, there are people here";
	mes "who still need me...";
	next;
	mes "[Nagash Arses]";
	mes "Thank you, youngster.";
	mes "You've stopped my disciple";
	mes "and helped me make up";
	mes "with an old friend...";
	next;
	mes "^3131FFNagash Arses put his palm on your";
	mes "back, and you can feel his strength";
	mes "flowing into you.";
	percentheal 100,100;
	next;
	mes "^3131FFYou grow dizzy, but you can also feel";
	mes "like you're becoming more powerful";
	mes "and gaining experience.";
	if(BaseLevel < 56) getexp 9000,0;
	else if(BaseLevel > 55 && BaseLevel < 61) getexp 10500,0;
	else if(BaseLevel > 60 && BaseLevel < 66) getexp 18684,0;
	else if(BaseLevel > 65 && BaseLevel < 71) getexp 27411,0;
	else if(BaseLevel > 70 && BaseLevel < 76) getexp 70757,0;
	else if(BaseLevel > 75 && BaseLevel < 81) getexp 130246,0;
	else if(BaseLevel > 80 && BaseLevel < 86) getexp 150340,0;
	else if(BaseLevel > 85 && BaseLevel < 91) getexp 182052,0;
	else if(BaseLevel > 90) getexp 406786,0;
	set QL_POISONKING,17;
	close2;
	warp "louyang",270,136;
	end;

s_Proud:
	mes "[Nagash Arses]";
	mes "My name, Nagash Arses,";
	mes "is also the name of the poison king";
	mes "in the legend of Arcturus. I have";
	mes "a good reason to be proud of my";
	mes "name!";
	close;

}

lou_in01,101,124,0	script	#LouSoldChk	139,100,0,{
	if(QL_POISONKING == 13)goto s_SoldChk;
	end;

s_SoldChk:
	mes "[Soldier]";
	mes "Who goes there!";
	next;
	mes "^3131FFYou ran away as quickly as you";
	mes "could!";
	close2;
	warp "louyang",218,249;
	end;

}

lou_in01,115,163,0	script	#LouSoldChk2	139,0,2,{
	if(QL_POISONKING == 13)goto s_SoldChk;
	end;

s_SoldChk:
	mes "[Soldier]";
	mes "Who goes there!";
	next;
	mes "^3131FFYou escape before the soldier can";
	mes "find you.";
	close2;
	warp "louyang",217,278;
	end;

}

lou_in01,115,163,0	script	#LouSoldChk3	139,25,0,{
	if(QL_POISONKING == 13)goto s_SoldChk;
	end;

s_SoldChk:
	mes "[Soldier]";
	mes "Who goes there!";
	next;
	mes "^3131FFYou escape before the soldier can";
	mes "find you.";
	close2;
	warp "louyang",217,278;
	end;

}
louyang,218,278,0	script	#LouSecEntrnc	111,{

	mes "[" + strcharinfo(0) + "]";
	mes "What's this?";
	mes "A crack in the wall?";
	next;
	mes "^3131FFYou jump to the stone wall and peek into the crack. It looks big enough for someone to squeeze through.";
	next;
	mes "You move through the crack as";
	mes "quickly as you can.";
	close2;
	warp "lou_in01",119,167;
	end;

}

lou_in01,117,167,0	script	#LouSecExit	111,{

	mes "[" + strcharinfo(0) + "]";
	mes "What's this?";
	mes "A crack in the wall?";
	next;
	mes "^3131FFYou jump to the stone wall and peek into the crack. It looks big enough for someone to squeeze through.";
	next;
	mes "You move through the crack as";
	mes "quickly as you can.";
	close2;
	warp "louyang",217,278;
	end;

}

lou_in01,106,162,0	script	#BaiLongBottle	111,{

	if(QL_POISONPATH > 1 && countitem(713) && countitem(938))goto s_Save;
	if(QL_POISONKING != 13)goto s_Fancy;
	mes "^3131FFYou found a drink bottle that's";
	mes "possibly owned by Bai Long, lord of";
	mes "Louyang.^000000";
	if(QL_POISONPATH < 2 && countitem(678))goto s_Assassinate;
	close;

s_Assassinate:
	next;
	delitem 678,1; //Poison Bottle
	mes "^3131FFYou put the deadly poison into the bottle.";
	set QL_POISONKING,14;
	next;
	mes "^3131FFIt would be smart to get out of this place as soon as you can.";
	close;

s_Fancy:
	mes "^3131FFYou found a drink bottle. It's fancy enough that the only possible owner could be Bai Long, lord of Louyang.";
	close;

s_Save:
	mes "^3131FFYou take the drink bottle and replace it with a bottle filled with sticky mucus. Hopefully Bai Long won't notice!";
	delitem 713,1; //Empty Bottle
	delitem 938,1; //Stick Mucus
	set QL_POISONKING,14;
	close;

}

//===================================================================
// Revolution Quest
//===================================================================

lou_in02,77,37,7	script	Hermit	824,{

	if(!QL_REVOL)
	{
		mes "[Sun Mao]";
		mes "Where there's a will,";
		mes "there's a way. When we";
		mes "work together, there's";
		mes "nothing we cannot do.";
		next;
		mes "[Sun Mao]";
		mes "Will you lend us your power, and help us build a better future? Will you join our movement for social reform in Louyang?";
		next;
		mes "[Sun Mao]";
		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.";
		next;
		mes "[Sun Mao]";
		mes "My name...";
		mes "is Sun Mao.";
		mes "This invitation may be sudden, but I am a man of action. I see in your face that you too despise injustice.";
		next;
		switch( select( "What am I supposed to do?","I will join you!","Well, I'm just another tourist..." ) )
		{
			case 1:
				mes "[Sun Mao]";
				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!";
				next;
				mes "[Sun Mao]";
				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.";
				next;
				mes "[Sun Mao]";
				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...";
				next;
				mes "[Sun Mao]";
				mes "I suppose you understand the urgency of our cause, and our need to gather others who see the merit of our goals!";
				close;

			case 2:
				mes "[Sun Mao]";
				mes "Oh, God must be on my side today and has sent you to me. Thank you for making the big decision...";
				next;
				mes "[Sun Mao]";
				mes "I shall then engrave your name";
				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?";
				next;
				switch( select( "No, wait!","I am 100% sure." ) )
				{
					case 1:
						mes "[Sun Mao]";
						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.";
						close;

					case 2:
						set QL_REVOL,1;
						mes "[Sun Mao]";
						mes "" +strcharinfo(0)+ "...!";
						mes "Your name is now engraved on this bloody pledge board. We will fight together to the death for Louyang's future!";
						next;
						getpartymember(getcharid(1));
						set @partymember,$@partymembercount;
						if (getpartyleader(getcharid(1),1) == getcharid(0) || !@partymember)
						{
							mes "[Sun Mao]";
							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.";
							next;
							mes "[Sun Mao]";
							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.";
							next;
							mes "[Sun Mao]";
							mes "Now, I will wait for you here. Go forth and find others who wish for a better future for Louyang!";
							close;
						}
						mes "[Sun Mao]";
						mes "Please assist the people who fight behind you. As more are gathered, one of our comrades will inform you of further instructions.";
						close;
				}

			case 3:
				mes "[Sun Mao]";
				mes "Are you...? I see, you may leave now. Do not reveal what you have seen or heard in this place.";
				next;
				mes "[Sun Mao]";
				mes "If you're a real tourist, you do not want to get involved in our business, one way or another.";
				close;
		}
	}
	else if(getpartyleader(getcharid(1),2) == getcharid(0))
	{
		if(QL_REVOL == 9)
		{
			mes "[Sun Mao]";
			mes "Once again,";
			mes "thank you for";
			mes "your trouble.";
			mes "Go back safe.";
			close;
		}
		getpartymember(getcharid(1));
		set @partymember,$@partymembercount;
		if(QL_REVOL < 8)
		{
			if(@partymember == QL_REVOL +1)
			{
				if(@partymember != 8)
				{
					set QL_REVOL,QL_REVOL +1;
					mes "[Sun Mao]";
					mes "Oh, you brought a new comrade! Welcome. Please help your friend understand our intentions before joining us.";
					next;
					mes "[Sun Mao]";
					switch(QL_REVOL)
					{
						case 2:
							mes "Please bring another friend that both of you can trust. Remember, add one person at a time into your party.";
							next;
							mes "[Sun Mao]";
							mes "Otherwise, other people may learn of what we are doing, and that will lead to trouble.";
							close;

						case 3:
							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.";
							close;

						case 4:
							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.";
							close;

						case 5:
							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.";
							close;

						case 6:
							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.";
							close;

						case 7:
							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.";
							close;
					}
				}
				mes "[Sun Mao]";
				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.";
				next;
				if(BaseLevel < 50)
				{
					mes "[Sun Mao]";
					mes "It is almost time to take the action...";
					next;
					mes "[Sun Mao]";
					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.";
					next;
					mes "[Sun Mao]";
					mes "However, we still have time. Go out and train with the party members you have gathered to gain more experience.";
					next;
					mes "[Sun Mao]";
					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.";
					close;
				}
				mes "[Sun Mao]";
				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.";
				next;
				mes "[Sun Mao]";
				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.";
				next;
				mes "[Sun Mao]";
				mes "Recently, some of the evil organizations have conspired with corrupt government officials in the interest to expand their power.";
				next;
				mes "[Sun Mao]";
				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.";
				next;
				mes "[Sun Mao]";
				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.";
				next;
				mes "[Sun Mao]";
				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.";
				next;
				mes "[Sun Mao]";
				mes "Your mission will be to deliver these chemicals to our comrade Hao Chenryu who is held captive by the government.";
				next;
				mes "[Sun Mao]";
				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!";
				next;
				set QL_REVOL,8;
				getitem 7068,8;
				getitem 7096,8;
				getitem 7004,8;
				mes "[Sun Mao]";
				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?";
				close;

			}
			else if(@partymember < QL_REVOL +1)
			{
				mes "[Sun Mao]";
				switch(QL_REVOL)
				{
					case 1:
						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.";
						close;

					case 2:
						mes "Hmmm...";
						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!";
						close;

					case 3:
						mes "Hmmm...";
						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!";
						close;

					case 4:
						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!";
						close;

					case 5:
						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!";
						close;

					case 6:
						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!";
						close;

					case 7:
						mes "Hmmm...";
						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!";
						close;
				}
			}
			else
			{
				mes "[Sun Mao]";
				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!";
				next;
				mes "[Sun Mao]";
				switch(QL_REVOL)
				{
					case 1:	
						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.";
						close;

					case 2:
						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.";
						close;
					case 3:
						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.";
						close;
					case 4:
						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.";
						close;
					case 5:
					case 6:
						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!";
						close;
					case 7:
						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.";
						close;
				}
			}
		}
		else if(QL_REVOL == 8)
		{
			if(@partymember == 8)
			{
				if(countitem(7204) > 7)
				{
					mes "[Sun Mao]";
					mes "Welcome back! I see that the mission has been successfully accomplished! Great work, men!";
					next;
					mes "[Sun Mao]";
					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.";
					next;
					delitem 7204,countitem(7204);
					set ch_make,0;
					set QL_REVOL,9;
					getitem 668,8;
					mes "[Sun Mao]";
					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.";
					next;
					mes "[Sun Mao]";
					mes "Once again, I thank you for your help. Now, go in safety.";
					close;
				}
				mes "[Sun Mao]";
				mes "Your mission is to take the materials I have given you and your party members, and to smuggle them to Hao Chenryu.";
				next;
				mes "[Sun Mao]";
				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.";
				close;
			}
			mes "[Sun Mao]";
			mes "Huh, where are all your members? Come back to me with all of your recruits.";
			next;
			mes "[Sun Mao]";
			mes "Remember that you move together with your comrades. There isn't a traitor amongst you, is there?";
			close;
		}
	}
	else
	{
		if(ch_make == 1)
		{
			set ch_make,0;
			mes "[Sun Mao]";
			mes "Ah...";
			mes "You have";
			mes "returned!";
			mes "Ha ha ha ha!";
			next;
			mes "[Sun Mao]";
			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.";
			close;
		}
		mes "[Sun Mao]";
		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.";
		close;
	}
}

lou_in01,43,147,3	script	Gunpowder Expert	750,{

	if(ch_make == 0)
	{
		getpartymember(getcharid(1));
		set @partymember,$@partymembercount;
		if(!QL_REVOL)
		{
			mes "[Hao Chenryu]";
			mes "Who...";
			mes "Are you?";
			next;
			mes "[Hao Chenryu]";
			mes "I only trust my comrades in the cause for Louyang, so leave me alone. Death before oppression! Freedom for Louyang!";
			close;
		}
		else if(@partymember != 8)
		{
			mes "[Hao Chenryu]";
			mes "Mao told me that eight Rune-Midgardians";
			mes "would be coming.";
			mes "But what happened?";
			mes "I'm confused...";
			next;
			mes "[Hao Chenryu]";
			mes "Mao's plans are flawless,";
			mes "so I'm sticking to the scenario he's drawn up. You're either improvising needlessly, or you're not really my comrade...";
			close;
		}
		else if(countitem(7068) && countitem(7096) && countitem(7004))
		{
			mes "[Hao Chenryu]";
			mes "Ah, I see that Mao";
			mes "has sent you. I'm sorry";
			mes "for the trouble you've";
			mes "gone through to smuggle";
			mes "the chemicals to me, comrade.";
			next;
			mes "[Hao Chenryu]";
			mes "Please give me";
			mes "a minute so that";
			mes "I may quickly make";
			mes "the gunpowder.";
			next;
			switch( select( "Make Gunpowder.","Cancel." ) )
			{
				case 1:
					delitem 7068,1;
					delitem 7096,1;
					delitem 7004,1;
					mes "[Hao Chenryu]";
					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.";
					set ch_make,1;
					getitem 7204,1;
					close;

				case 2:
					mes "[Hao Chenryu]";
					mes "Is...";
					mes "Something wrong?!";
					next;
					mes "[Hao Chenryu]";
					mes "I guess we must";
					mes "be extra careful,";
					mes "as there is much";
					mes "surveillance in";
					mes "this place.";
					close;
			}
		}
		else
		{
			mes "[Hao Chenryu]";
			mes "Hmmm...";
			mes "It seems like";
			mes "you're one of us.";
			next;
			mes "[Hao Chenryu]";
			mes "If you came for the";
			mes "gunpowder, you should";
			mes "get some chemcials";
			mes "from your party leader.";
			close;
		}
	}
	else if(countitem(7204))
	{
		mes "[Hao Chenryu]";
		mes "Be careful!";
		mes "It's easy for";
		mes "gunpowder to be";
		mes "found during the";
		mes "inspection process!";
		mes "Hide it well...!";
		close;
	}
	else
	{
		mes "[Hao Chenryu]";
		mes "I hope you bring the gunpowder to Mao safely. The next time you see him, please give him my thanks.";
		close;
	}
}

lou_in01,45,138,3	script	Soldier	825,{

	if(countitem(7204))
	{
		mes "[Soldier]";
		mes "Hold on there!";
		next;
		mes "[Soldier]";
		mes "You're not allowed to bring any gunpowder out of here. Now go";
		mes "and put it back, Rune-Midgardian! Move!";
		close;
	}
	mes "[Soldier]";
	mes "It's strange to see outsiders in this kind of place. We don't have any business with you,";
	mes "so move along.";
	close2;
	warp "lou_in01",82,141;
	end;
}

lou_in01,82,139,7	script	Soldier	825,{

	if(countitem(7068) || countitem(7096) || countitem(7004))
	{
		mes "[Soldier]";
		mes "I am sorry, but it is prohibited to enter with some of the products";
		mes "you are carrying. I cannot let you in.";
		close;
	}
	mes "[Soldier]";
	mes "There is nothing much, but if you wish to look around this room, please be my guest.";
	close2;
	warp "lou_in01",47,141;
	end;
}