diff options
Diffstat (limited to 'npc/items/unreleased_item.txt')
-rw-r--r-- | npc/items/unreleased_item.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/npc/items/unreleased_item.txt b/npc/items/unreleased_item.txt new file mode 100644 index 00000000..de7ac0f0 --- /dev/null +++ b/npc/items/unreleased_item.txt @@ -0,0 +1,14 @@ +// Unreleased items +function script UnreleasedItem { + // If the server allows equipping unreleased items or if the active character is staff, do nothing. + // If you can equip *anything*, this restriction is moot + if (debug || has_permission(PERM_USE_ALL_EQUIPMENT, getcharid(3))) + return; + .@me=getarg(0); + message strcharinfo(0), "You have difficulties equipping this item, as if it is not yet fully in this world."; + unequip(.@me); + goto L_Return; + +L_Return: + return; +} |