diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-04-17 16:44:01 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-04-17 16:44:01 -0300 |
commit | 1bca3d07dcee913f3e0f8e9a7e9bcdaa5de95d6b (patch) | |
tree | 64dddded548be4a0beefcbae7d89fa0f8a07a630 | |
parent | 6f53b9c193c11bc12dd64be651e24e991ee12367 (diff) | |
download | serverdata-1bca3d07dcee913f3e0f8e9a7e9bcdaa5de95d6b.tar.gz serverdata-1bca3d07dcee913f3e0f8e9a7e9bcdaa5de95d6b.tar.bz2 serverdata-1bca3d07dcee913f3e0f8e9a7e9bcdaa5de95d6b.tar.xz serverdata-1bca3d07dcee913f3e0f8e9a7e9bcdaa5de95d6b.zip |
Remove now unused file
-rw-r--r-- | npc/items/restricted_item.txt | 14 | ||||
-rw-r--r-- | npc/scripts.conf | 1 |
2 files changed, 0 insertions, 15 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; -} diff --git a/npc/scripts.conf b/npc/scripts.conf index 7f3980e6..52ac9b26 100644 --- a/npc/scripts.conf +++ b/npc/scripts.conf @@ -60,7 +60,6 @@ "npc/items/shock_sweet.txt", "npc/items/unreleased_item.txt", "npc/items/require_stat.txt", -"npc/items/restricted_item.txt", "npc/items/warpTowels.txt", "npc/items/unequipcb.txt", "npc/items/check_wand.txt", |