diff options
Diffstat (limited to 'npc/functions/shops.txt')
-rw-r--r-- | npc/functions/shops.txt | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/npc/functions/shops.txt b/npc/functions/shops.txt deleted file mode 100644 index 8962997e..00000000 --- a/npc/functions/shops.txt +++ /dev/null @@ -1,18 +0,0 @@ -// Evol functions. -// Author: -// 4144 -// Jesusalva -// Description: -// Shops utility functions - - - -// restoreshopitem(<item nameid>, <amount>{, <price>}) -// adds back an item to the sell list if less than the specified amount -// returns true - -function script restoreshopitem { - if (shopcount(getarg(0)) < getarg(1)) - sellitem(getarg(0), getarg(2, -1), getarg(1)); - return; -} |