Addition of quests todo file.
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
<html><body>Warehouse Chief Natools:<br>
|
||||
Both of these missions are very important.<br>
|
||||
Not only must they be completed quickly, they also have extensive political ramifications.<br>
|
||||
I do not think you are yet ready to take on so important a responsibility.<br>
|
||||
Perhaps with more training and experience...<br>
|
||||
(Only characters level 38 and above who have completed Shadow Fox - 3 are permitted to undertake either the Fallen Angel - Request of Dusk or the Fallen Angel - Request of Dawn quest.)
|
||||
</body></html>
|
@@ -1,9 +0,0 @@
|
||||
<html><body>Warehouse Chief Natools:<br>
|
||||
In the name of Shadow Fox... You must choose now.<br><br>
|
||||
Select either the request of the Temple and the Lords of Dawn, or that of the Preachers of the Wilderness and the Revolutionaries of Dusk...<br>
|
||||
Choose wisely -- once you have made your decision, it cannot be reversed...<br><br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00998_FallenAngelSelect 30894-02.html">"I want to hear about the Lords of Dawn and the Temple again."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00998_FallenAngelSelect 30894-03.html">"I want to hear about the Revolutionaries of Dusk again."</Button><br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00998_FallenAngelSelect dawn">"I will accept the request of the Temple and the Lords of Dawn."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00998_FallenAngelSelect dusk">"I will accept the request of the Revolutionaries of Dusk."</Button>
|
||||
</body></html>
|
@@ -1,9 +0,0 @@
|
||||
<html><body>Warehouse Chief Natools:<br>
|
||||
The Temple and the Rulers of Dawn believe that Einhasad created Humans, and that they are her rightful representatives in this world, with the power to issue commands in her name.<br>
|
||||
They believe that the other gods are inferior to Einhasad, and so their followers should submit to the Temple's leadership in the war against Shilen and the forces of chaos.<br>
|
||||
Unity and order are their chief concerns, and they take a dim view of diversity and individualism.<br>
|
||||
In fact, they believe that only through a unified society built on a rigid hierarchy can justice prevail and the weak be truly protected.<br>
|
||||
Certainly, their argument carries some weight: the weak are daily attacked and exploited, and justice seems but a dream to most...<br>
|
||||
Ultimately, the Temple and the Rulers of Dawn hope for some sort of reborn empire to bring peace and order to the land...<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00998_FallenAngelSelect 30894-01.html">"I will make my decision now."</Button>
|
||||
</body></html>
|
@@ -1,10 +0,0 @@
|
||||
<html><body>Warehouse Chief Natools:<br>
|
||||
They argue that we should respect diversity....<br>
|
||||
They believe that all power and all living things are equal on this earth, and that the Temple and the Lords should use their power to protect the powerless.<br>
|
||||
Instead, they say, the Temple and the Lords simply exploit the people to protect their own interests and vested rights.<br>
|
||||
They are hypocrites...<br>
|
||||
The Revolutionaries of Dusk believe that true peace is not artificially imposed on society by a central authority, but rather achieved through a harmonious diversity of powers and races.<br>
|
||||
They say that Einhasad did not, in fact, create Humans -- that was a myth fabricated by Shunaiman, and the Temple and Lords of Dawn know the truth but are afraid to reveal it...<br>
|
||||
The Revolutionaries of Dusk are dedicated to finding some crucial piece of evidence that would permanently discredit their foes.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00998_FallenAngelSelect 30894-01.html">"I am ready to make my decision..."</Button>
|
||||
</body></html>
|
@@ -1,103 +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.Q00998_FallenAngelSelect;
|
||||
|
||||
import com.l2jmobius.gameserver.instancemanager.QuestManager;
|
||||
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 quests.Q00141_ShadowFoxPart3.Q00141_ShadowFoxPart3;
|
||||
import quests.Q00142_FallenAngelRequestOfDawn.Q00142_FallenAngelRequestOfDawn;
|
||||
import quests.Q00143_FallenAngelRequestOfDusk.Q00143_FallenAngelRequestOfDusk;
|
||||
|
||||
/**
|
||||
* Fallen Angel Select (998 - Custom)<br>
|
||||
* NOTE: This quest is used for start quest 142 or 143
|
||||
* @author Nono
|
||||
*/
|
||||
public class Q00998_FallenAngelSelect extends Quest
|
||||
{
|
||||
// NPCs
|
||||
private static final int NATOOLS = 30894;
|
||||
// Misc
|
||||
private static final int MIN_LEVEL = 38;
|
||||
|
||||
public Q00998_FallenAngelSelect()
|
||||
{
|
||||
super(998, Q00998_FallenAngelSelect.class.getSimpleName(), "Fallen Angel - Select");
|
||||
setIsCustom(true);
|
||||
addStartNpc(NATOOLS);
|
||||
addTalkId(NATOOLS);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
final QuestState qs = getQuestState(player, false);
|
||||
if (qs == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
switch (event)
|
||||
{
|
||||
case "30894-01.html":
|
||||
case "30894-02.html":
|
||||
case "30894-03.html":
|
||||
{
|
||||
return event;
|
||||
}
|
||||
case "dawn":
|
||||
{
|
||||
startQuest(Q00142_FallenAngelRequestOfDawn.class.getSimpleName(), player);
|
||||
break;
|
||||
}
|
||||
case "dusk":
|
||||
{
|
||||
startQuest(Q00143_FallenAngelRequestOfDusk.class.getSimpleName(), player);
|
||||
break;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
private void startQuest(String name, L2PcInstance player)
|
||||
{
|
||||
final Quest q = QuestManager.getInstance().getQuest(name);
|
||||
if (q != null)
|
||||
{
|
||||
q.newQuestState(player);
|
||||
q.notifyEvent("30894-01.html", null, player);
|
||||
player.getQuestState(getName()).setState(State.COMPLETED);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onTalk(L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
final QuestState qs = getQuestState(player, true);
|
||||
final QuestState qst = player.getQuestState(Q00141_ShadowFoxPart3.class.getSimpleName());
|
||||
if ((qst == null) || !qst.isStarted())
|
||||
{
|
||||
return getNoQuestMsg(player);
|
||||
}
|
||||
return ((player.getLevel() >= MIN_LEVEL) && (qs != null) && qs.isCompleted()) ? "30894-01.html" : "30894-00.html";
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user