summaryrefslogtreecommitdiff
path: root/world/map/npc/items/unreleased_item.txt
diff options
context:
space:
mode:
authortux9th <mr.x@aon.at>2013-11-24 10:41:18 -0800
committertux9th <mr.x@aon.at>2013-11-24 10:41:18 -0800
commit5b7768879adf803278e425bc20961c2dc4bc4147 (patch)
tree56e71a52fa2f564fc9b10b21d571852fcd46b4bd /world/map/npc/items/unreleased_item.txt
parent9bab4466134d43018070483b6d6a505dc0c08780 (diff)
parent5d34457becf1d1bbdda00c950d76b538d322c7bc (diff)
downloadserverdata-5b7768879adf803278e425bc20961c2dc4bc4147.tar.gz
serverdata-5b7768879adf803278e425bc20961c2dc4bc4147.tar.bz2
serverdata-5b7768879adf803278e425bc20961c2dc4bc4147.tar.xz
serverdata-5b7768879adf803278e425bc20961c2dc4bc4147.zip
Merge pull request #45 from wushin/equip-arrow-fix
Unequip & Multiple Ammo Types and Launcher Fix
Diffstat (limited to 'world/map/npc/items/unreleased_item.txt')
-rw-r--r--world/map/npc/items/unreleased_item.txt10
1 files changed, 7 insertions, 3 deletions
diff --git a/world/map/npc/items/unreleased_item.txt b/world/map/npc/items/unreleased_item.txt
index 708cc1e0..457c2bcb 100644
--- a/world/map/npc/items/unreleased_item.txt
+++ b/world/map/npc/items/unreleased_item.txt
@@ -5,8 +5,12 @@
function|script|UnreleasedItem|,
{
- if (debug || getgmlevel()) end; // If the server allows equipping unreleased items or if the active character is staff, do nothing.
+ // If the server allows equipping unreleased items or if the active character is staff, do nothing.
+ if (debug || getgmlevel())
+ goto L_Return;
message strcharinfo(0), "You have difficulties equipping this item, as if it is not yet fully in this world.";
- unequipbyid @slotId;
- end;
+ callfunc "UnequipLater";
+
+L_Return:
+ return;
}