summaryrefslogblamecommitdiff
path: root/world/map/npc/008-1/george.txt
blob: 3c8aff994c37aefcaa8e8a5b76a6aa91bf59da47 (plain) (tree)
1
2
3
4
5
6
7
8

  
                                      



                                                                                            
        





                                                       

         


                                                    

          


                                                         

           


                                                       


                                
                 
 
//

008-1.gat,136,36,0|script|George|138,{
    set @hw2011_npc_id, $@hw2011_npc_george;
    if (gettime(7) == $@hw2011_year && gettime(6) == 10 && gettime(5) >= $@hw2011_start_day)
        goto L_TrickOrTreat;

L_Begin:
    if (getequipid(equip_head) == 617) goto L_Pirate;
    if (getequipid(equip_head) == 622) goto L_Bandana;
    if (getequipid(equip_head) == 621) goto L_EyePatch;
    mes "[George the Pirate]";
    mes "\"Arrrrh! 'Tis some kind of treasure map!\"";
    close;

L_Pirate:
    mes "[George the Pirate]";
    mes "\"Arrrrh! Ye be wearing a pirate's hat!\"";
    close;

L_Bandana:
    mes "[George the Pirate]";
    mes "\"Arrrrh! Ye remind me of my old first mate!\"";
    close;

L_EyePatch:
    mes "[George the Pirate]";
    mes "\"Arrrrh! Looks like ye lost an eye there!\"";
    close;

L_TrickOrTreat:
    callfunc "TrickOrTreat2011";
    goto L_Begin;
}