summaryrefslogtreecommitdiff
path: root/npc/015-2
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-22 13:10:15 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-22 13:10:15 -0300
commite8d04ca77938c39187838200552b46ad7863179c (patch)
tree2583106e4f4bbac472e18df328c99ef66c8f29a9 /npc/015-2
parent1ec4713160b32a0364806e324d04d946892d08ab (diff)
downloadserverdata-e8d04ca77938c39187838200552b46ad7863179c.tar.gz
serverdata-e8d04ca77938c39187838200552b46ad7863179c.tar.bz2
serverdata-e8d04ca77938c39187838200552b46ad7863179c.tar.xz
serverdata-e8d04ca77938c39187838200552b46ad7863179c.zip
Final items to Contrabandist: Raw Log, Strange Coin and Casino Coins.
Diffstat (limited to 'npc/015-2')
-rw-r--r--npc/015-2/contrabandist.txt18
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;