summaryrefslogtreecommitdiff
path: root/npc/007-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-05-31 19:28:35 -0300
committerJesusaves <cpntb1@ymail.com>2018-05-31 19:28:35 -0300
commite4b52e7ccc969f557f76fde548afefcf3066fa6b (patch)
tree2e96013c07a5a3d1597b915e7d87efda81a376d6 /npc/007-1
parent3e3e208bb7d81b48ae9a1acd64533207bd9e5602 (diff)
downloadserverdata-e4b52e7ccc969f557f76fde548afefcf3066fa6b.tar.gz
serverdata-e4b52e7ccc969f557f76fde548afefcf3066fa6b.tar.bz2
serverdata-e4b52e7ccc969f557f76fde548afefcf3066fa6b.tar.xz
serverdata-e4b52e7ccc969f557f76fde548afefcf3066fa6b.zip
This is everything for Dark Invocator quest for now, @Crazyfefe @Saulc
Diffstat (limited to 'npc/007-1')
-rw-r--r--npc/007-1/zarkor.txt77
1 files changed, 77 insertions, 0 deletions
diff --git a/npc/007-1/zarkor.txt b/npc/007-1/zarkor.txt
index 8390cd4f8..5df39e6d5 100644
--- a/npc/007-1/zarkor.txt
+++ b/npc/007-1/zarkor.txt
@@ -4,6 +4,11 @@
// Jesusalva
// Description:
// Dark Invocator Quest
+// Notes:
+// You'll be tempted to sell the Dark Desert Mushroom for 8'000 GP. There's a but.
+// You won't be able to finish this quest. Ok, no biggie, it was not that rewarding.
+// But you won't be able to do more Everburn Powder. And it can be required on another
+// quest. And there won't be other way to get the Powder. So DO NOT SELL IT. Think ahead.
007-1,152,155,0 script Zarkor NPC_MIRAJ,{
.@q=getq(TulimsharQuest_DarkInvocator);
@@ -18,6 +23,26 @@
mesq l("Talk to Zitoni, the Alchemist of Candor. He may look humble, but he is the greatest alchemist of this world. I need five @@.", getitemlink(EverburnPowder));
close;
break;
+ case 2:
+ goto L_Price;
+ break;
+ case 3:
+ mesn "Zarkor, the Dark Summoner";
+ mesq l("Talk to Zitoni, and deliver the @@. I can't give you another one, they're super rare.", getitemlink(DarkDesertMushroom));
+ close;
+ break;
+ case 4:
+ goto L_Quest;
+ break;
+ case 5:
+ mesn "Saulc, the Bug Master";
+ mesq l("Sorry, the script is broken again. Blame the usual that the torches are nowhere to be found.");
+ next;
+ mesn "Saulc, the Bug Master";
+ mesq l("Once that gets out of the way, this NPC will be finished. See you then!");
+ close;
+ break;
+
}
mesn;
mesq l("One day... One day! ONE DAY I'LL GET REVENGE ON YOU, MONSTER KING!");
@@ -80,6 +105,58 @@ L_Start:
mesq l("Talk to Zitoni, the Alchemist of Candor. He may look humble, but he is the greatest alchemist of this world. I need five @@.", getitemlink(EverburnPowder));
close;
+L_Price:
+ mesn strcharinfo(0);
+ mesq l("Zitoni refused to make the Powder.");
+ next;
+ mesn "Zarkor, the Dark Summoner";
+ mesq l("I thought he would. After all, Everburn Powder... is not a mere powder.");
+ next;
+ mesn "Zarkor, the Dark Summoner";
+ mesq l("Well, you gave me the gems, so I trust you. Here, take this @@.", getitemlink(DarkDesertMushroom));
+ next;
+ mesn "Zarkor, the Dark Summoner";
+ mesq l("Take much care with it. It is very, very rare drop from a rare monster from a difficult, high level area.");
+ next;
+ mesn "Zarkor, the Dark Summoner";
+ mesq l("Deliver it to Zitoni on my name. He'll trust it. The relation between me and Zitoni... goes way back.");
+ getitem DarkDesertMushroom, 1;
+ setq TulimsharQuest_DarkInvocator, 3;
+ close;
+
+L_Quest:
+ if (countitem(EverburnPowder) < 5) {
+ mesn "Zarkor, the Dark Summoner";
+ mesq l("This is not enough, I need 5 @@ to perform the rite. Go talk with Zitoni.", getitemlink(EverburnPowder));
+ close;
+ }
+ mesn "Zarkor, the Dark Summoner";
+ mesq l("Good, good, you have enough powder. Now I need you to lit all five torches with them.");
+ next;
+ mesn "Zarkor, the Dark Summoner";
+ mesq l("Once you lit one of them, monsters will pour out, so take care to don't die.");
+ next;
+ mesn "Zarkor, the Dark Summoner";
+ mesq l("If you die, you'll have to begin again. And there is the experience penalty, too.");
+ next;
+ mesn "Zarkor, the Dark Summoner";
+ mesq l("Good luck, because you'll need it. Talk to me once all of them are lit, and I'll SUMMON DAH MONSTER KING.");
+ setq TulimsharQuest_DarkInvocator, 5;
+ close;
+
+L_Finish:
+ // Yadda yadda yadda dialog
+
+ // These values were taken from Experience table, and are magic numbers
+ getexp 9174, 412;
+ // Pay roughly what you spent
+ // Powder + Trips + Gems + Sulf + Iron + Ash + Profit = Money
+ // (3000*5 + 4*500G + 1000 + 5*84 + 5*66 + 5*80 + 850) = 20.000
+ Zeny=Zeny+20000;
+
+ close;
+
+
OnInit:
.sex = G_MALE;
.distance = 6;