This commit is contained in:
mobius
2015-01-01 20:02:50 +00:00
parent eeae660458
commit a6a3718849
17894 changed files with 2818932 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
<html><body>Head Blacksmith Roman:<br>
I've been taking a break these past couple of days. I feel as though I deserve it. So whatever business brings you here better be good.<br>
<a action="bypass -h Quest Q00237_WindsOfChange 30897-02.html">Ask his opinion about Dr. Helvetica.</a>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Head Blacksmith Roman:<br>
It is an undeniable certainty that transforming that useless Field of Silence into an industrial zone will make life here more prosperous. Once that happens, I'm going to take all the money I've saved and build my own factory out there. Then it will be bye-bye work and hello money .... lots and lots of money.<br>
<a action="bypass -h Quest Q00237_WindsOfChange 30897-03.html">"Are you serious?"</a>
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Head Blacksmith Roman:<br>
I'm serious as the grave.<br>
What good is that land doing completely undeveloped? Does that reed field make money? Is it benefiting anybody at all?<br>
Dr. Helvetica just wants to ulitize the land... give it a purpose. Developing on that land won't just make him money, it will make money for us all. Can't you see that?<br>
The day that Athenia's plan puts adena in my pocket will be the day that I re-evaluate my decision. But until that time, my patronage goes to Helvetica. Ponder that on your way out.
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Head Blacksmith Roman:<br>
Do you have any more business with me? I've said all I have to say. Unless there's something else, stop bothering me.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Gatekeeper Flauen:<br>
This change may prove less than desirable. I hesitate to put you in danger...<br>
(Only characters who are level 82 or higher may undertake this quest.)
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Gatekeeper Flauen:<br>
This place - my home - has been untouched by the passage of time. But now, the winds of change have begun to blow ... even here amidst the beauty of Heine.<br>
While change often brings with it uncertainty and even anxiety, I sense something indescribable on the wind. Something ominous. Something perhaps even deadly.<br>
I hope these feelings of mine are wrong.<br>
<a action="bypass -h Quest Q00237_WindsOfChange 30899-02.htm">"I hope so too."</a>
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Gatekeeper Flauen:<br>
As you're not from around here, it is not surprising to find that you are unaware of the alarm brewing within our community.<br>
Recently, monsters named <font color="LEVEL">Mucrokians</font> have appeared in the <font color="LEVEL">Field of Silence</font> and the <font color="LEVEL">Field of Whispers</font>. And while they do resemble their Crokian brethren, the likenesses stop there. The Mucrokians are far more powerful and far more deadly.<br>
Moreover...<br>
<a action="bypass -h Quest Q00237_WindsOfChange 30899-03.htm">"Is there more?"</a>
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Gatekeeper Flauen:<br>
In the north, a dwarf by the name of <font color="LEVEL">Dr. Helvetica</font> has appeared in the Fields of Silence. A more dastardly fellow you will never find. If the rumors are true, Dr. Helvetica's plan is to conquer that area by force! It is said that he plans to lead an army of Enchanted Golems through that area, wiping it clean of friend and foe, so he can transform it into an industrial zone!<br>
In order to stop Helvetica's plans, an elf called Athenia has setup camp on the south end of the island, in the Field of Whispers. She is amassing her own following, and means to prevent Dr. Helvetica from getting away with the corruption and desecration of Nature.<br>
But...<br>
<a action="bypass -h Quest Q00237_WindsOfChange 30899-04.htm">"It sounds like Athenia is doing well enough."</a>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Gatekeeper Flauen:<br>
While Athenia is doing all she can to thwart Dr. Helvetica's plans, the land is crying out for your assistance.<br>
Perhaps the providence of Evas has sent you here to us. The current state of affairs cannot last. Won't you lend a hand? Which side you choose to support is up to you...<br>
<a action="bypass -h Quest Q00237_WindsOfChange 30899-05.htm">"Which one do you think I should help?"</a>
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Gatekeeper Flauen:<br>
I place the choice in your hands. But before making it, you must learn more about both sides.<br>
Both sides are seeking assistance from Sir Iason Heine, since he exerts a vast influence here. I suggest you speak with him and ask his advice.<br>
Do you understand?<br>
<a action="bypass -h Quest Q00237_WindsOfChange 30899-06.html">Say yes.</a>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Gatekeeper Flauen:<br>
I hope so. May Eva bless your efforts, my friend. You will find Iason Heine in the warehouse of this village.<br>
Take this letter with you, and good luck!
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Gatekeeper Flauen:<br>
I cannot provide you any more help. Find Sir Iason Heine in the village warehouse and speak with him.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Gatekeeper Flauen:<br>
I have nothing more to say. You should have already arrived to the destination if you used the teleport while chatting like this.<br>
For <font color="LEVEL">Dr. Helvetica</font>, go to the Reed Field of Silence; for <font color="LEVEL">Priestess Athenia</font>, please go to the Reed Field of Whisper.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Gatekeeper Flauen:<br>
I heard the rumor that you had surrendered yourself to the winds of change. I pray you made the right decision...<br>
(You have already completed this quest.)
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Gatekeeper Flauen:<br>
Roman? Ah, you mean the Head Blacksmith!<br>
He should be in the blacksmith's shop, as you would expect.
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Gatekeeper Flauen:<br>
???? You mean by Eva's High Priest? He should be in the Great Temple of Eva...
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>High Priestess Morelyn:<br>
What brings you here, traveler? I can sense that you are not here for spiritual renewal. Why has Eva brought you to us?<br>
<a action="bypass -h Quest Q00237_WindsOfChange 30925-02.html">Ask her opinion about Athenia.</a>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>High Priestess Morelyn:<br>
Ahh, Athenia. I assume you are speaking of the Priestess that fights to ensure the sanctity and preservation of our lands.<br>
She is going to be our savior, you know.<br>
<a action="bypass -h Quest Q00237_WindsOfChange 30925-03.html">"Although I can already see where your inclinations lie, I've come to solicit your opinion of her."</a>
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>High Priestess Morelyn:<br>
Nature is the lifeblood of everyone and everything. The land will only nurture us so long as we nurture it. Athenia understands this and strives protect this delicate balance. And she is willing to do that by any means necessary. And for that, she has my unwaivering support.
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>High Priestess of Eva Morelyn:<br>
You have not left yet? I tell you this again. Please think about the meaning of this place Heine.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Iason Haine:<br>
What is it?<br>
<a action="bypass -h Quest Q00237_WindsOfChange 30969-02.html">Show him Flauen's letter.</a>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Iason Heine:<br>
Hmm... You say this letter was sent by Flauen? She has protected this area for many years, so I must respect her judgment. I've also been watching this situation closely. I assume you'd like to hear my perspective on it?<br>
<a action="bypass -h Quest Q00237_WindsOfChange 30969-03.html">Say yes.</a>
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Iason Heine:<br>
I'm sure you're already aware that <font color="LEVEL">Dr. Helvetica</font> settles in the northern Reed Field, the Reed Field of Silence, whereas <font color="LEVEL">Priestess Athenia</font> settles in the southern Reed Field, the Reed Field of Whisper. Then, what is that you're curious about?<br>
<a action="bypass -h Quest Q00237_WindsOfChange 30969-03a.html">Ask about Dr. Helvetica.</a><br>
<a action="bypass -h Quest Q00237_WindsOfChange 30969-03b.html">Ask about Priestess Athenia.</a><br>
<a action="bypass -h Quest Q00237_WindsOfChange 30969-04.html">Ask what should be done next.</a>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Iason Heine:<br>
What can I say about Dr. Helvetica? The only things I know about him are from his correspondance and idle gossip.<br>
I've heard that he is somewhat of a genius, finding fame and notoriety through his tenure at the Pavel Laboratory. Like Doctor Chaos, he had outgrown the confines of such a stifflingly correct administration. He claims to want the land to the north to build a research facility. It would surely help Innadril's development if I were to support his cause.<br>
<a action="bypass -h Quest Q00237_WindsOfChange 30969-03.html">Back</a>
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Iason Heine:<br>
Are you talking about Athenia? Oh yes, I've heard about her.<br>
Not only is she a passionate believer of Eva, but she is also a powerful priestess who knows well about the ancient rites and rituals. She believes that the land is something to be nurtured and protected. She would like nothing more than to see this area reinvigorated.<br>
Yes, it's true. I am inclined to help her, for in helping her, I can prevent the spread of these horrible Mucrokians.<br>
<a action="bypass -h Quest Q00237_WindsOfChange 30969-03.html">Back</a>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Iason Heine:<br>
To be quite frank, I don't know which side to support. The development of our territory versus the safety of our residents...<br>
I've just been waiting to see how things play out. Perhaps... would you be willing to help me decide?<br>
<a action="bypass -h Quest Q00237_WindsOfChange 30969-05.html">Say yes.</a>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Iason Heine:<br>
As you probably know, I am a busy man. And I don't have the time to address this particular matter personally. So I want you to decide who I should support. Go meet with the supporters of both sides, listen to their opinions and report back to me.<br>
First, I'll set up a meeting with Head Blacksmith Roman who happens to be a supporter of Dr. Helvetica. After that, you'll have a meeting with High Priestess Morelyn who supports this Athenia woman.<br>
After you have meet with these two, come back to me with your decision.
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Iason Heine:<br>
First, meet with Head Blacksmith Roman, the supporter of Dr. Helvetica. And then, meet with High Priestess of Eva Morelyn, the supporter of Atenia. Come back when you are ready to decide.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Iason Heine:<br>
So tell me ... have you gleaned enough information to make a decision?<br>
<a action="bypass -h Quest Q00237_WindsOfChange 30969-08.html">"Yes, I have."</a>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Iason Heine:<br>
I have request letters from the two sides in my hand. Both are asking me for my support. After speaking to advocates of each side, which do you think I should support?<br>
<a action="bypass -h Quest Q00237_WindsOfChange 30969-08a.html">"You should lend your support to Dr. Helvetica."</a><br>
<a action="bypass -h Quest Q00237_WindsOfChange 30969-08b.html">"You should lend your support to Priestess Athenia."</a>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Iason Heine:<br>
Oh, is that so? You want to help Dr. Helvetica, right? But a decision must be carefully made. If you are firm about your decision, I'll ignore the request letter from Priestess Athenia and promise my support to Dr. Helvetica. Are you sure about this? You cannot turn back your choice.<br>
<a action="bypass -h Quest Q00237_WindsOfChange 30969-09.html">"Yes, that's right."</a><br>
<a action="bypass -h Quest Q00237_WindsOfChange 30969-08c.html">"No, I have to think about it again."</a>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Iason Heine:<br>
Is that so? Are you sure about this? Once you have made your choice, there is no going back.<br>
<a action="bypass -h Quest Q00237_WindsOfChange 30969-10.html">"Yes, my decision is firm."</a><br>
<a action="bypass -h Quest Q00237_WindsOfChange 30969-08.html">"No, I think I should mull this over for a bit longer."</a>
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Iason Heine:<br>
Sure, you want to think about it again, right?<br>
Here are the requests letters from the two associations. They want me to support each of them. Which side will you support?<br>
<a action="bypass -h Quest Q00237_WindsOfChange 30969-09.html">"I will help Dr. Helvetica."</a><br>
<a action="bypass -h Quest Q00237_WindsOfChange 30969-10.html">"I will help Priestess Athenia."</a>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Iason Heine:<br>
Very well then. I will disregard Athenia's request.<br>
(Iason tears up her letter right in front of you.)<br>
Ah, here it is. Here is the letter I received from Dr. Helvetica. Take this signed affidavit to him on my behalf. Let him know he now has my full support.
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Iason Heine:<br>
As you wish. And to show that I stand by your decision, I will destroy the note I received from Dr. Helvetica.<br>
(...Iason tears the letter into little pieces and throws them in the air...)<br>
Now take this promissory note to Athenia and let her know that she has my full support.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Iason Heine:<br>
You can't change your mind now! We're both committed to the path you chose.<br>
Hurry and deliver this letter pledging my support.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Dr. Helvetica:<br>
I am still awaiting word from Iason Heine. If I can secure his support, then no man or beast alive will be able to stop me. So what brings you here?<br>
<a action="bypass -h Quest Q00237_WindsOfChange 32641-02.html">"I bring word from Heine."</a>
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Dr. Helvetica:<br>
That is stupendous news, my friend. With Heine's support, there is no way we will be defeated. Please take this as a token of my gratitude!
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Dr. Helvetica:<br>
Haven't I already finished this work? Anyway, I feel good because the news you brought.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Dr. Helvetica:<br>
Ah, thank you very much. This means... Supporting Necromancer... Athenia.. What? What is this? This letter is about supporting Priestess Athenia instead of me!!<br>
Hey, are you joking with me? If you don't get lost right away, I will kick you out with the Bulldozer Rem. Please leave already.
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Dr. Helvetica:<br>
I haven't received any response for the support request from Iason Heine. If he helps, then we can proceed with the business even faster.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Priestess Athenia:<br>
I am waiting on Iason Heine's decision. Only with his support can we rejuvinate this zone to its original splendor. Do you perhaps know of him?<br>
<a action="bypass -h Quest Q00237_WindsOfChange 32643-02.html">"I do. I've brought you a letter from the man, actually."</a>
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Priestess Athenia:<br>
Ah! I'm glad that you came. I'll give you a little reward.
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Priestess Athenia:<br>
We've gained hope that we can win. I thank you once again.
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Priestess Athenia:<br>
Are you a minister of Dr. Helvetica? Why are you showing Support Letter for Dr. Helvetica to me? Please leave now.
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Priestess Athenia:<br>
When would Iason Heine send his reply...? Do you know anything about this?
</body></html>

View File

@@ -0,0 +1,275 @@
/*
* Copyright (C) 2004-2014 L2J DataPack
*
* This file is part of L2J DataPack.
*
* L2J DataPack 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.
*
* L2J DataPack 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.Q00237_WindsOfChange;
import quests.Q00238_SuccessFailureOfBusiness.Q00238_SuccessFailureOfBusiness;
import quests.Q00239_WontYouJoinUs.Q00239_WontYouJoinUs;
import com.l2jserver.gameserver.model.actor.L2Npc;
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
import com.l2jserver.gameserver.model.quest.Quest;
import com.l2jserver.gameserver.model.quest.QuestState;
import com.l2jserver.gameserver.model.quest.State;
/**
* Winds of Change (237)<br>
* Original Jython script by Bloodshed.
* @author Joxit
*/
public class Q00237_WindsOfChange extends Quest
{
// NPCs
private static final int FLAUEN = 30899;
private static final int IASON = 30969;
private static final int ROMAN = 30897;
private static final int MORELYN = 30925;
private static final int HELVETICA = 32641;
private static final int ATHENIA = 32643;
// Items
private static final int FLAUENS_LETTER = 14862;
private static final int DOSKOZER_LETTER = 14863;
private static final int ATHENIA_LETTER = 14864;
private static final int VICINITY_OF_FOS = 14865;
private static final int SUPPORT_CERTIFICATE = 14866;
// Misc
private static final int MIN_LEVEL = 82;
public Q00237_WindsOfChange()
{
super(237, Q00237_WindsOfChange.class.getSimpleName(), "Winds of Change");
addStartNpc(FLAUEN);
addTalkId(FLAUEN, IASON, ROMAN, MORELYN, HELVETICA, ATHENIA);
registerQuestItems(FLAUENS_LETTER, DOSKOZER_LETTER, ATHENIA_LETTER);
}
@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 "30899-02.htm":// FLAUEN
case "30899-03.htm":
case "30899-04.htm":
case "30899-05.htm":
case "30969-03.html":// IASON
case "30969-03a.html":
case "30969-03b.html":
case "30969-04.html":
case "30969-08.html":
case "30969-08a.html":
case "30969-08b.html":
case "30969-08c.html":
case "30897-02.html":// ROMAN
case "30925-02.html":// MORELYN
htmltext = event;
break;
case "30899-06.html":
st.startQuest();
st.giveItems(FLAUENS_LETTER, 1);
htmltext = event;
break;
case "30969-02.html":
st.takeItems(FLAUENS_LETTER, -1);
htmltext = event;
break;
case "30969-05.html":
if (st.isCond(1))
{
st.setCond(2, true);
htmltext = event;
}
break;
case "30897-03.html":
if (st.isCond(2))
{
st.setCond(3, true);
htmltext = event;
}
break;
case "30925-03.html":
if (st.isCond(3))
{
st.setCond(4, true);
htmltext = event;
}
break;
case "30969-09.html":
if (st.isCond(4))
{
st.giveItems(DOSKOZER_LETTER, 1);
st.setCond(5, true);
htmltext = event;
}
break;
case "30969-10.html":
if (st.isCond(4))
{
st.giveItems(ATHENIA_LETTER, 1);
st.setCond(6, true);
htmltext = event;
}
break;
case "32641-02.html":
st.giveAdena(213876, true);
st.giveItems(VICINITY_OF_FOS, 1);
st.addExpAndSp(892773, 60012);
st.exitQuest(false, true);
htmltext = event;
break;
case "32643-02.html":
st.giveAdena(213876, true);
st.giveItems(SUPPORT_CERTIFICATE, 1);
st.addExpAndSp(892773, 60012);
st.exitQuest(false, true);
htmltext = event;
break;
}
return htmltext;
}
@Override
public String onTalk(L2Npc npc, L2PcInstance talker)
{
String htmltext = getNoQuestMsg(talker);
final QuestState st = getQuestState(talker, true);
if (st == null)
{
return htmltext;
}
switch (npc.getId())
{
case FLAUEN:
switch (st.getState())
{
case State.COMPLETED:
htmltext = "30899-09.html";
break;
case State.CREATED:
htmltext = (talker.getLevel() >= MIN_LEVEL) ? "30899-01.htm" : "30899-00.html";
break;
case State.STARTED:
switch (st.getCond())
{
case 1:
case 4:
htmltext = "30899-07.html";
break;
case 2:
htmltext = "30899-10.html";
break;
case 3:
htmltext = "30899-11.html";
break;
case 5:
case 6:
htmltext = "30899-08.html";
break;
}
}
break;
case IASON:
if (st.isCompleted())
{
htmltext = Quest.getNoQuestMsg(talker);
}
else
{
switch (st.getCond())
{
case 1:
htmltext = "30969-01.html";
break;
case 2:
htmltext = "30969-06.html";
break;
case 4:
htmltext = "30969-07.html";
break;
case 5:
case 6:
htmltext = "30969-11.html";
break;
}
}
break;
case ROMAN:
switch (st.getCond())
{
case 2:
htmltext = "30897-01.html";
break;
case 3:
case 4:
htmltext = "30897-04.html";
break;
}
break;
case MORELYN:
switch (st.getCond())
{
case 3:
htmltext = "30925-01.html";
break;
case 4:
htmltext = "30925-04.html";
break;
}
break;
case HELVETICA:
if (st.isCompleted())
{
final QuestState q238 = st.getPlayer().getQuestState(Q00238_SuccessFailureOfBusiness.class.getSimpleName());
htmltext = (st.hasQuestItems(VICINITY_OF_FOS) || ((q238 != null) && q238.isCompleted())) ? "32641-03.html" : "32641-05.html";
}
else if (st.isCond(5))
{
htmltext = "32641-01.html";
}
else if (st.isCond(6))
{
htmltext = "32641-04.html";
}
break;
case ATHENIA:
if (st.isCompleted())
{
final QuestState q239 = st.getPlayer().getQuestState(Q00239_WontYouJoinUs.class.getSimpleName());
htmltext = (st.hasQuestItems(SUPPORT_CERTIFICATE) || ((q239 != null) && q239.isCompleted())) ? "32643-03.html" : "32643-05.html";
}
else if (st.isCond(5))
{
htmltext = "32643-04.html";
}
else if (st.isCond(6))
{
htmltext = "32643-01.html";
}
break;
}
return htmltext;
}
}