Removed quests that do not exist any more.
This commit is contained in:
parent
0531252b71
commit
6b8e7084b5
@ -1,4 +0,0 @@
|
||||
<html><body>Roxxy:<br>
|
||||
A letter...for me? From Darin? What does it say, I wonder... Oh my, I had no idea he had these feelings for me. I wish he hadn't waited so long to tell me!<br>
|
||||
Please give Darin my <font color="LEVEL">handkerchief</font> as a pledge of my affection for him. And tell him...tell him not to waste any more time. Tell him to come see me right away!
|
||||
</body></html>
|
@ -1,3 +0,0 @@
|
||||
<html><body>Roxxy:<br>
|
||||
You haven't given my handkerchief to Darin yet? He must be suffering terribly waiting for my answer. Please put his mind at ease. Hurry to him and tell him that I have feelings for him as well.
|
||||
</body></html>
|
@ -1,4 +0,0 @@
|
||||
<html><body>Roxxy:<br>
|
||||
Did you give Darin my handkerchief? What did he say? Oh... I thought he would rush over and ask permission to court me, but instead...<br>
|
||||
Sometimes he acts just like a shy little boy! Although I have to confess that that's a large part of why I find him so attractive. I think he brings out the mothering instinct in me...
|
||||
</body></html>
|
@ -1,4 +0,0 @@
|
||||
<html><body>Magister Baulro:<br>
|
||||
Darin sent you, eh? Well, well... He's a fine lad, but far too shy for his own good. I'm glad he's finally decided to tell Roxxy his feelings, though. None but the brave deserve the fair, eh!<br>
|
||||
Here's the "magic potion" he ordered. Just between us, it's nothing more than water drawn from the Temple well! Calm down -- I really do have Darin's best interests at heart. Think about it: if he believes that this will make him more eloquent, his self-confidence will soar and he really will find the words he needs. Now take it to him, and remember: not a word about the ingredients!
|
||||
</body></html>
|
@ -1,3 +0,0 @@
|
||||
<html><body>Magister Baulro:<br>
|
||||
Take this potion to Darin. I'm sure he's waiting anxiously for your return!
|
||||
</body></html>
|
@ -1,5 +0,0 @@
|
||||
<html><body>Darin:<br>
|
||||
What's more dangerous than a Knight's sword or a Wizard's staff? That thing we call love. More silently than a thief, swifter than a sunset it comes upon you and captures your soul. The minstrels were right; it's sweet and bitter all at once! One moment my heart soars to the heights of joy, the next it plummets into the depths of despair. Can you explain it?<br>
|
||||
Ah, but I see you are focused on the world of adventure, not romance. Just remember: one day you too may fall under love's irresistible spell...<br>
|
||||
(Only characters who are level 2 and above may undertake this quest.)
|
||||
</body></html>
|
@ -1,4 +0,0 @@
|
||||
<html><body>Darin:<br>
|
||||
What's more dangerous than a Knight's sword or a Wizard's staff? That thing we call love. More silently than a thief, swifter than a sunset it comes upon you and captures your soul. The minstrels were right; it's sweet and bitter all at once! I cannot concentrate, I cannot sleep, I cannot eat!<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00001_LettersOfLove 30048-03.html">Ask whom he loves.</Button>
|
||||
</body></html>
|
@ -1,5 +0,0 @@
|
||||
<html><body>Darin:<br>
|
||||
I am in love with <font color="LEVEL">Roxxy</font>. Do you know her? She's our village Gatekeeper.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00001_LettersOfLove 30048-04.html">Tell him you don't know her.</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00001_LettersOfLove 30048-05.html">Tell him you do know her.</Button>
|
||||
</body></html>
|
@ -1,6 +0,0 @@
|
||||
<html><body>Darin:<br>
|
||||
You don't know Roxxy?! She is the most beautiful woman on Talking Island... She is also very intelligent -- she was even a student at Oren's Ivory Tower! Now she belongs to the Gatekeeper Guild, able to bend time and space to connect many villages.<br>
|
||||
Oh, why would a woman like that ever return the love I feel for her? For months, I vowed every day to tell her how I feel, and every day my courage deserted me. What would I do if she rejected me? Now I've written her a love letter, but I can't bring myself to deliver it.<br>
|
||||
May I ask a favor? Would you deliver my letter to Roxxy?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00001_LettersOfLove 30048-06.htm">Say yes.</Button>
|
||||
</body></html>
|
@ -1,5 +0,0 @@
|
||||
<html><body>Darin:<br>
|
||||
Ah, then you can see why I am so tormented! She is an amazing woman...in fact, why would a woman like that ever return the love I feel for her? For months, I vowed every day to tell her how I feel, and every day my courage deserted me. What would I do if she rejected me? Now I've written her a <font color="LEVEL">love letter,</font> but I can't bring myself to deliver it.<br>
|
||||
May I ask a favor? Would you deliver my letter to Roxxy?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00001_LettersOfLove 30048-06.htm">Say yes.</Button>
|
||||
</body></html>
|
@ -1,4 +0,0 @@
|
||||
<html><body>Darin:<br>
|
||||
Thank you! Do you know the Temple of Einhasad? You will find Roxxy at the well in front of the temple.<br>
|
||||
Please give her this letter. Please hurry -- my nerves can't stand the strain of waiting!
|
||||
</body></html>
|
@ -1,3 +0,0 @@
|
||||
<html><body>Darin:<br>
|
||||
You haven't given my letter to Roxxy yet?! Please hurry! I'm so anxious that I can't eat or sleep. I must know her answer!
|
||||
</body></html>
|
@ -1,5 +0,0 @@
|
||||
<html><body>Darin:<br>
|
||||
Roxxy's handkerchief! Oh, she really likes me! It seems like a dream... Thank you! If not for you, I would never have known..<br>
|
||||
I must speak with her. So much to do: buy flowers, bathe, get dressed in my finest clothes... Oh, I must hurry! I hate to impose, but would you do me another favor?<br>
|
||||
Baulro promised that he would brew a magic potion to make me more eloquent. I know how much a woman like Roxxy values intelligence... It wasn't cheap, but I couldn't afford not to buy it. Please take this receipt to <font color="LEVEL">Baulro</font>, and he will give you the potion to bring back to me.
|
||||
</body></html>
|
@ -1,4 +0,0 @@
|
||||
<html><body>Darin:<br>
|
||||
"Your eyes are like...puddles of moonlight..."<br>
|
||||
Ah! You haven't brought Baulro's potion? Please hurry -- I'm writing a poem for Roxxy and I need all the help I can get. Everything must be perfect!
|
||||
</body></html>
|
@ -1,4 +0,0 @@
|
||||
<html><body>Darin:<br>
|
||||
You brought the potion? Thank you! I've already bought roses and even finished the poem I was writing for Roxxy. Now that I have Baulro's potion, all that's left is for me to do is to go and talk to her. I know in my heart this is meant to be! I couldn't have done any of this without your help.<br>
|
||||
Please accept this small gift as a token of my gratitude. I'm afraid it's not much, but please know you have my undying thanks!
|
||||
</body></html>
|
@ -1,231 +0,0 @@
|
||||
/*
|
||||
* This file is part of the L2J Mobius project.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package quests.Q00001_LettersOfLove;
|
||||
|
||||
import com.l2jmobius.gameserver.model.actor.L2Npc;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.model.quest.Quest;
|
||||
import com.l2jmobius.gameserver.model.quest.QuestState;
|
||||
import com.l2jmobius.gameserver.model.quest.State;
|
||||
|
||||
/**
|
||||
* Letters of Love (1)
|
||||
* @author Zoey76
|
||||
*/
|
||||
public class Q00001_LettersOfLove extends Quest
|
||||
{
|
||||
// NPCs
|
||||
private static final int DARIN = 30048;
|
||||
private static final int ROXXY = 30006;
|
||||
private static final int BAULRO = 30033;
|
||||
// Items
|
||||
private static final int DARINS_LETTER = 687;
|
||||
private static final int ROXXYS_KERCHIEF = 688;
|
||||
private static final int DARINS_RECEIPT = 1079;
|
||||
private static final int BAULROS_POTION = 1080;
|
||||
private static final int NECKLACE_OF_KNOWLEDGE = 49039;
|
||||
// Misc
|
||||
private static final int MIN_LEVEL = 2;
|
||||
|
||||
public Q00001_LettersOfLove()
|
||||
{
|
||||
super(1);
|
||||
addStartNpc(DARIN);
|
||||
addTalkId(DARIN, ROXXY, BAULRO);
|
||||
registerQuestItems(DARINS_LETTER, ROXXYS_KERCHIEF, DARINS_RECEIPT, BAULROS_POTION);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
final QuestState st = getQuestState(player, false);
|
||||
if (st == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
String htmltext = null;
|
||||
switch (event)
|
||||
{
|
||||
case "30048-03.html":
|
||||
case "30048-04.html":
|
||||
case "30048-05.html":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "30048-06.htm":
|
||||
{
|
||||
if (player.getLevel() >= MIN_LEVEL)
|
||||
{
|
||||
st.startQuest();
|
||||
giveItems(player, DARINS_LETTER, 1);
|
||||
htmltext = event;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onTalk(L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
final QuestState st = getQuestState(player, true);
|
||||
String htmltext = getNoQuestMsg(player);
|
||||
switch (st.getState())
|
||||
{
|
||||
case State.CREATED:
|
||||
{
|
||||
htmltext = (player.getLevel() < MIN_LEVEL) ? "30048-01.html" : "30048-02.html";
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
{
|
||||
switch (st.getCond())
|
||||
{
|
||||
case 1:
|
||||
{
|
||||
switch (npc.getId())
|
||||
{
|
||||
case DARIN:
|
||||
{
|
||||
htmltext = "30048-07.html";
|
||||
break;
|
||||
}
|
||||
case ROXXY:
|
||||
{
|
||||
if (hasQuestItems(player, DARINS_LETTER) && !hasQuestItems(player, ROXXYS_KERCHIEF))
|
||||
{
|
||||
takeItems(player, DARINS_LETTER, -1);
|
||||
giveItems(player, ROXXYS_KERCHIEF, 1);
|
||||
st.setCond(2, true);
|
||||
htmltext = "30006-01.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 2:
|
||||
{
|
||||
switch (npc.getId())
|
||||
{
|
||||
case DARIN:
|
||||
{
|
||||
if (hasQuestItems(player, ROXXYS_KERCHIEF))
|
||||
{
|
||||
takeItems(player, ROXXYS_KERCHIEF, -1);
|
||||
giveItems(player, DARINS_RECEIPT, 1);
|
||||
st.setCond(3, true);
|
||||
htmltext = "30048-08.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case ROXXY:
|
||||
{
|
||||
if (hasQuestItems(player, ROXXYS_KERCHIEF))
|
||||
{
|
||||
htmltext = "30006-02.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 3:
|
||||
{
|
||||
switch (npc.getId())
|
||||
{
|
||||
case DARIN:
|
||||
{
|
||||
if (hasQuestItems(player, DARINS_RECEIPT) || !hasQuestItems(player, BAULROS_POTION))
|
||||
{
|
||||
htmltext = "30048-09.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case ROXXY:
|
||||
{
|
||||
if (hasQuestItems(player, DARINS_RECEIPT) || hasQuestItems(player, BAULROS_POTION))
|
||||
{
|
||||
htmltext = "30006-03.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case BAULRO:
|
||||
{
|
||||
if (hasQuestItems(player, DARINS_RECEIPT))
|
||||
{
|
||||
takeItems(player, DARINS_RECEIPT, -1);
|
||||
giveItems(player, BAULROS_POTION, 1);
|
||||
st.setCond(4, true);
|
||||
htmltext = "30033-01.html";
|
||||
}
|
||||
else if (hasQuestItems(player, BAULROS_POTION))
|
||||
{
|
||||
htmltext = "30033-02.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 4:
|
||||
{
|
||||
switch (npc.getId())
|
||||
{
|
||||
case DARIN:
|
||||
{
|
||||
// TODO: Beside this message something should be set for the Newbie Guide.
|
||||
// showOnScreenMsg(player, NpcStringId.DELIVERY_DUTY_COMPLETE_N_GO_FIND_THE_NEWBIE_HELPER, 2, 5000);
|
||||
giveItems(player, NECKLACE_OF_KNOWLEDGE, 1);
|
||||
st.exitQuest(false, true);
|
||||
htmltext = "30048-10.html";
|
||||
break;
|
||||
}
|
||||
case BAULRO:
|
||||
{
|
||||
if (hasQuestItems(player, BAULROS_POTION))
|
||||
{
|
||||
htmltext = "30033-02.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case ROXXY:
|
||||
{
|
||||
if (hasQuestItems(player, BAULROS_POTION))
|
||||
{
|
||||
htmltext = "30006-03.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case State.COMPLETED:
|
||||
{
|
||||
htmltext = getAlreadyCompletedMsg(player);
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
<html><body>Gatekeeper Mirabel:<br>
|
||||
Again!? Sigh... Every year around this time, some poor soul always seems to fall head-over-heels for sister. But what does any of this have to do with me? I have no idea what my sister thinks of Arujien or anyone else; from what I can tell, her heart has never been warmed by thoughts of love and romance.<br>
|
||||
Perhaps I'm mistaken, though -- Greenis and I have never been particularly close, and I'm probably the last person she would confide in. Perhaps my Uncle <font color="LEVEL">Herbiel</font> would know more. He raised us like his own children, after all.
|
||||
</body></html>
|
@ -1,3 +0,0 @@
|
||||
<html><body>Gatekeeper Mirabel:<br>
|
||||
Stop bothering me with this foolishness! I warn you: I'm this close to sending you somewhere where you'll never bother anyone ever again! If you want insights into my sister's romantic life, go pester my uncle, Trader Herbiel.
|
||||
</body></html>
|
@ -1,4 +0,0 @@
|
||||
<html><body>Trader Herbiel:<br>
|
||||
My niece Greenis? Yes, I raised her and her sister after my brother and his wife were killed. She is a woman now, of course, but still as innocent as a child about the ways of the world.<br>
|
||||
Arujien, eh? A fine lad, though a tad cautious. Still, I'm sure he and Greenis would be a good match. I can't imagine that she would object...
|
||||
</body></html>
|
@ -1,3 +0,0 @@
|
||||
<html><body>Trader Herbiel:<br>
|
||||
Tell Arujien he has my blessing to court Greenis.
|
||||
</body></html>
|
@ -1,3 +0,0 @@
|
||||
<html><body>Magister Greenis:<br>
|
||||
Arujien? I had heard rumors that he had feelings for me, but I never gave them any thought. I wish he had spoken to me personally rather than send a messenger! This is very awkward...
|
||||
</body></html>
|
@ -1,5 +0,0 @@
|
||||
<html><body>Magister Greenis:<br>
|
||||
Oh, Arujien sent me a Book of Poems? I see...<br>
|
||||
Please know that I appreciate his thoughtfulness, but...<br>
|
||||
This is very difficult for me to say. I must write him a letter explaining that someone else has already captured my heart...
|
||||
</body></html>
|
@ -1,3 +0,0 @@
|
||||
<html><body>Magister Greenis:<br>
|
||||
You haven't delivered my reply to Arujien yet? Please...sometimes the kindest cut is the one delivered swiftly. Your hesitation simply prolongs a a painful situation. Please go to him at once.
|
||||
</body></html>
|
@ -1,5 +0,0 @@
|
||||
<html><body>Arujien:<br>
|
||||
Have you ever been in love? Have you ever felt your heart leap at the sight of your beloved, or your pulse race at the sound of their voice?<br>
|
||||
No? I know members of your race laugh at such emotions. What a pity! You have no idea how much you're missing...<br>
|
||||
(Only Elves and Humans may undertake this quest.)
|
||||
</body></html>
|
@ -1,5 +0,0 @@
|
||||
<html><body>Arujien:<br>
|
||||
Have you ever been in love? Have you ever felt your heart leap at the sight of your beloved, or your pulse race at the sound of her voice? I can think of nothing else; I cannot eat or sleep or even work!<br>
|
||||
But I lack the courage to confess my feelings, so I suffer in silence. But I must know! I have decided to pour my heart out to her in a letter, but who will deliver it for me? It must be someone trustworthy -- this is too important to entrust to just anyone!<br>
|
||||
(Only Elves and Humans who are at least level 2 may undertake this quest.)
|
||||
</body></html>
|
@ -1,4 +0,0 @@
|
||||
<html><body>Arujien:<br>
|
||||
Have you ever been in love? Have you ever felt your heart leap at the sight of your beloved, or your pulse race at the sound of her voice? I can think of nothing else; I cannot eat or sleep or even work! If she would only have me, I would gladly devote the rest of my life to making her happy...<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00002_WhatWomenWant 30223-03.html">Ask about Arujien's beloved.</Button>
|
||||
</body></html>
|
@ -1,6 +0,0 @@
|
||||
<html><body>Arujien:<br>
|
||||
If I tell you her name, you must give me your word that you will not reveal it -- I would sooner die than embarrass her publicly! Well... Her name is <font color="LEVEL">Greenis</font>. Even saying her name aloud makes my heart beat faster!<br>
|
||||
But I must know if she has feelings for me as well. If she does not, I won't burden her with my love.<br>
|
||||
Will you help me?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00002_WhatWomenWant 30223-04.htm">Say yes.</Button>
|
||||
</body></html>
|
@ -1,5 +0,0 @@
|
||||
<html><body>Arujien:<br>
|
||||
Thank you! I won't forget your kindness.<br>
|
||||
Obviously, I can't approach Greenis directly -- what would people say! -- but she has a younger sister, <font color="LEVEL">Gatekeeper Mirabel</font>. She will know Greenis' heart, and she can be trusted to be discreet. Take this letter to Mirabel and return to me with her answer.<br>
|
||||
My happiness depends on you!
|
||||
</body></html>
|
@ -1,4 +0,0 @@
|
||||
<html><body>Arujien:<br>
|
||||
Have you learned anything about Greenis' feelings for me? What did Mirabel say? Oh, you haven't spoken to her yet?!<br>
|
||||
Please hurry! This waiting is tearing me apart!
|
||||
</body></html>
|
@ -1,3 +0,0 @@
|
||||
<html><body>Arujien:<br>
|
||||
So Mirabel said to ask <font color="LEVEL">Trader Herbiel</font>? He is Greenis' uncle, of course, but it would be awkward for me to approach him on so...sensitive...a subject. But if Mirabel thinks he can help... Perhaps you would be willing to speak with him for me? Please show him my letter, then hurry back and give me his advice!
|
||||
</body></html>
|
@ -1,5 +0,0 @@
|
||||
<html><body>Arujien:<br>
|
||||
What did Herbiel say? Do I have a place in Greenis' heart? Tell me! You have the power to make me the happiest Elf in the world...or to shatter my heart to pieces.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00002_WhatWomenWant 30223-08.html">Tell him Greenis has feelings for him, too.</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00002_WhatWomenWant 30223-09.html">Tell him to forget Greenis.</Button>
|
||||
</body></html>
|
@ -1,3 +0,0 @@
|
||||
<html><body>Arujien:<br>
|
||||
Eva be praised! I want to shout my happiness to the whole forest! I have one more favor to ask of you, my friend. I've written a <font color="LEVEL">book of poems</font> to give Greenis, but now I find myself a little embarrassed to deliver it in person. Some of the poems are rather...intimate. Perhaps you could take it to her and come tell me her reaction? Whatever Herbiel says, I must hear it from her lips before I can fully believe it...
|
||||
</body></html>
|
@ -1,4 +0,0 @@
|
||||
<html><body>Arujien:<br>
|
||||
No...I can't believe it! How can I go on living with the pain of her rejection? I am nothing more than love's fool. Pity me, my friend!<br>
|
||||
Well, thank you for your efforts on my behalf. Take this for your trouble -- I have no use for worldly possessions now...
|
||||
</body></html>
|
@ -1,3 +0,0 @@
|
||||
<html><body>Arujien:<br>
|
||||
Have you given Greenis my book of poems yet? No?! Please hurry. My nerves can't stand the strain of waiting!
|
||||
</body></html>
|
@ -1,4 +0,0 @@
|
||||
<html><body>Arujien:<br>
|
||||
Ah, so this is where my love has brought me! How I wish I had never said anything to her. Ignorance was bliss compared to the pain of the truth! How will I ever show my face in the village again?<br>
|
||||
Well, you've been a faithful friend, and I'm sure you did the best you could. Take this for your trouble -- I have no use for worldly possessions now, and I want you to have it...
|
||||
</body></html>
|
@ -1,225 +0,0 @@
|
||||
/*
|
||||
* This file is part of the L2J Mobius project.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package quests.Q00002_WhatWomenWant;
|
||||
|
||||
import com.l2jmobius.gameserver.enums.Race;
|
||||
import com.l2jmobius.gameserver.model.actor.L2Npc;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.model.quest.Quest;
|
||||
import com.l2jmobius.gameserver.model.quest.QuestState;
|
||||
import com.l2jmobius.gameserver.model.quest.State;
|
||||
import com.l2jmobius.gameserver.network.NpcStringId;
|
||||
|
||||
/**
|
||||
* What Women Want (2)
|
||||
* @author malyelfik
|
||||
*/
|
||||
public class Q00002_WhatWomenWant extends Quest
|
||||
{
|
||||
// NPCs
|
||||
private static final int ARUJIEN = 30223;
|
||||
private static final int MIRABEL = 30146;
|
||||
private static final int HERBIEL = 30150;
|
||||
private static final int GREENIS = 30157;
|
||||
// Items
|
||||
private static final int ARUJIENS_LETTER1 = 1092;
|
||||
private static final int ARUJIENS_LETTER2 = 1093;
|
||||
private static final int ARUJIENS_LETTER3 = 1094;
|
||||
private static final int POETRY_BOOK = 689;
|
||||
private static final int GREENIS_LETTER = 693;
|
||||
private static final int EARRING = 49040;
|
||||
// Misc
|
||||
private static final int MIN_LEVEL = 2;
|
||||
|
||||
public Q00002_WhatWomenWant()
|
||||
{
|
||||
super(2);
|
||||
addStartNpc(ARUJIEN);
|
||||
addTalkId(ARUJIEN, MIRABEL, HERBIEL, GREENIS);
|
||||
registerQuestItems(ARUJIENS_LETTER1, ARUJIENS_LETTER2, ARUJIENS_LETTER3, POETRY_BOOK, GREENIS_LETTER);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
final QuestState st = getQuestState(player, false);
|
||||
if (st == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
String htmltext = event;
|
||||
switch (event)
|
||||
{
|
||||
case "30223-04.htm":
|
||||
{
|
||||
st.startQuest();
|
||||
giveItems(player, ARUJIENS_LETTER1, 1);
|
||||
break;
|
||||
}
|
||||
case "30223-08.html":
|
||||
{
|
||||
takeItems(player, ARUJIENS_LETTER3, -1);
|
||||
giveItems(player, POETRY_BOOK, 1);
|
||||
st.setCond(4, true);
|
||||
break;
|
||||
}
|
||||
case "30223-09.html":
|
||||
{
|
||||
giveAdena(player, 450, true);
|
||||
st.exitQuest(false, true);
|
||||
// Newbie Guide
|
||||
showOnScreenMsg(player, NpcStringId.DELIVERY_DUTY_COMPLETE_N_GO_FIND_THE_NEWBIE_HELPER, 2, 5000);
|
||||
addExpAndSp(player, 4254, 335);
|
||||
giveAdena(player, 1850, true);
|
||||
break;
|
||||
}
|
||||
case "30223-03.html":
|
||||
{
|
||||
break;
|
||||
}
|
||||
default:
|
||||
{
|
||||
htmltext = null;
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onTalk(L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
final QuestState st = getQuestState(player, true);
|
||||
String htmltext = getNoQuestMsg(player);
|
||||
switch (npc.getId())
|
||||
{
|
||||
case ARUJIEN:
|
||||
{
|
||||
switch (st.getState())
|
||||
{
|
||||
case State.CREATED:
|
||||
{
|
||||
htmltext = ((player.getRace() != Race.ELF) && (player.getRace() != Race.HUMAN)) ? "30223-00.htm" : (player.getLevel() >= MIN_LEVEL) ? "30223-02.htm" : "30223-01.html";
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
{
|
||||
switch (st.getCond())
|
||||
{
|
||||
case 1:
|
||||
{
|
||||
htmltext = "30223-05.html";
|
||||
break;
|
||||
}
|
||||
case 2:
|
||||
{
|
||||
htmltext = "30223-06.html";
|
||||
break;
|
||||
}
|
||||
case 3:
|
||||
{
|
||||
htmltext = "30223-07.html";
|
||||
break;
|
||||
}
|
||||
case 4:
|
||||
{
|
||||
htmltext = "30223-10.html";
|
||||
break;
|
||||
}
|
||||
case 5:
|
||||
{
|
||||
giveItems(player, EARRING, 1);
|
||||
st.exitQuest(false, true);
|
||||
htmltext = "30223-11.html";
|
||||
// Newbie Guide
|
||||
// showOnScreenMsg(player, NpcStringId.DELIVERY_DUTY_COMPLETE_N_GO_FIND_THE_NEWBIE_HELPER, 2, 5000);
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case State.COMPLETED:
|
||||
{
|
||||
htmltext = getAlreadyCompletedMsg(player);
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case MIRABEL:
|
||||
{
|
||||
if (st.isStarted())
|
||||
{
|
||||
if (st.isCond(1))
|
||||
{
|
||||
st.setCond(2, true);
|
||||
takeItems(player, ARUJIENS_LETTER1, -1);
|
||||
giveItems(player, ARUJIENS_LETTER2, 1);
|
||||
htmltext = "30146-01.html";
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = "30146-02.html";
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case HERBIEL:
|
||||
{
|
||||
if (st.isStarted() && (st.getCond() > 1))
|
||||
{
|
||||
if (st.isCond(2))
|
||||
{
|
||||
st.setCond(3, true);
|
||||
takeItems(player, ARUJIENS_LETTER2, -1);
|
||||
giveItems(player, ARUJIENS_LETTER3, 1);
|
||||
htmltext = "30150-01.html";
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = "30150-02.html";
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case GREENIS:
|
||||
{
|
||||
if (st.isStarted())
|
||||
{
|
||||
if (st.isCond(4))
|
||||
{
|
||||
st.setCond(5, true);
|
||||
takeItems(player, POETRY_BOOK, -1);
|
||||
giveItems(player, GREENIS_LETTER, 1);
|
||||
htmltext = "30157-02.html";
|
||||
}
|
||||
else if (st.isCond(5))
|
||||
{
|
||||
htmltext = "30157-03.html";
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = "30157-01.html";
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
}
|
@ -1,3 +0,0 @@
|
||||
<html><body>Tetrarch Talloth:<br>
|
||||
I have no task reserved for those of foreign races. Begone.
|
||||
</body></html>
|
@ -1,5 +0,0 @@
|
||||
<html><body>Tetrarch Talloth:<br>
|
||||
For hundreds of years, I have devoted my life to researching a method to break the seal that was placed on our Hierarch. I've received news that ancient magic scrolls have been discovered in the northern lands of Pabel, and they say that the scrolls contain secrets of dark arts that we have not yet learned.<br>
|
||||
If the scrolls were to be brought here, we would be able to discover a method for breaking the seal placed on our Hierarch. I may need your help then, to gather materials needed for performing this magic when the time comes.<br>
|
||||
(Quest for Dark Elven characters level 16 or above.)
|
||||
</body></html>
|
@ -1,6 +0,0 @@
|
||||
<html><body>Tetrarch Talloth:<br>
|
||||
For hundreds of years I have devoted myself to researching magic that could break the seal placed on our Hierarch, Mitraell. But we are still uncertain of the exact magic that created the seal -- all we are certain of is that the magic used for the seal is entirely different from Human or Elven magic today, and that all our efforts towards breaking the seal have so far been futile.<br>
|
||||
But recently, ancient magic scrolls containing secrets of the Dark Arts have been discovered in the northern lands of Pabel. Our Dark Elven brothers who have been sent there have succeeded in recovering those scrolls. After three days and nights of pouring over the scrolls, I have discovered a lead for the magic needed to break the seal.<br>
|
||||
As you know, the seal is composed of three levels -- the physical seal, that restrains the body, the mental seal that restrains his mind, and the spiritual seal that restrains his soul. This time, I am attempting to break that first seal, the physical seal. But to perform the magic, I need many rare materials. I'd like to ask you to go and gather them. I'm sure you won't refuse?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00003_WillTheSealBeBroken 30141-03.htm">Say you will gather the materials</Button>
|
||||
</body></html>
|
@ -1,5 +0,0 @@
|
||||
<html><body>Tetrarch Talloth:<br>
|
||||
The materials that I require for my magic are the <font color="LEVEL">omen beast's eye</font>, <font color="LEVEL">Taint Stone</font> and <font color="LEVEL">succubus' blood</font>. You can find all three materials at the abandoned <font color="LEVEL">School of Dark Arts</font>. If you do not know the way, ask Sentry Kayleen.<br>
|
||||
You can obtain the first component by killing the <font color="LEVEL">omen beast</font> and taking the jewel that is embedded in its eye. The second material can be gathered by hunting <font color="LEVEL">stink zombies</font> or <font color="LEVEL">tainted zombies</font>, the undead that wander the School of Dark Arts. The final material can be obtained only by killing the <font color="LEVEL">succubus</font>, who resides in the deepest lairs of the School of Dark Arts.<br>
|
||||
It may be safer for you to train a bit more before you leave, because zombies and the succubus may be difficult for you to hunt. There is no need to hurry. Gather the materials diligently, and bring them to me when you have gathered all three. May the protection of Shilen be with you.
|
||||
</body></html>
|
@ -1,4 +0,0 @@
|
||||
<html><body>Tetrarch Talloth:<br>
|
||||
You haven't been able to gather all three materials yet? Don't tell me that you've forgotten what materials you need to gather?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00003_WillTheSealBeBroken 30141-05.html">Ask about the materials</Button>
|
||||
</body></html>
|
@ -1,4 +0,0 @@
|
||||
<html><body>Tetrarch Talloth:<br>
|
||||
Tsk tsk. I will tell you one more time. I need the <font color="LEVEL">omen beast's eye</font>, <font color="LEVEL">Taint Stone</font> and <font color="LEVEL">succubus' blood</font>. You can obtain the first component by killing the omen beast and taking the jewel that is embedded in its eye. The second material can be gathered by hunting stink zombies or tainted zombies, the undead that wander the School of Dark Arts. The final material can be obtained only by killing the succubus, who resides in the deepest lairs of the School of Dark Arts.<br>
|
||||
When you have gathered all three materials, bring them to me.
|
||||
</body></html>
|
@ -1,5 +0,0 @@
|
||||
<html><body>Tetrarch Talloth:<br>
|
||||
You've found all three materials. Well done! Now I can start my research to undo the 'spiritual chains.' We need further observation to see if the research will yield any results, but I believe that the seals placed on our Hierarch will one day be broken. I will give you this as a token of my appreciation. Think of it as a just payment for working for our race.<br>
|
||||
I am not alone in the research to break the seal. <font color="LEVEL">Magister Kayla</font> is continuing her research in the region known as <font color="LEVEL">Giran</font>, to free the mental chains that bind the mind of our Hierarch If you ever pass through that region, I suggest that you go and seek her. She may also need your help someday.<br>
|
||||
May the shelter of the abyss be with you, 'til the day our Dark Elf race rules the destiny of the land.
|
||||
</body></html>
|
@ -1,168 +0,0 @@
|
||||
/*
|
||||
* This file is part of the L2J Mobius project.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package quests.Q00003_WillTheSealBeBroken;
|
||||
|
||||
import com.l2jmobius.gameserver.enums.QuestSound;
|
||||
import com.l2jmobius.gameserver.enums.Race;
|
||||
import com.l2jmobius.gameserver.model.actor.L2Npc;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.model.quest.Quest;
|
||||
import com.l2jmobius.gameserver.model.quest.QuestState;
|
||||
import com.l2jmobius.gameserver.model.quest.State;
|
||||
|
||||
/**
|
||||
* Will the Seal be Broken? (3)
|
||||
* @author malyelfik
|
||||
*/
|
||||
public class Q00003_WillTheSealBeBroken extends Quest
|
||||
{
|
||||
// NPC
|
||||
private static final int TALLOTH = 30141;
|
||||
// Monsters
|
||||
private static final int OMEN_BEAST = 20031;
|
||||
private static final int TAINTED_ZOMBIE = 20041;
|
||||
private static final int STINK_ZOMBIE = 20046;
|
||||
private static final int LESSER_SUCCUBUS = 20048;
|
||||
private static final int LESSER_SUCCUBUS_TUREN = 20052;
|
||||
private static final int LESSER_SUCCUBUS_TILFO = 20057;
|
||||
// Items
|
||||
private static final int OMEN_BEAST_EYE = 1081;
|
||||
private static final int TAINT_STONE = 1082;
|
||||
private static final int SUCCUBUS_BLOOD = 1083;
|
||||
// Misc
|
||||
private static final int MIN_LEVEL = 16;
|
||||
|
||||
public Q00003_WillTheSealBeBroken()
|
||||
{
|
||||
super(3);
|
||||
addStartNpc(TALLOTH);
|
||||
addTalkId(TALLOTH);
|
||||
addKillId(OMEN_BEAST, TAINTED_ZOMBIE, STINK_ZOMBIE, LESSER_SUCCUBUS, LESSER_SUCCUBUS_TILFO, LESSER_SUCCUBUS_TUREN);
|
||||
registerQuestItems(OMEN_BEAST_EYE, TAINT_STONE, SUCCUBUS_BLOOD);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
final QuestState st = getQuestState(player, false);
|
||||
if (st == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
String htmltext = event;
|
||||
switch (event)
|
||||
{
|
||||
case "30141-03.htm":
|
||||
{
|
||||
st.startQuest();
|
||||
break;
|
||||
}
|
||||
case "30141-05.html":
|
||||
{
|
||||
break;
|
||||
}
|
||||
default:
|
||||
{
|
||||
htmltext = null;
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onKill(L2Npc npc, L2PcInstance player, boolean isSummon)
|
||||
{
|
||||
final L2PcInstance member = getRandomPartyMember(player, 1);
|
||||
if (member == null)
|
||||
{
|
||||
return super.onKill(npc, player, isSummon);
|
||||
}
|
||||
final QuestState st = getQuestState(member, false);
|
||||
switch (npc.getId())
|
||||
{
|
||||
case OMEN_BEAST:
|
||||
{
|
||||
giveItem(member, st, OMEN_BEAST_EYE, getRegisteredItemIds());
|
||||
break;
|
||||
}
|
||||
case STINK_ZOMBIE:
|
||||
case TAINTED_ZOMBIE:
|
||||
{
|
||||
giveItem(member, st, TAINT_STONE, getRegisteredItemIds());
|
||||
break;
|
||||
}
|
||||
case LESSER_SUCCUBUS:
|
||||
case LESSER_SUCCUBUS_TILFO:
|
||||
case LESSER_SUCCUBUS_TUREN:
|
||||
{
|
||||
giveItem(member, st, SUCCUBUS_BLOOD, getRegisteredItemIds());
|
||||
break;
|
||||
}
|
||||
}
|
||||
return super.onKill(npc, player, isSummon);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onTalk(L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
final QuestState st = getQuestState(player, true);
|
||||
String htmltext = getNoQuestMsg(player);
|
||||
switch (st.getState())
|
||||
{
|
||||
case State.CREATED:
|
||||
{
|
||||
htmltext = (player.getRace() != Race.DARK_ELF) ? "30141-00.htm" : (player.getLevel() >= MIN_LEVEL) ? "30141-02.htm" : "30141-01.html";
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
{
|
||||
if (st.isCond(1))
|
||||
{
|
||||
htmltext = "30141-04.html";
|
||||
}
|
||||
else
|
||||
{
|
||||
giveAdena(player, 3800, true);
|
||||
st.exitQuest(false, true);
|
||||
htmltext = "30141-06.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case State.COMPLETED:
|
||||
{
|
||||
htmltext = getAlreadyCompletedMsg(player);
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
private static void giveItem(L2PcInstance player, QuestState st, int item, int... items)
|
||||
{
|
||||
if (!hasQuestItems(player, item))
|
||||
{
|
||||
giveItems(player, item, 1);
|
||||
playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
|
||||
if (hasQuestItems(player, items))
|
||||
{
|
||||
st.setCond(2, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
<html><body>Trader Kunai:<br>
|
||||
Other tribes may see this as an opportunity to puff out their chests and offer the Flame Lord something costly, extravagant...and utterly useless. But the Duda-Mara tribe is not vain; we simply wish for him to recover speedily from this illness that afflicts him. Accordingly, our elders offer the Flame Lord this rarest of medicines, <font color="LEVEL">Spider Dust</font>, able to cleanse both body and mind of all impurities!<br>
|
||||
We risked our lives to hunt the Great Spiders that live high in the mountains, slew them, dried their legs in the heat of the sun, then ground them into a fine powder whose very fragrance can purify what is unclean. Take this to Centurion Nakusin so that he may speedily deliver it to Flame Lord Kakai!
|
||||
</body></html>
|
@ -1,3 +0,0 @@
|
||||
<html><body>Trader Kunai:<br>
|
||||
Why do you still have the gift the Duda-Mara tribe prepared for the Flame Lord? Go at once and deliver the Spider Dust to <font color="LEVEL">Centurion Nakusin</font>!
|
||||
</body></html>
|
@ -1,4 +0,0 @@
|
||||
<html><body>Trader Uska:<br>
|
||||
On behalf of the glorious Gandi tribe, I offer this precious treasure to Flame Lord Kakai. It is the <font color="LEVEL">skull of Lamakan, the great Seer of the Gandi</font>, who died over 300 years ago!<br>
|
||||
May the power of our mighty ancestor ward off evil spirits and protect our lord from all harm!
|
||||
</body></html>
|
@ -1,3 +0,0 @@
|
||||
<html><body>Trader Uska:<br>
|
||||
The meager gifts of the other tribes cannot possibly compare to the treasure offered to the Flame Lord by we of the Gandi tribe. So why do you still have it? Deliver it to <font color="LEVEL">Centurion Nakusin</font> at once!
|
||||
</body></html>
|
@ -1,3 +0,0 @@
|
||||
<html><body>Warehouse Keeper Grookin:<br>
|
||||
On behalf of the Neruga tribe, I, Grookin, offer this precious gift to the Flame Lord: the <font color="LEVEL">Bloody Axe</font>. Stained with the blood of many animals, it pulses with the lives that it took! Among our tribe it is said that illness will flee a body at the mere touch of the Bloody Axe!
|
||||
</body></html>
|
@ -1,3 +0,0 @@
|
||||
<html><body>Warehouse Keeper Grookin:<br>
|
||||
On behalf of the Neruga tribe, I entrusted you with a precious gift. Why has the Flame Lord not yet received it?! What is the meaning of this, you rascal? Take it to <font color="LEVEL">Centurion Nakusin</font> before my tribe is permanently disgraced!
|
||||
</body></html>
|
@ -1,3 +0,0 @@
|
||||
<html><body>Atuba Chief Varkees:<br>
|
||||
The Atuba tribe offers the Lord of Flame this miraculous <font color="LEVEL">Elixir</font>! Brewed from the juice of the Khandar plant and honey, this it has the power to cure all fevers and drive out evil spirits!
|
||||
</body></html>
|
@ -1,3 +0,0 @@
|
||||
<html><body>Atuba Chief Varkees:<br>
|
||||
Have you presented the Atuba tribe's gift to <font color="LEVEL">Centurion Nakusin</font>? Do not be late! That would shame us in the eyes of the great Flame Lord!
|
||||
</body></html>
|
@ -1,4 +0,0 @@
|
||||
<html><body>Centurion Nakusin:<br>
|
||||
Dekara Lamchar Kakai! I have no time to waste with other races' runts! Go away!<br>
|
||||
(Only Orcs may undertake this quest.)
|
||||
</body></html>
|
@ -1,4 +0,0 @@
|
||||
<html><body>Centurion Nakusin:<br>
|
||||
Dekara Lamchar Kakai! Perhaps you've heard that Flame Lord Kakai has fallen ill. The Elders have decreed that each tribe should offer him <font color="LEVEL">something to help restore his health</font>. What can you possibly give the Flame Lord, my young Orc friend?<br>
|
||||
(Only Orcs who are at least level 2 may undertake this quest.)
|
||||
</body></html>
|
@ -1,4 +0,0 @@
|
||||
<html><body>Centurion Nakusin:<br>
|
||||
Dekara Lamchar Kakai! Perhaps you've heard that Flame Lord Kakai has fallen ill. The Elders have decreed that each tribe should offer him <font color="LEVEL">something to help restore his health</font>. I was supposed to collect the items, but we have heard that there are troublemakers about and I am reluctant to leave my post. Will you meet the representatives of each tribe and bring back their gifts?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00004_LongLiveThePaagrioLord 30578-03.htm">Say yes.</Button>
|
||||
</body></html>
|
@ -1,10 +0,0 @@
|
||||
<html><body>Centurion Nakusin:<br>
|
||||
Very well. Here are the tribal representatives you must meet:<br>
|
||||
<font color="LEVEL">Tataru Zu Hestui</font> of the dignified Hestui tribe<br>
|
||||
<font color="LEVEL">Atuba Chief Varkees</font> of the merciless Atuba tribe<br>
|
||||
<font color="LEVEL">Warehouse Keeper Grookin</font> of the tenacious Neruga tribe<br>
|
||||
<font color="LEVEL">Gantaki Zu Urutu</font> of the headstrong Urutu tribe<br>
|
||||
<font color="LEVEL">Trader Kunai</font> of the resourceful Duda-Mara tribe<br>
|
||||
<font color="LEVEL">Trader Uska</font> of the savage Gandi tribe<br>
|
||||
Collect their gifts for Flame Lord Kakai and bring them to me.
|
||||
</body></html>
|
@ -1,4 +0,0 @@
|
||||
<html><body>Centurion Nakusin:<br>
|
||||
Meet the representatives from each tribe and collect their gifts for Flame Lord Kakai. You haven't forgotten your mission already, have you?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00004_LongLiveThePaagrioLord 30578-05.html">Say yes.</Button>
|
||||
</body></html>
|
@ -1,10 +0,0 @@
|
||||
<html><body>Centurion Nakusin:<br>
|
||||
Fool! You are as empty-headed as an Elf! Here are the tribal representatives you must meet:<br>
|
||||
<font color="LEVEL">Tataru Zu Hestui</font> of the dignified Hestui tribe<br>
|
||||
<font color="LEVEL">Atuba Chief Varkees</font> of the merciless Atuba tribe<br>
|
||||
<font color="LEVEL">Warehouse Keeper Grookin</font> of the tenacious Neruga tribe<br>
|
||||
<font color="LEVEL">Gantaki Zu Urutu</font> of the headstrong Urutu tribe<br>
|
||||
<font color="LEVEL">Trader Kunai</font> of the resourceful Duda-Mara tribe<br>
|
||||
<font color="LEVEL">Trader Uska</font> of the savage Gandi tribe<br>
|
||||
Collect their gifts for Flame Lord Kakai and bring them to me. Hurry!
|
||||
</body></html>
|
@ -1,4 +0,0 @@
|
||||
<html><body>Centurion Nakusin:<br>
|
||||
Dekara Lamchar Kakai! As long as our tribes stand united under the flag of our lord, the glory of the Orc Kingdom will never fade!<br>
|
||||
You have done well. Treasure what you have seen -- it is a lesson in true loyalty to one's lord, something far more valuable than this small reward I now give you.
|
||||
</body></html>
|
@ -1,4 +0,0 @@
|
||||
<html><body>Tataru Zu Hestui:<br>
|
||||
We Hestuis offer the great Lord of the Flame this <font color="LEVEL">Bear Fur Cloak</font>.<br>
|
||||
May it keep him warm even on the coldest winter night!
|
||||
</body></html>
|
@ -1,3 +0,0 @@
|
||||
<html><body>Tataru Zu Hestui:<br>
|
||||
Hurry and deliver our gift to <font color="LEVEL">Centurion Nakusin</font>! Our tribe's honor would be disgraced if our gift arrived later than the others!
|
||||
</body></html>
|
@ -1,4 +0,0 @@
|
||||
<html><body>Gantaki Zu Urutu:<br>
|
||||
On behalf of the Urutu tribe, I present you with this gift for the Flame Lord: a rare <font color="LEVEL">Deep Sea Orb</font><br>
|
||||
Fished from the depths of the Black Seas of the west, it is prized even by the Humans, who call it "pearl." Those who carry it on their person gain the ability to part the mists of time and see the future. May the great Kakai see in it only victory and glory!
|
||||
</body></html>
|
@ -1,3 +0,0 @@
|
||||
<html><body>Gantaki Zu Urutu:<br>
|
||||
Have you delivered the Deep Sea Orb to Centurion Nakusin? Unless you do so immediately, he will be unable to present it to Flame Lord Kakai on behalf of the Urutu tribe. We will be shamed!
|
||||
</body></html>
|
@ -1,184 +0,0 @@
|
||||
/*
|
||||
* This file is part of the L2J Mobius project.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package quests.Q00004_LongLiveThePaagrioLord;
|
||||
|
||||
import com.l2jmobius.gameserver.enums.QuestSound;
|
||||
import com.l2jmobius.gameserver.enums.Race;
|
||||
import com.l2jmobius.gameserver.model.actor.L2Npc;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.model.quest.Quest;
|
||||
import com.l2jmobius.gameserver.model.quest.QuestState;
|
||||
import com.l2jmobius.gameserver.model.quest.State;
|
||||
import com.l2jmobius.gameserver.network.NpcStringId;
|
||||
|
||||
/**
|
||||
* Long Live the Pa'agrio Lord (4)
|
||||
* @author malyelfik
|
||||
*/
|
||||
public class Q00004_LongLiveThePaagrioLord extends Quest
|
||||
{
|
||||
// NPCs
|
||||
private static final int KUNAI = 30559;
|
||||
private static final int USKA = 30560;
|
||||
private static final int GROOKIN = 30562;
|
||||
private static final int VARKEES = 30566;
|
||||
private static final int NAKUSIN = 30578;
|
||||
private static final int HESTUI = 30585;
|
||||
private static final int URUTU = 30587;
|
||||
// Items
|
||||
private static final int HONEY_KHANDAR = 1541;
|
||||
private static final int BEAR_FUR_CLOAK = 1542;
|
||||
private static final int BLOODY_AXE = 1543;
|
||||
private static final int ANCESTOR_SKULL = 1544;
|
||||
private static final int SPIDER_DUST = 1545;
|
||||
private static final int DEEP_SEA_ORB = 1546;
|
||||
// Rewards
|
||||
private static final int CLUB = 49051; // Club (Novice)
|
||||
// Misc
|
||||
private static final int MIN_LEVEL = 2;
|
||||
|
||||
public Q00004_LongLiveThePaagrioLord()
|
||||
{
|
||||
super(4);
|
||||
addStartNpc(NAKUSIN);
|
||||
addTalkId(NAKUSIN, VARKEES, URUTU, HESTUI, KUNAI, USKA, GROOKIN);
|
||||
registerQuestItems(HONEY_KHANDAR, BEAR_FUR_CLOAK, BLOODY_AXE, ANCESTOR_SKULL, SPIDER_DUST, DEEP_SEA_ORB);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
final QuestState st = getQuestState(player, false);
|
||||
if (st == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
String htmltext = event;
|
||||
switch (event)
|
||||
{
|
||||
case "30578-03.htm":
|
||||
{
|
||||
st.startQuest();
|
||||
break;
|
||||
}
|
||||
case "30578-05.html":
|
||||
{
|
||||
break;
|
||||
}
|
||||
default:
|
||||
{
|
||||
htmltext = null;
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onTalk(L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
final QuestState st = getQuestState(player, true);
|
||||
String htmltext = getNoQuestMsg(player);
|
||||
switch (npc.getId())
|
||||
{
|
||||
case NAKUSIN:
|
||||
{
|
||||
switch (st.getState())
|
||||
{
|
||||
case State.CREATED:
|
||||
{
|
||||
htmltext = (player.getRace() != Race.ORC) ? "30578-00.htm" : (player.getLevel() >= MIN_LEVEL) ? "30578-02.htm" : "30578-01.htm";
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
{
|
||||
if (st.isCond(1))
|
||||
{
|
||||
htmltext = "30578-04.html";
|
||||
}
|
||||
else
|
||||
{
|
||||
// Newbie Guide
|
||||
showOnScreenMsg(player, NpcStringId.DELIVERY_DUTY_COMPLETE_N_GO_FIND_THE_NEWBIE_HELPER, 2, 5000);
|
||||
rewardItems(player, CLUB, 1);
|
||||
st.exitQuest(false, true);
|
||||
htmltext = "30578-06.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case State.COMPLETED:
|
||||
{
|
||||
htmltext = getAlreadyCompletedMsg(player);
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case VARKEES:
|
||||
{
|
||||
htmltext = giveItem(player, st, npc.getId(), HONEY_KHANDAR, getRegisteredItemIds());
|
||||
break;
|
||||
}
|
||||
case URUTU:
|
||||
{
|
||||
htmltext = giveItem(player, st, npc.getId(), DEEP_SEA_ORB, getRegisteredItemIds());
|
||||
break;
|
||||
}
|
||||
case HESTUI:
|
||||
{
|
||||
htmltext = giveItem(player, st, npc.getId(), BEAR_FUR_CLOAK, getRegisteredItemIds());
|
||||
break;
|
||||
}
|
||||
case KUNAI:
|
||||
{
|
||||
htmltext = giveItem(player, st, npc.getId(), SPIDER_DUST, getRegisteredItemIds());
|
||||
break;
|
||||
}
|
||||
case USKA:
|
||||
{
|
||||
htmltext = giveItem(player, st, npc.getId(), ANCESTOR_SKULL, getRegisteredItemIds());
|
||||
break;
|
||||
}
|
||||
case GROOKIN:
|
||||
{
|
||||
htmltext = giveItem(player, st, npc.getId(), BLOODY_AXE, getRegisteredItemIds());
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
private static String giveItem(L2PcInstance player, QuestState st, int npcId, int itemId, int... items)
|
||||
{
|
||||
if (!st.isStarted())
|
||||
{
|
||||
return getNoQuestMsg(player);
|
||||
}
|
||||
else if (hasQuestItems(player, itemId))
|
||||
{
|
||||
return npcId + "-02.html";
|
||||
}
|
||||
giveItems(player, itemId, 1);
|
||||
playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
|
||||
if (hasQuestItems(player, items))
|
||||
{
|
||||
st.setCond(2, true);
|
||||
}
|
||||
return npcId + "-01.html";
|
||||
}
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
<html><body>Trader Shari:<br>
|
||||
Bolter sent you, eh? Lessee here...oh, he ordered some <font color="LEVEL">Boomboom Powder</font> a few days ago. Last time he used too much while trying to blast a new mine entrance and singed his beard! Hopefully he'll be more careful with this batch.<br>
|
||||
Here you go: 1 sack of Boomboom Powder. Please don't drop it!
|
||||
</body></html>
|
@ -1,3 +0,0 @@
|
||||
<html><body>Trader Shari:<br>
|
||||
I gave you a sack of Boomboom Powder, right? Hurry and take it to Miner Bolter. And be sure not to get it near any open flame, or getting Bolter's reward will be the least of your worries!
|
||||
</body></html>
|
@ -1,3 +0,0 @@
|
||||
<html><body>Trader Garita:<br>
|
||||
The item that the Gray Pillar Guild ordered? Ah, here you go: a pair of strong leather <font color="LEVEL">Mining Boots</font>. Let me just make a notation in my account book...there! Now take them to Miner Bolter with my thanks.
|
||||
</body></html>
|
@ -1,3 +0,0 @@
|
||||
<html><body>Trader Garita:<br>
|
||||
I see that you're still here in the village. Isn't Miner Bolter waiting for his new <font color="LEVEL">Mining Boots</font>? I think you'd best take them to him right away!
|
||||
</body></html>
|
@ -1,4 +0,0 @@
|
||||
<html><body>Warehouse Chief Reed:<br>
|
||||
The item Bolter entrusted to me...? Ah! You mean the Dion-brewed <font color="LEVEL">Redstone Beer</font> he gave me last week! Where is it...here! It goes down very smooth, I can tell you that. Just the thing to wash away the dust of the road. Just thinking about it makes me thirsty...<br>
|
||||
Well, well...uh, I really must return to my account book. You'd best deliver it to Bolter before something...happens...to that cool, tasty beer...
|
||||
</body></html>
|
@ -1,3 +0,0 @@
|
||||
<html><body>Warehouse Chief Reed:<br>
|
||||
Look here, I'm trying to organize my account book! Bolter's beer? I already gave you the Redstone Beer! If you drank it already, it's not my fault!
|
||||
</body></html>
|
@ -1,5 +0,0 @@
|
||||
<html><body>Blacksmith Brunon:<br>
|
||||
Who are you you and what do you want? I am too busy to waste time with young idlers...<br>
|
||||
Bolter's order, you say? And who is Bolter? Start talking sense or get out of my shop!<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00005_MinersFavor 30526-02.html">Take out Bolter's Smelly Socks.</Button>
|
||||
</body></html>
|
@ -1,4 +0,0 @@
|
||||
<html><body>Blacksmith Brunon:<br>
|
||||
Ugh! That smell! Do you have a week-dead ferret in there? Ohh... Wait! Bolter! I remember him now. He placed an order last week, didn't he?<br>
|
||||
Well, well! Here is the <font color="LEVEL">Miner's Pick</font> he wanted. Take it -- and get that vile-smelling thing away from me!
|
||||
</body></html>
|
@ -1,3 +0,0 @@
|
||||
<html><body>Blacksmith Brunon:<br>
|
||||
You again! What is it this time? I already gave you the Miner's Pick that Bolter ordered. Take it to him at the Strip Mine and leave me in peace!
|
||||
</body></html>
|
@ -1,4 +0,0 @@
|
||||
<html><body>Blacksmith Brunon:<br>
|
||||
No, I don't remember any Miner Bolter. Perhaps you're thinking of another blacksmith.<br>
|
||||
In any case, I don't have time to play detective. Shoo!
|
||||
</body></html>
|
@ -1,5 +0,0 @@
|
||||
<html><body>Miner Bolter:<br>
|
||||
I'm a member of the Gray Pillar Guild, which controls this Strip Mine. Those hard-working Dwarves over there are all my guild brothers.<br>
|
||||
Frankly, we prefer it out here, living among the rock and rubble of the mine instead of some stuffy cottage back in the village. The only drawback is that we still have to send someone into the village every few days to get supplies. It was Fundal's turn to go, but he broke his leg in a mining accident this morning. Do you know anyone trustworthy enough to go in his place?<br>
|
||||
(Only characters who are at least level 2 may undertake this quest.)
|
||||
</body></html>
|
@ -1,5 +0,0 @@
|
||||
<html><body>Miner Bolter:<br>
|
||||
I'm a member of the Gray Pillar Guild, which controls this Strip Mine. Those hard-working Dwarves over there are all my guild brothers.<br>
|
||||
Frankly, we prefer it out here, living among the rock and rubble of the mine instead of some stuffy cottage back in the village. The only drawback is that we still have to send someone into the village every few days to get supplies. It was Fundal's turn to go, but he broke his leg in a mining accident this morning. Will you go in his place?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00005_MinersFavor 30554-03.htm">Say yes.</Button>
|
||||
</body></html>
|
@ -1,8 +0,0 @@
|
||||
<html><body>Miner Bolter:<br>
|
||||
Here's a list of the supplies we need. Let's see...<br>
|
||||
Ah! First, stop by the Weapons and Armor Shop and get a sack of Boom-boom Powder from <font color="LEVEL">Trader Shari</font>.<br>
|
||||
Then go to the General Store and get a pair of Mining Boots from <font color="LEVEL">Trader Garita</font>.<br>
|
||||
After that, go to the Warehouse and get us a case of Redstone Beer from <font color="LEVEL">Warehouse Chief Reed</font>.<br>
|
||||
Finally, pick up a Miner's Pick from <font color="LEVEL">Blacksmith Brunon</font>.<br>
|
||||
Brunon has become very absent-minded, so take these -- just in case you need to shock him back to reality!
|
||||
</body></html>
|
@ -1,5 +0,0 @@
|
||||
<html><body>Miner Bolter:<br>
|
||||
Hey, you! Where's the rest of the supplies I ordered?<br>
|
||||
Did you lose the list I gave you?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00005_MinersFavor 30554-05.html">Say yes.</Button>
|
||||
</body></html>
|
@ -1,7 +0,0 @@
|
||||
<html><body>Miner Bolter:<br>
|
||||
Argh! May your beard become as sparse as a Gremlin's whiskers, you empty-headed wastrel! You are as forgetful as Brunon...<br>
|
||||
First, stop by the Weapons and Armor Shop and get a sack of Boom-boom Powder from <font color="LEVEL">Trader Shari</font>.<br>
|
||||
Then go to the General Store and get a pair of Mining Boots from <font color="LEVEL">Trader Garita</font>.<br>
|
||||
After that, go to the Warehouse and get us a case of Redstone Beer from <font color="LEVEL">Warehouse Chief Reed</font>.<br>
|
||||
Finally, pick up a Miner's Pick from <font color="LEVEL">Blacksmith Brunon</font>.
|
||||
</body></html>
|
@ -1,4 +0,0 @@
|
||||
<html><body>Miner Bolter:<br>
|
||||
You've done well, my young friend. Thanks to you, we now have all the comforts of home! Take this as a token of our gratitude. It's nothing fancy, but you might find it useful one day.<br>
|
||||
In the meantime, what do you say to sharing a cold Redstone Beer with me?
|
||||
</body></html>
|
@ -1,191 +0,0 @@
|
||||
/*
|
||||
* This file is part of the L2J Mobius project.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
package quests.Q00005_MinersFavor;
|
||||
|
||||
import com.l2jmobius.gameserver.enums.QuestSound;
|
||||
import com.l2jmobius.gameserver.model.actor.L2Npc;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.model.quest.Quest;
|
||||
import com.l2jmobius.gameserver.model.quest.QuestState;
|
||||
import com.l2jmobius.gameserver.model.quest.State;
|
||||
import com.l2jmobius.gameserver.network.NpcStringId;
|
||||
|
||||
/**
|
||||
* Miner's Favor (5)
|
||||
* @author malyelfik
|
||||
*/
|
||||
public class Q00005_MinersFavor extends Quest
|
||||
{
|
||||
// NPCs
|
||||
private static final int BOLTER = 30554;
|
||||
private static final int SHARI = 30517;
|
||||
private static final int GARITA = 30518;
|
||||
private static final int REED = 30520;
|
||||
private static final int BRUNON = 30526;
|
||||
// Items
|
||||
private static final int BOLTERS_LIST = 1547;
|
||||
private static final int MINING_BOOTS = 1548;
|
||||
private static final int MINERS_PICK = 1549;
|
||||
private static final int BOOMBOOM_POWDER = 1550;
|
||||
private static final int REDSTONE_BEER = 1551;
|
||||
private static final int BOLTERS_SMELLY_SOCKS = 1552;
|
||||
private static final int NECKLACE = 49039; // Necklace (Novice)
|
||||
// Misc
|
||||
private static final int MIN_LEVEL = 2;
|
||||
|
||||
public Q00005_MinersFavor()
|
||||
{
|
||||
super(5);
|
||||
addStartNpc(BOLTER);
|
||||
addTalkId(BOLTER, SHARI, GARITA, REED, BRUNON);
|
||||
registerQuestItems(BOLTERS_LIST, MINING_BOOTS, MINERS_PICK, BOOMBOOM_POWDER, REDSTONE_BEER, BOLTERS_SMELLY_SOCKS);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
final QuestState st = getQuestState(player, false);
|
||||
if (st == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
String htmltext = event;
|
||||
switch (event)
|
||||
{
|
||||
case "30554-03.htm":
|
||||
{
|
||||
st.startQuest();
|
||||
giveItems(player, BOLTERS_LIST, 1);
|
||||
giveItems(player, BOLTERS_SMELLY_SOCKS, 1);
|
||||
break;
|
||||
}
|
||||
case "30526-02.html":
|
||||
{
|
||||
if (!hasQuestItems(player, BOLTERS_SMELLY_SOCKS))
|
||||
{
|
||||
return "30526-04.html";
|
||||
}
|
||||
takeItems(player, BOLTERS_SMELLY_SOCKS, -1);
|
||||
giveItems(player, MINERS_PICK, 1);
|
||||
checkProgress(player, st);
|
||||
break;
|
||||
}
|
||||
case "30554-05.html":
|
||||
{
|
||||
break;
|
||||
}
|
||||
default:
|
||||
{
|
||||
htmltext = null;
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onTalk(L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
final QuestState st = getQuestState(player, true);
|
||||
String htmltext = getNoQuestMsg(player);
|
||||
switch (npc.getId())
|
||||
{
|
||||
case BOLTER:
|
||||
{
|
||||
switch (st.getState())
|
||||
{
|
||||
case State.CREATED:
|
||||
{
|
||||
htmltext = (player.getLevel() >= MIN_LEVEL) ? "30554-02.htm" : "30554-01.html";
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
{
|
||||
if (st.isCond(1))
|
||||
{
|
||||
htmltext = "30554-04.html";
|
||||
}
|
||||
else
|
||||
{
|
||||
giveItems(player, NECKLACE, 1);
|
||||
st.exitQuest(false, true);
|
||||
// Newbie Guide
|
||||
showOnScreenMsg(player, NpcStringId.DELIVERY_DUTY_COMPLETE_N_GO_FIND_THE_NEWBIE_HELPER, 2, 5000);
|
||||
htmltext = "30554-06.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case State.COMPLETED:
|
||||
{
|
||||
htmltext = getAlreadyCompletedMsg(player);
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case BRUNON:
|
||||
{
|
||||
if (st.isStarted())
|
||||
{
|
||||
htmltext = (hasQuestItems(player, MINERS_PICK)) ? "30526-03.html" : "30526-01.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case REED:
|
||||
{
|
||||
htmltext = giveItem(player, st, npc.getId(), REDSTONE_BEER);
|
||||
break;
|
||||
}
|
||||
case SHARI:
|
||||
{
|
||||
htmltext = giveItem(player, st, npc.getId(), BOOMBOOM_POWDER);
|
||||
break;
|
||||
}
|
||||
case GARITA:
|
||||
{
|
||||
htmltext = giveItem(player, st, npc.getId(), MINING_BOOTS);
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
private static void checkProgress(L2PcInstance player, QuestState st)
|
||||
{
|
||||
if (hasQuestItems(player, BOLTERS_LIST, MINING_BOOTS, MINERS_PICK, BOOMBOOM_POWDER, REDSTONE_BEER))
|
||||
{
|
||||
st.setCond(2, true);
|
||||
}
|
||||
}
|
||||
|
||||
private static String giveItem(L2PcInstance player, QuestState st, int npcId, int itemId)
|
||||
{
|
||||
if (!st.isStarted())
|
||||
{
|
||||
return getNoQuestMsg(st.getPlayer());
|
||||
}
|
||||
else if (hasQuestItems(player, itemId))
|
||||
{
|
||||
return npcId + "-02.html";
|
||||
}
|
||||
giveItems(player, itemId, 1);
|
||||
playSound(player, QuestSound.ITEMSOUND_QUEST_ITEMGET);
|
||||
checkProgress(player, st);
|
||||
return npcId + "-01.html";
|
||||
}
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
<html><body>Grand Master Roien:<br>
|
||||
You have travelled quite far from your homeland, young stranger of a foreign race. I'm sorry, but I have no work for you.<br>
|
||||
(Quest for Human characters level 9 and above.)
|
||||
</body></html>
|
@ -1,4 +0,0 @@
|
||||
<html><body>Grand Master Roien:<br>
|
||||
In the past, this island was where the Elves taught us Humans their magic. In the year marking the hundredth anniversary of the Humans coming to this remote island to learn the magic of the Elves, Human magicians commissioned a Dwarven craftsman to create a beautiful sword that was presented to the Elves. It was a sign of thanks for their teaching the Humans magic, and a symbol of the pledge to strengthen the unity between the two Human and Elf races. The Elves named this present the <font color="LEVEL">Sword of Solidarity</font>.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00101_SwordOfSolidarity 30008-03.html">Ask about the Sword of Solidarity</Button>
|
||||
</body></html>
|
@ -1,6 +0,0 @@
|
||||
<html><body>Grand Master Roien:<br>
|
||||
A thousand years ago, war arose between the Humans and the Elves, and the Elves were eventually defeated. The Elves of Talking Island said that the present they had received was not a Sword of Solidarity but a sword of betrayal, and broke the blade in half before leaving the island. Thereafter, the Elves never returned to this island, and the building where they had taught magic was abandoned and became the present Elven Ruins.<br>
|
||||
I read about the sword in a history book, and came to believe that it is hidden somewhere on this island. A few weeks ago, one of my pupils discovered an old sword handle during his exploration of the ruins. Upon close examination of the engravings on the handle, it exactly matched a text recorded in the Elven historical books that speak of the Sword of Solidarity. I am certain that the handle is a part of the Sword of Solidarity.<br>
|
||||
It is my opinion that if the <font color="LEVEL">rest of the blade</font> can be found, we can recreate the Sword of Solidarity that has only existed in history books until now.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00101_SwordOfSolidarity 30008-09.html">Ask about the remaining portions</Button>
|
||||
</body></html>
|
@ -1,4 +0,0 @@
|
||||
<html><body>Grand Master Roien:<br>
|
||||
First, go and show this letter to <font color="LEVEL">Blacksmith Altran</font>. In the letter, I have organized information that I've discovered regarding the Sword of Solidarity during my research of Ancient Scrolls at Einhovant's School of Magic. Altran says that his ancestors created the blade and asked me to research information about the sword.<br>
|
||||
You can meet Altran by going to the village forge. Thank you.
|
||||
</body></html>
|
@ -1,3 +0,0 @@
|
||||
<html><body>Grand Master Roien:<br>
|
||||
Please deliver my letter to <font color="LEVEL">Blacksmith Altran</font>. You can find him at the village forge.
|
||||
</body></html>
|
@ -1,4 +0,0 @@
|
||||
<html><body>Grand Master Roien:<br>
|
||||
You've found all the pieces of the broken blade?! What wonderful news! Now Altran can restore the Sword of Solidarity. But in order to do so, he's going to need the sword handle.<br>
|
||||
Now, take this to <font color="LEVEL">Altran</font>. Please tell him that it is given to him in thanks for all the help he has given us with the reconstruction of the training hall.
|
||||
</body></html>
|
@ -1,3 +0,0 @@
|
||||
<html><body>Grand Master Roien:<br>
|
||||
What, you haven't left yet? Go and deliver the sword handle to Blacksmith Altran immediately.
|
||||
</body></html>
|
@ -1,5 +0,0 @@
|
||||
<html><body>Grand Master Roien:<br>
|
||||
Perhaps you have heard of the <font color="LEVEL">Sword of Solidarity?</font> They say it is a fine blade treasured by the Elves that resided on this island long ago. These days, whenever I have the time I visit the libraries within Einhovant's School of Magic, to look through books and read stories related to the sword. Seeing that it is recorded not only in Human history books but also in those of the Elves, it seems certain that this sword really existed...<br>
|
||||
If this Sword of Solidarity really existed, wouldn't it be hidden somewhere on the island? Such a precious and magnificent blade as that would not be easily destroyed or abandoned... I plan to search the island for the sword some day. If you are interested, won't you come along?<br>
|
||||
(Quest for Human characters level 9 and above.)
|
||||
</body></html>
|
@ -1,5 +0,0 @@
|
||||
<html><body>Grand Master Roien:<br>
|
||||
A few days ago, I mentioned the sword handle to Blacksmith Altran over a couple of drinks, and he showed avid interest in it. He says that if only he had the <font color="LEVEL">blade portion</font>, he could resurrect the sword to its original state, and suggested that since it is probably somewhere in the ruins, we should send someone to go and find it.<br>
|
||||
Regretfully, I am occupied with the construction that is going on for the outer walls of the training hall, which was destroyed during a storm, and cannot perform the task myself. But I think you would be able to help Altran ... What do you think? Will you give it a try?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00101_SwordOfSolidarity 30008-04.htm">Say you will perform the task</Button>
|
||||
</body></html>
|
@ -1,3 +0,0 @@
|
||||
<html><body>Grand Master Roien:<br>
|
||||
I heard that you are helping Altran. They say you are going to find the broken sword blade in the <font color="LEVEL">Elven Ruins.</font> I wish you good luck!
|
||||
</body></html>
|
@ -1,3 +0,0 @@
|
||||
<html><body>Blacksmith Altran:<br>
|
||||
Is this from the blade of the Sword of Solidarity? If only we could find the other half!
|
||||
</body></html>
|
@ -1,3 +0,0 @@
|
||||
<html><body>Blacksmith Altran:<br>
|
||||
You've found the broken sword blades! Quickly, bring them to Altran!
|
||||
</body></html>
|
@ -1,4 +0,0 @@
|
||||
<html><body>Blacksmith Altran:<br>
|
||||
Oh! This is Roien's letter! Thank you!<br>It was a dwarf like me that forged the Sword of Solidarity that's found in the history books, wasn't it? I wonder how a sword that my ancestor made one thousand years ago looked. If I could find the broken sword blade, I'm sure I could remake the Sword of Solidarity in its original form... I'd appreciate it if you could find that broken sword blade for me. Am I asking for too much?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00101_SwordOfSolidarity 30283-02.html">Say that you will look for the broken sword blade.</Button>
|
||||
</body></html>
|
@ -1,4 +0,0 @@
|
||||
<html><body>Blacksmith Altran:<br>
|
||||
According to Roien's research, the blade was broken in half. I think they're somewhere in the Elven Ruins. Or maybe <font color="LEVEL">those dirty orcs who live in the ruins have gotten their paws on them...</font> Those orcs don't know how to handle metal, so they won't be able to reforge the broken pieces into one blade. They're probably using them to peel rabbit skins or something like that.<br>
|
||||
Go to the <font color="LEVEL">Elven Ruins</font> and find <font color="LEVEL">the two broken sword blade pieces.</font> In case you don't know how to get into the ruins, I'll write it down for you in this note. Be careful! Orcs aren't the worst of the dangers in those ruins.
|
||||
</body></html>
|
@ -1,3 +0,0 @@
|
||||
<html><body>Blacksmith Altran:<br>
|
||||
If you still have trouble finding the Elven Ruins after looking at my note, go and ask Guard Kenyos. Once you find the two broken sword blade pieces, bring them to me.
|
||||
</body></html>
|
@ -1,3 +0,0 @@
|
||||
<html><body>Blacksmith Altran:<br>
|
||||
You found them! Hmm. Now I have to make these two sword blade pieces into one. It might take some time. While I take care of this, go meet with <font color="LEVEL">Roien.</font> I'll give you a note for him, asking for the sword handle. Go, bring it to him.</font>
|
||||
</body></html>
|
@ -1,4 +0,0 @@
|
||||
<html><body>Blacksmith Altran:<br>
|
||||
I have to connect the two broken halves together, but it will be a more difficult task than I thought. I'm calculating in my mind how high the temperature of the furnace must be, how many times I should hammer the blade, and other factors.<br>
|
||||
By the way, have you brought back the sword handle from Roien? What do you mean, not yet? Look, if I don't have the sword handle, I can't restore this sword to its original state!
|
||||
</body></html>
|
@ -1,4 +0,0 @@
|
||||
<html><body>Blacksmith Altran:<br>
|
||||
So this is the sword handle. While you were visiting the training hall, I managed to attach the broken blade fragments together. All I have to do now is attach the handle ... Would you wait a moment?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00101_SwordOfSolidarity 30283-07.html">Wait until Altran finishes his task</Button>
|
||||
</body></html>
|
@ -1,5 +0,0 @@
|
||||
<html><body>Blacksmith Altran:<br>
|
||||
Ta da, it's finished! This is the legendary <font color="LEVEL">Sword of Solidarity</font>. Isn't it beautiful? The blade has been crafted of Mithril and hasn't lost its sharpness yet!<br>
|
||||
As my ancestors created this Sword of Solidarity for the Humans of this island a thousand years ago, I will now present you with this sword. Please do not refuse, and accept it as a gift. For your information, Dwarves are happiest when the weapons they create have been placed in the hands of a skilled user. The way I see it, you are qualified to receive this sword.<br>
|
||||
I hope that you will perform a mighty deed appropriate for a sword with such a great history. And if anyone should ask, tell them that Blacksmith Altran reconstructed this sword! May the grace of Maphr be with you!
|
||||
</body></html>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user