summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-01-27 19:58:57 -0300
committerJesusaves <cpntb1@ymail.com>2021-01-27 19:58:57 -0300
commitd391148465b5323c614ae704d2fdab0333608803 (patch)
tree0eb647a3bae612cc4b4efc58de6f9f22dc83d63b /npc
parent3e065b88bd2575ff9e8a0fd05939c7de62fabe38 (diff)
downloadserverdata-d391148465b5323c614ae704d2fdab0333608803.tar.gz
serverdata-d391148465b5323c614ae704d2fdab0333608803.tar.bz2
serverdata-d391148465b5323c614ae704d2fdab0333608803.tar.xz
serverdata-d391148465b5323c614ae704d2fdab0333608803.zip
Allow Bar Jobs to very rarely sell Jasmine Tea as well.
Yerba Mate's rarity shall be preserved.
Diffstat (limited to 'npc')
-rw-r--r--npc/003-1/neko.txt4
-rw-r--r--npc/012-1/shoppakep.txt4
-rw-r--r--npc/017-1/shops.txt4
-rw-r--r--npc/024-9/barkeeper.txt4
4 files changed, 10 insertions, 6 deletions
diff --git a/npc/003-1/neko.txt b/npc/003-1/neko.txt
index 75b46de88..0a887d7a8 100644
--- a/npc/003-1/neko.txt
+++ b/npc/003-1/neko.txt
@@ -75,7 +75,7 @@ OnInit:
sellitem Arrow, -1, rand(10000,30000);
sellitem CroconutBox, rand(2650,2950), 4;
sellitem EmptyBox, -1, 2;
- sellitem ChamomileTea, 350, 10;
+ sellitem ChamomileTea, getiteminfo(ChamomileTea, ITEMINFO_BUYPRICE)*15/10, 10;
.sex = G_MALE;
.distance = 5;
@@ -92,7 +92,7 @@ OnClock2359:
restoreshopitem Arrow, rand(10000,30000);
restoreshopitem CroconutBox, rand(2650,3000), 4;
restoreshopitem EmptyBox, 2;
- restoreshopitem ChamomileTea, 350, 10;
+ restoreshopitem ChamomileTea, getiteminfo(ChamomileTea, ITEMINFO_BUYPRICE)*15/10, 10;
end;
// Pay your taxes!
diff --git a/npc/012-1/shoppakep.txt b/npc/012-1/shoppakep.txt
index 85105d507..7967b3742 100644
--- a/npc/012-1/shoppakep.txt
+++ b/npc/012-1/shoppakep.txt
@@ -40,7 +40,7 @@ OnInit:
sellitem Chagashroom, -1, 3;
sellitem PiouFeathers, -1, .ThisRebootAmou;
- sellitem .CurrentItem, -1, rand2(2,6);
+ sellitem .CurrentItem, getiteminfo(.CurrentItem, ITEMINFO_BUYPRICE)*15/10, rand2(2,6);
end;
@@ -63,7 +63,7 @@ OnClock0546:
stopselling(.CurrentItem);
.CurrentItem=ShoppaKepItem();
- sellitem .CurrentItem, -1, rand2(2,6);
+ sellitem .CurrentItem, getiteminfo(.CurrentItem, ITEMINFO_BUYPRICE)*15/10, rand2(2,6);
end;
// Pay your taxes!
diff --git a/npc/017-1/shops.txt b/npc/017-1/shops.txt
index 6feed7e13..16f99b65c 100644
--- a/npc/017-1/shops.txt
+++ b/npc/017-1/shops.txt
@@ -28,7 +28,7 @@ OnInit:
sellitem ArrowAmmoBox, -1, 5;
sellitem Bullet, -1, 2000;
if (!rand2(4))
- sellitem OolongTea, 350, rand2(1,3);
+ sellitem OolongTea, getiteminfo(OolongTea, ITEMINFO_BUYPRICE)*15/10, rand2(1,3);
end;
OnClock1250:
@@ -39,7 +39,7 @@ OnClock0112:
restoreshopitem ArrowAmmoBox, -1, 5;
restoreshopitem Bullet, -1, 2000;
if (!rand2(4))
- restoreshopitem OolongTea, 350, rand2(1,3);
+ restoreshopitem OolongTea, getiteminfo(OolongTea, ITEMINFO_BUYPRICE)*15/10, rand2(1,3);
end;
}
diff --git a/npc/024-9/barkeeper.txt b/npc/024-9/barkeeper.txt
index 584a70888..85a5a47e2 100644
--- a/npc/024-9/barkeeper.txt
+++ b/npc/024-9/barkeeper.txt
@@ -20,6 +20,8 @@ OnInit:
sellitem ClothoLiquor, -1, (($ARKIM_ST-4000)/500)+1;
if ($ARKIM_ST >= 4700)
sellitem LachesisBrew, -1, (($ARKIM_ST-4700)/500)+1;
+ if (!rand2(10))
+ sellitem JasmineTea, getiteminfo(JasmineTea, ITEMINFO_BUYPRICE)*15/10, rand2(1,3);
.sex = G_MALE;
.distance = 5;
@@ -32,6 +34,8 @@ OnClock2358:
restoreshopitem ClothoLiquor, (($ARKIM_ST-4000)/500)+1;
if ($ARKIM_ST >= 4700)
restoreshopitem LachesisBrew, (($ARKIM_ST-4700)/500)+1;
+ if (!rand2(10))
+ restoreshopitem JasmineTea, getiteminfo(JasmineTea, ITEMINFO_BUYPRICE)*15/10, rand2(1,3);
end;
// Pay your taxes!