diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-04-17 17:01:05 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-04-17 17:01:05 -0300 |
commit | d2603a1d4892c71180063f71a0eb30388754c456 (patch) | |
tree | f6dc9e94f5f8e57c809c7a225d8b7cacfcec302f /npc/items/unequipcb.txt | |
parent | bfac8120f277238c03ff8cc55514a645f943a67c (diff) | |
download | serverdata-d2603a1d4892c71180063f71a0eb30388754c456.tar.gz serverdata-d2603a1d4892c71180063f71a0eb30388754c456.tar.bz2 serverdata-d2603a1d4892c71180063f71a0eb30388754c456.tar.xz serverdata-d2603a1d4892c71180063f71a0eb30388754c456.zip |
Remove unequipcb (deprecated)
Diffstat (limited to 'npc/items/unequipcb.txt')
-rw-r--r-- | npc/items/unequipcb.txt | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/npc/items/unequipcb.txt b/npc/items/unequipcb.txt deleted file mode 100644 index a1c7881d..00000000 --- a/npc/items/unequipcb.txt +++ /dev/null @@ -1,22 +0,0 @@ -- script UnequipCB NPC32767,{ - end; - -OnUnequip: - unequipbyid (@unequip_slot - 1); - @unequip_slot = 0; - end; -} - -function script UnequipLater { - // if there are multiple items that want to be removed, - // only schedule one timer - scripts will be called again - if (@unequip_slot) - goto L_Return; - - @unequip_slot = (@slotId + 1); - addtimer 0, "UnequipCB::OnUnequip"; - goto L_Return; - -L_Return: - return; -} |