summaryrefslogtreecommitdiff
path: root/npc/items/unreleased_item.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/items/unreleased_item.txt')
-rwxr-xr-xnpc/items/unreleased_item.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/npc/items/unreleased_item.txt b/npc/items/unreleased_item.txt
new file mode 100755
index 00000000..c88df137
--- /dev/null
+++ b/npc/items/unreleased_item.txt
@@ -0,0 +1,12 @@
+
+function script UnreleasedItem {
+ // 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.";
+ callfunc "UnequipLater";
+ goto L_Return;
+
+L_Return:
+ return;
+}