summaryrefslogtreecommitdiff
path: root/npc/items/restricted_item.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/items/restricted_item.txt')
-rw-r--r--npc/items/restricted_item.txt14
1 files changed, 0 insertions, 14 deletions
diff --git a/npc/items/restricted_item.txt b/npc/items/restricted_item.txt
deleted file mode 100644
index 96a60272..00000000
--- a/npc/items/restricted_item.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-
-function script RestrictedItem {
- if (!@minLvl) set @minLvl, 60;
- if (debug || getgmlevel() >= @minLvl) goto L_Return; // If the active character is staff, do nothing.
- message strcharinfo(0), "This item repells you with extreme force. It does not seem to be meant for you.";
- callfunc "UnequipLater";
- if (getgmlevel()) goto L_Return;
- wgm "Restricted item '" + @itemId + "' used by character '" + strcharinfo(0) + "'.";
- gmlog "Restricted item '" + @itemId + "' used by character '" + strcharinfo(0) + "'.";
- goto L_Return;
-
-L_Return:
- return;
-}