From 6133f8330f9abaf3611164b31b33534122e61438 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 24 May 2019 22:21:41 -0300 Subject: Seems like Saulc is at blame %%e --- npc/003-1/shop.txt | 19 ++++++++++--------- npc/functions/shops.txt | 1 + 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); -- cgit v1.2.3-60-g2f50