Quest Tough Road (10332).
Contributed by Spider.
This commit is contained in:
4
trunk/dist/game/data/scripts/quests/Q10332_ToughRoad/30332-01.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10332_ToughRoad/30332-01.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Captain Bathis:<br>
|
||||||
|
Oh, good, it's you. I heard you were the first to see Sakum. The scholars are saying there's something odd about Sakum. Was someone else there when it hatched?<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10332_ToughRoad 30332-02.html">"Yes, Nemertess hatched Sakum"</Button>
|
||||||
|
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10332_ToughRoad/30332-02.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10332_ToughRoad/30332-02.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Captain Bathis:<br>
|
||||||
|
Nemertess? Yeees, I've heard of him. He was interrupted while trying to hatch Sakum. I sent him to the continent! We've been seeing Sakum around, sporadically. It doesn't appear to be under anyone's control, but it's so fast... we haven't managed to get close enough to tell what condition it's in. And now, we can't even find it! We need to track it down, it's just not safe having it running about.<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10332_ToughRoad 30332-03.html">"I'm a good tracker. I'll help!"</Button>
|
||||||
|
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q10332_ToughRoad/30332-03.html
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q10332_ToughRoad/30332-03.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
<html><body>Captain Bathis:<br>
|
||||||
|
Oh, it's very nice of you to offer. Sadly, at the moment we have no leads. I'll be sure to let you know when we get one.
|
||||||
|
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10332_ToughRoad/30332-04.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10332_ToughRoad/30332-04.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>
|
||||||
|
Captain Bathis:<br>Thanks for doing your part.<br>
|
||||||
|
(This quest is already completed)
|
||||||
|
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10332_ToughRoad/30565-01.htm
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10332_ToughRoad/30565-01.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
<html><body>Pa'agrio Lord Kakai:<br>
|
||||||
|
You've hear that <font color="LEVEL">Sakum</font> disappeared into the labyrinth, right? We'll, it looks like he's come back out. I've been getting reports of Sakum sightings all around Aden. Some of them are probably just cases of nervous people and moving shadows, but they can't all be incorrect. In fact, Lord Lewin Waldner of Gludio has requested that we send troops.<br>
|
||||||
|
I'd like to assign you to this task. Are you willing to go?<br>
|
||||||
|
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10332_ToughRoad 30565-02.htm">"Yes."</Button>
|
||||||
|
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q10332_ToughRoad/30565-02.htm
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q10332_ToughRoad/30565-02.htm
vendored
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<html><body>
|
||||||
|
Pa'agrio Lord Kakai:<br>
|
||||||
|
Lord Lewin Waldner of Gludio Castle is and old friend of mine, but I can't abandon my duties here to go help him. Since I can't go, I'd like to send someone I trust. You.<br>
|
||||||
|
You can head right over there. Just go to the <font color="LEVEL">Center of the Town of Gludio</font>, through <font color="LEVEL">Gatekeeper Melia</font> (who's by the left museum path). Once you arrive, go see <font color="LEVEL">Captain Bathis</font> and give him this letter of introduction. He'll be able to fill you in on the latest Sakum sightings.<br>
|
||||||
|
May the Flame of Pa'agrio follow you, always!<br>
|
||||||
|
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10332_ToughRoad/30565-03.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10332_ToughRoad/30565-03.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>
|
||||||
|
Kakai the Lord of Flame:<br>
|
||||||
|
This is no time to dally! Get Going! Go see <font color="LEVEL">Captain Bathis</font> of the <font color="LEVEL">Town of Gludio</font>. Just go through <font color="LEVEL">Gatekeeper Melia</font>... over by the museum's left path.
|
||||||
|
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10332_ToughRoad/30565-04.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10332_ToughRoad/30565-04.html
vendored
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
<html><body>
|
||||||
|
Pa'agrio Lord Kakai:<br>
|
||||||
|
You are growing so fast! It seems like only yesterday when you were just a young wanna be... and now look at you! You young ones grow up so fast!<br>
|
||||||
|
(You have already completed this quest.)
|
||||||
|
</body></html>
|
112
trunk/dist/game/data/scripts/quests/Q10332_ToughRoad/Q10332_ToughRoad.java
vendored
Normal file
112
trunk/dist/game/data/scripts/quests/Q10332_ToughRoad/Q10332_ToughRoad.java
vendored
Normal file
@@ -0,0 +1,112 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2004-2015 L2J Server
|
||||||
|
*
|
||||||
|
* This file is part of L2J Server.
|
||||||
|
*
|
||||||
|
* L2J Server 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 Server 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.Q10332_ToughRoad;
|
||||||
|
|
||||||
|
import quests.Q10331_StartOfFate.Q10331_StartOfFate;
|
||||||
|
|
||||||
|
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;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Tough Road (10332)
|
||||||
|
* @author spider
|
||||||
|
*/
|
||||||
|
public class Q10332_ToughRoad extends Quest
|
||||||
|
{
|
||||||
|
private static final int BATHIS = 30332;
|
||||||
|
private static final int KAKAI = 30565;
|
||||||
|
|
||||||
|
public Q10332_ToughRoad()
|
||||||
|
{
|
||||||
|
super(10332, Q10332_ToughRoad.class.getSimpleName(), "Tough Road");
|
||||||
|
addStartNpc(KAKAI);
|
||||||
|
addTalkId(KAKAI, BATHIS);
|
||||||
|
addCondLevel(20, 40, "no_level.html");
|
||||||
|
addCondCompletedQuest(Q10331_StartOfFate.class.getSimpleName(), "no_level.htm");
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
|
||||||
|
{
|
||||||
|
final QuestState qs = getQuestState(player, false);
|
||||||
|
if (qs == null)
|
||||||
|
{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
String htmltext = null;
|
||||||
|
switch (event)
|
||||||
|
{
|
||||||
|
case "30565-02.htm":
|
||||||
|
{
|
||||||
|
qs.startQuest();
|
||||||
|
htmltext = event;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case "30565-03.html":
|
||||||
|
{
|
||||||
|
htmltext = event;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case "30332-02.html":
|
||||||
|
{
|
||||||
|
htmltext = event;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case "30332-03.html":
|
||||||
|
{
|
||||||
|
giveAdena(player, 70000, true);
|
||||||
|
addExpAndSp(player, 90000, 21);
|
||||||
|
qs.exitQuest(false, true);
|
||||||
|
htmltext = event;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return htmltext;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String onTalk(L2Npc npc, L2PcInstance player)
|
||||||
|
{
|
||||||
|
final QuestState qs = getQuestState(player, true);
|
||||||
|
String htmltext = null;
|
||||||
|
switch (qs.getState())
|
||||||
|
{
|
||||||
|
case State.CREATED:
|
||||||
|
{
|
||||||
|
htmltext = npc.getId() == KAKAI ? "30565-01.htm" : getNoQuestMsg(player);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case State.STARTED:
|
||||||
|
{
|
||||||
|
htmltext = npc.getId() == KAKAI ? "30565-03.html" : "30332-01.html";
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case State.COMPLETED:
|
||||||
|
{
|
||||||
|
htmltext = npc.getId() == KAKAI ? "30565-04.html" : "30332-04.html";
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return htmltext;
|
||||||
|
}
|
||||||
|
}
|
4
trunk/dist/game/data/scripts/quests/Q10332_ToughRoad/no_level.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10332_ToughRoad/no_level.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
<html><body>Pa'agrio Lord Kakai:<br>
|
||||||
|
I've been told that the world of the giants is lovely, though the book I've been reading says that it was pretty inhospitable in the distant past.<br>
|
||||||
|
(This quest may only be undertaken by characters of level 20 or higher who have cleared the quest "Start of Fate".)<br>
|
||||||
|
</body></html>
|
@@ -195,6 +195,7 @@ import quests.Q10328_RequestToSealTheEvilFragment.Q10328_RequestToSealTheEvilFra
|
|||||||
import quests.Q10329_BackupSeekers.Q10329_BackupSeekers;
|
import quests.Q10329_BackupSeekers.Q10329_BackupSeekers;
|
||||||
import quests.Q10330_ToTheRuinsOfYeSagira.Q10330_ToTheRuinsOfYeSagira;
|
import quests.Q10330_ToTheRuinsOfYeSagira.Q10330_ToTheRuinsOfYeSagira;
|
||||||
import quests.Q10331_StartOfFate.Q10331_StartOfFate;
|
import quests.Q10331_StartOfFate.Q10331_StartOfFate;
|
||||||
|
import quests.Q10332_ToughRoad.Q10332_ToughRoad;
|
||||||
import quests.Q10338_SeizeYourDestiny.Q10338_SeizeYourDestiny;
|
import quests.Q10338_SeizeYourDestiny.Q10338_SeizeYourDestiny;
|
||||||
import quests.Q10390_KekropusLetter.Q10390_KekropusLetter;
|
import quests.Q10390_KekropusLetter.Q10390_KekropusLetter;
|
||||||
import quests.Q10393_KekropusLetter_AClueCompleted.Q10393_KekropusLetter_AClueCompleted;
|
import quests.Q10393_KekropusLetter_AClueCompleted.Q10393_KekropusLetter_AClueCompleted;
|
||||||
@@ -409,6 +410,7 @@ public class QuestMasterHandler
|
|||||||
Q10329_BackupSeekers.class,
|
Q10329_BackupSeekers.class,
|
||||||
Q10330_ToTheRuinsOfYeSagira.class,
|
Q10330_ToTheRuinsOfYeSagira.class,
|
||||||
Q10331_StartOfFate.class,
|
Q10331_StartOfFate.class,
|
||||||
|
Q10332_ToughRoad.class,
|
||||||
Q10338_SeizeYourDestiny.class,
|
Q10338_SeizeYourDestiny.class,
|
||||||
Q10390_KekropusLetter.class,
|
Q10390_KekropusLetter.class,
|
||||||
Q10393_KekropusLetter_AClueCompleted.class,
|
Q10393_KekropusLetter_AClueCompleted.class,
|
||||||
|
Reference in New Issue
Block a user