summaryrefslogblamecommitdiff
path: root/npc/quests/quests_louyang.txt
blob: d2f1514d34da83126142d271d6180a35380a40a1 (plain) (tree)
1
2
3
4
5
6
7
8
9
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
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
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
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012




                                                               
       


                                                               








                                         


                                                               
                                          
                                                                             
                                                                           
                                                                        


                                                                   

                                                             

                                                               
             
                                                              










                                                          
 





























































                                                                      
 





















                                                                                                             

              
































































                                                                      
 



























                                                                                                                             

              

































































                                                                      
 













































                                                                                                                                              
             


                                                                                                                              
             


                                                                                                               
             

                                                                                                         
             

                                                                                                                                   
             



                                                                                                                     
 



































































                                                                      
            
 
 




































































































































































                                                                                                                                                                                              
                            

                                                                                       
              

 
                                                     
                      

























































































                                                                                                                                                          
                            
                                                                            
             
                            


                           
               
                                  
            
 
 






































































                                                                                                                                               
 












































































                                                                                                                                               
             


                                                                                               
             

                                                                                                                                             
             

                                                                                                                                        
             


                                                           
             


                                                      
             



                                                          
             

                                                             
             



                                                                           


              











































                                                                      
            

 













                                                                                                                                                             
             





                                     
             

                                                                                 
             


                                                                                                        
             




                           
              
 
 















                                                                                                                                            
                            
                                                                                                                                                                  

                            

                                                                                                                                    

                            
                                                                                                                                                    


              


                                                                                  
             


                                                                        
             


                                                                                                                   
             

                                                                                                                                         
              
 
 



                                                     
             

























                                                                                               


              












                                                                                                                   

                                            
                                                                      







                                 


                                     


              
               
                                                              







                                                                                                                                   
                                                                    



































































































































































































































































































































































































                                                                                                                                                                                                                                   
             

                                                                                                                                                        
             


                                                                                                                                    
             




                               
              
 
 

























































































                                                                                                                                                                                    
                                                                    





























































































































































































































                                                                                                                                                                                       
             



                                        

              




                     
                      
            
 


                     
 


                      
 















































































































































                                                                                                                                                                                 
                            

                                  

                            


                                                                                


              


























































































































































                                                                                                                                                                          
                             


                                                                                                                                                                                  
             
                             

                                                                                                                                                      


              











































                                                                                                                                                                                              

                             
                                                                                                                                                                          
              
 
 












































                                                                                                                                                                                             

                             

                                                                                                                                                                          
              
 
 













































                                                                                                                                                                                             

                             
                                                                                                                                                                          
              
 
 













































                                                                                                                                                                                             
             
                             
                                                                                                                                                                          


              









































                                                                                                                                                                                             
             

                                                                                                                                                                          
              

 



                                                                     
 
                    
                                                              
                                                     

                                                             

                                                       
                                    

                            




                                                                                                                                                    










































































































































































































































































































































































































































































































































































































































































































                                                                                                                                                                                                                                                       
         










                                                                                                                    
         























































































































































































































































































                                                                                                                                                                                                
         

 
                                                     




                                                                                                                                                 



































































                                                                                                                                                                               
         






























































































































































































































































































































































































































































































































































































































                                                                                                                                                                                                             
         


                                                                                                                                               
 
 
                                                     




                                                                                                                                         































                                                         
         











































































































                                                                                                                                            
         
 
 
                                             

            

                                                      
            
 
 










                                                                          
            

 












                                                                                                          
            
 
 











                                                                                    
            

 










                                                                                                  
            
 
 











                                                                                
            
 
 













                                                                                                                                            
            

 




























                                                                                                                                                                       
 












                                                                                         
            

 
                                                     




                                                                                                                                        





















































































                                                                                                                                          
 


















                                                                                                                                                                                 
              
 
 














                                                             
             










                                                     
             

                                 
              
 
 






















                                                                                    
              
 
 


















                                                                                
              
 
 

                                                                     






















































                                                                                                                                                                                                       
                                                                           













































































































































































































































































































































































                                                                                                                                                                                                                                                                       
                                                     


















                                                                                                        
                                                     












                                                                                                   
 
//===== eAthena Script ======================================= 
//= Quest NPCs related to Louyang
//===== By: ================================================== 
//= Evera and The eAthena Dev Team
//===== Current Version: ===================================== 
//= 1.7
//===== Compatible With: ===================================== 
//= eAthena 1.0
//===== Description: ========================================= 
//= [Aegis Conversion]
//= Soup Quest
//= - Variable in use: che_tre (max 5)
//= Doctor Quest
//= - Variable in use: che_par (max 18)
//= Poison King Quest 
//= - Variable in use: ch_poison (max 20)
//= Revolution Quest
//= - Variable in use: QL_REVO (max 9)
//===== 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]
//= 1.4 Corrected NPC names to fall within proper restrictions. [L0ne_W0lf]
//= 1.5 Fixed bad NPC header data to comply with rev. 11603. [L0ne_W0lf]
//= 1.6 Rescripted Soup, Doctor, and Poison King quests [L0ne_W0lf]
//=	to Aegis 10.3 standards. Attempted to save current
//=	quest progress from the old scripts.
//= 1.7 Added missing checkweights. And corrected [L0ne_W0lf]
//=	a typo in Poison King quest.
//============================================================ 

// Soup Quest
//============================================================
lou_in02,53,174,7	script	Employee#1	822,6,62,{
	if (gettime(3) >= 10 && gettime(3) < 22) {
		mes "[Chang Pai]";
		mes "Welcome, welcome!";
		mes "We are ready to serve you~!";
		mes "Now, go ahead and go upstairs~!";
		close;
	}
	mes "[Chang Pai]";
	mes "^666666*Yawn...*^000000";
	close;

OnTouch:
	if (ch_tre == 2 || ch_tre == 3) {
		if (gettime(3) >= 10 && gettime(3) < 14) {
			if (rand(1,10) < 9) {
				mes "[Chang Pai]";
				mes "Wait, who are you?!";
				mes "Put that down and get";
				mes "of out here right now!";
				next;
				mes "^3131FFYou have failed^000000";
				mes "^3131FFto steal the pot.^000000";
				set ch_tre,1;
				close;
			}
		}
		else if (gettime(3) >= 14 && gettime(3) < 17) {
			if (rand(1,10) < 10) {
				mes "[Chang Pai]";
				mes "Wait, who are you?!";
				mes "Put that down and get";
				mes "of out here right now!";
				next;
				mes "^3131FFYou have failed^000000";
				mes "^3131FFto steal the pot.^000000";
				set ch_tre,1;
				close;
			}
		}
		else if (gettime(3) >= 17 && gettime(3) < 21) {
			if (rand(1,10) < 6) {
				mes "[Chang Pai]";
				mes "Wait, who are you?!";
				mes "Put that down and get";
				mes "of out here right now!";
				next;
				mes "^3131FFYou have failed^000000";
				mes "^3131FFto steal the pot.^000000";
				set ch_tre,1;
				close;
			}
		}
		else {
			if (rand(1,10) < 5) {
				mes "[Chang Pai]";
				mes "^666666*Yawn...*^000000";
				mes "So...";
				mes "Sleepy...";
				next;
				mes "[Chang Pai]";
				mes "Huh...?";
				mes "Who are you!?";
				mes "Hey, I got a thief here!";
				next;
				mes "^3131FFYou have failed^000000";
				mes "^3131FFto steal the pot.^000000";
				set ch_tre,1;
				close;
			}
		}
	}
	end;
}

lou_in02,76,181,3	script	Employee#2	822,2,2,{
	if (gettime(3) >= 10 && gettime(3) < 22) {
		mes "[Huang Jia Xian]";
		mes "Welcome~";
		mes "Sorry for making you wait. If you wish to rest, please go upstairs.";
		next;
		mes "[Huang Jia Xian]";
		mes "Recently, many tourists are visiting Louyang and although business is great, we're now";
		mes "busier than ever.";
		next;
		mes "[Huang Jia Xian]";
		mes "^666666*Sigh...*^000000";
		mes "I don't even";
		mes "have time to eat.";
		mes "I'm starving...!";
		close;
	}
	mes "[Huang Jia Xian]";
	mes "Ehhhh...";
	mes "Forgive me...";
	mes "....................";
	mes "...Zzzzz...Zzzz...";
	close;

OnTouch:
	if (ch_tre == 2 || ch_tre == 3) {
		if (gettime(3) >= 10 && gettime(3) < 14) {
			if (rand(1,10) < 9) {
				mes "[Huang Jia Xian]";
				mes "What the...?";
				mes "Hey, what";
				mes "are you doing?";
				mes "Get out of here!";
				next;
				mes "^3131FFYou have failed^000000";
				mes "^3131FFto steal the pot.^000000";
				set ch_tre,1;
				close;
			}
		}
		else if (gettime(3) >= 14 && gettime(3) < 17) {
			if (rand(1,10) < 10) {
				mes "[Huang Jia Xian]";
				mes "What the...?";
				mes "Hey, what";
				mes "are you doing?";
				mes "Get out of here!";
				next;
				mes "^3131FFYou have failed^000000";
				mes "^3131FFto steal the pot.^000000";
				set ch_tre,1;
				close;
			}
		}
		else if (gettime(3) >= 17 && gettime(3) < 22) {
			if (rand(1,10) < 6) {
				mes "[Huang Jia Xian]";
				mes "What the...?";
				mes "Hey, what";
				mes "are you doing?";
				mes "Get out of here!";
				next;
				mes "^3131FFYou have failed^000000";
				mes "^3131FFto steal the pot.^000000";
				set ch_tre,1;
				close;
			}
		}
		else {
			if (rand(1,10) < 5) {
				mes "[Huang Jia Xian]";
				mes "*Yawn...*";
				mes "So very tired...";
				next;
				mes "[Huang Jia Xian]";
				mes "Hey, what are you";
				mes "doing here? Are you";
				mes "a Thief?! Somebody help!";
				mes "There's a Thief!";
				next;
				mes "^3131FFYou have failed^000000";
				mes "^3131FFto steal the pot.^000000";
				set ch_tre,1;
				close;
			}
		}
	}
	end;
}

lou_in02,61,175,3	script	Employee#3	818,2,2,{
	if (gettime(3) >= 10 && gettime(3) < 22) {
		if (ch_tre == 5) {
			mes "[Ya Hua]";
			mes "Welcome, welcome!";
			mes "We have many rooms";
			mes "available! Why don't";
			mes "you go upstairs?";
			mes "Ha ha ha!";
			next;
			emotion e_swt;
			mes "[Ya Hua]";
			mes "Oh, if by any chance you came to try the Dragon Soup, I'm sorry, but it's no longer availalbe.";
			next;
			mes "[Ya Hua]";
			mes "But don't be too disappointed, we serve many other delicious foods that you can choose from!";
			close;
		}
		mes "[Ya Hua]";
		mes "Welcome, welcome!";
		mes "We have many rooms";
		mes "available! Why don't";
		mes "you go upstairs?";
		mes "Ha ha ha!";
		close;
	}
	mes "[Ya Hua]";
	mes "^666666*Yawn...*^000000";
	close;

OnTouch:
	if (ch_tre == 2 || ch_tre == 3) {
		if (gettime(3) >= 10 && gettime(3) < 14) {
			if (rand(1,10) < 9) {
				mes "[Ya Hua]";
				mes "What do you think";
				mes "you're doing here?!";
				mes "Put that down and";
				mes "leave right now!";
				next;
				mes "^3131FFYou have failed^000000";
				mes "^3131FFto steal the pot.^000000";
				set ch_tre,1;
				close;
			}
		}
		else if (gettime(3) >= 14 && gettime(3) < 17) {
			if (rand(1,10) < 10) {
				mes "[Ya Hua]";
				mes "What do you think";
				mes "you're doing here?!";
				mes "Put that down and";
				mes "leave right now!";
				next;
				mes "^3131FFYou have failed^000000";
				mes "^3131FFto steal the pot.^000000";
				set ch_tre,1;
				close;
			}
		}
		else if (gettime(3) >= 17 && gettime(3) < 22) {
			if (rand(1,10) < 6) {
				mes "[Ya Hua]";
				mes "What do you think";
				mes "you're doing here?!";
				mes "Put that down and";
				mes "leave right now!";
				next;
				mes "^3131FFYou have failed^000000";
				mes "^3131FFto steal the pot.^000000";
				set ch_tre,1;
				close;
			}
		}
		else {
			if (rand(1,10) < 5) {
				mes "[Ya Hua]";
				mes "^666666*Yawn...*^000000";
				mes "Eyelids...";
				mes "Getting...";
				mes "Heavier...";
				next;
				mes "[Ya Hua]";
				mes "Wait a sec...";
				mes "Are you a Thief?!";
				mes "Get out of here!!";
				next;
				mes "^3131FFYou have failed^000000";
				mes "^3131FFto steal the pot.^000000";
				set ch_tre,1;
				close;
			}
		}
	}
	end;
}

lou_in02,62,183,3	script	Chef#1-2	820,2,2,{
	if (ch_tre > 0 && ch_tre < 4) {
		mes "[Wang Shi Long]";
		mes "Hm? Aren't you a customer? I am Wang Shi Long, the chef of this restaurant.";
		next;
		mes "[Wang Shi Long]";
		mes "My family has served food to Lord Bai Long for a long time. This restaurant is own by my family and I am the successor.";
		next;
		mes "[Wang Shi Long]";
		mes "Every dish my family cooks is counted among the most delicious food in Louyang.";
		next;
		mes "[Wang Shi Long]";
		mes "Our Dragon Soup won especially high praise from our Lord Bai Long.";
		next;
		mes "[Wang Shi Long]";
		mes "I'm also proud to tell you that my family only uses the freshest, highest quality ingredients for our dishes.";
		next;
		mes "[Wang Shi Long]";
		mes "We have been popular in Louyang for hundreds and hundreds of years because of the quality of our gourmet food.";
		next;
		mes "[Wang Shi Long]";
		mes "Recently, though, I've had a bad feeling that someone is trying to take over our restaurant...";
		next;
		mes "[Wang Shi Long]";
		mes "Oh, well. Maybe I'm in a different mood because of some other reason. It's probably nothing.";
		close;
	}
	else if (ch_tre > 3 && ch_tre < 6) {
		mes "[Wang Shi Long]";
		mes "^666666*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 restaurant will now just be like all the others...";
		close;
	}
	mes "[Wang Shi Long]";
	mes "Hello, are you";
	mes "one of our customers?";
	mes "I am Wang Shi Long,";
	mes "the chef of this";
	mes "restaurant.";
	next;
	mes "[Wang Shi Long]";
	mes "My family has served food";
	mes "to Lord Bai Long for a long time. This restaurant has been handed down the family line, and I am the successor~";
	next;
	mes "[Wang Shi Long]";
	mes "Our specialty dish, Dragon Soup, won especially high praise from 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 with only the freshest and highest quality ingredients.";
	next;
	mes "[Wang Shi Long]";
	mes "We've always been popular in Louyang for hundreds and hundreds of years because of our high quality gourmet cuisine.";
	next;
	mes "[Wang Shi Long]";
	mes "In this dry and hot weather,";
	mes "Dragon Soup is the best food for any appetite. I suggest that you try a bowl. You'll be quite pleased!";
	close;

OnTouch:
	set rand(1,10),rand(1,10);
	if (ch_tre == 2 || ch_tre == 3) {
		if (gettime(3) >= 10 && gettime(3) < 14) {
			if (rand(1,10) < 9) {
				mes "[Wang Shi Long]";
				mes "Hey, what do you";
				mes "think you're doing?!";
				mes "Let go of that, and";
				mes "get outta here!";
				next;
				mes "^3131FFYou have failed^000000";
				mes "^3131FFto steal the pot.^000000";
				set ch_tre,1;
				warp "lou_yang",280,161;
				close;
			}
		}
		else if (gettime(3) >= 14 && gettime(3) < 17) {
			if (rand(1,10) < 10) {
				mes "[Wang Shi Long]";
				mes "Hey, what do you";
				mes "think you're doing?!";
				mes "Let go of that, and";
				mes "get outta here!";
				next;
				mes "^3131FFYou have failed^000000";
				mes "^3131FFto steal the pot.^000000";
				set ch_tre,1;
				warp "lou_yang",280,161;
				close;
			}
		}
		else if (gettime(3) >= 17 && gettime(3) < 22) {
			if (rand(1,10) < 6) {
				mes "[Wang Shi Long]";
				mes "Hey, what do you";
				mes "think you're doing?!";
				mes "Let go of that, and";
				mes "get outta here!";
				next;
				mes "^3131FFYou have failed^000000";
				mes "^3131FFto steal the pot.^000000";
				set ch_tre,1;
				warp "lou_yang",280,161;
				close;
			}
		}
		else {
			if (rand(1,10) < 5) {
				mes "[Wang Shi Long]";
				mes "^666666*Yawn...*^000000";
				mes "Hm...?";
				mes "Who's that?";
				next;
				mes "[Wang Shi Long]";
				mes "Wait...!";
				mes "What are you doing?!";
				mes "G-Get out of here!";
				next;
				mes "^3131FFYou have failed^000000";
				mes "^3131FFto steal the pot.^000000";
				set ch_tre,1;
				warp "lou_yang",280,161;
				close;
			}
		}
	}
	end;
}

lou_fild01,195,177,5	script	Jiu Lian Bu#1-1	819,{
	//Remove outdated variables and attempt to preserve prior quest progress.
	if (QL_ACCEPTSOUP) set ch_tre,1;
	if (QL_GOTDRAGONSOUP) set ch_tre,2;
	if (QL_GOTFAKESOUP) set ch_tre,3;
	if (QL_SOUPQUEST)  set ch_tre,4;
	if (QL_SOUP2) set ch_tre,5;
	set QL_ACCEPTSOUP,0; set QL_GOTDRAGONSOUP,0; set QL_GOTFAKESOUP,0; set QL_SOUPQUEST,0; set QL_SOUP2,0; 

	if (ch_tre == 0) {
		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 stream really puts my mind at ease.";
		next;
		mes "[Jiu Lian Bu]";
		mes "No offense, but I'm upset";
		mes "at the sheer number of tourists coming over to Louyang. 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";
		mes "to any place that 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 that. Man, I hate that restaurant!";
		next;
		if (select("What restaurant?:Ignore him.") == 1) {
			mes "[Jiu Lian Bu]";
			mes "West of Louyang, there's";
			mes "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 don't think that justifies how they 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 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, scamming, 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 people around here aren't too familiar with you. Hmmm...";
			next;
			mes "[Jiu Lian Bu]";
			mes "Would you sneak into that restaurant and steal the";
			mes "^3131FFDragon Soup Broth^000000 for me?";
			next;
			mes "[Jiu Lian Bu]";
			mes "The Dragon Soup Broth is the backbone for the restaurant";
			mes "owner's secret recipe.";
			next;
			mes "[Jiu Lian Bu]";
			mes "But they've been cheating their customers by watering that broth down and selling it for a ridiculous price! Serves them right if their secrets were stolen!";
			next;
			mes "[Jiu Lian Bu]";
			mes "If you can steal some of the broth, I'll pay you back. So whaddya say?";
			next;
			if (select("I'll do it!:No, stealing is wrong.") == 1) {
				mes "[Jiu Lian Bu]";
				mes "Grrrrreat!";
				mes "I knew you'd";
				mes "see things my way!";
				next;
				mes "[Jiu Lian Bu]";
				mes "Okay, the restaurant is at the West side of Louyang. But you gotta be careful. The workers there watch over that broth like freakin' hawks!";
				next;
				mes "[Jiu Lian Bu]";
				mes "When you finally steal the broth, make sure you bring it without spilling any. Okay? Good luck~";
				set ch_tre,1;
				close;
			}
			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;
		}
		mes "[Jiu Lian Bu]";
		mes "That joint isn't even that great. I mean, it's so obvious that they rip off their customers! Dragon Soup?! More like... Dragon Crap Soup!";
		close;
	}
	else if (ch_tre == 1) {
		mes "[Jiu Lian Bu]";
		mes "Huh...?";
		mes "Whoa, I thought you were on your way to the restaurant. You better get a move on.";
		next;
		mes "[Jiu Lian Bu]";
		mes "Alright then, pal. Make sure the guys who work there don't catch you. Good luck~";
		close;
	}
	else if (ch_tre == 2) {
		mes "[Jiu Lian Bu]";
		mes "Wow! You made it!";
		mes "Let me see...";
		next;
		mes "^3355FFJiu Lian Bu takes";
		mes "a hearty sip of the";
		mes "broth you've managed";
		mes "to steal for him.^000000";
		next;
		mes "[Jiu Lian Bu]";
		mes "Ohhhh man....";
		mes "This is soooo not Dragon Soup Broth. Sorry, but would you go";
		mes "and try to get it again?";
		set ch_tre,1;
		close;
	}
	else if (ch_tre == 3) {
		mes "[Jiu Lian Bu]";
		mes "Wow!";
		mes "You made it!";
		mes "Let me see...";
		next;
		mes "^3355FFJiu Lian Bu takes";
		mes "a hearty sip of the";
		mes "broth you've managed";
		mes "to steal for him.^000000";
		next;
		mes "[Jiu Lian Bu]";
		mes "Ooooh. Ooh yeah.";
		mes "This is the stuff.";
		mes "Muhahahahahaha~!";
		mes "This'll put the chef";
		mes "in agony for a while!";
		next;
		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~";
		set ch_tre,4;
		close2;
		warp "lou_fild01",180,170;
		end;
	}
	else if (ch_tre > 3 && ch_tre < 6) {
		mes "[Jiu Lian Bu]";
		mes "Hey~";
		mes "So how ya been, ya smooth criminal? You wanna visit that place again?";
		next;
		switch(select("Sure, let's go~:Nah, maybe next time.")) {
			mes "[Jiu Lian Bu]";
			mes "Alright~";
			mes "Let's get";
			mes "a groove on.";
			close2;
			warp "lou_fild01",180,170;
			end;
		}
		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;
	}
	mes "[Jiu Lian Bu]";
	mes "Wha...?";
	mes "Hey, who are you? If you don't got anything to say to me, then get lost!";
	close;
}

lou_fild01,175,173,3	script	Jiu Lian Bu#1-2	819,{
	emotion e_heh;
	if (ch_tre == 4) {
		mes "[Jiu Lian Bu]";
		mes "So...";
		mes "Whaddya think?";
		mes "Prettiest place";
		mes "in Louyang, isn't it?";
		next;
		mes "[Jiu Lian Bu]";
		mes "Whenever I'm depressed";
		mes "or need to relax, I just sit here in 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 sister. 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;
		emotion e_hmm;
		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 fist, 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 .@input$;
		mes "["+strcharinfo(0)+"]";
		mes .@input$;
		mapannounce "lou_fild01","'"+strcharinfo(0)+"' shouts : "+.@input$,bc_map,"0x9CFF00";
		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 "wanna relieve yourself of stress, come see me and we'll come back to this place. Call it my way of saying thanks.";
		set ch_tre,5;
		close;
	}
	else if (ch_tre == 5) {
		mes "[Jiu Lian Bu]";
		mes "So...";
		mes "Whaddya wanna do?";
		next;
		if (select("Shout.:Leave.") == 1) {
			mes "[Jiu Lian Bu]";
			mes "Alright~!";
			mes "Say it out loud!";
			next;
			input .@input$;
			mes "["+strcharinfo(0)+"]";
			mes .@input$;
			mapannounce "lou_fild01","'"+strcharinfo(0)+"' shouts : "+.@input$,bc_map,"0x9CFF00";
			next;
			mes "[Jiu Lian Bu]";
			mes "So, how do you feel? Don't you feel better now?";
			close;
		}
		mes "[Jiu Lian Bu]";
		mes "Ahhh...";
		mes "Alright, let's";
		mes "get a groove on.";
		close2;
		warp "lou_fild01",200,174;
		end;
	}
	mes "[Jiu Lian Bu]";
	mes "Hey, pal~! This is my turf! Whaddya think you're doin' here?!";
	next;
	mes "[Jiu Lian Bu]";
	mes "Now...";
	mes "Get the hell";
	mes "outta here.";
	close2;
	warp "lou_fild01",200,174;
	end;
}

lou_in02,50,185,5	script	Pot#1	111,{
	if (ch_tre == 1) {
		mes "^3131FFBeneath the shadows,";
		mes "you find a large pot filled with dark, red liquid. What do you";
		mes "want to do?^000000 ";
		next;
		if (select("Take the pot.:Look for another pot.") == 1) {
			mes "^3131FFYou take a careful look around.";
			mes "It wouldn't be wise to steal this now if anyone is watching.^000000";
			next;
			if (gettime(3) >= 10 && gettime(3) < 14) {
				mes "^3131FFThe restaurant doesn't seem busy right now, so there's only a few employees and customers.^000000";
			}
			else if (gettime(3) >= 14 && gettime(3) < 17) {
				mes "^3131FFOnly the restaurant";
				mes "employees are around,";
				mes "and they busy chatting";
				mes "amongst each other.^000000";
			}
			else if (gettime(3) >= 17 && gettime(3) < 22) {
				mes "^3131FFThe restaurant is filled";
				mes "with customers, and the";
				mes "hustle and bustle of the";
				mes "restaurant employees.^000000";
				next;
				mes "^3131FFEveryone seems so busy";
				mes "and preoccupied that they don't";
				mes "notice you approach the pot.^000000";
			}
			else {
				mes "^3131FFSince the restaurant";
				mes "is closed, the whole place";
				mes "is completely quiet. The";
				mes "employees are all asleep.^000000";
			}
			next;
			mes "^3131FFYou carefully lift the pot, and although it's heavy, you think";
			mes "you can carry it.^000000";
			next;
			mes "^3131FFAll you have";
			mes "to do now is get";
			mes "away from this restaurant";
			mes "without getting caught...^000000";
			if (rand(1,4) < 4) {
				set ch_tre,2;
			}
			else {
				set ch_tre,3;
			}
			close;
		}
		mes "^3131FFYou decide to^000000";
		mes "^3131FFlook for another pot.^000000";
		close;
	}
	else if (ch_tre > 3 && ch_tre < 6) {
		mes "^3131FFYou found a pot.^000000";
		mes "^3131FFHowever, it's empty.^000000";
		close;
	}
	if (gettime(3) >= 10 && gettime(3) < 22) {
		mes "[Chef]";
		mes "Ah...!";
		mes "Please, do not";
		mes "touch the pots!";
		close;
	}
	mes "^3131FFBeneath the shadows,";
	mes "you find a large pot filled with dark, red liquid.^000000 ";
	close;
}

lou_in02,49,185,5	script	Pot#2	111,{
	if (ch_tre == 1) {
		mes "^3131FFBeneath the shadows,";
		mes "you find a large pot filled with dark, red liquid. What do you";
		mes "want to do?^000000";
		next;
		if (select("Take the pot.:Look for another pot.") == 1) {
			mes "^3131FFYou take a careful look around.";
			mes "It wouldn't be wise to steal this now if anyone is watching.^000000";
			next;
			if (gettime(3) >= 10 && gettime(3) < 14) {
				mes "^3131FFThe restaurant doesn't seem busy right now, so there's only a few employees and customers.^000000";
			}
			else if (gettime(3) >= 14 && gettime(3) < 17) {
				mes "^3131FFOnly the restaurant";
				mes "employees are around,";
				mes "and they busy chatting";
				mes "amongst each other.^000000";
			}
			else if (gettime(3) >= 17 && gettime(3) < 22) {
				mes "^3131FFThe restaurant is filled";
				mes "with customers, and the";
				mes "hustle and bustle of the";
				mes "restaurant employees.^000000";
				next;
				mes "^3131FFEveryone seems so busy";
				mes "and preoccupied that they don't";
				mes "notice you approach the pot.^000000";
			}
			else {
				mes "^3131FFSince the restaurant";
				mes "is closed, the whole place";
				mes "is completely quiet. The";
				mes "employees are all asleep.^000000";
			}
			next;
			mes "^3131FFYou carefully lift the pot, and although it's heavy, you think";
			mes "you can carry it.^000000";
			next;
			mes "^3131FFAll you have";
			mes "to do now is get";
			mes "away from this restaurant";
			mes "without getting caught...^000000";
			if (rand(1,4) < 4) {
				set ch_tre,2;
			}
			else {
				set ch_tre,3;
			}
			close;
		}
		mes "^3131FFYou decided to^000000";
		mes "^3131FFlook for another pot.^000000";
		close;
	}
	else if (ch_tre > 3 && ch_tre < 6) {
		mes "^3131FFYou found";
		mes "an empty pot.^000000";
		close;
	}
	if (gettime(3) >= 10 && gettime(3) < 22) {
		mes "[Chef]";
		mes "Ah...!";
		mes "Please, do not";
		mes "touch the pots!";
		close;
	}
	mes "^3131FFBeneath the shadows,";
	mes "you find a large pot filled with dark, red liquid.^000000";
	close;
}

lou_in02,58,183,5	script	Chef Assistant#lou1	823,5,5,{
	mes "[Jin Wei Ling]";
	mes "I used to be";
	mes "an enthusiastic";
	mes "martial artist.";
	next;
	mes "[Jin Wei Ling]";
	mes "Although I became an";
	mes "assistant chef for a living, I always think of myself as a martial artist first.";
	next;
	mes "[Jin Wei Ling]";
	mes "So, I decided to reflect the spirit of the martial arts into my cooking. We are often very busy when there are many customers.";
	next;
	mes "[Jin Wei Ling]";
	mes "When we're busy, I can use my martial arts to cook cuisine much more quickly! Hahaha~ Martial arts can be very practical!";
	next;
	specialeffect 55; //"Chef Assistant" EF_BEGINSPELL3
	mes "[Jin Wei Ling]";
	mes "Waaa-!!!!";
	next;
	specialeffect 11; //"Chef Assistant" EF_ENDURE
	mes "[Jin Wei Ling]";
	mes "Waaa Taaah-!!!!!";
	next;
	specialeffect 121; //"Chef Assistant" EF_SONICBLOW
	mes "[Jin Wei Ling]";
	mes "Waaa...";
	mes "Waaa Taaah-!!!!!";
	next;
	specialeffect 122; //"Chef Assistant" EF_SONICBLOWHIT
	mes "^3355FF* Chop chop chop chop chop *^000000";
	next;
	emotion e_no1;
	mes "[Jin Wei Ling]";
	mes "Hahahaha! Look these perfect vergetable slices! Muhahahaha!!";
	mes "I will continue to hone my martial arts through cooking!";
	close;

OnTouch:
	if (ch_tre == 2 || ch_tre == 3) {
		if (gettime(3) >= 10 && gettime(3) < 14) {
			if (rand(1,10) < 9) {
				mes "[Jin Wei Ling]";
				mes "Wait! Who are you!";
				mes "Put that pot down";
				mes "and get out of";
				mes "here right now!";
				next;
				mes "^3131FFYou have failed^000000";
				mes "^3131FFto steal the pot.^000000";
				set ch_tre,1;
				close;
			}
		}
		else if (gettime(3) >= 14 && gettime(3) < 17) {
			if (rand(1,10) < 10) {
				mes "[Jin Wei Ling]";
				mes "Wait! Who are you!";
				mes "Put that pot down";
				mes "and get out of";
				mes "here right now!";
				next;
				mes "^3131FFYou have failed^000000";
				mes "^3131FFto steal the pot.^000000";
				set ch_tre,1;
				close;
			}
		}
		else if (gettime(3) >= 17 && gettime(3) < 22) {
			if (rand(1,10) < 6) {
				mes "[Jin Wei Ling]";
				mes "Wait! Who are you!";
				mes "Put that pot down";
				mes "and get out of";
				mes "here right now!";
				next;
				mes "^3131FFYou have failed^000000";
				mes "^3131FFto steal the pot.^000000";
				set ch_tre,1;
				close;
			}
		}
	}
	end;
}

lou_in02,80,173,3	script	Li Min#lou	746,{
	if (ch_tre == 5) {
		mes "[Li Min]";
		mes "^666666*Sigh*^000000 I am so disappointed. I came all the way down here to taste the food! I can't believe they don't sell it anymore!";
		next;
		mes "[Li Min]";
		mes "The worst part is that I'm already addicted to the taste! ^666666*Sob...*^000000";
		close;
	}
	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. 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 mouth, and its tempting scent lingering on my lips...";
	next;
	mes "[Li Min]";
	mes "Ummmmm...";
	mes "Royal Jelly!";
	mes "It makes my";
	mes "mouth water~";
	close;
}

lou_in02,42,186,5	script	Liu Jia Lim#lou	816,{
	if (ch_tre == 5) {
		mes "[Liu Jia Lim]";
		mes "Do you know what was this restaurant's best dish throughout all of its history? Dragon Soup!";
		next;
		emotion e_lv;
		mes "[Liu Jia Lim]";
		mes "Its delicate taste comes from";
		mes "a broth extracted from pure meat that does not contain any fat. So it's also a very popular diet food for the ladies.";
		next;
		mes "[Liu Jia Lim]";
		mes "I'm not sure what happened,";
		mes "but people say this restaurant no longer sells Dragon Soup.";
		mes "Was it because of the price...?";
		close;
	}
	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 "Its delicate taste comes from";
	mes "a broth extracted from pure meat that does not contain any fat. So it's also a very popular diet food for the ladies.";
	next;
	mes "[Liu Jia Lim]";
	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;
}

lou_in02,43,169,1	script	Jiang Rong#lou	827,{
	mes "[Jiang Rong]";
	mes "Dragon Soup is known for its spicy, yet sweet and refreshing taste.";
	next;
	mes "[Jiang Rong]";
	mes "It's made with all sorts of medicinal herbs, so it's good";
	mes "for your health as well.";
	next;
	mes "[Jiang Rong]";
	mes "Dragon Soup draws out the unnecessary heat created inside";
	mes "the body and circulates the blood. So it helps optimize the body's functions and promotes longevity.";
	next;
	mes "[Jiang Rong]";
	mes "I've eaten Dragon Soup regularly ever since I was young. Look at me, don't you think I look so healthy considering my age?";
	close;
}

louyang,261,123,3	script	Chi Wu Ping#lou	824,{
	mes "[Chi Wu Ping]";
	mes "I don't feel good...";
	mes "So... Totally out of it...";
	next;
	mes "[Chi Wu Ping]";
	mes "Oh, my aching body!";
	mes "All my muscles are sore...";
	mes "There's only one thing that could cure all of this agonizing... pain...";
	next;
	emotion e_gasp;
	mes "[Chi Wu Ping]";
	mes "Hey kid~!";
	mes "You don't look like a local!";
	mes "Why don't you follow the road ahead and check out the big restaurant?";
	next;
	mes "[Chi Wu Ping]";
	mes "The soup that they sell there is probably the healthiest food you can ever find.";
	next;
	mes "[Chi Wu Ping]";
	if (BaseLevel < 80) {
		mes "I guess you could eat";
		mes "some of that soup";
		mes "for your health.";
	}
	else {
		mes "You seem to need";
		mes "that soup to ease";
		mes "the fatigue of your";
		mes "body and mind.";
	}
	close;
}

louyang,174,150,5	script	Jiu Chi Ling#lou	815,{
	if (ch_tre == 5) {
		mes "[Jiu Chi Ling]";
		mes "There's a strange rumor going around that the restaurant is no 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;
	}
	mes "[Jiu Chi Ling]";
	mes "I'm worried about my brother.";
	mes "He's young, rebellious and doesn't 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 "^666666*Sigh~~*^000000";
	mes "I'm not gonna let him";
	mes "get away this time!";
	close;
}

// Doctor Quest
//============================================================
lou_in02,265,69,5	script	Doctor#lyang	814,{
	//Remove outdated variables and attempt to preserve prior quest progress.
	if(QL_DOC1STTIME == 1 || QL_DOCQUEST == 1) set ch_par,2;
	if (QL_DOCQUEST == 2) set ch_par,10;
	if (QL_DOCQUEST == 3) set ch_par,17;
	if (QL_GOTHERB) set ch_par,16;
	set QL_DOC1STTIME,0; set QL_DOCQUEST,0; set QL_GOTHERB,0; set QL_BEENTOSTORAGE,0; set QL_GOTCOMPROP,0; set QL_TOOLMASTER,0;

	if ((MaxWeight-Weight) < 2000 || checkweight(1201,1) == 0) {
		mes "^3355FFWait a minute! Right now, you're over weight, so you cannot receive more items. Please store some of your things in Kafra Storage and try again.^000000";
		close;
	}
	if (ch_par == 0) {
		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";
		mes "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,";
		mes "can produce different results.";
		emotion e_gasp;
		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 the time of day.";
		next;
		mes "[Hua Tuo]";
		mes "For instance, the pressure point located on the upper side of 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 ch_par,1;
		close;
	}
	else if (ch_par == 1) {
		if (BaseLevel < 40) {
			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";
			mes "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";
			mes "overwhelm your capabilities,";
			mes "the worst situations result.";
			close;
		}
		mes "[Hua Tuo]";
		mes "Hmmm...";
		mes "I'm in trouble...";
		next;
		mes "[Hua Tuo]";
		mes "I cannot do anything without my medicine. But one my patients";
		mes "needs immediate treatment and";
		mes "I can't leave the office...";
		emotion e_swt2;
		next;
		if (select("I can help you.:What a shame!") == 1) {
			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 this of you, especially since we have just met.";
			next;
			if (select("If you feel burdened...:I don't mind, I'd be glad to help.") == 1) {
				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;
				mes "[Hua Tuo]";
				mes "However, I will ask you";
				mes "if we meet another time.";
				mes "Now, if you'll excuse me...";
				emotion e_thx;
				close;
			}
			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";
			mes "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 "^666666*Sigh*^000000";
			mes "Misfortunes always seem";
			mes "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";
			mes "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";
			mes "so much trouble, but if you'll excuse me, I have other patients waiting. Please hurry back with";
			mes "the medicine!";
			set ch_par,2;
			close;
		}
		mes "[Hua Tuo]";
		mes "^666666*Sigh*^000000 For some reason, I never seem to have enough medicine in stock. Is there no one I can ask to help me?";
		close;
	}
	else if (ch_par < 4) {
		mes "[Hua Tuo]";
		mes "You haven't gotten";
		mes "the medicine yet...?";
		mes "I hope you can get it";
		mes "as soon as you can...";
		close;
	}
	else if (ch_par == 4) {
		mes "[Hua Tuo]";
		mes "In order to prescribe medicine";
		mes "and apply acupuncture suited to";
		mes "a patient, I must first consider many different factors related to health.";
		next;
		mes "[Hua Tuo]";
		mes "I must be especially careful if the patient is in critical condition or is exhibiting unusual symptoms.";
		close;
	}
	else if (ch_par < 9) {
		mes "[Hua Tuo]";
		mes "Umm.....";
		mes "Is that so...?";
		mes "I can understand if you";
		mes "take your time to bring the item. There's no need to rush.";
		next;
		mes "[Hua Tuo]";
		mes "Everybody has their own";
		mes "worries, and I understand if your own problems must take priority.";
		next;
		mes "[Hua Tuo]";
		mes "Still, it's good";
		mes "to put yourself in someone";
		mes "else's shoes sometimes.";
		close;
	}
	else if (ch_par == 9) {
		if (countitem(7252) < 1) {
			mes "[Hua Tuo]";
			mes "Umm.....";
			mes "Is that so...?";
			mes "I can understand if you";
			mes "take your time in bringing what I need. There's no rush.";
			next;
			mes "[Hua Tuo]";
			mes "Everybody has their own";
			mes "worries, and I understand if your own problems must take priority.";
			next;
			mes "[Hua Tuo]";
			mes "Still, it's good";
			mes "to put yourself in someone";
			mes "else's shoes sometimes.";
			close;
		}
		mes "[Hua Tuo]";
		mes "Ah...";
		mes "You've finally";
		mes "brought it to me!";
		mes "Thank you so much,";
		mes "I feel much more relieved...";
		next;
		mes "[Hua Tuo]";
		mes "I apologize";
		mes "in advance,";
		mes "but may I ask";
		mes "another favor of you?";
		next;
		mes "[Hua Tuo]";
		mes "I am asking you once more";
		mes "as now I see that you are trustworthy. Of course, I will compensate you for your trouble.";
		next;
		if (select("I'm sorry, I can't help you.:No problem.") == 1) {
			mes "[Hua Tuo]";
			mes "Alright....";
			mes "I understand.";
			mes "But let me thank you";
			mes "for helping me out.";
			mes "Please take this...";
			next;
			mes "[Hua Tuo]";
			mes "This medicine is not that";
			mes "great, but it's an old family secret. I hope it will be useful to you if you find yourself in great danger.";
			delitem 7252,1; //Herb_Medicine
			set ch_par,10;
			getitem 679,2; //Gold_Pill
			getexp 10000,0;
			next;
			mes "[Hua Tuo]";
			mes "Well then,";
			mes "I will see";
			mes "you around.";
			mes "Once again, thank";
			mes "you for your help.";
			close;
		}
		mes "[Hua Tuo]";
		mes "Thank you,";
		mes "thank you so much!";
		mes "I just ran out of some other medicines again, and I hope that you can assist me once more.";
		next;
		mes "[Hua Tuo]";
		mes "I hope that I am not causing";
		mes "you too much trouble. Um, so the medicines I'll need are...";
		next;
		mes "[Hua Tuo]";
		mes "^0000ff2 Leopard Claw^000000 which strengthen bones, ^0000ff10 Solid Peach^000000 which strengthens muscle, ^0000ff5 Poisonous Toad Skin^000000 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 were";
		mes "able to memorize all";
		mes "of that. Once again, that's...";
		next;
		mes "[Hua Tuo]";
		mes "^3355FF2 Leopard Claw^000000,";
		mes "^3355FF10 Solid Peach^000000,";
		mes "^3355FF5 Poisonous Toad Skin^000000,";
		mes "^3355FF20 Brown Root^000000,";
		mes "^3355FF10 Sprout^000000 and";
		mes "^3355FF5 Honey Pot^000000.";
		set ch_par,17;
		close;
	}
	else if (ch_par == 10) {
		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";
		mes "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";
		mes "overwhelm your capabilities,";
		mes "the worst situations result.";
		close;
	}
	else if (ch_par < 15) {
		mes "[Hua Tuo]";
		mes "Ah...";
		mes "Did you just say you're going to gather all the items soon? Oh, thank you for your kindness.";
		mes "I appreciate your effort";
		mes "on my behalf.";
		close;
	}
	else if (ch_par == 15) {
		mes "[Hua Tuo]";
		mes "Ah....";
		mes "Did you just say you're going to gather all the items soon? Oh, thank you for your kindness.";
		mes "I appreciate your effort";
		mes "on my behalf.";
		close;
	}
	else if (ch_par == 16) {
		if (countitem(7252) < 1) {
			mes "[Hua Tuo]";
			mes "Umm.....";
			mes "Is that so...?";
			mes "I understand even";
			mes "if you can't bring";
			mes "the medicine right away.";
			next;
			mes "[Hua Tuo]";
			mes "It's okay for now,";
			mes "so don't rush yourself.";
			mes "Everybody has their own problems, so I can understand if your own troubles must take priority.";
			next;
			mes "[Hua Tuo]";
			mes "Still, it's good to see that you're understanding of the troubles other people are having.";
			close;
		}
		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 onhand again.";
		next;
		mes "[Hua Tuo]";
		mes "I apologize in advance,";
		mes "but may I ask you another favor?";
		mes "I am asking for your help once more, since I know I can depend on you. Of course, I will compensate you for your trouble.";
		next;
		if (select("I'm sorry...:No problem.") == 1) {
			mes "[Hua Tuo]";
			mes "Alright....";
			mes "I understand.";
			mes "But thank you for";
			mes "helping me out.";
			mes "Please take this...";
			next;
			mes "[Hua Tuo]";
			mes "It's not much, but this medicine";
			mes "is an old family secret. I hope that it will be of use to you in dangerous situations.";
			delitem 7252,1; //Herb_Medicine
			set ch_par,10;
			getitem 679,2; //Gold_Pill
			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;
		}
		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^000000 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";
		mes "memorized it all.";
		mes "Once again, that's...";
		next;
		mes "[Hua Tuo]";
		mes "^3355FF2 Leopard Claw^000000,";
		mes "^3355FF10 Solid Peach^000000,";
		mes "^3355FF5 Poisonous Toad Skin^000000,";
		mes "^3355FF20 Brown Root^000000,";
		mes "^3355FF10 Sprout^000000 and";
		mes "^3355FF5 Honey Pot^000000.";
		set ch_par,17;
		close;
	}
	else if (ch_par == 17) {
		if (countitem(7172) > 1 && countitem(7164) > 9 && countitem(7155) > 4 && countitem(7188) > 19 && countitem(7193) > 9 && countitem(7121) > 4) {
			mes "[Hua Tuo]";
			mes "Hm? Ah, you have returned.";
			mes "Sorry, I was taking care of my other patients. Have you already gathered the medicines I'll need?";
			next;
			mes "[Hua Tuo]";
			mes "Let's see...";
			mes "Oh, you've brought them all.";
			mes "Thank you so much for your";
			mes "generous help. It's such a relief to have these medicines available again...";
			next;
			mes "[Hua Tuo]";
			mes "Please take this as a token of my appreciation. It's not much, but this medicine is an old family secret. I hope it will be helpful to you in dangerous situations.";
			delitem 7172,2; //Leopard_Talon
			delitem 7164,10; //Hard_Peach
			delitem 7155,5; //Poison_Toad's_Skin
			delitem 7188,20; //Browny_Root
			delitem 7193,10; //Germinating_Sprout
			delitem 7121,5; //Honey_Jar
			delitem 7252,1; //Herb_Medicine
			set ch_par,18;
			getitem 679,5; //Gold_Pill
			getexp 30000,0;
			next;
			mes "[Hua Tuo]";
			mes "However, please remember not to take more than the recommended dosage for the pills I have given you. Even medicine, in the wrong doses, can become poison to the body.";
			close;
		}
		mes "[Hua Tuo]";
		mes "Hmm...";
		mes "Unfortunately, you haven't collected everything that I need yet. Once again, please gather...";
		next;
		mes "[Hua Tuo]";
		mes "^3355FF2 Leopard Claw^000000,";
		mes "^3355FF10 Solid Peach^000000,";
		mes "^3355FF5 Poisonous Toad Skin^000000,";
		mes "^3355FF20 Brown Root^000000,";
		mes "^3355FF10 Sprout^000000 and";
		mes "^3355FF5 Honey Pot^000000.";
		close;
	}
	mes "[Hua Tuo]";
	mes "Your health is affected by";
	mes "many factors. Nutricious food and medicine alone cannot guarantee";
	mes "a healthy lifestyle.";
	next;
	mes "[Hua Tuo]";
	mes "Seemingly little things like your everyday mood and behavior, your thoughts and words also contribute to states of illness or well-being.";
	next;
	mes "[Hua Tuo]";
	mes "Everyone needs time to quiet";
	mes "their thoughts and relax. If you can maintain a calm mood throughout your daily life, your body will greatly benefit.";
	next;
	mes "[Hua Tuo]";
	mes "Hahaha...";
	mes "I hope you enjoy";
	mes "your visit here";
	mes "in Louyang.";
	close;
}

lou_in02,272,55,0	script	Familiar-Looking Patient	798,{
	if (ch_par == 0 ) {
		mes "[??????]";
		mes "Awwww.....";
		mes "Ummm....";
		mes "^666666*Cough...cough...*^000000";
		emotion e_omg;
		set ch_par,1;
		close;
	}
	else if (ch_par < 18) {
		mes "[??????]";
		mes "^666666*Cough cough...*^000000";
		mes "Aww......www...";
		mes "Aww...wwww..";
		emotion e_dots;
		close;
	}
	else {
		mes "[??????]";
		mes "Zzzzzzz";
		mes "Zzzzz.....";
		mes "Zzzzz.....";
		close;
	}
}

lou_in02,248,166,2	script	Tool Shop Master#lou	824,{
	if (ch_par < 2) {
		mes "[Wang Chuiyi]";
		mes "My business hasn't been doing";
		mes "well recently. And what is wrong with this weather? I don't know what's going on with the world...";
		close;
	}
	else if (ch_par == 2) {
		mes "[Wang Chuiyi]";
		mes "Darn it!";
		mes "I hate this";
		mes "weather...!";
		next;
		mes "[Wang Chuiyi]";
		mes "Um? Can I help";
		mes "you with anything?";
		emotion e_what;
		next;
		if (select("I'm here to get something for the doctor...:I agree, the weather really is bad.") == 1) {
			mes "[Wang Chuiyi]";
			mes "Huh?";
			mes "An errand for the doctor?";
			mes "She must have run out of";
			mes "medicine again. Go ahead";
			mes "and check the storage.";
			next;
			mes "[Wang Chuiyi]";
			mes "You can find the storage on";
			mes "the opposite side of this building. There, you'll see a guy named Jiang Xiayou. Go ahead and ask him for the stuff you need.";
			set ch_par,3;
			close;
		}
		mes "[Wang Chuiyi]";
		mes "Tell me about it. This weather keeps stressing me out. Damn,";
		mes "I don't think I'll live very long if I keep getting aggravated like";
		mes "this by the weather...";
		close;
	}
	else if (ch_par == 3) {
		mes "[Wang Chuiyi]";
		mes "I can't understand why outsiders continue to travel here to Louyang despite the weather. I'm also getting tired of keeping my business here. Sooner or later,";
		mes "I may have to leave.";
		close;
	}
	else if (ch_par == 4) {
		mes "[Wang Chuiyi]";
		mes "What? He didn't give you the stuff you need? Huh, I guess you did something he didn't like. I can't help you if that's the case.";
		close;
	}
	else if (ch_par < 10) {
		mes "[Wang Chuiyi]";
		mes "I can't understand why outsiders continue to travel here to Louyang despite the weather. I'm also getting tired of keeping my business here. Sooner or later,";
		mes "I may have to leave.";
		close;
	}
	else {
		mes "[Wang Chuiyi]";
		mes "God, what is wrong with this weather?! I wish the Cloud God would bring the rainy season, but it doesn't seem possible.";
		close;
	}
}

lou_in02,201,166,4	script	Storage Keeper#lou	819,{
	if ((MaxWeight-Weight) < 2000 || checkweight(1201,1) == 0) {
		mes "^3355FF * Wait a moment!! *";
		mes "Currently you're over weight, so you cannot receive more items into your inventory. Please store some of your items into Kafra Storage and try again.^000000";
		close;
	}
	if (ch_par < 3) {
		mes "[Jiang Xiayou]";
		mes "^666666*Yawn...*^000000";
		mes "This is boring...";
		mes "So boring, it's ridiculous. I don't wanna waste any more time here, I've got important things to do...";
		close;
	}
	else if (ch_par == 3) {
		mes "[Jiang Xiayou]";
		mes "Huh?";
		mes "What, what are you doing here?";
		mes "If you don't need anything, you better get a move on.";
		next;
		switch(select("Sorry about that.:It's hot, isn't it?:I'm on an errand for the doctor.")) {
		case 1:
			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;
		case 2:
			mes "[Jiang Xiayou]";
			mes "You don't have to";
			mes "ask me that. I can feel";
			mes "it for myself! Now, I got";
			mes "a bunch of things to take";
			mes "care of, so quit bugging me.";
			mes "Damn, it's hot!";
			close;
		case 3:
			mes "[Jiang Xiayou]";
			mes "Oh yeah?";
			mes "Well, why didn't you";
			mes "say so? Let's see.";
			mes "Hmmm...";
			next;
			emotion e_gasp;
			next;
			mes "[Jiang Xiayou]";
			mes "Actually, could you help me";
			mes "out first? Don't worry, it's not so hard but it's pretty important for me. Once you help me out, I'll";
			mes "get you what you need.";
			next;
			if (select("Um, what is it?:Sorry, I'm busy.") == 1) {
				mes "[Jiang Xiayou]";
				mes "Cool, thanks. I have to go get";
				mes "some official documents from";
				mes "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.";
				mes "I don't think it'll take much of your time.";
				next;
				mes "[Jiang Xiayou]";
				mes "Just go East from here";
				mes "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.";
				set .@paper_j,rand(10,13);
				if (.@paper_j == 10) {
					mes "When the guy asks what you need, you tell him: '^ff0000Residence Transfer Application^000000.' Just like that.";
					set ch_par,5;
				}
				else if (.@paper_j == 11) {
					mes "When the guy asks what you need, you tell him: '^ff0000Summer SAT Class Application^000000.' Got it?";
					set ch_par,6;
				}
				else if (.@paper_j == 12) {
					mes "When the guy asks what you need, you tell him: '^ff0000Sandy Dust Phenomenon Report^000000.' Easy, right?";
					set ch_par,7;
				}
				else if (.@paper_j == 13) {
					mes "When the guy asks what you need, you tell him: '^ff0000Communication Proposal^000000.' Just like that?";
					set ch_par,8;
				}
				next;
				mes "[Jiang Xiayou]";
				mes "If you don't specify the";
				mes "documents you need, they won't give you anything. So be careful and don't forget!";
				close;
			}
			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?";
			emotion e_pif;
			set ch_par,4;
			close;
		}
	}
	else if (ch_par == 4) {
		mes "[Jiang Xiayou]";
		mes "Hah...";
		mes "Sorry pal, you'll have to find the medicines on your own. A man's life is at stake, so I guess you oughta get a move on.";
		close;
	}
	else if (ch_par < 9) {
		mes "[Jiang Xiayou]";
		mes "Huh?";
		mes "Haven't you gone";
		mes "to City Hall yet?";
		mes "Whaaaat 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";
		mes "you need, you tell him:";
		if (ch_par == 5) {
			mes "'^ff0000Residence Transfer Application^000000.'";
		}
		else if (ch_par == 6) {
			mes "'^ff0000Summer SAT Class Application^000000.'";
		}
		else if (ch_par == 7) {
			mes "'^ff0000Sandy Dust Phenomenon Report^000000'.";
		}
		else if (ch_par == 8) {
			mes "^ff0000Communication Proposal^000000.'";
		}
		next;
		mes "[Jiang Xiayou]";
		mes "Just like that.";
		mes "Now, go to it, tiger.";
		close;
	}
	else if (ch_par == 9) {
		mes "[Jiang Xiayou]";
		mes "Hmm...";
		mes "You're lucky.";
		mes "Alright, go ahead.";
		mes "Still, things have";
		mes "become complicated...";
		close;
	}
	else if (ch_par == 10) {
		mes "[Jiang Xiayou]";
		mes "^666666*Yawn~*^000000 I really hope the";
		mes "weather gets better. Man, now why did I have to think about the heat? Now I'm all depressed...";
		next;
		mes "[Jiang Xiayou]";
		mes "Huh. I guess I should";
		mes "take care of these things";
		mes "as soon as I can...";
		close;
	}
	else if (ch_par < 15) {
		mes "[Jiang Xiayou]";
		mes "Huh?";
		mes "Haven't you gone to City Hall yet? Whaaaaat a lazy ass.";
		next;
		mes "[Jiang Xiayou]";
		mes "If I were you, I'd hurry so I could get that medicine to the doc. A man's life is at stake here, that's gotta mean something to you!";
		next;
		mes "[Jiang Xiayou]";
		mes "I guess you're";
		mes "the forgetful type...";
		mes "When the guy asks what";
		mes "you need, you tell him:";
		if (ch_par == 11) {
			mes "'^ff0000Residence Transfer Application^000000.'";
		}
		else if (ch_par == 12) {
			mes "'^ff0000Summer SAT Class Application^000000.'";
		}
		else if (ch_par == 13) {
			mes "'^ff0000Sandy Dust Phenomenon Report^000000.'";
		}
		else if (ch_par == 14) {
			mes "'^ff0000Communication Proposal^000000.'";
		}
		next;
		mes "[Jiang Xiayou]";
		mes "Just like that.";
		mes "Now, go to it, tiger.";
		close;
	}
	else if (ch_par == 15) {
		mes "[Jiang Xiayou]";
		mes "You finally brought it! Haha,";
		mes "I just got everything you need, too. Let me see...";
		mes "Yup, this is it!";
		mes "Good, good...";
		next;
		mes "^3355FF*Rummage rummage*";
		mes "......^000000";
		next;
		select("Excuse me.");
		mes "[Jiang Xiayou]";
		mes "Huh?";
		mes "Ah....";
		mes "Haha...";
		mes "Sorry about";
		mes "that. Hahaha~";
		next;
		mes "[Jiang Xiayou]";
		mes "Ah! Here you go. Even if it was kind of annoying to do, I guess";
		mes "we gotta help each other, right? Alright then, I'll see ya around.";
		set ch_par,16;
		getitem 7252,1; //Herb_Medicine
		close;
	}
	mes "[Jiang Xiayou]";
	mes "^666666*Yawn~*^000000 I really hope the";
	mes "weather gets better. Man, now why did I have to think about the heat? Now I'm all depressed...";
	next;
	mes "[Jiang Xiayou]";
	mes "Huh. I guess I should";
	mes "take care of these things";
	mes "as soon as I can...";
	close;

OnEmotion1:
	emotion e_an;
	end;

OnEmotion2:
	emotion e_pif;
	end;

OnEmotion3:
	emotion e_gg;
	end;

OnEmotion4:
	emotion e_wah;
	end;

OnEmotion5:
	emotion e_rock;
}

lou_in02,210,47,0	script	City Hall Officer#lou	825,{
	if (ch_par < 5) {
		mes "[Jin Chiyuan]";
		mes "^666666*Yawn~*^000000";
		mes "Gosh, this hot weather is such";
		mes "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.";
		mes "I hope you have a good time.";
		close;
	}
	else if (ch_par < 9) {
		mes "[Jin Chiyuan]";
		mes "Hm? A Rune-Midgardian?";
		mes "Now, how may I help you?";
		next;
		if (select("I need a document.:I just dropped by.") == 1) {
			mes "[Jin Chiyuan]";
			mes "Ah, you do?";
			mes "Unfortunately, there are many people waiting in line to procure government forms, so it will take";
			mes "a while to handle your request.";
			next;
			mes "[Jin Chiyuan]";
			mes "^333333*Whispers*";
			mes "Well, there is a way that you can, shall we say, expediate our processing of your request...^000000";
			next;
			if (select("Huh? Come again?:A little zeny to cut the red tape, eh?") == 1) {
				mes "[Jin Chiyuan]";
				mes "^666666*Ahem!*^000000 Nothing.";
				mes "Nothing of importance. Now, I'm very busy, so if you would go fill the application over there...";
				close;
			}
			input .@input;
			if (.@input < 10000) {
				mes "[Jin Chiyuan]";
				mes "Good lord,";
				mes "what are you thinking?";
				mes "What am I, a beggar?!";
				mes "That's a poor excuse";
				mes "for a bribe!";
				next;
				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!";
				emotion e_pif;
				close;
			}
			else {
				if (Zeny > .@input) {
					mes "[Jin Chiyuan]";
					mes "What...?!";
					mes "That's not what I meant,";
					mes "but if you insist on donating to our government...";
					next;
					mes "[Jin Chiyuan]";
					mes "^666666*Whispers*^000000";
					mes "^333333When you go up stairs, another officer will give you the document you want.^000000 ^666666*Ahem*^000000 Louyang thanks you!";
					set zeny,zeny-.@input;
					if (ch_par == 5) {
						set ch_par,11;
					}
					else if (ch_par == 6) {
						set ch_par,12;
					}
					else if (ch_par == 7) {
						set ch_par,13;
					}
					else if (ch_par == 8) {
						set ch_par,14;
					}
					close;
				}
				else {
					mes "[Jin Chiyuan]";
					mes "Good lord, what are you thinking? What am I, a beggar?! That's a poor excuse for a bribe!";
					next;
					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!";
					emotion e_pif;
					close;
				}
			}
		}
		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";
		mes "not supposed to be.";
		next;
		mes "[Jin Chiyuan]";
		mes "Quite frankly,";
		mes "it's a dangerous climate for curiosity right now. Please,";
		mes "be careful.";
		close;
	}
	else if (ch_par == 9) {
		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";
		mes "not supposed to be.";
		next;
		mes "[Jin Chiyuan]";
		mes "Quite frankly,";
		mes "it's a dangerous climate for curiosity right now. Please,";
		mes "be careful.";
		close;
	}
	else if (ch_par == 10) {
		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";
		mes "not supposed to be.";
		next;
		mes "[Jin Chiyuan]";
		mes "Quite frankly,";
		mes "it's a dangerous climate for curiosity right now. Please,";
		mes "be careful.";
		close;
	}
	else if (ch_par < 15) {
		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.";
	}
	else if (ch_par == 15) {
		mes "[Jin Chiyuan]";
		mes "Ah~";
		mes "You met him,";
		mes "didn't you?";
		mes "Hahaha...";
		mes "Enjoy your stay";
		mes "in Louyang!";
		emotion e_heh;
		close;
	}
	mes "[Jin Chiyuan]";
	mes "Welcome.";
	mes "How may I help you?";
	next;
	mes "[Jin Chiyuan]";
	mes "If you have nothing to ask of me, please leave. This place is not";
	mes "a playground for adventurers.";
	emotion e_pif;
	close;
}

lou_in02,156,38,0	script	Studying Officer#lou	822,{
	if (ch_par < 5) {
		mes "[Huang Zhishu]";
		mes ".....";
		mes "^666666*Mumble mumble*^000000";
		next;
		mes "^3355FFHe appears to be";
		mes "rummaging around for";
		mes "some documents and takes";
		mes "no notice of you.^000000";
		next;
		if (select("Excuse me.:Pass him.") == 1) {
			mes "[Huang Zhishu]";
			mes "Hmmm...?";
			mes "Well...";
			mes "...";
			mes "I see...";
			mes "^666666*Mumble mumble...*^000000";
			close;
		}
		mes "[Huang Zhishu]";
		mes ".........";
		mes "^666666*Mumble mumble*^000000";
		close;
	}
	else if (ch_par < 9) {
		mes "[Huang Zhishu]";
		mes "Books contain the spirit and";
		mes "ideas of their authors. Any work of art can be considered a window into the soul of its creator.";
		next;
		mes "[Huang Zhishu]";
		mes "^666666*Mumble mumble...*^000000";
		mes "Hmm... I see...";
		mes "Ah, I see....";
		mes "^666666*Mumble mumble...*^000000";
		close;
	}
	else if (ch_par == 9) {
		mes "[Huang Zhishu]";
		mes "A book is more than a mere collection of pages and words are more than simple arrangements of letters that mean nothing.";
		next;
		mes "[Huang Zhishu]";
		mes "For humans seeking to enrich their lives, books are an important part of their education, as books can impart various kinds of knowledge.";
		next;
		mes "[Huang Zhishu]";
		mes "Read as many books as you can. Without books and the knowledge";
		mes "of others, you'll never grasp the essense of life.";
		next;
		mes "^3355FF*Rummage rummage...*^000000";
		close;
	}
	else if (ch_par == 10) {
		mes "[Huang Zhishu]";
		mes "A book is more than a mere collection of pages and words are more than simple arrangements of letters.";
		next;
		mes "[Huang Zhishu]";
		mes "For humans seeking to enrich their lives, books are an important part of their education, as they can impart various kinds of knowledge.";
		next;
		mes "[Huang Zhishu]";
		mes "Read as many books as you can. Without books and the knowledge of others, you'll never grasp the essense of life.";
		next;
		mes "[Huang Zhishu]";
		mes "^3355FF*Rummage rummage...*^000000";
		close;
	}
	else if (ch_par < 15) {
		mes "[Huang Zhishu]";
		mes "Huh?";
		mes "What are you doing here?";
		mes "Please don't disturb me,";
		mes "I'm trying to study.";
		next;
		mes "^3355FF*Rummage rummage...*^000000";
		next;
		if (select("Sorry about that.:I came to pick up my documents.") == 1) {
			mes "[Huang Zhishu]";
			mes "Apology accepted.";
			mes "Hmmm....";
			mes "Oh I see, I see...";
			next;
			mes "^3355FF*Rummage rummage...*";
			mes ".........^000000";
			emotion e_gasp;
			close;
		}
		mes "[Huang Zhishu]";
		mes "Huh?";
		mes "Ah...";
		mes "You're the one I'm waiting for.";
		mes "So what kind of document";
		mes "did you need?";
		next;
		input .@input$;
		switch (ch_par) {
		case 11:
			if (.@input$ == "Residence Transfer Application")
				set .@paper,1;
			break;
		case 12:
			if (.@input$ == "Summer SAT Class Application")
				set .@paper,1;
			break;
		case 13:
			if (.@input$ == "Sandy Dust Phenomenon Report")
				set .@paper,1;
			break;
		case 14:
			if (.@input$ == "Communication Proposal")
				set .@paper,1;
			break;
		}
		mes "[Huang Zhishu]";
		mes "Let's see, now.";
		mes "You want...";
		mes "a "+ .@input$ +"?";
		next;
		if (.@paper == 1) {
			mes "[Huang Zhishu]";
			mes "Now where did I put that? You want a "+.@input$+", huh? I think I'll need some time to find it. Ah, right, I think I know where I put that.";
			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. A few days ago, someone asked me for the same document,";
			mes "so I was able to find it again pretty easily. I hope it's useful to you.";
			set ch_par,15;
			close;
		}
		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";
		mes "more, and then ask me again.";
		close;
	}
	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. ^666666*Yawn...*^000000";
	emotion e_ok;
	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,";
	mes "it could affect your health later.";
	close;
}

lou_in02,204,169,0	script	Supply Stack#1lou	111,{
	set .@now_weight,MaxWeight-Weight;
	if (.@now_weight < 2000) {
		mes "^3355FF* Wait a minute! *";
		mes "You're carrying too many items with you. Please put some of your items into your Kafra Storage and try again. ^000000";
		close;
	}
	if (ch_par == 4) {
		if (rand(1,20) == 7) {
			mes "^3355FF*Rummage rummage*";
			mes "It seems there's something inside of this stack. It might be a good idea to rummage around to see if you can find something.^000000";
			next;
			if (rand(1,100) == 67) {
				mes "^3355FF*Rummage rummage*";
				mes "*Rummage rummage*";
				mes "*Rummage rummage*";
				mes "You found a medicine.^000000";
				set ch_par,9;
				getitem 7252,1; //Herb_Medicine
				next;
				mes "[Jiang Xiayou]";
				mes "What...!";
				mes "You found it...?!";
				mes "Bah, I can't believe it!";
				mes "You're just lucked out!";
				mes "^666666*Grumble grumble*^000000";
				close;
			}
			mes "^3355FF*Rummage rummage*";
			mes "*Rummage rummage*";
			mes "*Rummage rummage*";
			mes "You didn't find anything.^000000";
			next;
			mes "[Jiang Xiayou]";
			mes "Hey, hey...";
			mes "I told you! It's not too late, why don't you do me the favor I asked? I'm only asking you once!";
			donpcevent "Storage Keeper#lou::OnEmotion1";
			close;
		}
		mes "^3355FF*Rummage rummage*";
		mes "You didn't find anything. You decided to give up your search.^000000";
		close;
	}
	mes "^3355FFThere are many things piled up to the ceiling. Since there's too many things jumbled together, it doesn't look like it's possible that you'll find anything here.^000000";
	next;
	mes "[Jiang Xiayou]";
	mes "Hey, don't touch anything! If you mess anything up, you've gotta pile it up again, got it? If you don't want to clean up after yourself, don't make a mess!";
	close;
}

lou_in02,207,168,0	script	Supply Stack#5lou	111,{
	set .@now_weight,MaxWeight-Weight;
	if (.@now_weight < 2000) {
		mes "^3355FF* Wait a minute !! *";
		mes "You're carrying too many items with you. Please put some of your items into your Kafra Storage and try again.^000000";
		close;
	}
	if (ch_par == 4) {
		if (rand(1,20) == 13) {
			mes "^3355FF*Rummage rummage*";
			mes "It seems there's something inside of this stack. You decide to rummage around to see if you can find anything.^000000";
			next;
			if (rand(1,100) == 43) {
				mes "^3355FF*Rummage rummage*";
				mes "*Rummage rummage*";
				mes "*Rummage rummage*";
				mes "You found a medicine.^000000";
				set ch_par,9;
				getitem 7252,1; //Herb_Medicine
				next;
				mes "[Jiang Xiayou]";
				mes "Err...";
				mes "You found it...?!";
				mes "I can't believe it!";
				mes "You just lucked out.";
				close;
			}
			mes "^3355FF*Rummage rummage*";
			mes "*Rummage rummage*";
			mes "*Rummage rummage*";
			mes "You didn't find anything.^000000";
			next;
			mes "[Jiang Xiayou]";
			mes "Hey, hey...";
			mes "I told you!";
			mes "It's not too late for you";
			mes "to do the favor I asked.";
			mes "I'm only asking you once!";
			close;
		}
		mes "^3355FF*Rummage rummage*";
		mes "You didn't find anything. You decided to give up your search.^000000";
		close;
	}
	mes "^3355FFThere are many things piled up to the ceiling. Since there is too much stuff jumbled together, it doesn't seem possible that you'll find anything in this stack.^000000";
	next;
	mes "[Jiang Xiayou]";
	mes "Hey, don't touch anything! If you mess anything up, you've gotta pile it up again, got it? If you don't want to clean up after yourself, don't make a mess!";
	donpcevent "Storage Keeper#lou::OnEmotion5";
	close;
}

lou_in02,206,163,0	script	Supply Stack#4lou	111,{
	set .@now_weight,MaxWeight-Weight;
	if (.@now_weight < 2000) {
		mes "^3355FF* Wait a minute !! *";
		mes "You're carrying too many items with you. Please put some of your items into your Kafra Storage and try again.^000000";
		close;
	}
	if (ch_par == 4) {
		if (rand(1,20) == 4) {
			mes "^3355FF*Rummage rummage*";
			mes "It seems there's something inside of this stack. You decide to rummage around to see if you can find anything.^000000";
			next;
			if (rand(1,100) == 11) {
				mes "^3355FF*Rummage rummage*";
				mes "*Rummage rummage*";
				mes "*Rummage rummage*";
				mes "You found a medicine.^000000";
				set ch_par,9;
				getitem 7252,1; //Herb_Medicine
				next;
				mes "[Jiang Xiayou]";
				mes "Err...";
				mes "You found it...?!";
				mes "I can't believe it!";
				mes "You just lucked out.";
				donpcevent "Storage Keeper#lou::OnEmotion4";
				close;
			}
			mes "^3355FF*Rummage rummage*";
			mes "*Rummage rummage*";
			mes "*Rummage rummage*";
			mes "You didn't find anything.^000000";
			next;
			mes "[Jiang Xiayou]";
			mes "Hey, hey...";
			mes "I told you!";
			mes "It's not too late for you";
			mes "to do the favor I asked.";
			mes "I'm only asking you once!";
			close;
		}
		mes "^3355FF*Rummage rummage*";
		mes "You didn't find anything. You decided to give up your search.^000000";
		close;
	}
	mes "^3355FFThere are many things piled up to the ceiling. Since there is too much stuff jumbled together, it doesn't seem possible that you'll find anything in this stack.^000000";
	next;
	mes "[Jiang Xiayou]";
	mes "Hey, don't touch anything! If you mess anything up, you've gotta pile it up again, got it? If you don't want to clean up after yourself, don't make a mess!";
	close;
}

lou_in02,198,170,0	script	Supply Stack#3lou	111,{
	set .@now_weight,MaxWeight-Weight;
	if (.@now_weight < 2000) {
		mes "^3355FF* Wait a minute !! *";
		mes "You're carrying too many items with you. Please put some of your items into your Kafra Storage and try again.^000000";
		close;
	}
	if (ch_par == 4) {
		if (rand(1,20) == 18) {
			mes "^3355FF*Rummage rummage*";
			mes "It seems there's something inside of this stack. You decide to rummage around to see if you can find anything.^000000";
			next;
			if (rand(1,100) == 96) {
				mes "^3355FF*Rummage rummage*";
				mes "*Rummage rummage*";
				mes "*Rummage rummage*";
				mes "You found a medicine.^000000";
				set ch_par,9;
				getitem 7252,1; //Herb_Medicine
				next;
				mes "[Jiang Xiayou]";
				mes "Err...";
				mes "You found it...?!";
				mes "I can't believe it!";
				mes "You just lucked out.";
				close;
			}
			mes "^3355FF*Rummage rummage*";
			mes "*Rummage rummage*";
			mes "*Rummage rummage*";
			mes "You didn't find anything.^000000";
			next;
			mes "[Jiang Xiayou]";
			mes "Hey, hey...";
			mes "I told you!";
			mes "It's not too late for you";
			mes "to do the favor I asked.";
			mes "I'm only asking you once!";
			donpcevent "Storage Keeper#lou::OnEmotion3";
			close;
		}
		mes "^3355FF*Rummage rummage*";
		mes "You didn't find anything. You decided to give up your search.^000000";
		close;
	}
	mes "^3355FFThere are many things piled up to the ceiling. Since there is too much stuff jumbled together, it doesn't seem possible that you'll find anything in this stack.^000000";
	next;
	mes "[Jiang Xiayou]";
	mes "Hey, don't touch anything! If you mess anything up, you've gotta pile it up again, got it? If you don't want to clean up after yourself, don't make a mess!";
	close;
}

lou_in02,192,170,0	script	Supply Stack#2	111,{
	set .@now_weight,MaxWeight-Weight;
	if (.@now_weight < 2000) {
		mes "^3355FF* Wait a minute !! *";
		mes "You're carrying too many items with you. Please put some of your items into your Kafra Storage and try again.^000000";
		close;
	}
	if (ch_par == 4) {
		if (rand(1,20) == 10) {
			mes "^3355FF*Rummage rummage*";
			mes "It seems there's something inside of this stack. You decide to rummage around to see if you can find anything.^000000";
			next;
			if (rand(1,100) == 87) {
				mes "^3355FF*Rummage rummage*";
				mes "*Rummage rummage*";
				mes "*Rummage rummage*";
				mes "You found a medicine.^000000";
				set ch_par,9;
				getitem 7252,1; //Herb_Medicine
				next;
				mes "[Jiang Xiayou]";
				mes "Err...";
				mes "You found it...?!";
				mes "I can't believe it!";
				mes "You just lucked out.";
				close;
			}
			mes "^3355FF*Rummage rummage*";
			mes "*Rummage rummage*";
			mes "*Rummage rummage*";
			mes "You didn't find anything.^000000";
			next;
			mes "[Jiang Xiayou]";
			mes "I told you! Now stop bugging me and leave now! I don't wanna deal with someone who won't trust me.";
			donpcevent "Storage Keeper#lou::OnEmotion2";
			close;
		}
		mes "^3355FF*Rummage rummage*";
		mes "You didn't find anything. You decided to give up your search.^000000";
		close;
	}
	mes "^3355FFThere are many things piled up to the ceiling. Since there is too much stuff jumbled together, it doesn't seem possible that you'll find anything in this stack.^000000";
	next;
	mes "[Jiang Xiayou]";
	mes "Hey, don't touch anything! If you mess anything up, you've gotta pile it up again, got it? If you don't want to clean up after yourself, don't make a mess!";
	close;
}

louyang,129,121,0	warp	Storage Warp#1	1,1,lou_in02,203,161;
louyang,125,121,0	warp	Storage Warp#2	1,1,lou_in02,198,161;
lou_in02,198,159,0	warp	Storage Warp#3	1,1,louyang,124,118;
lou_in02,203,159,0	warp	Storage Warp#4	1,1,louyang,129,118

// Poison King Quest
//============================================================
lou_in02,123,39,4	script	Poison King#lou	824,{
	// Attempt to preserve prior quest progress.
	if (QL_POISONKING <= 12) set ch_poison,QL_POISONKING;
	else if (QL_POISONKING == 16) set ch_poison,19;
	else if (QL_POISONKING >= 17) set ch_poison,20;
	// Remove outdated variable.
	set QL_POISONKING,0;

	if (checkweight(1201,1) == 0) {
		mes "^3355FF * Wait a minute! *";
		mes "Right now, you are carrying too many items with you. Please place some of your items into Kafra Storage and try again.^000000";
		close;
	}
	if (ch_poison < 6) {
		mes "[Nagash Arses]";
		mes "It's been 40 years since I came here. Hahaha, but it doesn't feel 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 art based on its use, and formed my 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.";
		next;
		if ((countitem(506) > 0 || countitem(511) > 0 || countitem(716) > 0) && (ch_poison > 0 && rand(1,300) > 99)) {
			switch(select("Ask about the poem.:Ask about his hometown.:Ask about use of Poison.:Ask about his situation.")) {
			case 1:
				mes "[Nagash Arses]";
				mes "Ah, have you";
				mes "head of this poem?";
				mes "As I grow older, my";
				mes "memory also grows 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 .@question_poet,rand(1,4);
				if (.@question_poet == 1) {
					mes "[Nagash Arses]";
					mes "'^3355FFAs I lay^000000 ^3355FFlooking up at the moonlight^000000.' In this first line, what word should be in [ ]?";
					next;
					if (select("on the ground:with you:in bed:in the stars") == 3)
						set .@answer_poet,.@answer_poet + 10;
					mes "[Nagash Arses]";
					mes "'^3355FFIt looks like the^000000 ^3355FFon the ground^000000.' In the second line, which word should be in [ ]?";
					next;
					if (select("frost:dew:pebbles:snow") == 1)
						set .@answer_poet,.@answer_poet + 10;
					mes "[Nagash Arses]";
					mes "Now to see if you see really understand the poem. It's no use to just know the words. They must be a part of you as well.";
					next;
					mes "[Nagash Arses]";
					mes "How would you describe the overall mood and tone of the speaker of this poem?";
					next;
					if (select("Romantic:Wistful:Regretful:Passionate") == 2)
						set .@answer_poet,.@answer_poet + 10;
					mes "[Nagash Arses]";
					mes "What do you think is the";
					mes "major theme of this poem?";
					next;
					if (select("Tragedy:Separation:Love:Revenge:Buddy Cop Film") == 2)
						set .@answer_poet,.@answer_poet + 10;
					next;
					mes "[Nagash Arses]";
					mes "Ha ha ha! You understand this poem well! Now, would you repeat the first line for me again?";
					next;
					if (.@answer_poet > 30) {
						if (select("When I lay in bed looking up at the moon light:When I lay in bed thinking of the moon light:As I lay in bed looking up at the moonlight:As I lay in bed thinking of the moonlight") == 3) {
							set ch_poison,2;
						}
					}
					else {
						select("When I lay in bed looking up at the moon light:When I lay in bed thinking of the moon light:As I lay in bed looking up at the moonlight:As I lay in bed thinking of the moon light");
					}
					mes "[Nagash Arses]";
					mes "Thank you for your 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;
				}
				else if (.@question_poet == 2) {
					mes "[Nagash Arses]";
					mes "'^3355FFIt looks like the^000000 ^3355FFon the ground^000000.' In the second line, which word should be in [ ]?";
					next;
					if (select("frost:dew:pebbles:snow") == 1)
						set .@answer_poet,.@answer_poet + 10;
					mes "[Nagash Arses]";
					mes "'^3355FFI lower my head feeling^000000 [ ].' Which word should be in [ ]?";
					next;
					if (select("homesick.:drowsy:loneliness.:heartbroken.") == 1)
						set .@answer_poet,.@answer_poet + 10;
					next;
					mes "[Nagash Arses]";
					mes "Now to see if you see really understand the poem. It's no use to just know the words. To know this poem by heart is to truly take it to heart.";
					next;
					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;
					if (select("In his hometown.:In jail.:In the depths of the cosmos.:In bed.") == 4)
						set .@answer_poet,.@answer_poet + 10;
					mes "[Nagash Arses]";
					mes "Although this poem is only four lines long, its structure can be easily classified. How would you describe this poem's structure?";
					next;
					if (select("Why, it's a sonnet.:It's prose with erratic caesuras.:It's a quatrain, of course.:Iambic pentameter?") == 3)
						set .@answer_poet,.@answer_poet + 10;
					next;
					mes "[Nagash Arses]";
					mes "Ha ha ha! You understand this poem well! Now, would you repeat the first line for me again?";
					next;
					if (.@answer_poet > 30) {
						if (select("It looks like the frost on the ground:It looks like an icicle on the ground:It looks as though shining:It looks like the frost in the sky") == 1) {
							set ch_poison,2;
						}
					}
					else {
						select("It looks like the frost on the ground:It looks like an icicle on the ground:It looks as though shining:It looks like the frost in the sky");
					}
					mes "[Nagash Arses]";
					mes "Thank you for your 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;
				}
				else if (.@question_poet == 3) {
					mes "[Nagash Arses]";
					mes "'^3355FFIt looks like the^000000 ^3355FFon the ground^000000.' In the second line, which word should be in [ ]?";
					next;
					if (select("frost:dew:pebbles:snow") == 1)
						set .@answer_poet,.@answer_poet + 10;
					next;
					mes "[Nagash Arses]";
					mes "'^3355FFI lower my head feeling^000000 [ ].' Which word should be in [ ]?";
					next;
					if (select("homesick.:drowsy:loneliness.:heartbroken.") == 1)
						set .@answer_poet,.@answer_poet + 10;
					next;
					mes "[Nagash Arses]";
					mes "Now to see if you see really understand the poem. It's not enough to just know the words. You must know what they truly mean.";
					next;
					mes "[Nagash Arses]";
					mes "In the first two lines, what two images are being linked by the poet?";
					next;
					if (select("Bed and ground:Frost and hometown:Gloomy:Smokey:Moonlight and frost") == 5)
						set .@answer_poet,.@answer_poet + 10;
					mes "[Nagash Arses]";
					mes "In this land, the image of the moon often appears in poems expressing separation, longing and homesickness. Why would gazing at the moon offer comfort?";
					next;
					if (select("The rabbit on the moon grants wishes.:Its sheer beauty eases any anxiety.:Because it wanes and waxes.:All places and peoples share the same moon.") == 4)
						set .@answer_poet,.@answer_poet + 10;
					next;
					mes "[Nagash Arses]";
					mes "Ha ha ha! You understand this poem well! Now, would you repeat the third line for me again?";
					next;
					if (.@answer_poet > 30) {
						if (select("I look up at the bright moon:I lift my head to look at the bright moon:I turn my head to look at the bright moon:I face the bright moon") == 2) {
							set ch_poison,2;
						}
					}
					else {
						select("I look up at the bright moon:I lift my head to look at the bright moon:I turn my head to look at the bright moon:I face the bright moon");
					}
					mes "[Nagash Arses]";
					mes "Thank you for your 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;
				}
				else {
					mes "[Nagash Arses]";
					mes "'^3355FFIt looks like the^000000 ^3355FFon the ground^000000.' In the second line,";
					mes "which word should be in [ ]?";
					next;
					if (select("frost:dew:pebbles:snow") == 1)
						set .@answer_poet,.@answer_poet + 10;
					next;
					mes "[Nagash Arses]";
					mes "'^3355FFI lift my^000000 ^3355FFto look at the bright moon^000000.' In the third line, which word should be in [ ]?";
					next;
					if (select("eyes:head:gaze:sights") == 2)
						set .@answer_poet,.@answer_poet + 10;
					next;
					mes "[Nagash Arses]";
					mes "Now to see if you see really understand the poem. It's no";
					mes "use to just know the words. They must be a part of you as well.";
					next;
					mes "[Nagash Arses]";
					mes "What do you think is the major theme of this poem?";
					next;
					if (select("Tragedy:Separation:Love:Revenge:Buddy Cop Film") == 2)
						set .@answer_poet,.@answer_poet + 10;
					next;
					mes "[Nagash Arses]";
					mes "Why might be one reason why the bright moonlight looks like frost on the ground to the poet?";
					next;
					if (select("He's looking through a frosty window.:A bright moon glimmers like icicles.:He's homesick, so the moonlight looks cold:It's called 'poetic license.'") == 3)
						set .@answer_poet,.@answer_poet + 10;
					next;
					mes "[Nagash Arses]";
					mes "Ha ha ha! You understand this poem well! Now, would you repeat the last line for me again?";
					next;
					if (.@answer_poet > 30) {
						if (select("I cry for my home town.:I lower my head feeling homesick.:I miss my home town.:I sob feeling homesick.") == 2) {
							set ch_poison,2;
						}
					}
					else {
						select("I cry for my home town.:I lower my head feeling homesick.:I miss my home town.:I sob feeling homesick.");
					}
					mes "[Nagash Arses]";
					mes "Thank you for your 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;
				}
			case 2:
				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 desert, its founders had to combat the harsh and unforgiving forces of 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;
				if (ch_poison == 2) {
					mes "[Nagash Arses]";
					mes "Ah~ I miss Morroc, my hometown.";
					mes "I used to be a member of the Assassin organization known as the 'Canine of Desert.' Long ago, I was their poison expert.";
					next;
					switch(select("Tell him news of Morroc.:Info about 'Canine of Desert'.:Just listen.")) {
					case 1:
						mes "[Nagash Arses]";
						mes "Hm? Do you have recent news of Morroc?";
						next;
						mes "["+strcharinfo(0)+"]";
						mes "Yeah, I've got some news you might be interested in.";
						input .@input$;
						mes "["+strcharinfo(0)+"]";
						mes ""+.@input$+"";
						next;
						if (rand(1,50) > 25) {
							mes "[Nagash Arses]";
							mes "Ah, I see. Thank you for the news. Now, let me continue my story.";
							next;
						}
						else {
							mes "[Nagash Arses]";
							mes "I see! You just said,";
							mes ""+.@input$+".";
							next;
							mes "[Nagash Arses]";
							mes "Thank you for";
							mes "telling me the news.";
							close;
						}
						break;
					case 2:
						mes "[Nagash Arses]";
						mes "I just told you what 'Canine of Desert' is. Now you tell me what it is. If you were listening, you would be able to.";
						next;
						input .@input$;
						if (.@input$ == "Assassin Organization" || .@input$ == "Assassin" || .@input$ == "Assassins") {
							mes "[Nagash Arses]";
							mes "Correct. You listened to me very well. They are Assassins. Assassins that were abandoned by society.";
							next;
							mes "[Nagash Arses]";
							mes "'Canine of Desert' is the name of that Assassin organization. Don't forget that.";
							next;
							mes "[Nagash Arses]";
							mes "...";
							next;
							mes "[Nagash Arses]";
							mes "...";
							mes "......";
							next;
							mes "[Nagash Arses]";
							mes "Bah! I forgot what I was just talking about! This bad memory of mine frustrates me so much!";
							close;
						}
						else {
							if (BaseJob == Job_Assassin) {
								mes "[Nagash Arses]";
								mes "How could you not know what the 'Canine of Desert' is?! Just how long have you been an Assassin?!";
								next;
								mes "[Nagash Arses]";
								mes "You're supposed to be aware of your origins and your colleagues! Oh, the shame...";
								close;
							}
							mes "[Nagash Arses]";
							mes "Well, I suppose I can't blame you for not knowing or remembering. When you get the chance, find someone wearing a purple suit...";
							next;
							mes "[Nagash Arses]";
							mes "Any Assassin worth his salt should know what the 'Canine of Desert' is.";
							close;
						}
					case 3:
						if (rand(1,33) < 12) {
							mes "[Nagash Arses]";
							mes "Wait...";
							mes "Let me think...";
							mes "Now how did I becoming interested in the use of poison...?";
							close;
						}
					}
					mes "[Nagash Arses]";
					mes "I tried many things to develop my poison skills when I was young.";
					mes "I tried to extract poison from Muka's needles and from purple mushrooms. Eventually, I became";
					mes "an expert of toxins from my 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 of poison in the 'Canine of Desert,' and I was sent on the most crucial and dangerous missions.";
					next;
					mes "[Nagash Arses]";
					mes "One day, I was hired by the Alberta Merchant Guild to assassinate an enemy that had been threatening them. However, I never got to complete that mission.";
					next;
					mes "[Nagash Arses]";
					mes "While I was on the ship to procceed with my mission, we encountered heavy wind and waves and the ship sank. I believe I was the only survivor of that accident.";
					next;
					mes "[Nagash Arses]";
					mes "I was floated helplessly on the ocean and somehow managed";
					mes "to arrive here, in Louyang. That was forty years ago.";
					next;
					mes "[Nagash Arses]";
					mes "It seemed that my arrival was rather timely. Louyang was intruded by huge mobs of dangerous monsters that were even able to infiltrate the Castle of the Dragon.";
					next;
					mes "[Nagash Arses]";
					mes "Since I was one of the best Assassins of the 'Canine of Desert,' I did far more than my share of monster killing.";
					next;
					mes "[Nagash Arses]";
					mes "It was on the battlefield that";
					mes "I met Bai Long who is now lord of this town. But back then, he was known as the 'Street Knight.'";
					next;
					mes "[Nagash Arses]";
					mes "I remember seeing him surrounded";
					mes "by enemies, and I dove into thick of battle to keep him from getting killed. We fought back to back and managed to stay alive back then.";
					next;
					mes "[Nagash Arses]";
					mes "You have to understand that it's not easy to let someone back you";
					mes "up in battle unless there's a solid trust. Those fights... were the greatest moments in my life.";
					next;
					mes "[Nagash Arses]";
					mes "Sadly, many of our comrades,";
					mes "all of them respectable and highly skilled martial artists, fell in battle. The number of monsters we had to contend with was just overwhelming.";
					next;
					mes "[Nagash Arses]";
					mes "Still, I managed to continue my poison research, even during those tough times. I studied medicine in this town and was able use that knowledge to enhance my understanding of poisons.";
					next;
					mes "[Nagash Arses]";
					mes "I created a new skill based on all of my knowledge, and learned how";
					mes "to put poison on weapons.";
					next;
					mes "[Nagash Arses]";
					mes "I even learned martial arts in Louyang, and combined that";
					mes "knowledge with my poison expertise to create my own unique fighting 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 ch_poison,3;
					close;
				}
				else {
					mes "[Nagash Arses]";
					mes "Ah, Morroc.";
					mes "That name brings";
					mes "back memories of";
					mes "being an Assassin";
					mes "in the 'Canine of Desert.'";
					next;
					mes "[Nagash Arses]";
					mes "^666666*Sigh...*^000000";
					mes "I wish I could see";
					mes "Morroc just once before I die.";
					next;
					if (select("Tell him news of Morroc.:Ask about 'Canine of Desert.'") == 1) {
						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 .@input$;
						mes "["+strcharinfo(0)+"]";
						mes ""+.@input$+"";
						next;
						if (rand(1,50) > 30) {
							mes "[Nagash Arses]";
							mes "I see...";
							mes "Thank you for";
							mes "telling me that.";
							close;
						}
						mes "[Nagash Arses]";
						mes "I see!";
						mes "You just said, "+.@input$+". Thank you.";
						close;
					}
					mes "[Nagash Arses]";
					mes "I just told you what 'Canine of Desert.' If you can't remember what I just told you, it's no use for me to explain further. You go ahead and tell me what it is.";
					next;
					input .@input$;
					if (.@input$ == "Assassin Organization" || .@input$ == "Assassin" || .@input$ == "Assassins") {
						mes "[Nagash Arses]";
						mes "Correct. You listened to me very well. They are Assassins. Assassins that were abandoned by society.";
						next;
						mes "[Nagash Arses]";
						mes "Canine of Desert";
						mes "is the name of an";
						mes "Assassin organization.";
						mes "Do not forget that.";
						close;
					}
					else {
						if (BaseJob == Job_Assassin) {
							mes "[Nagash Arses]";
							mes "How could you not know what the 'Canine of Desert' is?! Just how long have you been an Assassin?!";
							next;
							mes "[Nagash Arses]";
							mes "You're supposed to be aware of your origins and your colleagues! Oh, the shame...";
							close;
						}
						mes "[Nagash Arses]";
						mes "Well, I suppose I can't blame you for not knowing or remembering. When you get the chance, find someone wearing a purple suit...";
						next;
						mes "[Nagash Arses]";
						mes "Any Assassin worth his salt should know what the 'Canine of Desert' is.";
						close;
					}
				}
			case 3:
				if (ch_poison == 4 || ch_poison == 5) {
					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 do 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...";
					next;
					mes "[Nagash Arses]";
					mes "Go find my last disciple,";
					mes "^0000FFSong Zhi Du^000000, as he may tell you something useful. He's working at the doctor's office. If it weren't for him, I'd be starving now.";
					set ch_poison,5;
					close;
				}
				else {
					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 do 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...";
					close;
				}
			case 4:
				if (ch_poison == 3) {
					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 "As I told you, I distinguished myself in the battles with monsters. I was rewarded with Louyang citizenship and given";
					mes "gifts of money.";
					next;
					mes "[Nagash Arses]";
					mes "I was invited to join a martial arts organization that specialized in the use of poison. I joined them, excited about further broadening my knowledge.";
					next;
					mes "[Nagash Arses]";
					mes "I was stunned by the enormous body of knowledge about toxins that they provided. I tried to learn as much as I could so I could develop my own, unique poisoning skills.";
					next;
					mes "[Nagash Arses]";
					mes "As I studied with them, together we started to clear the town of the remaining monsters. Can you guess the results of our efforts to clean up the city?";
					next;
					switch(select("...??:It must have been good.:I guess it was okay?:I don't know, but how did it go?")) {
					case 1:
						mes "[Nagash Arses]";
						mes "Did you even listen to me? It's no use talking to you if you don't even care about what I have to say.";
						next;
						mes "[Nagash Arses]";
						mes "I'm sorry for keeping you from what you wanted to do. Take care of yourself, youngster.";
						close;
					case 2:
						mes "[Nagash Arses]";
						mes "You're right!";
						mes "We got rid of every";
						mes "single monster in the city!";
						next;
						break;
					case 3:
						mes "[Nagash Arses]";
						mes "Just okay...?";
						mes "I don't think you realized how powerful we were back then! Eh...";
						next;
						mes "[Nagash Arses]";
						mes "Sorry for keeping you from what you wanted to do. Take care of yourself, youngster.";
						close;
					case 4:
						mes "[Nagash Arses]";
						mes "We got rid of every single monster in the city!";
						next;
					}
					mes "[Nagash Arses]";
					mes "We managed to eliminate every monster that was wandering around Louyang. At the time, we were the only people brave enough to take on this sort of task.";
					next;
					mes "[Nagash Arses]";
					mes "Unfortunately, other martial arts organizations grew envious of our success, insisting that we were dishonorable for using poison to attack our enemies.";
					next;
					mes "[Nagash Arses]";
					mes "Although we can accept criticism for our use of poison, we were finally blamed for something we never would have done.";
					next;
					mes "[Nagash Arses]";
					mes "Someone put poison into a meal which was eaten by a son of the lord and then falsely accused us!";
					next;
					mes "[Nagash Arses]";
					mes "In the end, our organization was disbanded and I was put in jail.";
					mes "I suffered through much to escape from prison...";
					next;
					mes "[Nagash Arses]";
					mes "However, because of all the injuries I've had to endure in jail 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 hounding after me. I really want to tell the lord of Louyang that I'm innocent, but it may be";
					mes "too late now...";
					set ch_poison,4;
					close;
				}
				else {
					mes "[Nagash Arses]";
					mes "I...";
					mes "I don't want";
					mes "to talk about that.";
					mes "Let's not talk about it.";
					close;
				}
			}
		}
		else {
			switch(select("Grin at him.:Lament for his grief.:Reprove him.:Listen to the poem again.:Show him a sad look.")) {
			case 1:
				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 any friends and";
				mes "there's no one I can trust.";
				close;
			case 2:
				mes "[Nagash Arses]";
				mes "How can you sympathize?";
				mes "I doubt anyone has had";
				mes "experiences that are";
				mes "much worse than mine...";
				close;
			case 3:
				mes "[Nagash Arses]";
				mes "Wha--? I haven't wronged you in any way! Why must you be so mean to an old man? You don't even know half of what I've had to go through.";
				close;
			case 4:
				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;
			case 5:
				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 longer. It's reminding me of";
				mes "my worst memories.";
				next;
				set ch_poison,1;
				if (BaseCalss == Job_Thief) {
					mes "[Nagash Arses]";
					mes "Ah, you look just like I did when";
					mes "I was young. It seems you know";
					mes "a little something about poison.";
					next;
					mes "[Nagash Arses]";
					mes "It seems you haven't";
					mes "perfected your knowledge yet,";
					mes "though. Oh well, I doubt I can";
					mes "pinpoint what you need to master.";
					next;
					mes "[Nagash Arses]";
					mes "I'm too old to remember anything. Ha ha ha. Maybe if I saw something related to poison, I might remember 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.";
					close;
				}
				mes "[Nagash Arses]";
				mes "I'm too old to remember anything. Ha ha ha. Maybe if I saw something related to poison, I might remember 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.";
				close;
			}
		}
	}
	else if (ch_poison > 4 && ch_poison < 12) {
		mes "[Nagash Arses]";
		mes "If you wish to talk about poison, you'd better go to the doctor's office. My last disciple is";
		mes "working there.";
		next;
		mes "[Nagash Arses]";
		mes "Now, let me rest.";
		mes "I am very tired.";
		mes "I... I hope he doesn't";
		mes "have any bad intentions...";
		close;
	}
	else if (ch_poison == 12) {
		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 was young, so he worried me a lot. But now I'm proud of him and he's doing as well just any other fine young man.";
		next;
		mes "[Nagash Arses]";
		mes "I am living only for him,";
		mes "and hope that he becomes a great healer someday. Recently, I've found that my sole comfort is in treating diseases for other people...";
		next;
		mes "[Nagash Arses]";
		mes "By the way...";
		mes "You look pale...";
		mes "Did something happen?";
		next;
		switch(select("Nothing.:I want to talk about your diciple.:I don't feel good.")) {
		case 1:
			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 strength when you're young. When you're my age, it's tough to regain your health once you lose it.";
			close;
		case 2:
			mes "[Nagash Arses]";
			mes "Did something happen to him?";
			mes "I've been worried since he hasn't come to visit me since you last came to speak with me.";
			next;
			if (countitem(678) > 1) {
				if (select("Give him Poison Bottle.:Cancel and go to 'Song Zhi Du.") == 1) {
					delitem 678,1; //Poison_Bottle
					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;
					if (select("It's common nowadays.:Explain to him what happened.") == 1) {
						mes "[Nagash Arses]";
						mes "Really...?";
						mes "Then someone";
						mes "finally figured it out.";
						next;
						mes "[Nagash Arses]";
						mes "I shared all of my knowledge with others, so I guess a doctor might have figured how to create this.";
						next;
						mes "[Nagash Arses]";
						mes "^666666*Sigh...*^000000";
						mes "Now I feel depressed";
						mes "for some reason...";
						close;
					}
					mes "^3355FFYou tell Nagash Arses how";
					mes "Song Zhi Du created this Deadly Poison Bottle and his plan to get his revenge on the lord of 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 ch_poison,15;
					close;
				}
				mes "["+strcharinfo(0)+"]";
				mes "...Nothing much.";
				next;
				mes "[Nagash Arses]";
				mes "Hmm...?";
				mes "I guess you don't know what is going on. I've heard some bad rumors about him, which is why I'm asking.";
				next;
				mes "[Nagash Arses]";
				mes "I hope he'll be fine.";
				mes "After all, he's truly";
				mes "kind at heart.";
				close;
			}
			mes "[Nagash Arses]";
			mes "Hmm...?";
			mes "I guess you don't know what is going on. I've heard some bad rumors about him, which is why I'm asking.";
			next;
			mes "[Nagash Arses]";
			mes "I hope he'll be fine.";
			mes "After all, he's truly";
			mes "kind at heart.";
			close;
		case 3:
			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;
		}
	}
	else if (ch_poison == 13) {
		mes "[Nagash Arses]";
		mes "Recently...";
		mes "I've been getting";
		mes "a bad feeling...";
		next;
		mes "[Nagash Arses]";
		mes "I want to blame it";
		mes "on my solitude, but...";
		close;
	}
	else if (ch_poison == 14) {
		mes "^3355FFNagash Arses. He is no longer a well-known Assassin or the martial arts organization of which he was once master has long since disbanded.^000000";
		next;
		mes "^3355FFNow he is but a poor old man";
		mes "who is in anguish over his disciple. No matter what you say, he continues to talk about something totally unrelated, as if in a dream.^000000";
		close;
	}
	else if (ch_poison == 15 || ch_poison == 16) {
		mes "[Nagash Arses]";
		mes "Youngster...";
		mes "I beg of you.";
		mes "Please do 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 you, as well as others, for aid. Even if you do not agree to carry out his plan, I'm sure he will find someone to poison Lord Bai Long.";
		next;
		mes "[Nagash Arses]";
		mes "There is only one way he can poison";
		mes "the lord. He likes drinking, and has a favorite drink bottle he keeps with him all the time. You must get rid of his drink.";
		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...";
		set ch_poison,16;
		close;
	}
	else if (ch_poison == 17) {
		mes "[Nagash Arses]";
		mes "So...";
		mes "What...";
		mes "What happened?";
		next;
		mes "["+strcharinfo(0)+"]";
		mes "I made it.";
		next;
		mes "[Nagash Arses]";
		mes "You did?!";
		mes "Oh~ thank you,";
		mes "thank you so much!";
		emotion e_an;
		next;
		mes "[Nagash Arses]";
		mes "Thank God I've";
		mes "lived this long.";
		mes "And... I just realized";
		mes "something while you away.";
		next;
		mes "[Nagash Arses]";
		mes "This is a journal that I have been writing for 15 years about my feelings of guilt, and what really happened in the past. I hope you can deliver this to the lord for me.";
		next;
		mes "^3355FFYou obtained";
		mes "^0000FFPoison King,";
		mes "Nagash Arses' Jounal^000000.";
		set ch_poison,18;
		close;
	}
	else if (ch_poison == 18) {
		mes "[Nagash Arses]";
		mes "I hope you";
		mes "can deliver this";
		mes "to Lord Bai Long...";
		close;
	}
	else if (ch_poison == 19) {
		mes "^3355FFYou 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 decline his offer. I'm afraid that I may be a burden to him once again.";
		next;
		mes "[Nagash Arses]";
		mes "Please tell him that I wish to enjoy the rest of my life here. 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 "^3355FFNagash Arses put his palm on your back, and you can feel his strength flowing into you.^000000";
		next;
		mes "^3355FFYou grow dizzy, but you also feel like you're becoming more powerful and gaining experience.^000000";
		next;
		set ch_poison,20;
		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;
		}
		mes "^3355FFThen...";
		mes "Everything blacks out...^000000";
		close2;
		warp "louyang",270,136;
		end;
	}
	else if (ch_poison > 20) {
		mes "^3355FFHe looks tired";
		mes "for some reason,";
		mes "as if he's thinking";
		mes "of Morroc, his hometown.^000000";
		next;
		mes "^3355FFYou reflect on when he gave you his remaining strength and remember that he told you that he used to be one of the greatest Assassins...^000000";
		next;
		mes "^3355FFBut after all that's happened,";
		mes "he just looks like an old man who likes treating other people. It seems that he's finally at peace with himself.^000000";
		close;
	}
	else {
		mes "[Nagash Arses]";
		mes "My name, Nagash Arses,";
		mes "is also the name of the poison king in the legend of Arcturus. I have good reason to be proud of my name!";
		close;
	}
}

lou_in02,253,45,0	script	Employee#poison	822,{
	if (checkweight(1201,1) == 0) {
		mes "^3355FF * Wait a minute! *";
		mes "You're carrying too many items with you right now. Please put some of your things into Kafra Storage and try again.^000000";
		close;
	}
	if (ch_par < 10 && ch_poison < 6) {
		while(1) {
			if (.@r_o_o_f > 5) {
				break;
			}
			else {
				if (rand(1,4) > 2) {
					set .@r_o_o_f,.@r_o_o_f + 1;
					mes "[Song Zhi Du]";
					mes "Let's see, there's that medicine, and then the medicine over here...";
					next;
				}
				else {
					mes "[Song Zhi Du]";
					mes "...";
					mes "......";
					next;
				}
			}
		}
		mes "[Song Zhi Du]";
		mes "I feel like you're looking at me. Is there something that you want?";
		next;
		switch(select("......:Ask him about his master.:Ask about Poison Organization.:Ask why he's working here.")) {
		case 1:
			mes "[Song Zhi Du]";
			mes "I guess there's nothing you really need from me. Well then, if you'll excuse me...";
			close;
		case 2:
			mes "[Song Zhi Du]";
			mes "Oh, I'm sorry, but I'm kind of busy right now. You see, we're running out of medicine...";
			next;
			mes "[Song Zhi Du]";
			mes "My master, Hua Tuo,";
			mes "is also having difficulty treating all of his patients. I must get him the medicine that he needs...";
			close;
		case 3:
			mes "[Song Zhi Du]";
			mes "What...?";
			mes "What did";
			mes "you just say...?";
			next;
			input .@input$;
			mes "[Song Zhi Du]";
			mes ""+.@input$+"...?";
			next;
			mes "[Song Zhi Du]";
			mes "I've never heard of that organization in my life. I'm sorry I can't help you. Now, if you'll excuse me...";
			close;
		case 4:
			mes "[Song Zhi Du]";
			mes "Of course I'm working here to learn about medicine. I'm grateful for the chance to work under the most famous doctor in this area.";
			next;
			mes "[Song Zhi Du]";
			mes "Doctor Hua Tuo is such a great person. I'm more than happy to assist him in saving the lives of others with his medical knowledge.";
			next;
			mes "[Song Zhi Du]";
			mes "Even though I'm just in charge of the medicine storage, I'm working hard to become his disciple someday.";
			next;
			mes "[Song Zhi Du]";
			mes "And working with Doctor Hua Tuo is really worthwhile. Well, sometimes it's really hard to supply medicine when we have too many patients though.";
			next;
			select("Why don't you gather medicinal herbs then?");
			mes "[Song Zhi Du]";
			mes "My job is keeping this storage.";
			mes "I'm not supposed to leave my position. I need to organize the herbs, and make sure they're in good condition.";
			close;
		}
	}
	else if (ch_par > 9 && ch_poison < 5) {
		mes "[Song Zhi Du]";
		mes "Well, well. Thank you for your trouble. I didn't expect you to gather all these herbs for us...";
		next;
		mes "[Song Zhi Du]";
		mes "I suppose I underestimated you. By the way, do you know anything about poison?";
		next;
		if (select("Yes, I am kind of interested in it.:No, not at all.") == 1) {
			mes "[Song Zhi Du]";
			mes "Oh, I see. Well, if you have some time, why don't you go visit my old master in the slums?";
			next;
			mes "[Song Zhi Du]";
			mes "If you two get along, I will tell you something important.";
			close;
		}
		mes "[Song Zhi Du]";
		mes "Huh. I see. Well, thank you for your trouble once again. I hope you have a good time in Louyang.";
		close;
	}
	else if (ch_par > 9 && ch_poison == 5) {
		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 accused of something he didn't do! And they crippled his use of the martial arts!";
		next;
		mes "[Song Zhi Du]";
		mes "I can't forgive what";
		mes "they've have 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 young";
		mes "when it happened...";
		mes "Too young to know";
		mes "any martial arts.";
		next;
		mes "[Song Zhi Du]";
		mes "I couldn't 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 body and make sure it's reasonably healthy. Even so, if it weren't for my master, I'd be dead";
		mes "in the streets...";
		next;
		mes "[Song Zhi Du]";
		mes "It was my master who picked me up from the streets and cured me. So, I've decided to become a doctor and save as many lives as I can.";
		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 knowledgable about medicine, especially the use of poison. I can tell you that I'm one of the best.";
		next;
		mes "[Song Zhi Du]";
		mes "Poison can kill people but it can also be used to save lifes. The 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;
		if (select("But revenge isn't good.:Yes, I fully understand.") == 1) {
			mes "[Song Zhi Du]";
			mes "Hmm...";
			mes "I see.";
			next;
			mes "[Song Zhi Du]";
			mes "I suppose 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, since my master likes you. How 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 ch_poison,6;
			close;
		}
		mes "[Song Zhi Du]";
		mes "Yes! Yes!";
		mes "You do understand!";
		next;
		mes "[Song Zhi Du]";
		mes "I volunteered for this medicine storage position so that I can secretly study poison! Now, the time for action has come!";
		next;
		mes "[Song Zhi Du]";
		mes "Still, I'll need some materials to complete my research. Then, when";
		mes "I succeed and create a poison pill, I'll need someone to carry my revenge out for me.";
		next;
		mes "[Song Zhi Du]";
		mes "Since my body is so frail, I can't bear the tension and rage of seeing my lifelong enemy face to face.";
		set ch_poison,8;
		close;
	}
	else if (ch_par > 9 && ch_poison == 6) {
		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;
		if (select("I'm sorry for last time.:No matter what, revenge isn't good.") == 1) {
			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 you can bring what I need to finish it. Go and get me...";
			next;
			mes "[Song Zhi Du]";
			mes "^0000FF4 Bee Sting,";
			mes "10 Venom Canine,";
			mes "10 Empty Potion,";
			mes "30 Green Potion^000000.";
			set ch_poison,7;
			next;
			mes "[Song Zhi Du]";
			mes "An apology is fine, but you must also show me that you are sorry and help me carry out my plan. Do you have any problem with this?";
			close;
		}
		mes "[Song Zhi Du]";
		mes "Oh, forget about it.";
		mes "I don't think I can ever";
		mes "make you understand how I feel.";
		specialeffect 11; //"Employee#poison" EF_ENDURE
		close2;
		set ch_poison,6;
		end;
	}
	else if (ch_par > 9 && ch_poison == 7) {
		mes "[Song Zhi Du]";
		mes "So, did you";
		mes "gather everything";
		mes "I asked of you?";
		next;
		if (select("Yes.:What do you need again?") == 1) {
			if (countitem(939) > 3 && countitem(937) > 9 && countitem(1093) > 9 && countitem(506) > 29) {
				delitem 939,4; //Bee_Sting
				delitem 937,10; //Posionous_Canine
				delitem 1093,10; //Empty_Potion
				delitem 506,30; //Green_Potion
				set ch_poison,8;
				mes "[Song Zhi Du]";
				mes "Ah...";
				mes "With these, I accept your apology. Thank you for all the trouble you went through to get this stuff.";
				next;
				mes "[Song Zhi Du]";
				mes "Now that you're this involved, you're in this with me all the way! I've been waiting for this";
				mes "day for years...";
				next;
				mes "[Song Zhi Du]";
				mes "All that's left is to create this poison, and then to get the";
				mes "lord of Louyang to drink it...";
				close;
			}
			mes "[Song Zhi Du]";
			mes "Where are things";
			mes "I asked you to bring?";
			mes "Are you testing my";
			mes "patience or what?";
			next;
			mes "[Song Zhi Du]";
			mes "You're still missing some of the items I need. I must have them all in order to finish making this poison!";
			specialeffect 11; //"Employee#poison" EF_ENDURE
			close;
		}
		mes "[Song Zhi Du]";
		mes "*Sigh...*";
		mes "Go and get me...";
		next;
		mes "[Song Zhi Du]";
		mes "^0000FF4 Bee Sting,";
		mes "10 Venom Canine,";
		mes "10 Empty Potion,";
		mes "30 Green Potion^000000.";
		specialeffect 11; //"Employee#poison" EF_ENDURE
		close;
	}
	else if (ch_par > 9 && ch_poison == 8) {
		emotion e_gasp;
		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.";
		close;
	}
	else if (ch_par > 9 && ch_poison == 9) {
		if (countitem(7126) > 0) {
			delitem 7126,countitem(7126); //Large_Jellopy
			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 extracted from Venom Canine";
			mes "with a foreign liquid named Karvodailnirol.";
			next;
			mes "[Song Zhi Du]";
			mes "Then, I add Green Herb extract, poison extracted from Bee Sting and a Large Jellopy into the liquid! Finally, I must heat them all!";
			specialeffect 12; //"Employee#poison" EF_BEGINSPELL
			next;
			mes "[Song Zhi Du]";
			mes "Finally, I have to carefully heat the mixture and collect it all into a Potion Bottle.";
			specialeffect 125; //"Employee#poison" EF_ENCHANTPOISON
			specialeffect 124; //"Employee#poison" EF_VENOMDUST
			next;
			mes "[Song Zhi Du]";
			mes "Now, I've got to do this just right. This is a very delicate procedure...";
			next;
			specialeffect 17; //"Employee#poison" EF_MAGNUMBREAK
			emotion e_omg;
			mes "[Song Zhi Du]";
			mes "No!! I failed again! ^666666*Sigh...*^000000 And I spent a long time preparing all of those materials...";
			set ch_poison,10;
			close;
		}
		emotion e_gasp;
		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.";
		close;
	}
	else if (ch_par > 9 && ch_poison == 10) {
		if (countitem(939) > 3 && countitem(937) > 9 && countitem(1093) > 9 && countitem(506) > 29 && countitem(7126) > 0) {
			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 of these ^FF0000materials^000000.";
			next;
			delitem 939,countitem(939); //Bee_Sting
			delitem 937,countitem(937); //Posionous_Canine
			delitem 1093,countitem(1093); //Empty_Potion
			delitem 506,countitem(506); //Green_Potion
			delitem 7126,countitem(7126); //Large_Jellopy
			mes "[Song Zhi Du]";
			mes "Alright, now";
			mes "to create the poison.";
			mes "This is going to be tough.";
			mes "Here we go...";
			next;
			if (rand(1,1000) > 700) {
				mes "[Song Zhi Du]";
				mes "First, I shall mix a poison extracted from Venom Canine";
				mes "with a foreign liquid named Karvodailnirol.";
				next;
				mes "[Song Zhi Du]";
				mes "Then, I add Green Herb extract,";
				mes "a poison extracted from Bee Sting and a Large Jellopy!";
				specialeffect 12; //"Employee#poison" EF_BEGINSPELL
				next;
				mes "[Song Zhi Du]";
				mes "Finally, I have to carefully heat the mixture and collect it all into a Potion Bottle.";
				specialeffect 125; //"Employee#poison" EF_ENCHANTPOISON
				specialeffect 124; //"Employee#poison" EF_VENOMDUST
				next;
				mes "[Song Zhi Du]";
				mes "*Phew...*";
				mes "Did...";
				mes "Did I make it?";
				next;
				specialeffect 20; //"Employee#poison" EF_PATTACK
				specialeffect 53; //"Employee#poison" EF_POISONHIT
				emotion e_omg;
				mes "[Song Zhi Du]";
				mes "Hahaha~!";
				mes "Success! ";
				mes "It works!";
				mes "I finally created it!";
				mes "Mwahahahahahah!";
				next;
				mes "[Song Zhi Du]";
				mes "Muhahahahaha!";
				next;
				mes "[Song Zhi Du]";
				mes "Muhahahahaha!";
				mes "Hahahahahahahahahahah!";
				mes "";
				next;
				mes "[Song Zhi Du]";
				mes "I made it!";
				mes "I made it!";
				mes "Now, revenge will be mine!";
				next;
				set ch_poison,11;
				getitem 678,2; //Poison_Bottle
				mes "[Song Zhi Du]";
				mes "Hahaha! Now, please";
				mes "take this bottle. But be careful. Even if you smell it just a little, it can cause your body to decompose, leading to death.";
				close;
			}
			mes "[Song Zhi Du]";
			mes "First, I shall mix a poison extracted from Venom Canine";
			mes "with a foreign liquid named Karvodailnirol.";
			next;
			mes "[Song Zhi Du]";
			mes "Then I add Green Herb extract, a poison extracted from Bee Sting and a Large Jellopy!";
			specialeffect 12; //"Employee#poison" EF_BEGINSPELL
			next;
			mes "[Song Zhi Du]";
			mes "Then I must carefully heat the mixture, and gather it all into a potion bottle.";
			specialeffect 125; //"Employee#poison" EF_ENCHANTPOISON
			specialeffect 124; //"Employee#poison" EF_VENOMDUST
			next;
			mes "[Song Zhi Du]";
			mes "*Phew...*";
			mes "Did...";
			mes "Did I make it?";
			next;
			specialeffect 17; //"Employee#poison" EF_MAGNUMBREAK
			emotion e_omg;
			mes "[Song Zhi Du]";
			mes "NO! I... I've failed again! And I spent a long time getting everything ready...";
			close;
		}
		mes "[Song Zhi Du]";
		mes "I'm not sure what went wrong.";
		mes "Hmm, would you please help me again? I've used all the materials 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 shown that you'll help carry out my revenge, I know you'll understand.";
		close;
	}
	else if (ch_par > 9 && ch_poison == 11) {
		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 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 "Muhahahaha!";
		mes "Hahaha...Haha..hahaha..haha...hahahahaha...mmmmuhahahahahahahaha!!";
		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 of you. Please sneak into the Castle of the Dragon.";
		next;
		mes "[Song Zhi Du]";
		mes "I want you to put this poison some place where Lord Bai Long might stay. But be careful, the castle has a lot of security.";
		next;
		mes "[Song Zhi Du]";
		mes "Still, you're an adventurer from Rune-Midgard. You've probably had challenges like this before, so I'm sure you'll find a way.";
		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 world's deadliest poison for you!";
		set ch_poison,12;
		close;
	}
	else if (ch_par > 9 && ch_poison == 12) {
		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, don't forget to use this poison 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 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;
	}
	else if (ch_par > 9 && ch_poison == 13) {
		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. You've satisfied my old grudge.";
		next;
		mes "[Song Zhi Du]";
		mes "Now, I am getting tired.";
		mes "Let me rest... Take care, my friend, and travel in safety.";
		next;
		mes "[Song Zhi Du]";
		mes "But before you go, let me give you some poison and a medicinal pill.";
		mes "I made these with the leftover materials and medicine in the storage.";
		set ch_poison,14;
		getitem 678,3; //Poison_Bottle
		next;
		mes "[Song Zhi Du]";
		mes "Please take the";
		mes "medicine pill";
		mes "right away.";
		next;
		mes "^3355FFYou swallowed a strange pill";
		mes "that shines with a gold color.";
		mes "It tastes bitter...^000000";
		next;
		mes "^3355FFThe nasty taste lingers in your mouth, but then you feel a great warmth flowing throughout your body. Eventually, you pass out.^000000";
		next;
		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;
	}
	else if (ch_par > 9 && ch_poison == 14) {
		mes "[Song Zhi Du]";
		mes "......................";
		next;
		mes "^3355FFSong Zhi Du looks blankly at the ceiling. With his revenge, it seems he's lost his motivation in life. Was it a good idea to help him, after all?^000000";
		next;
		mes "^3355FFBy hearsay, the poisoned drink didn't work so well, as a Thief from a foreign land actually stole the bottle.^000000";
		close;
	}
	else if (ch_par > 9 && ch_poison == 15 && ch_poison < 20) {
		mes "[Song Zhi Du]";
		mes "What happened?";
		mes "Why isn't";
		mes "Lord Bai Long dead yet?!";
		next;
		mes "[Song Zhi Du]";
		mes "Hmmm...";
		mes "You don't have";
		mes "a different plot";
		mes "in mind, do you?";
		close;
	}
	else if (ch_par > 9 && ch_poison == 20) {
		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 at the same time. Still, now I can forget everything that's happened in the past.";
		next;
		mes "[Song Zhi Du]";
		mes "Now, I've decided to focus more on my medical studies so that I can really save as many lives as I can. I'm sorry I've been so rude to you before.";
		next;
		mes "[Song Zhi Du]";
		mes "Also, I hope you will";
		mes "take these, since I don't";
		mes "need them any longer.";
		set ch_poison,21;
		getitem 678,5; //Poison_Bottle
		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;
	}
	else if (ch_poison > 20) {
		mes "^3355FFSong Zhi Du is busily engaged with organizing medicinal herbs. The faint look of sadness that used to be on his face now seems drained.^000000";
		next;
		mes "^3355FFStill, from his movements and the pace at which he is working, you can tell that he loves what he is doing. It seems that Song Zhi Du has finally found his life's path.^000000";
		close;
	}
	mes "[Song Zhi Du]";
	mes "Nagash Arses is also the name of poison king in a legend of Arcturus. There's good reason for my master to be proud of his name!";
	close;
}

lou_fild01,224,348,0	script	Lady#delivery	817,{
	if (checkweight(1201,1) == 0) {
		mes "^3355FF * Wait a minute! *";
		mes "Currently, you're carrying too many items. Please put some of your things into Kafra Storage and try again.^000000";
		close;
	}
	if (ch_poison < 8) {
		if (rand(1,10) > 5) {
			mes "[Lady]";
			mes "You're at the";
			mes "entrance of Louyang.";
			mes "I hope you enjoy";
			mes "your stay here~";
			emotion e_kis;
			close;
		}
		mes "[Lady]";
		mes "You're at the entrance of Louyang.";
		next;
		mes "[Lady]";
		mes "Louyang is well known";
		mes "for its various firecrackers.";
		mes "Would you like to see one?";
		next;
		if (select("Sure!:No thanks~") == 1) {
			mes "[Lady]";
			mes "Alright, there you go!";
			if (Zeny > 99) {
				set zeny,zeny-100;
			}
			close2;
			donpcevent " #fire::OnClaymore";
			end;
		}
		mes "[Lady]";
		mes "Hmpf...!";
		emotion e_dots;
		close;
	}
	else if (ch_poison == 8) {
		mes "[Lady]";
		mes "Would you";
		mes "like to see some";
		mes "firecrackers?";
		next;
		if (select("Sure!:No thanks~") == 1) {
			mes "[Lady]";
			mes "Alright,";
			mes "there you go!";
			if (Zeny > 99) {
				set zeny,zeny-100;
			}
			close2;
			donpcevent " #fire::OnClaymore";
			end;
		}
		mes "[Lady]";
		mes "Hmm, if not firecrackers,";
		mes "then you must want something";
		mes "else. Did someone send you?";
		next;
		if (select("Yes.:No.") == 1) {
			mes "[Lady]";
			mes "Who was it?";
			mes "Please tell me";
			mes "his name.";
			next;
			input .@input$;
			if (.@input$ == "Song Zhi Du") {
				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;
				if (Zeny > 999) {
					set zeny,zeny-1000;
					getitem 7126,1; //Large_Jellopy
					mes "[Lady]";
					mes "Thank you~";
					mes "Now that the fee is paid,";
					mes "please bring this to";
					mes "Song Zhi Du.";
					mes "Take care!";
					set ch_poison,9;
					close;
				}
				mes "[Lady]";
				mes "Errr...";
				mes "You don't have enough zeny for the fee. I can't give you the package unless the delivery fee is paid!";
				emotion e_an;
				close;
			}
			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;
		}
		mes "[Lady]";
		mes "No...?";
		next;
		mes "[Lady]";
		mes "Are you...";
		mes "Coming on to me?";
		close;
	}
	else if (ch_poison > 8) {
		if (rand(1,10) > 5) {
			mes "[Lady]";
			mes "You're at the";
			mes "entrance of Louyang.";
			mes "I hope you have a good time~";
			emotion e_kis;
			close;
		}
		mes "[Lady]";
		mes "You're at the";
		mes "entrance of";
		mes "Louyang.";
		next;
		mes "[Lady]";
		mes "Louyang is well known";
		mes "for its various firecrackers.";
		mes "Would you like to see one?";
		next;
		if (select("Sure!:No thanks~") == 1) {
			mes "[Lady]";
			mes "Alright~";
			mes "There you go!";
			if (Zeny > 99) {
				set zeny,zeny-100;
			}
			close2;
			donpcevent " #fire::OnClaymore";
			end;
		}
		mes "[Lady]";
		mes "Hmpf...!";
		emotion e_dots;
		close;
	}
}

lou_fild01,225,350,0	script	 #fire	139,{
	end;

OnClaymore:
	specialeffect 106; //" #fire" EF_BLASTMINEBOMB
	end;
}

lou_in01,101,125,0	script	Trap#lou_in1	-1,20,1,{
OnTouch:
	if (ch_poison == 12 || ch_poison == 16) {
		mes "[Soldier]";
		mes "Who goes there!";
		next;
		mes "^3355FFYou ran away as quickly as you could!^000000";
		close2;
		warp "louyang",218,246;
		end;
	}
	end;
}

lou_in01,101,129,0	script	Trap#lou_in2	-1,20,1,{
OnTouch:
	if (ch_poison == 12 || ch_poison == 16) {
		mes "[Soldier]";
		mes "Huh...?";
		mes "What was";
		mes "that noise?";
		next;
		mes "^3355FFYou bolted away from the castle as fast as your legs could carry you.^000000";
		close2;
		warp "louyang",218,246;
		end;
	}
	end;
}

lou_in01,101,134,0	script	Trap#lou_in3	-1,20,1,{
OnTouch:
	if (ch_poison == 12 || ch_poison == 16) {
		mes "[Soldier]";
		mes "Huh...?";
		mes "Is somebody there?";
		next;
		mes "^3355FFYou escaped from the soldier's suspicious gaze.^000000";
		close2;
		warp "louyang",218,246;
		end;
	}
	end;
}

lou_in01,114,163,0	script	Trap#lou_in4	-1,6,1,{
OnTouch:
	if (ch_poison == 12 || ch_poison == 16) {
		mes "[Soldier]";
		mes "Hold it right there, Rune-Midgardian!";
		next;
		mes "^3355FFYou run as fast as you can before the soldiers can catch you.^000000";
		close2;
		warp "louyang",218,246;
		end;
	}
	end;
}

lou_in01,114,165,0	script	Trap#lou_in5	-1,1,0,{
OnTouch:
	if (ch_poison == 12 || ch_poison == 16) {
		mes "[Soldier]";
		mes "Huh...?";
		mes "I hear something!";
		next;
		mes "^3355FFYou escape before the soldier can find you.^000000";
		close2;
		warp "louyang",218,246;
		end;
	}
	end;
}

louyang,217,278,0	script	 #lou_path	111,{
	if (ch_poison == 12 || ch_poison == 16) {
		set name,PcName;
		mes "["+strcharinfo(0)+"]";
		mes "What's this?";
		mes "A crack in the wall?";
		next;
		mes "^3355FFYou jump to the stone wall and peep into the crack. It looks big enough for someone to squeeze through.^000000";
		next;
		mes "^3355FFYou move through the crack as quickly as you can.^000000";
		close2;
		warp "lou_in01",119,167;
		end;
	}
	end;
}

lou_in01,107,163,0	script	 #lou_drink1	111,{
	if (ch_poison == 12) {
		mes "^3355FFYou found a drink bottle that's possibly owned by Bai Long, lord of Louyang.^00000";
		next;
		mes "^3355FFYou put the deadly poison into the bottle.^000000";
		delitem 678,1; //Poison_Bottle
		set ch_poison,13;
		close;
	}
	else if (ch_poison == 13) {
		mes "^3355FFIt would be smart to get out of this place as soon as you can.^000000";
		close;
	}
	else if (ch_poison == 16) {
		if (countitem(938) > 0 && countitem(713) > 0) {
			mes "^3355FFYou take the drink bottle and replace it with a bottle filled with Sticky Mucus. Hopefully Bai Long won't notice!^000000";
			delitem 938,1; //Sticky_Mucus
			delitem 713,1; //Empty_Bottle
			set ch_poison,17;
			close;
		}
		mes "^3355FFIt seems that you need switch Bai Long's drinking bottle with something else. Just taking the drink bottle would arouse suspicion.^000000";
		next;
		mes "^3355FFMaybe if you found some kind of empty bottle and filled it with something, like Sticky Mucus...^000000";
		close;
	}
	mes "^3355FFYou found a drink bottle. It's fancy enough that the only possible owner could be Bai Long, lord of Louyang.^000000";
	close;
}

lou_in01,118,167,0	script	 #lou_drink2	111,{
	if (ch_poison == 12) {
		mes "^3355FFYou squeeze through the crack as quickly as you can.^000000";
		close2;
		warp "louyang",217,278;
		end;
	}
	else if (ch_poison == 13) {
		mes "^3355FFYou squeeze through the crack as quickly as you can.^000000";
		close2;
		warp "louyang",217,278;
		end;
	}
	end;
}

lou_in01,99,158,4	script	Lord#bailong	821,{
	if (checkweight(1201,1) == 0) {
		mes "^3355FF * Wait a minute! *";
		mes "Right now you're carrying too many items. Please put some of your things into Kafra Storage and try again.^000000";
		close;
	}
	if (ch_poison == 12 || ch_poison == 16) {
		mes "[Lord Bai Long]";
		mes "Hey...!";
		mes "You're not doing";
		mes "anything suspicious";
		mes "are you?";
		next;
		mes "^3355FFYou run away";
		mes "from Bai Long as";
		mes "fast as you can!^000000";
		close2;
		warp "louyang",218,246;
		end;
	}
	else {
		mes "[Lord Bai Long]";
		mes "Hahahaha!";
		mes "Welcome to Louyang!";
		next;
		mes "[Lord Bai Long]";
		mes "Louyang is such a great city.";
		mes "We've protected this land for forty years from the invasions of evil creatures!";
		next;
		mes "[Lord Bai Long]";
		mes "I hope you enjoy";
		mes "your stay here,";
		mes "Rune-Midgardian!";
		next;
		if (ch_poison == 18) {
			mes "^3355FFYou give Nagash Arses' Journal";
			mes "to Bai Long. He reads it intently, slowly turning each page.^000000";
			next;
			mes "^3355FFHe's completely silent for about fifteen minutes, and focuses all";
			mes "of his attention of the journal.^000000";
			next;
			mes "^3355FFA single tear trickles";
			mes "from his eye as he reads";
			mes "the words of Nagash Arse...^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 arts organizations, regardless of their methods or philosophies!";
			next;
			mes "[Lord Bai Long]";
			mes "I will also forgive Song Zhi Du, even if he tried to poison me.";
			mes "He is innocent...";
			next;
			mes "[Lord Bai Long]";
			mes "As a matter of fact, it was reported to me that Nagash was 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;
			next;
			mes "[Lord Bai Long]";
			mes "Please, take this as a token of gratitute. And please deliver this letter to Nagash and Song Zhi Du for me.";
			set ch_poison,19;
			getitem 603,1; //Old_Blue_Box
			next;
			mes "^3355FFYou obtained ^0000FFBai Long's letter^000000.";
			next;
			mes "[Lord Bai Long]";
			mes "Thank you in advance.";
			close;
		}
		mes "[Lord Bai Long]";
		mes "How could I have lost my friend from our glory days? Hmm...?";
		mes "Oh, I didn't realize you were still there... Listening to me.";
		next;
		mes "[Lord Bai Long]";
		mes "I'm sorry, I was just talking to myself. I hope you have a good time while staying here in Louyang.";
		close;
	}
}

lou_in01,111,151,4	script	Soldier#bailong1	825,{
	if (ch_poison == 12 || ch_poison == 16) {
		mes "[Soldier]";
		mes "Hey...";
		mes "There's something";
		mes "fishy about you...! ";
		next;
		mes "^3355FFYou escaped from the castle, far away from the suspicious guard...^000000";
		close2;
		warp "louyang",218,246;
		end;
	}
	mes "[Soldier]";
	mes "^666666*Yawn*^000000 It's so boring here nowadays. Although, I hear that";
	mes "a long time ago, things were";
	mes "much different.";
	next;
	mes "[Soldier]";
	mes "Supposedly, monsters used to intrude Louyang all the time! Heh, but that's just a rumor. Still, there are a bunch of rumors going around that I'm curious about...";
	close;
}

lou_in01,91,151,4	script	Soldier#bailong2	825,{
	if (ch_poison == 12 || ch_poison == 16) {
		mes "[Soldier]";
		mes "Huh...?";
		mes "Is somebody there? ";
		next;
		mes "^3355FFYou ran away";
		mes "as quickly";
		mes "as you could.^000000";
		close2;
		warp "louyang",218,246;
		end;
	}
	mes "[Soldier]";
	mes ".....z...Z....z...";
	next;
	select("Hey, wake up!");
	mes "[Soldier]";
	mes "Yeeeesss...Sir!";
	mes "I was not dozing off~ seerious...ly...";
	next;
	mes "[Soldier]";
	mes "...";
	next;
	mes "[Soldier]";
	mes "...";
	mes "......";
	next;
	mes "[Soldier]";
	mes ".....z...Z....z...";
	close;
}

lou_in01,102,144,4	script	Soldier#bailong3	825,{
	if (ch_poison == 12 || ch_poison == 16) {
		mes "[Soldier]";
		mes "Huh...?";
		mes "What was that?";
		next;
		mes "^3355FFYou escape the soldier's";
		mes "suspicious gaze as quickly";
		mes "as you can.^000000";
		close2;
		warp "louyang",218,246;
		end;
	}
	mes "[Soldier]";
	mes "People have been";
	mes "saying that there's";
	mes "a scammer at the";
	mes "entrance of town...";
	next;
	select("...?");
	mes "[Soldier]";
	mes "But I went there and I didn't";
	mes "find anyone suspicious. I swear, everything seemed completely normal!";
	close;
}

lou_in01,99,144,4	script	Soldier#bailong4	825,{
	if (ch_poison == 12 || ch_poison == 16) {
		mes "[Soldier]";
		mes "Who goes there?!";
		next;
		mes "^3355FFYou ran away";
		mes "as quickly";
		mes "as you could.^000000";
		close2;
		warp "louyang",218,246;
		end;
	}
	mes "[Soldier]";
	mes "Ah, don't bother";
	mes "to listen to this";
	mes "guy beside of me.";
	next;
	mes "[Soldier]";
	mes "I hope you have a good time while you're staying here in Louyang!";
	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#1	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#2	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;
}