summaryrefslogtreecommitdiff
path: root/npc/items
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-04-28 17:29:01 -0300
committerJesusaves <cpntb1@ymail.com>2019-04-28 17:29:01 -0300
commitfb1ecf9e9a9c6072058df25f30b410d5e0b02b2b (patch)
tree76346f46fe852ec18c1a894e5bc1a9a76a57d77f /npc/items
parent962ef2cde08a5c62a99ec2b08975a3a07919a853 (diff)
parente478440a8fb70fa0cbc67020f68a849de9949365 (diff)
downloadserverdata-jesusalva/dailymundane.tar.gz
serverdata-jesusalva/dailymundane.tar.bz2
serverdata-jesusalva/dailymundane.tar.xz
serverdata-jesusalva/dailymundane.zip
Merge branch 'master' into jesusalva/dailymundanejesusalva/dailymundane
Diffstat (limited to 'npc/items')
-rw-r--r--npc/items/cookie.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/npc/items/cookie.txt b/npc/items/cookie.txt
new file mode 100644
index 00000000..80ff591e
--- /dev/null
+++ b/npc/items/cookie.txt
@@ -0,0 +1,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;
+
+}
+