diff options
Diffstat (limited to 'world/map/npc/items/restricted_item.txt')
-rw-r--r-- | world/map/npc/items/restricted_item.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/world/map/npc/items/restricted_item.txt b/world/map/npc/items/restricted_item.txt index eddce38d..0367cf5d 100644 --- a/world/map/npc/items/restricted_item.txt +++ b/world/map/npc/items/restricted_item.txt @@ -6,7 +6,8 @@ // @minLvl The minimum required GM level to equip this item. When not set or set to 0, it is set to 60 as a default. // ------------------------------------------------------------ -function|script|RestrictedItem|{ +function|script|RestrictedItem| +{ if (!@minLvl) set @minLvl, 60; if (debug || getgmlevel() >= @minLvl) 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."; |