diff options
Diffstat (limited to 'npc/functions/shops.txt')
-rw-r--r-- | npc/functions/shops.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/npc/functions/shops.txt b/npc/functions/shops.txt new file mode 100644 index 00000000..0e491706 --- /dev/null +++ b/npc/functions/shops.txt @@ -0,0 +1,13 @@ +// Evol functions. +// Authors: +// 4144 +// Description: +// Shops utility functions +// Variables: +// none + +function script restoreshopitem { + if (shopcount(args(0)) < args(1)) + sellitem args(0), -1, args(1); + return; +} |