summaryrefslogblamecommitdiff
path: root/world/map/npc/001-1/entertainer.txt
blob: fea4f5325cf48ac2fdae15911ded22cfcced6585 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                        
                                         
 
                                                
 


                                      
                                                                 
                              

        
                        
                                                                            
                                           
        
                                
                                                    

         
                            
                        

                                                            
                                                                                  
                 

      

                                                              
                 
 
        
          

            
                                             
                  
        

       
                        
                 
        
 
// Emote NPC allows for players to learn the emote skill

001-1.gat,30,43,0|script|Entertainer|165,
{
    if (getskilllv(SKILL_EMOTE) > 0) goto L_Has;

    mes "[Entertainer]";
    mes "\"Yes how can I help you?\"";
    menu
        "How are you showing emotions above your head?", L_Learn,
        "Never mind", L_Close;

L_Learn:
    mes "[Entertainer]";
    mes "\"They are called emotes, I use them to express how I am feeling.";
    mes "I can teach you if you'd like?\"";
    menu
        "Yes please.", L_Learn2,
        "I don't see the point right now.", L_Close;

L_Learn2:
    setskill SKILL_EMOTE, 1;
    mes "[Entertainer]";
    mes "\"All you have to do is press alt and a number.";
    mes "The number determines what emotion will be shown.";
    mes "Some clients will also show an emote shortcut-bar with the F12 button\"";
    goto L_Close;

L_Has:
    mes "[Entertainer]";
    mes "\"The entertainment life is a hard life...\" *sigh*";
    goto L_Close;

L_Close:
    close;

OnTimer3000:
    emotion rand(EMOTE_DISGUST, EMOTE_TEARS);
    setnpctimer 0;
    end;

OnInit:
    if (debug >= 2) end;
    initnpctimer;
    end;
}