summaryrefslogtreecommitdiff
path: root/npc/items/cookie.txt
blob: 80ff591e82fc505213a3922301651c180a6b0876 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Evol script.
// Author:
//    Jesusalva
//    Reid (?)
// Description:
//    Prevents cookie from being used for too long

-	script	#DeliciousCookie	NPC_HIDDEN,{
    end;

OnPCLogoutEvent:
OnUnequip:
    if (getequipid(EQI_HEAD_MID) == DeliciousCookie)
        unequip(EQI_HEAD_MID);
    end;

}