summaryrefslogblamecommitdiff
path: root/npc/003-1/shop.txt
blob: 18b4ce7031bd23fb3e2fa00a746e9f70cd3dba86 (plain) (tree)
1
2
3
4
5
6
7
8
9
                
          
           
 
                                                       



                           
                              
                          

                                                
                              
                              
                             
                                
                           
                                             
                                                                                           
                             




                   


            
            
                                     
                                 

                                                   
                                                 


                                     
                                                    
                                       
                                    

 
// TMW2 scripts.
// Author:
//    Saulc

003-1,108,110,0	trader	Shop#bazar1	NPC_NO_SPRITE,{

OnInit:
    tradertype(NST_MARKET);

    sellitem YellowDye, -1, 2;
    sellitem Knife, -1, 5;
	sellitem TrainingAmmoBox, -1, rand(2,5);
	sellitem ArrowAmmoBox, -1, rand(2,4);
    sellitem Arrow, -1, 30000;
    sellitem DesertHat, -1, 8;
    sellitem SilkRobe, -1, 1;
    sellitem CottonCloth, -1, 2;
    sellitem Bread, -1, 15;
    sellitem CroconutBox, rand(2800,2900), 6;
    sellitem EmptyBottle, -1, 3; // You can buy some empty bottles here, but they're scarse
    sellitem EmptyBox, -1, 1;

    .sex = G_OTHER;
    .distance = 3;
    end;

OnClock0621:
OnClock1210:
OnClock1757:
OnClock0000:
    restoreshopitem YellowDye, -1, 2;
    restoreshopitem Knife, -1, 5;
	restoreshopitem TrainingAmmoBox, rand(2,5);
	restoreshopitem ArrowAmmoBox, rand(2,4);
    restoreshopitem Arrow, -1, rand(10000,30000);
    restoreshopitem DesertHat, -1, 8;
    restoreshopitem SilkRobe, -1, 1;
    restoreshopitem Bread, -1, 15;
    restoreshopitem CroconutBox, rand(2800,3050), 6;
    restoreshopitem EmptyBottle, -1, 3;
    restoreshopitem EmptyBox, -1, 1;
}