From d391148465b5323c614ae704d2fdab0333608803 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 27 Jan 2021 19:58:57 -0300 Subject: Allow Bar Jobs to very rarely sell Jasmine Tea as well. Yerba Mate's rarity shall be preserved. --- npc/024-9/barkeeper.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'npc/024-9/barkeeper.txt') 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! -- cgit v1.2.3-70-g09d2