summaryrefslogtreecommitdiff
path: root/npc/functions/shops.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-03-11 14:32:01 -0300
committerJesusaves <cpntb1@ymail.com>2018-03-11 14:32:01 -0300
commitfa9907d2ee9508e35b3e00716b9919902b86b6cd (patch)
tree7b1a76eeac47c92204ef97a883e629ed474a6cb0 /npc/functions/shops.txt
parent70f38b9be2d415f70f745d8ae48b789e9a42b0a8 (diff)
downloadserverdata-fa9907d2ee9508e35b3e00716b9919902b86b6cd.tar.gz
serverdata-fa9907d2ee9508e35b3e00716b9919902b86b6cd.tar.bz2
serverdata-fa9907d2ee9508e35b3e00716b9919902b86b6cd.tar.xz
serverdata-fa9907d2ee9508e35b3e00716b9919902b86b6cd.zip
Requires missing price field on restoreitems
Diffstat (limited to 'npc/functions/shops.txt')
-rw-r--r--npc/functions/shops.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/npc/functions/shops.txt b/npc/functions/shops.txt
index 79890e815..915964bfc 100644
--- a/npc/functions/shops.txt
+++ b/npc/functions/shops.txt
@@ -1,13 +1,14 @@
// Evol functions.
// Author:
// 4144
+// Jesusalva
// Description:
// Shops utility functions
// Variables:
-// none
+// Item ID, Item Price, Item Amount
function script restoreshopitem {
if (shopcount(getarg(0)) < getarg(1))
- sellitem getarg(0), -1, getarg(1);
+ sellitem getarg(0), getarg(1), getarg(2);
return;
}