summaryrefslogblamecommitdiff
path: root/npc/002-1/alige.txt
blob: c21cb3f5faae822c29e87ad325278c6403a0420d (plain) (tree)
1
2
3
4
5
6
7
8
9
                
           
               
               
                                       

                                           
         
                                                                        
         
         
                                                       

          
 



                  











                             
 
// TMW2 Scripts.
// Authors:
//    Jesusalva
// Description:
//    Stowaway hidden in a ship's hole.

002-1,45,26,0	script	Alige	NPC_ALIGE,{
    mesn;
    mesq l("Ssh! I am hiding here. Don't tell anyone I'm hiding here!");
    next;
    mesn;
    mesq l("I don't want to be thrown to the sharks!");
    close;


OnInit:
    .sex = G_MALE;
    .distance = 2;
    end;


OnTouch:
    if (getareausers() <= 1)
        setnpcdir "Alige", 2;
    close;

OnUnTouch:
    if (getareausers() == 0)
        setnpcdir "Alige", 4;
    close;

}