summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-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);