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

           

                        
 
                                            

      

         
 
       




                                                                                                  


                                            

                                     
                                    
                                 
 
                  
                  
        


                                            
                                        


                                           
 
// TMW-2 Script
// Author:
//    Saulc
// Description:
//    Another shopkeeper

003-1,103,106,0	script	Neko	NPC_PLAYER,{

hello;
openshop;
close;

OnInit:
    .@npcId = getnpcid(0, .name$);
    setunitdata(.@npcId, UDT_HEADTOP, NPCEyes);
    setunitdata(.@npcId, UDT_HEADMIDDLE, SilkRobe);
    //setunitdata(.@npcId, UDT_HEADBOTTOM, LeatherTrousers); // FIXME: LeatherTrousers are BROKEN!
    setunitdata(.@npcId, UDT_WEAPON, AssassinBoots);
    setunitdata(.@npcId, UDT_HAIRSTYLE, 26);
    setunitdata(.@npcId, UDT_HAIRCOLOR, 2);

    tradertype(NST_MARKET);
    sellitem LeatherShirt, 120000, 1;
    sellitem ShortTankTop, 80000, 1;
    sellitem TrainingBow, 990, 2;

    .sex = G_MALE;
    .distance = 5;
    end;

OnClock2359:
    restoreshopitem LeatherShirt, 120000, 1;
    restoreshopitem TrainingBow, 990, 2;
    restoreshopitem ShortTankTop, 80000, 1;
    end;

}