Merged with released L2J-Unity files.

This commit is contained in:
mobiusdev
2016-06-12 01:34:09 +00:00
parent e003e87887
commit 635557f5da
18352 changed files with 3245113 additions and 2892959 deletions

View File

@@ -0,0 +1,3 @@
<html><body>Weaver Olf Kanore:<br>
Listen carefully to my instructions and then go and tinker with some different options. Come back and talk to me when you succeed.
</body></html>

View File

@@ -1,5 +1,5 @@
<html><body>Shannon:<br>
Eh? You want to be a seeker<br>
You look weak.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10321_QualificationsOfTheSeeker 32974-02.html">"Don't underestimate me."</Button>
<html><body>Shannon:<br>
Eh? You want to be a seeker<br>
You look weak.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10321_QualificationsOfTheSeeker 32974-02.htm">"Don't underestimate me."</Button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Shannon:<br>
Woah! Slow down, shouty! There's no screaming test!<br>
Tell you what: how about you keep practising away, and I'll promise to keep an eye on you. When the time's right, I might well give you a tap on the shoulder.
<html><body>Shannon:<br>
Woah! Slow down, shouty! There's no screaming test!<br>
Tell you what: how about you keep practising away, and I'll promise to keep an eye on you. When the time's right, I might well give you a tap on the shoulder.
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Shannon:<br>
Nice day, eh?<br>
(You have already completed the quest.)
<html><body>Shannon:<br>
Nice day, eh?<br>
(You have already completed the quest.)
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Shannon:<br>
You're wasting my time. Go away.<br>
(The quest is not in progress, or the conditions have not been satisfied.)
<html><body>Shannon:<br>
You're wasting my time. Go away.<br>
(The quest is not in progress, or the conditions have not been satisfied.)
</body></html>

View File

@@ -1,5 +1,5 @@
<html><body>Theodore:<br>
Haa... There are so many things to do around here!<br>
There's one problem here, and there another problem... I get a steady influx of seekers, but the pile of work just gets higher and higher. I'm not sure there are enough Seekers in the world to tackle this amount of work...<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10321_QualificationsOfTheSeeker 32975-02.htm">"What are the Seekers?"</Button>
<html><body>Theodore:<br>
Haa... There are so many things to do around here!<br>
There's one problem here, and there another problem... I get a steady influx of seekers, but the pile of work just gets higher and higher. I'm not sure there are enough Seekers in the world to tackle this amount of work...<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10321_QualificationsOfTheSeeker 32975-02.htm">"What are the Seekers?"</Button>
</body></html>

View File

@@ -1,4 +1,4 @@
<html><body>Theodore:<br>
Not now! Can't you see I'm busy? Come back later.<br>
(You must be level 20 or above to start this quest.)
<html><body>Theodore:<br>
Not now! Can't you see I'm busy? Come back later.<br>
(You must be level 20 or above to start this quest.)
</body></html>

View File

@@ -1,5 +1,5 @@
<html><body>Theodore:<br>
Seekers are scholars and warriors dedicated to searching through the Ruins of Ye Sagira.<br>
However, they recently ran into a spot of bother after the local monsters decided to get all territorial. Now, a good number of my Seekers are injured, and the work just keeps on piling up...<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10321_QualificationsOfTheSeeker 32975-03.htm">"Where do I sign up? I want to be a Seeker."</Button>
<html><body>Theodore:<br>
Seekers are scholars and warriors dedicated to searching through the Ruins of Ye Sagira.<br>
However, they recently ran into a spot of bother after the local monsters decided to get all territorial. Now, a good number of my Seekers are injured, and the work just keeps on piling up...<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10321_QualificationsOfTheSeeker 32975-03.htm">"Where do I sign up? I want to be a Seeker."</Button>
</body></html>

View File

@@ -1,6 +1,6 @@
<html><body>Theodore:<br>
You what? Really? Even after what I just told you??<br>
Well, anyone can become a seeker, but you must first get certified. <font color="LEVEL">Shannon</font> can start you on that path - head to the <font color="LEVEL">Training Grounds</font> to see her, and she'll teach you about scouts.<br>
Now get going - speed is of the essence and all that!<br>
I will briefly tell you how to get there.
<html><body>Theodore:<br>
You what? Really? Even after what I just told you?? <br>
Well, anyone can become a seeker, but you must first get certified. <font color="LEVEL">Shannon</font> can start you on that path - head to the <font color="LEVEL">Training Grounds</font> to see her, and she'll teach you about scouts.<br>
Now get going - speed is of the essence and all that!<br>
I will briefly tell you how to get there.
</body></html>

View File

@@ -1,3 +1,3 @@
<html><body>Theodore:<br>
Have you met Shannon yet? She's in the <font color="LEVEL">Training Area</font>.
<html><body>Theodore:<br>
Have you met Shannon yet? She's in the <font color="LEVEL">Training Area</font>.
</body></html>

View File

@@ -1,3 +1,3 @@
<html><body>Theodore:<br>
Ah... Thanks for your help. If you can handle it again next time, that would be great.
<html><body>Theodore:<br>
Ah... Thanks for your help. If you can handle it again next time, that would be great.
</body></html>

View File

@@ -1,118 +1,117 @@
/*
* 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.Q10321_QualificationsOfTheSeeker;
import com.l2jmobius.gameserver.enums.ChatType;
import com.l2jmobius.gameserver.model.actor.L2Npc;
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
import com.l2jmobius.gameserver.model.quest.Quest;
import com.l2jmobius.gameserver.model.quest.QuestState;
import com.l2jmobius.gameserver.model.quest.State;
import com.l2jmobius.gameserver.network.NpcStringId;
import com.l2jmobius.gameserver.network.serverpackets.NpcSay;
import com.l2jmobius.gameserver.network.serverpackets.TutorialShowHtml;
import com.l2jmobius.gameserver.util.Broadcast;
import quests.Q10320_LetsGoToTheCentralSquare.Q10320_LetsGoToTheCentralSquare;
/**
* Qualifications Of The Seeker (10321)
* @author ivantotov, Gladicek
*/
public final class Q10321_QualificationsOfTheSeeker extends Quest
{
// NPCs
private static final int SHANNON = 32974;
private static final int THEODORE = 32975;
// Misc
private static final int MAX_LEVEL = 20;
public Q10321_QualificationsOfTheSeeker()
{
super(10321, Q10321_QualificationsOfTheSeeker.class.getSimpleName(), "Qualifications Of The Seeker");
addStartNpc(THEODORE);
addTalkId(THEODORE, SHANNON);
addCondMaxLevel(MAX_LEVEL, "32975-06.html");
addCondCompletedQuest(Q10320_LetsGoToTheCentralSquare.class.getSimpleName(), "32975-06.html");
}
@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 "32975-03.htm":
{
qs.startQuest();
qs.setCond(2); // show arrow hack
qs.setCond(1);
player.sendPacket(new TutorialShowHtml(npc.getObjectId(), "..\\L2Text\\QT_027_Quest_01.htm", TutorialShowHtml.LARGE_WINDOW));
htmltext = event;
break;
}
case "32975-02.htm":
{
htmltext = event;
break;
}
case "32974-02.html":
{
giveAdena(player, 50, true);
addExpAndSp(player, 40, 5);
qs.exitQuest(false, true);
Broadcast.toKnownPlayers(npc, new NpcSay(npc.getObjectId(), ChatType.NPC_GENERAL, npc.getTemplate().getDisplayId(), NpcStringId.HM_DON_T_JUST_GO_I_STILL_HAVE_TONS_TO_TEACH_YOU));
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() == THEODORE ? "32975-01.htm" : "32974-04.html";
break;
}
case State.STARTED:
{
htmltext = npc.getId() == THEODORE ? "32975-04.html" : "32974-01.html";
break;
}
case State.COMPLETED:
{
htmltext = npc.getId() == THEODORE ? "32975-05.html" : "32974-03.html";
break;
}
}
return htmltext;
}
/*
* 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.Q10321_QualificationsOfTheSeeker;
import com.l2jmobius.gameserver.enums.ChatType;
import com.l2jmobius.gameserver.model.actor.L2Npc;
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
import com.l2jmobius.gameserver.model.quest.Quest;
import com.l2jmobius.gameserver.model.quest.QuestState;
import com.l2jmobius.gameserver.model.quest.State;
import com.l2jmobius.gameserver.network.NpcStringId;
import com.l2jmobius.gameserver.network.serverpackets.TutorialShowHtml;
import quests.Q10320_LetsGoToTheCentralSquare.Q10320_LetsGoToTheCentralSquare;
/**
* Qualifications Of The Seeker (10321)
* @author ivantotov, Gladicek
*/
public final class Q10321_QualificationsOfTheSeeker extends Quest
{
// NPCs
private static final int SHANNON = 32974;
private static final int THEODORE = 32975;
// Misc
private static final int MAX_LEVEL = 20;
public Q10321_QualificationsOfTheSeeker()
{
super(10321);
addStartNpc(THEODORE);
addTalkId(THEODORE, SHANNON);
addCondMaxLevel(MAX_LEVEL, "32975-01a.htm");
addCondCompletedQuest(Q10320_LetsGoToTheCentralSquare.class.getSimpleName(), "32975-01a.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 "32975-03.htm":
{
qs.startQuest();
player.sendPacket(new TutorialShowHtml(npc.getObjectId(), "..\\L2Text\\QT_027_Quest_01.htm", TutorialShowHtml.LARGE_WINDOW));
htmltext = event;
break;
}
case "32975-02.htm":
{
htmltext = event;
break;
}
case "32974-02.htm":
{
if (qs.isStarted())
{
giveAdena(player, 50, true);
addExpAndSp(player, 40, 5);
qs.exitQuest(false, true);
npc.broadcastSay(ChatType.NPC_GENERAL, NpcStringId.HM_DON_T_JUST_GO_I_STILL_HAVE_TONS_TO_TEACH_YOU);
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() == THEODORE ? "32975-01.htm" : "32974-04.htm";
break;
}
case State.STARTED:
{
htmltext = npc.getId() == THEODORE ? "32975-04.htm" : "32974-01.htm";
break;
}
case State.COMPLETED:
{
htmltext = npc.getId() == THEODORE ? "32975-05.htm" : "32974-03.htm";
break;
}
}
return htmltext;
}
}