summaryrefslogtreecommitdiff
path: root/npc/017-5/nahrec.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-05-19 19:17:19 -0300
committerJesusaves <cpntb1@ymail.com>2022-05-19 19:17:19 -0300
commit010974ee88e2d0b883779b562960bbdce534e5c5 (patch)
tree9c161ad5341c815032146c714847b6f205a2653b /npc/017-5/nahrec.txt
parent4748ec6b86a881629e23f208b7eab42d96c58734 (diff)
downloadserverdata-010974ee88e2d0b883779b562960bbdce534e5c5.tar.gz
serverdata-010974ee88e2d0b883779b562960bbdce534e5c5.tar.bz2
serverdata-010974ee88e2d0b883779b562960bbdce534e5c5.tar.xz
serverdata-010974ee88e2d0b883779b562960bbdce534e5c5.zip
Replace the reward for The Episode (Mylarin -> Savior Recipe). Minor fixes.
Now you can get 3x Mylarin and 1x Sunny Crystal. You can use 2x Mylarin and 2x Sunny Crystal.
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;
}