summaryrefslogblamecommitdiff
path: root/npc/025-1/yuko.txt
blob: 81336bf709d00e0ad50f45e246d01d48203ce3ce (plain) (tree)
1
2
3
4
5
6
7
8
9


               
                                                      
 
                                            


                                                     
                    








                                            

                                                         
                                                        
                                                                





                                            
                    
                           
                                        
                                        
                                        



                                        
                                        
















                                          


            


                                           
            
                                           
                                           


                                           


        
// TMW2 Script
// Author:
//    Jesusalva
// Yuko Cuf is an anagram of YuckFou (see also 102 58)

025-1,93,59,0	script	Yuko	NPC_PLAYER,{
    mesn;
    mesq l("Cuf! Cuf!"); // --TRANSLATORS: NOT A TYPO
    next;
    mesn "Yuko Cuf";
    mesq l("Can I help you somehow today?");
    next;
    closeclientdialog;
    shop .name$;
    goodbye;
    close;

OnInit:
    .@npcId = getnpcid(.name$);
    setunitdata(.@npcId, UDT_HEADTOP, DarkKnightHelmet);
    setunitdata(.@npcId, UDT_HEADMIDDLE, RedknightArmor);
    setunitdata(.@npcId, UDT_HEADBOTTOM, BromenalPants);
    setunitdata(.@npcId, UDT_WEAPON, BlueKnightShield); // Boots
    setunitdata(.@npcId, UDT_HAIRSTYLE, 7);
    setunitdata(.@npcId, UDT_HAIRCOLOR, 17);

    .sex = G_MALE;
    .distance = 4;

    sleep(SHOPWAIT);
    tradertype(NST_MARKET);
    sellitem InsuranceContract,  -1,  1;
    sellitem HomunResetPotion,   -1,  5;
    sellitem PurificationPotion, -1, 20;
    sellitem AtroposMixture,     -1, 50;
    sellitem ThornAmmoBox,       -1,  5;
    sellitem PoisonAmmoBox,      -1, 10;
    sellitem CursedAmmoBox,      -1, 15;
    sellitem PileOfAsh,          -1, 25;
    sellitem BoneKnife,          -1,  1;
    sellitem LeaderWand,         -1,  1;
    sellitem BromenalShield,     -1,  1;
    sellitem LightPlatemail,     -1,  1;
    sellitem BromenalPants,      -1,  1;
    sellitem CandleHelmet,       -1,  1;
    sellitem WarlordHelmet,      -1,  1;
    end;

OnWed0016:
    restoreshopitem BoneKnife,          1;
    restoreshopitem LeaderWand,         1;
    restoreshopitem BromenalShield,     1;
    restoreshopitem LightPlatemail,     1;
    restoreshopitem BromenalPants,      1;
    restoreshopitem CandleHelmet,       1;
    restoreshopitem WarlordHelmet,      1;
    end;

OnClock1149:
    restoreshopitem InsuranceContract,  1;
    restoreshopitem ThornAmmoBox,       5;
    restoreshopitem PileOfAsh,          25;
OnClock2359:
    restoreshopitem HomunResetPotion,    5;
    restoreshopitem PurificationPotion, 20;
    restoreshopitem AtroposMixture,     50;
    restoreshopitem PoisonAmmoBox,      10;
    restoreshopitem CursedAmmoBox,      15;
    end;
}