Addition of quest 578 and 593.
Contributed by Dmitri.
This commit is contained in:
parent
7bc87406f0
commit
f771a4e7e4
@ -7,12 +7,10 @@
|
||||
557 Red Libra Request - Fall of Etina
|
||||
558 Request from the Red Libra Guild - Sea of Spores
|
||||
559 Request from the Red Libra Guild - Krofin's Nest
|
||||
578 Basic Mission: Cemetery
|
||||
579 Basic Mission: Blazing Swamp
|
||||
585 Can't Go Against the Time
|
||||
586 Mutated Creatures
|
||||
591 Great Ambitions
|
||||
593 Basic Mission: Pagan Temple
|
||||
594 Basic Mission: Dimensional Rift
|
||||
595 Special Mission: Raider's Crossroads
|
||||
596 Special Mission: Defeat Baylor
|
||||
|
@ -0,0 +1,5 @@
|
||||
<html><body>Quartermaster:<br>
|
||||
You are the one that the Adventure Guild sent, huh? Do you want to cooperate? No reason to say no.<br>
|
||||
<font color="LEVEL">(To receive "Cemetery", you have to complete Aden Vanguard Quartermaster quest "The Fallen King's Men" first.)</font><br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00578_BasicMissionCemetery 33407-02.html">"Go on."</Button>
|
||||
</body></html>
|
@ -0,0 +1,3 @@
|
||||
<html><body>Quartermaster:<br>
|
||||
Complete Aden Vanguard Quartermaster’s daily quest. The necessary quest: <font color="LEVEL">The Fallen King's Men</font>.
|
||||
</body></html>
|
@ -0,0 +1,3 @@
|
||||
<html><body>Quartermaster:<br>
|
||||
Complete Aden Vanguard Quartermaster’s daily quest. The necessary quest: <font color="LEVEL">The Fallen King's Men</font>.
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><body>Adventure Guildsman Penny:<br>
|
||||
Your're the one that Hephah has sent, right? If not, you should go meet Herphah and receive a mission from her before you continue. If you think it doesn't matter, I can continue anyway. Do you want me to continue?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00578_BasicMissionCemetery 34413-02.htm">"Sure, no problem!"</button>
|
||||
</body></html>
|
@ -0,0 +1,5 @@
|
||||
<html><body>Adventure Guildsman Penny:<br>
|
||||
Herphah thought the best way for you to grow was to carry out missions with us.<br>
|
||||
I agree with her. If you accomplish the missions I give you, I'm sure you'll quickly become more powerful.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00578_BasicMissionCemetery 34413-03.htm">"Go on."</button>
|
||||
</body></html>
|
@ -0,0 +1,5 @@
|
||||
<html><body>Adventure Guildsman Penny:<br>
|
||||
I know that you're confused. But, you'll understand soon. If you accept the mission, I'll explain right away.<br>
|
||||
Are you interested in further righteous work?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00578_BasicMissionCemetery 34413-04.htm">"Alright."</Button>
|
||||
</body></html>
|
@ -0,0 +1,3 @@
|
||||
<html><body>Adventure Guildsman Penny:<br>
|
||||
You have to accomplish the task at <font color="LEVEL">Cemetery</font> on <font color="LEVEL">Talking Island</font>. To do so, you need to move to the Ruins of Ye Sagira and talk to Aden Vanguard Quartermaster.<br>
|
||||
</body></html>
|
@ -0,0 +1,5 @@
|
||||
<html><body>Adventure Guildsman Penny:<br>
|
||||
The mission I'll give you is to help the task at <font color="LEVEL">Cemetery</font> on <font color="LEVEL">Talking Island</font>.<br>
|
||||
But first, you need to learn how get there.<br>
|
||||
Go to <font color="LEVEL">Gatekeeper Elisa</font>, the Gatekeeper of this town, and she will tell you how to go to the <font color="LEVEL">Cemetery</font>. If you successfully arrive at the ruins, meet Aden Vanguard Quartermaster and listen to him.<br>
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><body>Adventure Guildsman Penny:<br>
|
||||
Welcome back! So, did you do a good job?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00578_BasicMissionCemetery 34413-07.html">"Yes, I did."</Button>
|
||||
</body></html>
|
@ -0,0 +1,3 @@
|
||||
<html><body>Adventure Guildsman Penny:<br>
|
||||
Thanks, you've done a great job! I'm sure eveyone in the Adventure Guild will know your name now. If there is another opportunity, we'd love for you to help us again. Good luck and farewell!
|
||||
</body></html>
|
@ -0,0 +1,173 @@
|
||||
/*
|
||||
* 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.Q00578_BasicMissionCemetery;
|
||||
|
||||
import org.l2jmobius.gameserver.enums.Faction;
|
||||
import org.l2jmobius.gameserver.enums.QuestType;
|
||||
import org.l2jmobius.gameserver.model.actor.Npc;
|
||||
import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||
import org.l2jmobius.gameserver.model.quest.Quest;
|
||||
import org.l2jmobius.gameserver.model.quest.QuestState;
|
||||
import org.l2jmobius.gameserver.model.quest.State;
|
||||
|
||||
/**
|
||||
* Basic Mission: Cemetery (578)
|
||||
* @URL https://l2wiki.com/Basic_Mission:_Cemetery
|
||||
* @author Dmitri
|
||||
*/
|
||||
public class Q00578_BasicMissionCemetery extends Quest
|
||||
{
|
||||
// NPCs
|
||||
private static final int PENNY = 34413;
|
||||
private static final int QUTAERMASTER = 33407;
|
||||
// Rewards
|
||||
private static final int SCROLL_OF_ESCAPE_CEMETERY = 47062;
|
||||
private static final int SCROLL_OF_ESCAPE_TOWN_OF_ADEN = 48413;
|
||||
// Misc
|
||||
private static final int MIN_LEVEL = 97;
|
||||
private static final int MAX_LEVEL = 99;
|
||||
|
||||
public Q00578_BasicMissionCemetery()
|
||||
{
|
||||
super(578);
|
||||
addStartNpc(PENNY);
|
||||
addTalkId(PENNY, QUTAERMASTER);
|
||||
addCondLevel(MIN_LEVEL, MAX_LEVEL, "nolevel.html");
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAdvEvent(String event, Npc npc, PlayerInstance player)
|
||||
{
|
||||
final QuestState qs = getQuestState(player, false);
|
||||
if (qs == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
String htmltext = null;
|
||||
switch (event)
|
||||
{
|
||||
case "34413-02.htm":
|
||||
case "34413-03.htm":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "34413-04.htm":
|
||||
{
|
||||
qs.startQuest();
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "33407-02.html":
|
||||
{
|
||||
qs.setCond(2, true);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "34413-07.html":
|
||||
{
|
||||
// Rewards
|
||||
giveItems(player, SCROLL_OF_ESCAPE_CEMETERY, 1);
|
||||
addExpAndSp(player, 1346064975L, 1346055);
|
||||
addFactionPoints(player, Faction.ADVENTURE_GUILD, 140); // add FP points to ADVENTURE_GUILD Faction
|
||||
qs.exitQuest(QuestType.DAILY, true);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onTalk(Npc npc, PlayerInstance player)
|
||||
{
|
||||
final QuestState qs = getQuestState(player, true);
|
||||
String htmltext = getNoQuestMsg(player);
|
||||
switch (qs.getState())
|
||||
{
|
||||
case State.CREATED:
|
||||
{
|
||||
if (npc.getId() == PENNY)
|
||||
{
|
||||
htmltext = "34413-01.htm";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
{
|
||||
switch (npc.getId())
|
||||
{
|
||||
case PENNY:
|
||||
{
|
||||
if (qs.getCond() == 1)
|
||||
{
|
||||
htmltext = "34413-04.htm";
|
||||
}
|
||||
else if (qs.getCond() == 2)
|
||||
{
|
||||
htmltext = "33509-05.html";
|
||||
}
|
||||
else if (qs.getCond() == 3)
|
||||
{
|
||||
htmltext = "34413-06.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case QUTAERMASTER:
|
||||
{
|
||||
if (qs.getCond() == 1)
|
||||
{
|
||||
htmltext = "33407-01.html";
|
||||
}
|
||||
else if (qs.getCond() == 2)
|
||||
{
|
||||
final QuestState st = player.getQuestState("Q00758_TheFallenKingsMen");
|
||||
if ((st != null) && st.isCompleted())
|
||||
{
|
||||
qs.setCond(3, true);
|
||||
giveItems(player, SCROLL_OF_ESCAPE_TOWN_OF_ADEN, 1);
|
||||
htmltext = null;
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = "33407-03.html";
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case State.COMPLETED:
|
||||
|
||||
{
|
||||
if (qs.isNowAvailable())
|
||||
{
|
||||
qs.setState(State.CREATED);
|
||||
htmltext = "34413-01.htm";
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = getAlreadyCompletedMsg(player, QuestType.DAILY);
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
<html><body>Penny:<br>
|
||||
I don't understand why someone like you is interested in this mission?<br>
|
||||
(Only characters above Lv.97-99.)
|
||||
</body></html>
|
@ -0,0 +1,5 @@
|
||||
<html><body>Tapoy:<br>
|
||||
hello wanderer. You need to complete one quest.<br>
|
||||
The necessary quest: Conspiracy Behind Doors.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00593_BasicMissionPaganTemple 31329-02.html">"I'm listening to"</Button>
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><body>Tapoy:<br>
|
||||
as soon as you complete the task, come back to me<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00593_BasicMissionPaganTemple 31329-03.html">"What's that?"</Button>
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><body>Tapoy:<br>
|
||||
you need to complete the task <font color="LEVEL">Conspiracy Behind Doors</font>.<br>
|
||||
Anyway, there's no other option. Go and check the missions.<br>
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><body>Tapoy:<br>
|
||||
you need to complete the task <font color="LEVEL">Conspiracy Behind Doors</font>.<br>
|
||||
Anyway, there's no other option. Go and check the missions.<br>
|
||||
</body></html>
|
@ -0,0 +1,5 @@
|
||||
<html><body>Heset:<br>
|
||||
I asked the Adventure Guild to send an adventurer but didn't expect they would send you. I'd like to see how good you are.<br>
|
||||
<font color="LEVEL">(To complete the "Basic Mission: Pagan Temple", you must complete the "Triol's Movement".)</font><br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00593_BasicMissionPaganTemple 33803-02.html">"Go on."</Button>
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><body>Heset:<br>
|
||||
Go and complete the main task. I hope for you.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00593_BasicMissionPaganTemple 33803-03.html">"Go on."</Button>
|
||||
</body></html>
|
@ -0,0 +1,3 @@
|
||||
<html><body>Heset:<br>
|
||||
how to complete the quest: <font color="LEVEL">Triol's Movement</font> come back to me.
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><body>Heset:<br>
|
||||
hello traveler. You have already completed the quest <font color="LEVEL">Triol's Movement</font>.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00593_BasicMissionPaganTemple 33803-05.html">"Go on."</Button>
|
||||
</body></html>
|
@ -0,0 +1,5 @@
|
||||
<html><body>Heset:<br>
|
||||
You completed all the missions I gave you, meaning that you also completed those of the Adventure Guildsman. Are you going back to the Town of Aden? How?<br>
|
||||
Don't tell me you're going to walk all the way up there. I know a better way.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00593_BasicMissionPaganTemple usescroll">"Go on Aden."</Button>
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><body>Adventure Guildsman Penny:<br>
|
||||
Your're the one that Hephah has sent, right? If not, you should go meet Herphah and receive a mission from her before you continue. If you think it doesn't matter, I can continue anyway. Do you want me to continue?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00593_BasicMissionPaganTemple 34413-02.htm">"Sure, no problem!"</button>
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><body>Adventure Guildsman Penny:<br>
|
||||
Herphah wants you to do some missions, and I'll chose an appropriate mission depending on your relationship with us at the Adventure Guild.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00593_BasicMissionPaganTemple 34413-03.htm">"Go on."</button>
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><body>Adventure Guildsman Penny:<br>
|
||||
You need to know how to get into the quest area. Talk to Priest Eliyah in Rune Township. If successful, our Adventure Guild will give you additional rewards on top of the mission payment and your relationship with our faction will grow even stronger.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00593_BasicMissionPaganTemple 34413-04.htm">"Alright."</Button>
|
||||
</body></html>
|
@ -0,0 +1,5 @@
|
||||
<html><body>Adventure Guildsman Penny:<br>
|
||||
You have already collected everything you need to know about the mission. You should be able to start a mission right away without further explanation.<br>
|
||||
But if you want to listen to the explanation again, I'd be happy to tell you.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00593_BasicMissionPaganTemple 34413-05.html">"Receive the mission."</Button>
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><body>Adventure Guildsman Penny:<br>
|
||||
Good choice. Now, go to <font color="LEVEL">Eliyah</font> at the <font color="LEVEL">Rune Township</font> and do the mission that she gives you. When the mission is done, come back to me.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00593_BasicMissionPaganTemple 34413-06.html">"Yes, I did."</Button>
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><body>Adventure Guildsman Penny:<br>
|
||||
You must learn how to get to the mission area. Speak with Priest Ellia in Rune<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00593_BasicMissionPaganTemple 34413-07.html">"Yes, I did."</Button>
|
||||
</body></html>
|
@ -0,0 +1,5 @@
|
||||
<html><body>Adventure Guildsman Penny:<br>
|
||||
I hope you can help us.<br>
|
||||
go and fulfill the request of Priest <font color="LEVEL">Eliyah</font> in <font color="LEVEL">Rune Township</font>.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00593_BasicMissionPaganTemple 34413-08.html">"Yes, I did."</Button>
|
||||
</body></html>
|
@ -0,0 +1,5 @@
|
||||
<html><body>Adventure Guildsman Penny:<br>
|
||||
I hope you can help us.<br>
|
||||
go and fulfill the request of Priest <font color="LEVEL">Eliyah</font> in <font color="LEVEL">Rune Township</font>.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00593_BasicMissionPaganTemple 34413-08.html">"Yes, I did."</Button>
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><body>Adventure Guildsman Penny:<br>
|
||||
Welcome back! So, did you do a good job?.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00593_BasicMissionPaganTemple 34413-10.html">"Yes, I did."</Button>
|
||||
</body></html>
|
@ -0,0 +1,3 @@
|
||||
<html><body>Adventure Guildsman Penny:<br>
|
||||
Thanks, you've done a great job! I'm sure eveyone in the Adventure Guild will know your name now. If there is another opportunity, we'd love for you to help us again. Good luck and farewell!.<br>
|
||||
</body></html>
|
@ -0,0 +1,229 @@
|
||||
/*
|
||||
* 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.Q00593_BasicMissionPaganTemple;
|
||||
|
||||
import org.l2jmobius.gameserver.enums.Faction;
|
||||
import org.l2jmobius.gameserver.enums.QuestType;
|
||||
import org.l2jmobius.gameserver.model.Location;
|
||||
import org.l2jmobius.gameserver.model.actor.Npc;
|
||||
import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||
import org.l2jmobius.gameserver.model.quest.Quest;
|
||||
import org.l2jmobius.gameserver.model.quest.QuestState;
|
||||
import org.l2jmobius.gameserver.model.quest.State;
|
||||
|
||||
/**
|
||||
* Basic Mission: Pagan Temple (593)
|
||||
* @URL https://l2wiki.com/Basic_Mission:_Pagan_Temple
|
||||
* @author Dmitri
|
||||
*/
|
||||
public class Q00593_BasicMissionPaganTemple extends Quest
|
||||
{
|
||||
// NPCs
|
||||
private static final int PENNY = 34413;
|
||||
private static final int RAZEN = 33803;
|
||||
private static final int ELIYAH = 31329;
|
||||
// Rewards
|
||||
private static final int SCROLL_OF_ESCAPE_PAGAN_TEMPLE = 40225;
|
||||
private static final int SCROLL_OF_ESCAPE_TOWN_OF_ADEN = 48413;
|
||||
// Misc
|
||||
private static final int MIN_LEVEL = 97;
|
||||
private static final int MAX_LEVEL = 99;
|
||||
// Location
|
||||
private static final Location TOWN_OF_ADEN = new Location(146632, 26760, -2213);
|
||||
|
||||
public Q00593_BasicMissionPaganTemple()
|
||||
{
|
||||
super(593);
|
||||
addStartNpc(PENNY);
|
||||
addTalkId(PENNY, RAZEN, ELIYAH);
|
||||
addCondLevel(MIN_LEVEL, MAX_LEVEL, "nolevel.html");
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAdvEvent(String event, Npc npc, PlayerInstance player)
|
||||
{
|
||||
final QuestState qs = getQuestState(player, false);
|
||||
if (qs == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
String htmltext = null;
|
||||
switch (event)
|
||||
{
|
||||
case "34413-02.htm":
|
||||
case "34413-03.htm":
|
||||
case "34413-06.html":
|
||||
case "34413-07.html":
|
||||
case "31329-02.html":
|
||||
case "33803-02.html":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "34413-04.htm":
|
||||
{
|
||||
qs.startQuest();
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "34413-08.html": // PENNY
|
||||
{
|
||||
qs.setCond(2, true);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "31329-03.html": // ELIYAH
|
||||
{
|
||||
qs.setCond(3, true);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "33803-03.html": // RAZEN
|
||||
{
|
||||
qs.setCond(5, true);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "33803-05.html": // RAZEN
|
||||
{
|
||||
giveItems(player, SCROLL_OF_ESCAPE_TOWN_OF_ADEN, 1);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "usescroll":
|
||||
{
|
||||
// TODO: force player to use item SCROLL_OF_ESCAPE_TOWN_OF_ADEN
|
||||
player.teleToLocation(TOWN_OF_ADEN); // Town of Aden near Npc Penny - temp solution
|
||||
takeItems(player, SCROLL_OF_ESCAPE_TOWN_OF_ADEN, -1); // remove SOE - temp solution
|
||||
break;
|
||||
}
|
||||
case "34413-10.html":
|
||||
{
|
||||
// Rewards
|
||||
giveItems(player, SCROLL_OF_ESCAPE_PAGAN_TEMPLE, 1);
|
||||
addExpAndSp(player, 1346064975L, 1346055);
|
||||
addFactionPoints(player, Faction.ADVENTURE_GUILD, 140); // add FP points to ADVENTURE_GUILD Faction
|
||||
qs.exitQuest(QuestType.DAILY, true);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onTalk(Npc npc, PlayerInstance player)
|
||||
{
|
||||
final QuestState qs = getQuestState(player, true);
|
||||
String htmltext = getNoQuestMsg(player);
|
||||
switch (qs.getState())
|
||||
{
|
||||
case State.CREATED:
|
||||
{
|
||||
if (npc.getId() == PENNY)
|
||||
{
|
||||
htmltext = "34413-01.htm";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
{
|
||||
switch (npc.getId())
|
||||
{
|
||||
case PENNY:
|
||||
{
|
||||
if (qs.getCond() == 1)
|
||||
{
|
||||
htmltext = "34413-05.html";
|
||||
}
|
||||
else if (qs.getCond() == 2)
|
||||
{
|
||||
htmltext = "34413-08.html";
|
||||
}
|
||||
else if (qs.getCond() == 6)
|
||||
{
|
||||
htmltext = "34413-09.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case ELIYAH:
|
||||
{
|
||||
if (qs.getCond() == 2)
|
||||
{
|
||||
htmltext = "31329-01.html";
|
||||
}
|
||||
else if (qs.getCond() == 3)
|
||||
{
|
||||
final QuestState st = player.getQuestState("Q10388_ConspiracyBehindDoor");
|
||||
if ((st != null) && st.isCompleted())
|
||||
{
|
||||
qs.setCond(4, true);
|
||||
htmltext = null;
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = "31329-03.html";
|
||||
}
|
||||
}
|
||||
else if (qs.getCond() == 4)
|
||||
{
|
||||
htmltext = "31329-04.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case RAZEN:
|
||||
{
|
||||
if (qs.getCond() == 4)
|
||||
{
|
||||
htmltext = "33803-01.html";
|
||||
}
|
||||
else if (qs.getCond() == 5)
|
||||
{
|
||||
final QuestState st = player.getQuestState("Q00757_TriolsMovement");
|
||||
if ((st != null) && st.isCompleted())
|
||||
{
|
||||
qs.setCond(6, true);
|
||||
htmltext = "33803-04.html";
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = "33803-03.html";
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case State.COMPLETED:
|
||||
{
|
||||
if (qs.isNowAvailable())
|
||||
{
|
||||
qs.setState(State.CREATED);
|
||||
htmltext = "34413-01.htm";
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = getAlreadyCompletedMsg(player, QuestType.DAILY);
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
<html><body>Penny:<br>
|
||||
I don't understand why someone like you is interested in this mission?<br>
|
||||
(Only characters above Lv.97-99.)
|
||||
</body></html>
|
@ -131,6 +131,7 @@ import quests.Q00573_SpecialMissionProofOfStrengthFieldRaid.Q00573_SpecialMissio
|
||||
import quests.Q00574_SpecialMissionNornilsGarden.Q00574_SpecialMissionNornilsGarden;
|
||||
import quests.Q00576_SpecialMissionDefeatSpezion.Q00576_SpecialMissionDefeatSpezion;
|
||||
import quests.Q00577_BasicMissionSilentValley.Q00577_BasicMissionSilentValley;
|
||||
import quests.Q00578_BasicMissionCemetery.Q00578_BasicMissionCemetery;
|
||||
import quests.Q00580_BeyondTheMemories.Q00580_BeyondTheMemories;
|
||||
import quests.Q00581_ThePurificationRitual.Q00581_ThePurificationRitual;
|
||||
import quests.Q00582_WashBloodWithBlood.Q00582_WashBloodWithBlood;
|
||||
@ -140,6 +141,7 @@ import quests.Q00587_MoreAggressiveOperation.Q00587_MoreAggressiveOperation;
|
||||
import quests.Q00588_HeadOnCrash.Q00588_HeadOnCrash;
|
||||
import quests.Q00589_ASecretChange.Q00589_ASecretChange;
|
||||
import quests.Q00590_ToEachTheirOwn.Q00590_ToEachTheirOwn;
|
||||
import quests.Q00593_BasicMissionPaganTemple.Q00593_BasicMissionPaganTemple;
|
||||
import quests.Q00600_KeyToTheRefiningProcess.Q00600_KeyToTheRefiningProcess;
|
||||
import quests.Q00617_GatherTheFlames.Q00617_GatherTheFlames;
|
||||
import quests.Q00618_IntoTheFlame.Q00618_IntoTheFlame;
|
||||
@ -492,12 +494,10 @@ import quests.custom.Q10520_TempleGuardians.Q10520_TempleGuardians;
|
||||
import quests.custom.Q10529_IvoryTowersResearchFloatingSeaJournal.Q10529_IvoryTowersResearchFloatingSeaJournal;
|
||||
import quests.custom.Q10533_OrfensAmbition.Q10533_OrfensAmbition;
|
||||
import quests.not_done.Q00504_CompetitionForTheBanditStronghold;
|
||||
import quests.not_done.Q00578_BasicMissionCemetery;
|
||||
import quests.not_done.Q00579_BasicMissionBlazingSwamp;
|
||||
import quests.not_done.Q00585_CantGoAgainstTheTime;
|
||||
import quests.not_done.Q00586_MutatedCreatures;
|
||||
import quests.not_done.Q00591_GreatAmbitions;
|
||||
import quests.not_done.Q00593_BasicMissionPaganTemple;
|
||||
import quests.not_done.Q00594_BasicMissionDimensionalRift;
|
||||
import quests.not_done.Q00595_SpecialMissionRaidersCrossroads;
|
||||
import quests.not_done.Q00596_SpecialMissionDefeatBaylor;
|
||||
@ -709,7 +709,7 @@ public class QuestMasterHandler
|
||||
Q00574_SpecialMissionNornilsGarden.class,
|
||||
Q00576_SpecialMissionDefeatSpezion.class,
|
||||
Q00577_BasicMissionSilentValley.class,
|
||||
Q00578_BasicMissionCemetery.class, // TODO: Not done.
|
||||
Q00578_BasicMissionCemetery.class,
|
||||
Q00579_BasicMissionBlazingSwamp.class, // TODO: Not done.
|
||||
Q00580_BeyondTheMemories.class,
|
||||
Q00581_ThePurificationRitual.class,
|
||||
@ -723,7 +723,7 @@ public class QuestMasterHandler
|
||||
Q00589_ASecretChange.class,
|
||||
Q00590_ToEachTheirOwn.class,
|
||||
Q00591_GreatAmbitions.class, // TODO: Not done.
|
||||
Q00593_BasicMissionPaganTemple.class, // TODO: Not done.
|
||||
Q00593_BasicMissionPaganTemple.class,
|
||||
Q00594_BasicMissionDimensionalRift.class, // TODO: Not done.
|
||||
Q00595_SpecialMissionRaidersCrossroads.class, // TODO: Not done.
|
||||
Q00596_SpecialMissionDefeatBaylor.class, // TODO: Not done.
|
||||
|
@ -1,36 +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.not_done;
|
||||
|
||||
import org.l2jmobius.Config;
|
||||
import org.l2jmobius.gameserver.model.quest.Quest;
|
||||
|
||||
/**
|
||||
* @author Mobius
|
||||
*/
|
||||
public class Q00578_BasicMissionCemetery extends Quest
|
||||
{
|
||||
private static final int START_NPC = 34413;
|
||||
|
||||
public Q00578_BasicMissionCemetery()
|
||||
{
|
||||
super(578);
|
||||
addStartNpc(START_NPC);
|
||||
addTalkId(START_NPC);
|
||||
addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null));
|
||||
}
|
||||
}
|
@ -1,36 +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.not_done;
|
||||
|
||||
import org.l2jmobius.Config;
|
||||
import org.l2jmobius.gameserver.model.quest.Quest;
|
||||
|
||||
/**
|
||||
* @author Mobius
|
||||
*/
|
||||
public class Q00593_BasicMissionPaganTemple extends Quest
|
||||
{
|
||||
private static final int START_NPC = 34413;
|
||||
|
||||
public Q00593_BasicMissionPaganTemple()
|
||||
{
|
||||
super(593);
|
||||
addStartNpc(START_NPC);
|
||||
addTalkId(START_NPC);
|
||||
addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null));
|
||||
}
|
||||
}
|
@ -39,12 +39,10 @@
|
||||
557 Red Libra Request - Fall of Etina
|
||||
558 Red Libra Request - Sea of Spores
|
||||
559 Request from the Red Libra Guild - Krofin's Nest
|
||||
578 Basic Mission: Cemetery
|
||||
585 Can't Go Against the Time
|
||||
586 Mutated Creatures
|
||||
591 Great Ambitions
|
||||
592 Snow's Plea - Monsters from Three Areas
|
||||
593 Basic Mission: Pagan Temple
|
||||
594 Basic Mission: Dimensional Rift
|
||||
595 Special Mission: Raider's Crossroads
|
||||
596 Special Mission: Defeat Baylor
|
||||
|
@ -0,0 +1,5 @@
|
||||
<html><body>Quartermaster:<br>
|
||||
You are the one that the Adventure Guild sent, huh? Do you want to cooperate? No reason to say no.<br>
|
||||
<font color="LEVEL">(To receive "Cemetery", you have to complete Aden Vanguard Quartermaster quest "The Fallen King's Men" first.)</font><br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00578_BasicMissionCemetery 33407-02.html">"Go on."</Button>
|
||||
</body></html>
|
@ -0,0 +1,3 @@
|
||||
<html><body>Quartermaster:<br>
|
||||
Complete Aden Vanguard Quartermaster’s daily quest. The necessary quest: <font color="LEVEL">The Fallen King's Men</font>.
|
||||
</body></html>
|
@ -0,0 +1,3 @@
|
||||
<html><body>Quartermaster:<br>
|
||||
Complete Aden Vanguard Quartermaster’s daily quest. The necessary quest: <font color="LEVEL">The Fallen King's Men</font>.
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><body>Adventure Guildsman Penny:<br>
|
||||
Your're the one that Hephah has sent, right? If not, you should go meet Herphah and receive a mission from her before you continue. If you think it doesn't matter, I can continue anyway. Do you want me to continue?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00578_BasicMissionCemetery 34413-02.htm">"Sure, no problem!"</button>
|
||||
</body></html>
|
@ -0,0 +1,5 @@
|
||||
<html><body>Adventure Guildsman Penny:<br>
|
||||
Herphah thought the best way for you to grow was to carry out missions with us.<br>
|
||||
I agree with her. If you accomplish the missions I give you, I'm sure you'll quickly become more powerful.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00578_BasicMissionCemetery 34413-03.htm">"Go on."</button>
|
||||
</body></html>
|
@ -0,0 +1,5 @@
|
||||
<html><body>Adventure Guildsman Penny:<br>
|
||||
I know that you're confused. But, you'll understand soon. If you accept the mission, I'll explain right away.<br>
|
||||
Are you interested in further righteous work?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00578_BasicMissionCemetery 34413-04.htm">"Alright."</Button>
|
||||
</body></html>
|
@ -0,0 +1,3 @@
|
||||
<html><body>Adventure Guildsman Penny:<br>
|
||||
You have to accomplish the task at <font color="LEVEL">Cemetery</font> on <font color="LEVEL">Talking Island</font>. To do so, you need to move to the Ruins of Ye Sagira and talk to Aden Vanguard Quartermaster.<br>
|
||||
</body></html>
|
@ -0,0 +1,5 @@
|
||||
<html><body>Adventure Guildsman Penny:<br>
|
||||
The mission I'll give you is to help the task at <font color="LEVEL">Cemetery</font> on <font color="LEVEL">Talking Island</font>.<br>
|
||||
But first, you need to learn how get there.<br>
|
||||
Go to <font color="LEVEL">Gatekeeper Elisa</font>, the Gatekeeper of this town, and she will tell you how to go to the <font color="LEVEL">Cemetery</font>. If you successfully arrive at the ruins, meet Aden Vanguard Quartermaster and listen to him.<br>
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><body>Adventure Guildsman Penny:<br>
|
||||
Welcome back! So, did you do a good job?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00578_BasicMissionCemetery 34413-07.html">"Yes, I did."</Button>
|
||||
</body></html>
|
@ -0,0 +1,3 @@
|
||||
<html><body>Adventure Guildsman Penny:<br>
|
||||
Thanks, you've done a great job! I'm sure eveyone in the Adventure Guild will know your name now. If there is another opportunity, we'd love for you to help us again. Good luck and farewell!
|
||||
</body></html>
|
@ -0,0 +1,173 @@
|
||||
/*
|
||||
* 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.Q00578_BasicMissionCemetery;
|
||||
|
||||
import org.l2jmobius.gameserver.enums.Faction;
|
||||
import org.l2jmobius.gameserver.enums.QuestType;
|
||||
import org.l2jmobius.gameserver.model.actor.Npc;
|
||||
import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||
import org.l2jmobius.gameserver.model.quest.Quest;
|
||||
import org.l2jmobius.gameserver.model.quest.QuestState;
|
||||
import org.l2jmobius.gameserver.model.quest.State;
|
||||
|
||||
/**
|
||||
* Basic Mission: Cemetery (578)
|
||||
* @URL https://l2wiki.com/Basic_Mission:_Cemetery
|
||||
* @author Dmitri
|
||||
*/
|
||||
public class Q00578_BasicMissionCemetery extends Quest
|
||||
{
|
||||
// NPCs
|
||||
private static final int PENNY = 34413;
|
||||
private static final int QUTAERMASTER = 33407;
|
||||
// Rewards
|
||||
private static final int SCROLL_OF_ESCAPE_CEMETERY = 47062;
|
||||
private static final int SCROLL_OF_ESCAPE_TOWN_OF_ADEN = 48413;
|
||||
// Misc
|
||||
private static final int MIN_LEVEL = 97;
|
||||
private static final int MAX_LEVEL = 99;
|
||||
|
||||
public Q00578_BasicMissionCemetery()
|
||||
{
|
||||
super(578);
|
||||
addStartNpc(PENNY);
|
||||
addTalkId(PENNY, QUTAERMASTER);
|
||||
addCondLevel(MIN_LEVEL, MAX_LEVEL, "nolevel.html");
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAdvEvent(String event, Npc npc, PlayerInstance player)
|
||||
{
|
||||
final QuestState qs = getQuestState(player, false);
|
||||
if (qs == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
String htmltext = null;
|
||||
switch (event)
|
||||
{
|
||||
case "34413-02.htm":
|
||||
case "34413-03.htm":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "34413-04.htm":
|
||||
{
|
||||
qs.startQuest();
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "33407-02.html":
|
||||
{
|
||||
qs.setCond(2, true);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "34413-07.html":
|
||||
{
|
||||
// Rewards
|
||||
giveItems(player, SCROLL_OF_ESCAPE_CEMETERY, 1);
|
||||
addExpAndSp(player, 1346064975L, 1346055);
|
||||
addFactionPoints(player, Faction.ADVENTURE_GUILD, 140); // add FP points to ADVENTURE_GUILD Faction
|
||||
qs.exitQuest(QuestType.DAILY, true);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onTalk(Npc npc, PlayerInstance player)
|
||||
{
|
||||
final QuestState qs = getQuestState(player, true);
|
||||
String htmltext = getNoQuestMsg(player);
|
||||
switch (qs.getState())
|
||||
{
|
||||
case State.CREATED:
|
||||
{
|
||||
if (npc.getId() == PENNY)
|
||||
{
|
||||
htmltext = "34413-01.htm";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
{
|
||||
switch (npc.getId())
|
||||
{
|
||||
case PENNY:
|
||||
{
|
||||
if (qs.getCond() == 1)
|
||||
{
|
||||
htmltext = "34413-04.htm";
|
||||
}
|
||||
else if (qs.getCond() == 2)
|
||||
{
|
||||
htmltext = "33509-05.html";
|
||||
}
|
||||
else if (qs.getCond() == 3)
|
||||
{
|
||||
htmltext = "34413-06.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case QUTAERMASTER:
|
||||
{
|
||||
if (qs.getCond() == 1)
|
||||
{
|
||||
htmltext = "33407-01.html";
|
||||
}
|
||||
else if (qs.getCond() == 2)
|
||||
{
|
||||
final QuestState st = player.getQuestState("Q00758_TheFallenKingsMen");
|
||||
if ((st != null) && st.isCompleted())
|
||||
{
|
||||
qs.setCond(3, true);
|
||||
giveItems(player, SCROLL_OF_ESCAPE_TOWN_OF_ADEN, 1);
|
||||
htmltext = null;
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = "33407-03.html";
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case State.COMPLETED:
|
||||
|
||||
{
|
||||
if (qs.isNowAvailable())
|
||||
{
|
||||
qs.setState(State.CREATED);
|
||||
htmltext = "34413-01.htm";
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = getAlreadyCompletedMsg(player, QuestType.DAILY);
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
<html><body>Penny:<br>
|
||||
I don't understand why someone like you is interested in this mission?<br>
|
||||
(Only characters above Lv.97-99.)
|
||||
</body></html>
|
@ -0,0 +1,5 @@
|
||||
<html><body>Tapoy:<br>
|
||||
hello wanderer. You need to complete one quest.<br>
|
||||
The necessary quest: Conspiracy Behind Doors.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00593_BasicMissionPaganTemple 31329-02.html">"I'm listening to"</Button>
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><body>Tapoy:<br>
|
||||
as soon as you complete the task, come back to me<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00593_BasicMissionPaganTemple 31329-03.html">"What's that?"</Button>
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><body>Tapoy:<br>
|
||||
you need to complete the task <font color="LEVEL">Conspiracy Behind Doors</font>.<br>
|
||||
Anyway, there's no other option. Go and check the missions.<br>
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><body>Tapoy:<br>
|
||||
you need to complete the task <font color="LEVEL">Conspiracy Behind Doors</font>.<br>
|
||||
Anyway, there's no other option. Go and check the missions.<br>
|
||||
</body></html>
|
@ -0,0 +1,5 @@
|
||||
<html><body>Heset:<br>
|
||||
I asked the Adventure Guild to send an adventurer but didn't expect they would send you. I'd like to see how good you are.<br>
|
||||
<font color="LEVEL">(To complete the "Basic Mission: Pagan Temple", you must complete the "Triol's Movement".)</font><br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00593_BasicMissionPaganTemple 33803-02.html">"Go on."</Button>
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><body>Heset:<br>
|
||||
Go and complete the main task. I hope for you.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00593_BasicMissionPaganTemple 33803-03.html">"Go on."</Button>
|
||||
</body></html>
|
@ -0,0 +1,3 @@
|
||||
<html><body>Heset:<br>
|
||||
how to complete the quest: <font color="LEVEL">Triol's Movement</font> come back to me.
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><body>Heset:<br>
|
||||
hello traveler. You have already completed the quest <font color="LEVEL">Triol's Movement</font>.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00593_BasicMissionPaganTemple 33803-05.html">"Go on."</Button>
|
||||
</body></html>
|
@ -0,0 +1,5 @@
|
||||
<html><body>Heset:<br>
|
||||
You completed all the missions I gave you, meaning that you also completed those of the Adventure Guildsman. Are you going back to the Town of Aden? How?<br>
|
||||
Don't tell me you're going to walk all the way up there. I know a better way.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00593_BasicMissionPaganTemple usescroll">"Go on Aden."</Button>
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><body>Adventure Guildsman Penny:<br>
|
||||
Your're the one that Hephah has sent, right? If not, you should go meet Herphah and receive a mission from her before you continue. If you think it doesn't matter, I can continue anyway. Do you want me to continue?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00593_BasicMissionPaganTemple 34413-02.htm">"Sure, no problem!"</button>
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><body>Adventure Guildsman Penny:<br>
|
||||
Herphah wants you to do some missions, and I'll chose an appropriate mission depending on your relationship with us at the Adventure Guild.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00593_BasicMissionPaganTemple 34413-03.htm">"Go on."</button>
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><body>Adventure Guildsman Penny:<br>
|
||||
You need to know how to get into the quest area. Talk to Priest Eliyah in Rune Township. If successful, our Adventure Guild will give you additional rewards on top of the mission payment and your relationship with our faction will grow even stronger.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00593_BasicMissionPaganTemple 34413-04.htm">"Alright."</Button>
|
||||
</body></html>
|
@ -0,0 +1,5 @@
|
||||
<html><body>Adventure Guildsman Penny:<br>
|
||||
You have already collected everything you need to know about the mission. You should be able to start a mission right away without further explanation.<br>
|
||||
But if you want to listen to the explanation again, I'd be happy to tell you.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00593_BasicMissionPaganTemple 34413-05.html">"Receive the mission."</Button>
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><body>Adventure Guildsman Penny:<br>
|
||||
Good choice. Now, go to <font color="LEVEL">Eliyah</font> at the <font color="LEVEL">Rune Township</font> and do the mission that she gives you. When the mission is done, come back to me.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00593_BasicMissionPaganTemple 34413-06.html">"Yes, I did."</Button>
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><body>Adventure Guildsman Penny:<br>
|
||||
You must learn how to get to the mission area. Speak with Priest Ellia in Rune<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00593_BasicMissionPaganTemple 34413-07.html">"Yes, I did."</Button>
|
||||
</body></html>
|
@ -0,0 +1,5 @@
|
||||
<html><body>Adventure Guildsman Penny:<br>
|
||||
I hope you can help us.<br>
|
||||
go and fulfill the request of Priest <font color="LEVEL">Eliyah</font> in <font color="LEVEL">Rune Township</font>.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00593_BasicMissionPaganTemple 34413-08.html">"Yes, I did."</Button>
|
||||
</body></html>
|
@ -0,0 +1,5 @@
|
||||
<html><body>Adventure Guildsman Penny:<br>
|
||||
I hope you can help us.<br>
|
||||
go and fulfill the request of Priest <font color="LEVEL">Eliyah</font> in <font color="LEVEL">Rune Township</font>.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00593_BasicMissionPaganTemple 34413-08.html">"Yes, I did."</Button>
|
||||
</body></html>
|
@ -0,0 +1,4 @@
|
||||
<html><body>Adventure Guildsman Penny:<br>
|
||||
Welcome back! So, did you do a good job?.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00593_BasicMissionPaganTemple 34413-10.html">"Yes, I did."</Button>
|
||||
</body></html>
|
@ -0,0 +1,3 @@
|
||||
<html><body>Adventure Guildsman Penny:<br>
|
||||
Thanks, you've done a great job! I'm sure eveyone in the Adventure Guild will know your name now. If there is another opportunity, we'd love for you to help us again. Good luck and farewell!.<br>
|
||||
</body></html>
|
@ -0,0 +1,229 @@
|
||||
/*
|
||||
* 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.Q00593_BasicMissionPaganTemple;
|
||||
|
||||
import org.l2jmobius.gameserver.enums.Faction;
|
||||
import org.l2jmobius.gameserver.enums.QuestType;
|
||||
import org.l2jmobius.gameserver.model.Location;
|
||||
import org.l2jmobius.gameserver.model.actor.Npc;
|
||||
import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||
import org.l2jmobius.gameserver.model.quest.Quest;
|
||||
import org.l2jmobius.gameserver.model.quest.QuestState;
|
||||
import org.l2jmobius.gameserver.model.quest.State;
|
||||
|
||||
/**
|
||||
* Basic Mission: Pagan Temple (593)
|
||||
* @URL https://l2wiki.com/Basic_Mission:_Pagan_Temple
|
||||
* @author Dmitri
|
||||
*/
|
||||
public class Q00593_BasicMissionPaganTemple extends Quest
|
||||
{
|
||||
// NPCs
|
||||
private static final int PENNY = 34413;
|
||||
private static final int RAZEN = 33803;
|
||||
private static final int ELIYAH = 31329;
|
||||
// Rewards
|
||||
private static final int SCROLL_OF_ESCAPE_PAGAN_TEMPLE = 40225;
|
||||
private static final int SCROLL_OF_ESCAPE_TOWN_OF_ADEN = 48413;
|
||||
// Misc
|
||||
private static final int MIN_LEVEL = 97;
|
||||
private static final int MAX_LEVEL = 99;
|
||||
// Location
|
||||
private static final Location TOWN_OF_ADEN = new Location(146632, 26760, -2213);
|
||||
|
||||
public Q00593_BasicMissionPaganTemple()
|
||||
{
|
||||
super(593);
|
||||
addStartNpc(PENNY);
|
||||
addTalkId(PENNY, RAZEN, ELIYAH);
|
||||
addCondLevel(MIN_LEVEL, MAX_LEVEL, "nolevel.html");
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAdvEvent(String event, Npc npc, PlayerInstance player)
|
||||
{
|
||||
final QuestState qs = getQuestState(player, false);
|
||||
if (qs == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
String htmltext = null;
|
||||
switch (event)
|
||||
{
|
||||
case "34413-02.htm":
|
||||
case "34413-03.htm":
|
||||
case "34413-06.html":
|
||||
case "34413-07.html":
|
||||
case "31329-02.html":
|
||||
case "33803-02.html":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "34413-04.htm":
|
||||
{
|
||||
qs.startQuest();
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "34413-08.html": // PENNY
|
||||
{
|
||||
qs.setCond(2, true);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "31329-03.html": // ELIYAH
|
||||
{
|
||||
qs.setCond(3, true);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "33803-03.html": // RAZEN
|
||||
{
|
||||
qs.setCond(5, true);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "33803-05.html": // RAZEN
|
||||
{
|
||||
giveItems(player, SCROLL_OF_ESCAPE_TOWN_OF_ADEN, 1);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "usescroll":
|
||||
{
|
||||
// TODO: force player to use item SCROLL_OF_ESCAPE_TOWN_OF_ADEN
|
||||
player.teleToLocation(TOWN_OF_ADEN); // Town of Aden near Npc Penny - temp solution
|
||||
takeItems(player, SCROLL_OF_ESCAPE_TOWN_OF_ADEN, -1); // remove SOE - temp solution
|
||||
break;
|
||||
}
|
||||
case "34413-10.html":
|
||||
{
|
||||
// Rewards
|
||||
giveItems(player, SCROLL_OF_ESCAPE_PAGAN_TEMPLE, 1);
|
||||
addExpAndSp(player, 1346064975L, 1346055);
|
||||
addFactionPoints(player, Faction.ADVENTURE_GUILD, 140); // add FP points to ADVENTURE_GUILD Faction
|
||||
qs.exitQuest(QuestType.DAILY, true);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onTalk(Npc npc, PlayerInstance player)
|
||||
{
|
||||
final QuestState qs = getQuestState(player, true);
|
||||
String htmltext = getNoQuestMsg(player);
|
||||
switch (qs.getState())
|
||||
{
|
||||
case State.CREATED:
|
||||
{
|
||||
if (npc.getId() == PENNY)
|
||||
{
|
||||
htmltext = "34413-01.htm";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
{
|
||||
switch (npc.getId())
|
||||
{
|
||||
case PENNY:
|
||||
{
|
||||
if (qs.getCond() == 1)
|
||||
{
|
||||
htmltext = "34413-05.html";
|
||||
}
|
||||
else if (qs.getCond() == 2)
|
||||
{
|
||||
htmltext = "34413-08.html";
|
||||
}
|
||||
else if (qs.getCond() == 6)
|
||||
{
|
||||
htmltext = "34413-09.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case ELIYAH:
|
||||
{
|
||||
if (qs.getCond() == 2)
|
||||
{
|
||||
htmltext = "31329-01.html";
|
||||
}
|
||||
else if (qs.getCond() == 3)
|
||||
{
|
||||
final QuestState st = player.getQuestState("Q10388_ConspiracyBehindDoor");
|
||||
if ((st != null) && st.isCompleted())
|
||||
{
|
||||
qs.setCond(4, true);
|
||||
htmltext = null;
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = "31329-03.html";
|
||||
}
|
||||
}
|
||||
else if (qs.getCond() == 4)
|
||||
{
|
||||
htmltext = "31329-04.html";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case RAZEN:
|
||||
{
|
||||
if (qs.getCond() == 4)
|
||||
{
|
||||
htmltext = "33803-01.html";
|
||||
}
|
||||
else if (qs.getCond() == 5)
|
||||
{
|
||||
final QuestState st = player.getQuestState("Q00757_TriolsMovement");
|
||||
if ((st != null) && st.isCompleted())
|
||||
{
|
||||
qs.setCond(6, true);
|
||||
htmltext = "33803-04.html";
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = "33803-03.html";
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case State.COMPLETED:
|
||||
{
|
||||
if (qs.isNowAvailable())
|
||||
{
|
||||
qs.setState(State.CREATED);
|
||||
htmltext = "34413-01.htm";
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = getAlreadyCompletedMsg(player, QuestType.DAILY);
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
<html><body>Penny:<br>
|
||||
I don't understand why someone like you is interested in this mission?<br>
|
||||
(Only characters above Lv.97-99.)
|
||||
</body></html>
|
@ -65,11 +65,13 @@ import quests.Q00573_SpecialMissionProofOfStrengthFieldRaid.Q00573_SpecialMissio
|
||||
import quests.Q00574_SpecialMissionNornilsGarden.Q00574_SpecialMissionNornilsGarden;
|
||||
import quests.Q00576_SpecialMissionDefeatSpezion.Q00576_SpecialMissionDefeatSpezion;
|
||||
import quests.Q00577_BasicMissionSilentValley.Q00577_BasicMissionSilentValley;
|
||||
import quests.Q00578_BasicMissionCemetery.Q00578_BasicMissionCemetery;
|
||||
import quests.Q00580_BeyondTheMemories.Q00580_BeyondTheMemories;
|
||||
import quests.Q00587_MoreAggressiveOperation.Q00587_MoreAggressiveOperation;
|
||||
import quests.Q00588_HeadOnCrash.Q00588_HeadOnCrash;
|
||||
import quests.Q00589_ASecretChange.Q00589_ASecretChange;
|
||||
import quests.Q00590_ToEachTheirOwn.Q00590_ToEachTheirOwn;
|
||||
import quests.Q00593_BasicMissionPaganTemple.Q00593_BasicMissionPaganTemple;
|
||||
import quests.Q00600_KeyToTheRefiningProcess.Q00600_KeyToTheRefiningProcess;
|
||||
import quests.Q00618_IntoTheFlame.Q00618_IntoTheFlame;
|
||||
import quests.Q00620_FourGoblets.Q00620_FourGoblets;
|
||||
@ -256,11 +258,9 @@ import quests.custom.Q10529_IvoryTowersResearchFloatingSeaJournal.Q10529_IvoryTo
|
||||
import quests.custom.Q10533_OrfensAmbition.Q10533_OrfensAmbition;
|
||||
import quests.not_done.Q00282_ADayOfKindnessAndCaring;
|
||||
import quests.not_done.Q00504_CompetitionForTheBanditStronghold;
|
||||
import quests.not_done.Q00578_BasicMissionCemetery;
|
||||
import quests.not_done.Q00585_CantGoAgainstTheTime;
|
||||
import quests.not_done.Q00586_MutatedCreatures;
|
||||
import quests.not_done.Q00591_GreatAmbitions;
|
||||
import quests.not_done.Q00593_BasicMissionPaganTemple;
|
||||
import quests.not_done.Q00594_BasicMissionDimensionalRift;
|
||||
import quests.not_done.Q00595_SpecialMissionRaidersCrossroads;
|
||||
import quests.not_done.Q00596_SpecialMissionDefeatBaylor;
|
||||
@ -388,7 +388,7 @@ public class QuestMasterHandler
|
||||
Q00574_SpecialMissionNornilsGarden.class,
|
||||
Q00576_SpecialMissionDefeatSpezion.class,
|
||||
Q00577_BasicMissionSilentValley.class,
|
||||
Q00578_BasicMissionCemetery.class, // TODO: Not done.
|
||||
Q00578_BasicMissionCemetery.class,
|
||||
Q00580_BeyondTheMemories.class,
|
||||
Q00585_CantGoAgainstTheTime.class, // TODO: Not done.
|
||||
Q00586_MutatedCreatures.class, // TODO: Not done.
|
||||
@ -397,7 +397,7 @@ public class QuestMasterHandler
|
||||
Q00589_ASecretChange.class,
|
||||
Q00590_ToEachTheirOwn.class,
|
||||
Q00591_GreatAmbitions.class, // TODO: Not done.
|
||||
Q00593_BasicMissionPaganTemple.class, // TODO: Not done.
|
||||
Q00593_BasicMissionPaganTemple.class,
|
||||
Q00594_BasicMissionDimensionalRift.class, // TODO: Not done.
|
||||
Q00595_SpecialMissionRaidersCrossroads.class, // TODO: Not done.
|
||||
Q00596_SpecialMissionDefeatBaylor.class, // TODO: Not done.
|
||||
|
@ -1,36 +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.not_done;
|
||||
|
||||
import org.l2jmobius.Config;
|
||||
import org.l2jmobius.gameserver.model.quest.Quest;
|
||||
|
||||
/**
|
||||
* @author Mobius
|
||||
*/
|
||||
public class Q00578_BasicMissionCemetery extends Quest
|
||||
{
|
||||
private static final int START_NPC = 34413;
|
||||
|
||||
public Q00578_BasicMissionCemetery()
|
||||
{
|
||||
super(578);
|
||||
addStartNpc(START_NPC);
|
||||
addTalkId(START_NPC);
|
||||
addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null));
|
||||
}
|
||||
}
|
@ -1,36 +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.not_done;
|
||||
|
||||
import org.l2jmobius.Config;
|
||||
import org.l2jmobius.gameserver.model.quest.Quest;
|
||||
|
||||
/**
|
||||
* @author Mobius
|
||||
*/
|
||||
public class Q00593_BasicMissionPaganTemple extends Quest
|
||||
{
|
||||
private static final int START_NPC = 34413;
|
||||
|
||||
public Q00593_BasicMissionPaganTemple()
|
||||
{
|
||||
super(593);
|
||||
addStartNpc(START_NPC);
|
||||
addTalkId(START_NPC);
|
||||
addCondMinLevel(Config.PLAYER_MAXIMUM_LEVEL, getNoQuestMsg(null));
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user