summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-05-24 22:21:41 -0300
committerJesusaves <cpntb1@ymail.com>2019-05-24 22:21:41 -0300
commit6133f8330f9abaf3611164b31b33534122e61438 (patch)
treedb17f94281d3c8c4bd1abde260f4f71f456b65bf
parenteee8b9997ad63cc136adc6d158086304c6293dd2 (diff)
downloadserverdata-6133f8330f9abaf3611164b31b33534122e61438.tar.gz
serverdata-6133f8330f9abaf3611164b31b33534122e61438.tar.bz2
serverdata-6133f8330f9abaf3611164b31b33534122e61438.tar.xz
serverdata-6133f8330f9abaf3611164b31b33534122e61438.zip
Seems like Saulc is at blame %%e
-rw-r--r--npc/003-1/shop.txt19
-rw-r--r--npc/functions/shops.txt1
2 files changed, 11 insertions, 9 deletions
diff --git a/npc/003-1/shop.txt b/npc/003-1/shop.txt
index da30c646f..20dc8f2ab 100644
--- a/npc/003-1/shop.txt
+++ b/npc/003-1/shop.txt
@@ -29,17 +29,18 @@ OnClock0621:
OnClock1210:
OnClock1757:
OnClock0000:
- restoreshopitem YellowDye, -1, 2;
- restoreshopitem RoundLeatherShield, -1, 2;
- restoreshopitem Knife, -1, 5;
+ restoreshopitem YellowDye, 2;
+ restoreshopitem RoundLeatherShield, 2;
+ restoreshopitem Knife, 5;
restoreshopitem TrainingAmmoBox, rand(2,5);
restoreshopitem ArrowAmmoBox, rand(2,4);
- restoreshopitem Arrow, -1, rand(10000,30000);
- restoreshopitem DesertHat, -1, 8;
- restoreshopitem SilkRobe, -1, 1;
- restoreshopitem Bread, -1, 15;
+ restoreshopitem Arrow, rand(10000,30000);
+ restoreshopitem DesertHat, 8;
+ restoreshopitem SilkRobe, 1;
+ restoreshopitem CottonCloth, 2;
+ restoreshopitem Bread, 15;
restoreshopitem CroconutBox, rand(2800,3050), 6;
- restoreshopitem EmptyBottle, -1, 3;
- restoreshopitem EmptyBox, -1, 4;
+ restoreshopitem EmptyBottle, 3;
+ restoreshopitem EmptyBox, 4;
}
diff --git a/npc/functions/shops.txt b/npc/functions/shops.txt
index d5dabca7d..a4945c57e 100644
--- a/npc/functions/shops.txt
+++ b/npc/functions/shops.txt
@@ -7,6 +7,7 @@
// Variables:
// Item ID, Item Price, Item Amount
+// restoreshopitem(amount) or restoreshopitem(price, amount)
function script restoreshopitem {
if (getarg(2, -1337) == -1337) {
.@amount=getarg(1);