summaryrefslogtreecommitdiff
path: root/world/map/npc/items/unreleased_item.txt
diff options
context:
space:
mode:
authorJessica Tölke <jtoelke@mail.upb.de>2013-07-07 12:51:32 +0200
committerJessica Tölke <jtoelke@mail.upb.de>2013-07-07 12:51:32 +0200
commit0dd134db3f6f67bb5e4401f1ba7bf3e97f201505 (patch)
tree4a200c1eeb684039390959107a6f413e065384fd /world/map/npc/items/unreleased_item.txt
parenta89882b69d9f12499404ca9d471d5a735bc63988 (diff)
parent135f0fe12564decad0d3e2ff8af8f798b0a7f4cf (diff)
downloadserverdata-0dd134db3f6f67bb5e4401f1ba7bf3e97f201505.tar.gz
serverdata-0dd134db3f6f67bb5e4401f1ba7bf3e97f201505.tar.bz2
serverdata-0dd134db3f6f67bb5e4401f1ba7bf3e97f201505.tar.xz
serverdata-0dd134db3f6f67bb5e4401f1ba7bf3e97f201505.zip
Merge remote-tracking branch 'origin/master' into waric
Conflicts: world/map/db/mob_db.txt
Diffstat (limited to 'world/map/npc/items/unreleased_item.txt')
-rw-r--r--world/map/npc/items/unreleased_item.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/world/map/npc/items/unreleased_item.txt b/world/map/npc/items/unreleased_item.txt
index 64072484..708cc1e0 100644
--- a/world/map/npc/items/unreleased_item.txt
+++ b/world/map/npc/items/unreleased_item.txt
@@ -3,7 +3,8 @@
// @slotId The slot in which the item would have been equipped in. This is passed automagically when called in an equip script.
// ------------------------------------------------------------
-function|script|UnreleasedItem|{
+function|script|UnreleasedItem|,
+{
if (debug || getgmlevel()) end; // If the server allows equipping unreleased items or if the active character is staff, do nothing.
message strcharinfo(0), "You have difficulties equipping this item, as if it is not yet fully in this world.";
unequipbyid @slotId;