summaryrefslogtreecommitdiff
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
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.
-rw-r--r--npc/004-3-1/falkrun.txt1
-rw-r--r--npc/017-3/doctor.txt4
-rw-r--r--npc/017-5/nahrec.txt22
-rw-r--r--npc/042-5/ctrl.txt2
-rw-r--r--npc/items/miscrecipes.txt2
5 files changed, 24 insertions, 7 deletions
diff --git a/npc/004-3-1/falkrun.txt b/npc/004-3-1/falkrun.txt
index df23211b9..75d16a9a8 100644
--- a/npc/004-3-1/falkrun.txt
+++ b/npc/004-3-1/falkrun.txt
@@ -146,6 +146,7 @@ L_Episode:
mesq l("Quick, battle position! They'll strike! I'll help you a tiny bit!");
mesc l("WARNING: You have a time limit!"), 1;
next;
+ changeplayermusic "let_the_battles_begin.ogg";
instance_set_timeout(900, 900, getq2(LoFQuest_EPISODE));
SC_Bonus(90, SC_INCHITRATE, 50);
SC_Bonus(90, SC_INCMHPRATE, 65);
diff --git a/npc/017-3/doctor.txt b/npc/017-3/doctor.txt
index d9de506f6..5f6d62252 100644
--- a/npc/017-3/doctor.txt
+++ b/npc/017-3/doctor.txt
@@ -263,7 +263,7 @@ L_Cont:
mesc l("The doctor quickly analyzes you with some tool. Which looks like a screwdriver? Probably just a generic scanner, though.");
mesq l("Gimme a second... Yes, you seem to be fine now, very well, congratulations!");
next;
- inventoryplace MylarinDust, 1;
+ inventoryplace SaviorBlueprint, 1;
select
l("Why, thank you!"),
l("It was a tough fight."),
@@ -352,7 +352,7 @@ L_Cont:
mesn;
mesq l("Keep following the path. Take this and... good luck.");
getexp 300000, 0;
- getitem MylarinDust, 1;
+ getitem SaviorBlueprint, 1;
setq LoFQuest_EPISODE, 17;
close;
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;
}
diff --git a/npc/042-5/ctrl.txt b/npc/042-5/ctrl.txt
index 8130da76e..b530ffd9d 100644
--- a/npc/042-5/ctrl.txt
+++ b/npc/042-5/ctrl.txt
@@ -146,7 +146,7 @@ function script KamelotTreasure {
// Select treasure list
if (.@r <= 0) // 0.01% total, 0.025% each
- .@loot=any(MylarinDust, SupremeGift, HousingLetterIII, TimeFlask, MercCard_EH);
+ .@loot=any(MylarinDust, SaviorBlueprint, SupremeGift, HousingLetterIII, TimeFlask, MercCard_EH);
else if (.@r < 330) // 0.3% each
.@loot=any(MagicApple, PrismGift, EquipmentBlueprintD, DarkPulsar, Halberd, AncientShield, AncientSword, Setzer, MercBoxD, ScrollMagnusHealC, Shemagh);
else
diff --git a/npc/items/miscrecipes.txt b/npc/items/miscrecipes.txt
index 723d6764a..1a1db267d 100644
--- a/npc/items/miscrecipes.txt
+++ b/npc/items/miscrecipes.txt
@@ -52,6 +52,8 @@ function script LegendaryBlueprint {
dispbottom l("Wait a minute... This is written in Mananese! I can't read it!");
return;
}
+ // Current: 4x Mylarin & 1x Sunny Crystal (can be cheated for 2)
+ // Needed: 2x Mylarin & 2x Sunny Crystal
// Setup
array_push(.@recipes, CraftSkypiercer); // Weapon: Sky Piercer