diff options
Diffstat (limited to 'npc')
-rw-r--r-- | npc/015-2/contrabandist.txt | 18 |
1 files changed, 15 insertions, 3 deletions
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; |