summaryrefslogtreecommitdiff
path: root/npc/012-3/alan.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/012-3/alan.txt')
-rw-r--r--npc/012-3/alan.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/npc/012-3/alan.txt b/npc/012-3/alan.txt
index 282f12e74..d8a71309f 100644
--- a/npc/012-3/alan.txt
+++ b/npc/012-3/alan.txt
@@ -91,6 +91,16 @@ OnInit:
sellitem CursedArrow, -1, $ARKIM_ST-1400;
if ($ARKIM_ST > 2800)
sellitem PoisonArrow, -1, $ARKIM_ST-2800;
+
+ sellitem TrainingAmmoBox, -1, 10;
+ sellitem ArrowAmmoBox, -1, 5;
+ sellitem IronAmmoBox, -1, 2;
+
+ if ($ARKIM_ST > 28000)
+ sellitem CursedAmmoBox, -1, (($ARKIM_ST-1400)/20);
+ if ($ARKIM_ST > 56000)
+ sellitem PoisonArrow, -1, (($ARKIM_ST-2800)/20);
+
end;
@@ -98,6 +108,14 @@ OnClock2357:
OnClock1151:
restoreshopitem ShortBow, 9000, 1;
restoreshopitem WoodenBow, 4000, 2;
+ restoreshopitem TrainingAmmoBox, -1, 10;
+ restoreshopitem ArrowAmmoBox, -1, 5;
+ restoreshopitem IronAmmoBox, -1, 2;
+
+ if ($ARKIM_ST > 28000)
+ restoreshopitem CursedAmmoBox, -1, (($ARKIM_ST-1400)/20);
+ if ($ARKIM_ST > 56000)
+ restoreshopitem PoisonArrow, -1, (($ARKIM_ST-2800)/20);
OnClock0611:
OnClock1800:
restoreshopitem TrainingArrow, -1, 2000;