summaryrefslogblamecommitdiff
path: root/npc/items/cookie.txt
blob: e451e8448c85e0906ba2c81a2df6573882873bc3 (plain) (tree)
1
2
3
4
5
6
7






                                                  





                                                    


                                                    
          
                    



        
// Evol script.
// Author:
//    Jesusalva
//    Reid (?)
// Description:
//    Prevents cookie from being used for too long

function	script	UnequipCookie	{
    if (getequipid(EQI_HEAD_MID) == DeliciousCookie)
        unequip(EQI_HEAD_MID);
    return;
}

-	script	#DeliciousCookie	NPC_HIDDEN,{
    end;

OnUnequip:
    UnequipCookie();
    end;

}