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

           


                                                                                               
 
                                            
 
         



                                                                                                              

                                                                    
                                                                                                                  
         


                                                                                                                                            
          

       
                                  



                                                      


                                            
                  
                  
        
 
// TMW2 script.
// Author:
//    Saulc
//    Jesusalva
// Description:
//    Luca assings player a class. This may end up contradicting races, so expect core changes!

003-1,109,129,0	script	Luca	NPC_PLAYER,{

    mesn;
    if (BaseLevel < 40) mesq l("Hello there. I am looking for strong people, but you are not strong enough.");
    if (BaseLevel < 40) close;
    if (getskilllv(SM_BASH) >= 1) mesq l("Are you using my skill?");
    if (getskilllv(SM_BASH) >= 1) close;
    if (!is_staff()) mesq l("Hey, you're strong! Congratulations!");
    if (!is_staff()) close;
    mesq l("Hey, you are strong! But still, so, so GREEN! You're PATHETIC! I mean, look your skill list! Empty!");
    next;
    // The last argument is duration: 0 - permanent 1- temporary. If omitted, defaults to 1.
    skill(SM_BASH,1,0);
    mesq l("Here, learn the ##BFalkon Punch##b. It is on Physical skills tab. You can drag it to the shortcut list. Thanks me later, man!");
    close;

OnInit:
    .@npcId = getnpcid(0, .name$);
    setunitdata(.@npcId, UDT_HEADTOP, NPCEyes);
    setunitdata(.@npcId, UDT_HEADMIDDLE, ForestArmor);
    setunitdata(.@npcId, UDT_HEADBOTTOM, JeansShorts);
    setunitdata(.@npcId, UDT_WEAPON, DeepBlackBoots);
    setunitdata(.@npcId, UDT_HAIRSTYLE, 14);
    setunitdata(.@npcId, UDT_HAIRCOLOR, 13);

    .sex = G_MALE;
    .distance = 3;
    end;
}