summaryrefslogtreecommitdiff
path: root/npc/024-9
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/024-9
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/024-9')
-rw-r--r--npc/024-9/barkeeper.txt4
1 files changed, 4 insertions, 0 deletions
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!