From e8d04ca77938c39187838200552b46ad7863179c Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 22 Jun 2018 13:10:15 -0300 Subject: Final items to Contrabandist: Raw Log, Strange Coin and Casino Coins. --- npc/015-2/contrabandist.txt | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'npc/015-2') diff --git a/npc/015-2/contrabandist.txt b/npc/015-2/contrabandist.txt index 6db8ab0ba..b6026cd31 100644 --- a/npc/015-2/contrabandist.txt +++ b/npc/015-2/contrabandist.txt @@ -24,6 +24,12 @@ close; stopselling(GoldenPearlRing); if (getarg(0,0) & 16) stopselling(ThornArrow); + if (getarg(0,0) & 32) + stopselling(StrangeCoin); + if (getarg(0,0) & 64) + stopselling(CasinoCoins); + if (getarg(0,0) & 128) + stopselling(RawLog); } function Contraband_Load { .DDMPrice=max(30000,50000-($ARKIM_ST/2)+(4500/2)); @@ -40,6 +46,12 @@ close; sellitem GoldenPearlRing, 1000000, 1; if (getarg(0,0) & 16) sellitem ThornArrow, -1, 3; + if (getarg(0,0) & 32) + sellitem StrangeCoin, rand(400,5000), 1; + if (getarg(0,0) & 64) + sellitem CasinoCoins, rand(100,3000), 1; + if (getarg(0,0) & 128) + sellitem RawLog, -1, 1; } OnInit: @@ -47,13 +59,13 @@ OnInit: .sex = G_OTHER; .distance = 12; - if (true || debug) { + if (debug) { setnpcdisplay .name$, NPC_KOGA; .active=1; } tradertype(NST_MARKET); - .CurrentValue=rand(1,31); + .CurrentValue=rand(1,255); Contraband_Load(.CurrentValue); end; @@ -62,7 +74,7 @@ OnMinute46: setnpcdisplay .name$, NPC_KOGA; .active=1; - .CurrentValue=rand(1,31); + .CurrentValue=rand(1,255); Contraband_Load(.CurrentValue); end; -- cgit v1.2.3-60-g2f50