summaryrefslogtreecommitdiff
path: root/npc/017-5/nahrec.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/017-5/nahrec.txt')
-rw-r--r--npc/017-5/nahrec.txt22
1 files changed, 18 insertions, 4 deletions
diff --git a/npc/017-5/nahrec.txt b/npc/017-5/nahrec.txt
index eab5ed333..b2b3c71e0 100644
--- a/npc/017-5/nahrec.txt
+++ b/npc/017-5/nahrec.txt
@@ -4,7 +4,6 @@
// Jesusalva
// Description:
// General Purpose Blacksmith
-// TODO: Mylarin Dust for THE EPISODE. This means Savior Pants is part of THE EPISODE
// TODO: Silversmith on 24, 25
017-5,44,24,0 script Nahrec NPC_PLAYER,{
@@ -63,7 +62,7 @@ function NahrecMain {
l("Can you craft Chainmail?"),
l("Can you craft Light Platemail?"),
l("Can you craft Warlord Plate?"),
- l("Can you craft Savior Pants?"),
+ rif(countitem(MylarinDust) && !NAHREC_RECIPE, l("Can you craft Savior Equipment?")),
l("Can you craft Chainmail Skirt?"),
l("Do you know something about 'Mylarin Dust'?"),
l("Nevermind, bye!");
@@ -131,12 +130,27 @@ function Mylarin {
}
function NahrecSavior {
+ if (NAHREC_RECIPE) end;
mesn;
mesq l("Yes, I can craft Savior Pants. But it is not cheap. I'll need Platinum, Iridium, and Mylarin Dust. And gold. Much gold.");
+ next;
+ mesn;
+ mesq l("But you already have Mylarin Dust! That's good, because I no longer craft savior pieces. But. For %s GP I'll give you a %s and if you're lucky, it'll have the recipe you're after.", fnum(50000), getitemlink(SaviorBlueprint));
+ mes "";
+ if (Zeny < 50000) return;
+ next;
select
- l("I'll be back with those items.."),
- l("That's crazy!");
+ l("Alright, I'll pay."),
+ l("I'm a bit short in cash right now.");
mes "";
+ if (@menu == 2) return;
+ inventoryplace SaviorBlueprint, 1;
+ Zeny -= 50000;
+ NAHREC_RECIPE = true;
+ getitem SaviorBlueprint, 1;
+ mesn;
+ mesq l("Deal. Pleasure doing business with you.");
+ next;
return;
}