summaryrefslogblamecommitdiff
path: root/npc/000-1/tarlan.txt
blob: 26381d50abec812816b2cf37133c85a561732fee (plain) (tree)
1
2
3
4
5
6
7
8
9
                
          

               
                                                                       
 
                                               

         
 

                    

                                  
                              
 
                       











                                              
                



            
                                                                                          
         
                                                                                                                
 
                
 
            
                                                                                                              
 
                
 
        
                                    
         
                                                
 
                
 


                                  
                                                                                  
 
                
 
       
                

          
 
// Evol scripts.
// Author:
//    Reid
// Description:
//    Sailor hitting a crocotree, then being struck a falling croconut.

000-1.gat,33,37,0,1	script	Tarlan	315;2,{

    mesn;

    setnpcdir 2;
    set @a, rand(4);
    if (@a == 0) goto l_HardToHit;
    if (@a == 1) goto l_Aouch;
    if (@a == 2) goto l_DoYou;

    mesq l("Hey you!");
    next;
    mesq l("What are you looking for?");
    next;

    menu
        l("Some food."), l_Food,
        l("Nothing, just hanging around."), -;

    mes " ";
    mesn;
    mesq l("Ok, see you then!");

    goto l_Quit;

l_Food:
    mes " ";
    mesn;
    mesq l("You can yaye some @@s by hitting these crocotrees.", getitemlink("Croconut"));
    next;
    mesq l("Yeye be careful with wild animal's food, some of them are yeyery dangerous, especially the blubs.");

    goto l_Quit;

l_HardToHit:
    mesq l("These crocotrees are full of yaying @@, but they are so hard to hit...", getitemlink("Croconut"));

    goto l_Quit;

l_Aouch:
    mesq l("Ayouyouch! My head...");
    next;
    mesq l("Damn @@.", getitemlink("Croconut"));

    goto l_Quit;

l_DoYou:
    mesq l("Do you want to try?");
    next;
    mesq l("Just hit the trunk, and it will yeye a @@.", getitemlink("Croconut"));

    goto l_Quit;

l_Quit:
    setnpcdir 4;
    close;

}