Merged with released L2J-Unity files.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<html><body>Lakcis:<br>
|
||||
They wouldn't let me go with them because of the ever-present threat of attack in Ye Sagira. Oh well - I am a scholar, and am quite useless with both sword and spell, so perhaps their caution was warranted.<br>
|
||||
That said, they worry that scholars will interfere with their work, but rangers cannot study, nor comprehend or analyze. And if we do not analyze the ruins, how will we proceed?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10361_RolesOfTheSeeker 32977-02.htm">"They have to use their heads instead of their bodies..."</Button>
|
||||
<html><body>Lakcis:<br>
|
||||
They wouldn't let me go with them because of the ever-present threat of attack in Ye Sagira. Oh well - I am a scholar, and am quite useless with both sword and spell, so perhaps their caution was warranted.<br>
|
||||
That said, they worry that scholars will interfere with their work, but rangers cannot study, nor comprehend or analyze. And if we do not analyze the ruins, how will we proceed?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10361_RolesOfTheSeeker 32977-02.htm">"They have to use their heads instead of their bodies..."</Button>
|
||||
</body></html>
|
||||
@@ -1,6 +1,6 @@
|
||||
<html><body>Lakcis:<br>
|
||||
Er, quite.<br>
|
||||
Not to pat my own back, but I'm certain my mental capacity far exceeds those of the rangers. I need to get in there, but they won't let me... perhaps I can send a message instead?<br>
|
||||
Perhaps you can pass it on? That way, they're not burdened with protecting my hide, and we can actually get something of scientific value from the ruins. What do you say?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10361_RolesOfTheSeeker 32977-03.htm">"Sure. Sounds good."</Button>
|
||||
<html><body>Lakcis:<br>
|
||||
Er, quite.<br>
|
||||
Not to pat my own back, but I'm certain my mental capacity far exceeds those of the rangers. I need to get in there, but they won't let me... perhaps I can send a message instead?<br>
|
||||
Perhaps you can pass it on? That way, they're not burdened with protecting my hide, and we can actually get something of scientific value from the ruins. What do you say?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10361_RolesOfTheSeeker 32977-03.htm">"Sure. Sounds good."</Button>
|
||||
</body></html>
|
||||
@@ -1,5 +1,5 @@
|
||||
<html><body>Lakcis:<br>
|
||||
Excellent! Thank you!<br>
|
||||
I want you to speak to <font color="LEVEL">Chesha</font> in <font color="LEVEL">Exploration Zone 1</font>, and tell her that "Lakcis is ready to go to ruins whenver". I realize they won't allow me in just yet, but I want them to know that I'm snapping at their heels. It's imperative that I gain access to the ruins!<br>
|
||||
Now, to get inside, I believe you can use the <font color="LEVEL">Ye Sagira Teleportation Device</font>. Go, and be safe!
|
||||
<html><body>Lakcis:<br>
|
||||
Excellent! Thank you!<br>
|
||||
I want you to speak to <font color="LEVEL">Chesha</font> in <font color="LEVEL">Exploration Zone 1</font>, and tell her that "Lakcis is ready to go to ruins whenver". I realize they won't allow me in just yet, but I want them to know that I'm snapping at their heels. It's imperative that I gain access to the ruins!<br>
|
||||
Now, to get inside, I believe you can use the <font color="LEVEL">Ye Sagira Teleportation Device</font>. Go, and be safe!
|
||||
</body></html>
|
||||
@@ -1,5 +1,5 @@
|
||||
<html><body>Lakcis:<br>
|
||||
Why are you still here? Must I tell you what to do again?<br>
|
||||
Use the <font color="LEVEL">Ye Sagira Teleportation Device</font> , and tell <font color="LEVEL">Chesha</font> in <font color="LEVEL">Exploration Zone 1</font> that 'Lakcis is ready to go to the Ruins of Ye Sagira whenever". <br1>
|
||||
Go! Before I pass from old age!
|
||||
<html><body>Lakcis:<br>
|
||||
Why are you still here? Must I tell you what to do again?<br>
|
||||
Use the <font color="LEVEL">Ye Sagira Teleportation Device</font>, and tell <font color="LEVEL">Chesha</font>, in <font color="LEVEL">Exploration Zone 1</font> that Lakcis is ready to go to the Ruins of Ye Sagira whenerver.<br>
|
||||
Go! Before I pass from old age!
|
||||
</body></html>
|
||||
4
trunk/dist/game/data/scripts/quests/Q10361_RolesOfTheSeeker/32977-05.htm
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10361_RolesOfTheSeeker/32977-05.htm
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Lakcis:<br>
|
||||
Survival requires a sound mind as well as a strong arm, friend. Always have a plan, always think ahead.<br>
|
||||
(Only characters between level 10 and 20 may enter.)
|
||||
</body></html>
|
||||
@@ -1,4 +0,0 @@
|
||||
<html><body>Lakcis:<br>
|
||||
One hand holds the other. Virtual symbiosis, though in a communal sense.<br>
|
||||
(You have already completed the quest)
|
||||
</body></html>
|
||||
@@ -1,4 +1,4 @@
|
||||
<html><body>Lakcis:<br>
|
||||
Survival requires a sound mind as well as a strong arm, friend. Always have a plan, always think ahead.<br>
|
||||
(Only characters between level 10 and 20 may enter)
|
||||
<html><body>Lakcis:<br>
|
||||
One hand holds the other. Virtual symbiosis, though in a communal sense.<br>
|
||||
(You have already completed the quest.)
|
||||
</body></html>
|
||||
@@ -1,4 +1,4 @@
|
||||
<html><body>Chesha:<br>
|
||||
There are many dangerous monsters in the Ruins of Ye Sagira - many see it as one of the most dangerous places in Talking Island. However, if you don't anger the monsters in Exploration Zone 1, they won't attack. Why did you come to me?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10361_RolesOfTheSeeker 33449-02.html">"Lakcis asked that I come here."</Button>
|
||||
<html><body>Chesha:<br>
|
||||
There are many dangerous monsters in the Ruins of Ye Sagira - many see it as one of the most dangerous places in Talking Island. However, if you don't anger the monsters in Exploration Zone 1, they won't attack. Why did you come to me?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10361_RolesOfTheSeeker 33449-02.htm">"Lakcis asked that I come here."</Button>
|
||||
</body></html>
|
||||
6
trunk/dist/game/data/scripts/quests/Q10361_RolesOfTheSeeker/33449-02.htm
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q10361_RolesOfTheSeeker/33449-02.htm
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>Chesha:<br>
|
||||
Lakcis? Hmm.<br1>
|
||||
The man has spent his life studying, and has no understanding of the way of things, of people, of war. I refused to bring him here, you know... I was afraid he'd accidentally hurt an animal here, and find death in mere minutes.<br>
|
||||
What did he say?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10361_RolesOfTheSeeker 33449-03.htm">"He said he was ready to come."</Button>
|
||||
</body></html>
|
||||
@@ -1,6 +0,0 @@
|
||||
<html><body>Chesha:<br>
|
||||
Lakcis? Hmm. <br1>
|
||||
The man has spent his life studying, and has no understanding of the way of things, of people, of war. I refused to bring him here, you know... I was afraid he'd accidentally hurt an animal here, and find death in mere minutes.<br>
|
||||
What did he say?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10361_RolesOfTheSeeker 33449-03.html">"He said he was ready to come."</Button>
|
||||
</body></html>
|
||||
@@ -1,4 +1,4 @@
|
||||
<html><body>Chesha:<br>
|
||||
Damn you, Lakcis, you stubborn fool.<br>
|
||||
It seems like Lakcis will not give up on coming to Ye Sagira. Maybe I should think more about what job to give him when he turns up...<br>
|
||||
<html><body>Chesha:<br>
|
||||
Damn you, Lakcis, you stubborn fool.<br>
|
||||
It seems like Lakcis will not give up on coming to Ye Sagira. Maybe I should think more about what job to give him when he turns up...<br>
|
||||
</body></html>
|
||||
@@ -1,4 +1,4 @@
|
||||
<html><body>Chesha:<br>
|
||||
If Lakcis had just a bit less curiosity...<br>
|
||||
(The quest has already been completed)
|
||||
<html><body>Chesha:<br>
|
||||
If Lakcis had just a bit less curiosity...<br>
|
||||
(The quest has already been completed.)
|
||||
</body></html>
|
||||
@@ -1,4 +0,0 @@
|
||||
<html><body>Chesha:<br>
|
||||
You can't let emotions get in the way of your mission as a Ranger.<br>
|
||||
(Only characters who have completed the Ranger's Role quest, and are between levels 10 and 20, may start this quest)
|
||||
</body></html>
|
||||
@@ -1,161 +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.Q10361_RolesOfTheSeeker;
|
||||
|
||||
import com.l2jmobius.gameserver.model.actor.L2Character;
|
||||
import com.l2jmobius.gameserver.model.actor.L2Npc;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.model.events.EventType;
|
||||
import com.l2jmobius.gameserver.model.events.ListenerRegisterType;
|
||||
import com.l2jmobius.gameserver.model.events.annotations.RegisterEvent;
|
||||
import com.l2jmobius.gameserver.model.events.annotations.RegisterType;
|
||||
import com.l2jmobius.gameserver.model.events.impl.character.player.OnPlayerCreate;
|
||||
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.model.zone.L2ZoneType;
|
||||
import com.l2jmobius.gameserver.network.NpcStringId;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.ExShowScreenMessage;
|
||||
|
||||
/**
|
||||
* Roles of the Seeker (10361)
|
||||
* @author spider
|
||||
*/
|
||||
public class Q10361_RolesOfTheSeeker extends Quest
|
||||
{
|
||||
// NPCs
|
||||
private static final int LAKCIS = 32977;
|
||||
private static final int CHESHA = 33449;
|
||||
// Rewards
|
||||
private static final int ADENA_REWARD = 34000;
|
||||
private static final int EXP_REWARD = 35000;
|
||||
private static final int SP_REWARD = 5;
|
||||
// Others
|
||||
private static final int YE_SAGIRA_RUINS_PRESENTATION_MOVIE_ZONE = 10361;
|
||||
private static final String MOVIE_VAR = "Ye_Sagira_Ruins_movie";
|
||||
private static final int SI_ILLUSION_03_QUE = 103; // movie id
|
||||
private static final int MIN_LEVEL = 10;
|
||||
private static final int MAX_LEVEL = 20;
|
||||
|
||||
public Q10361_RolesOfTheSeeker()
|
||||
{
|
||||
super(10361, Q10361_RolesOfTheSeeker.class.getSimpleName(), "Roles of the Seeker");
|
||||
addStartNpc(LAKCIS);
|
||||
addTalkId(LAKCIS, CHESHA);
|
||||
addCondLevel(MIN_LEVEL, MAX_LEVEL, "32977-06.htm");
|
||||
addEnterZoneId(YE_SAGIRA_RUINS_PRESENTATION_MOVIE_ZONE);
|
||||
}
|
||||
|
||||
@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 "32977-02.htm":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "32977-03.htm":
|
||||
{
|
||||
qs.startQuest();
|
||||
showOnScreenMsg(player, NpcStringId.ENTER_THE_RUINS_OF_YE_SAGIRA_THROUGH_THE_YE_SAGIRA_TELEPORT_DEVICE, ExShowScreenMessage.TOP_CENTER, 10000);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "33449-02.html":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "33449-03.html":
|
||||
{
|
||||
if (qs.isCond(1))
|
||||
{
|
||||
giveAdena(player, ADENA_REWARD, true);
|
||||
addExpAndSp(player, EXP_REWARD, SP_REWARD);
|
||||
qs.exitQuest(false, true);
|
||||
}
|
||||
htmltext = event;
|
||||
}
|
||||
}
|
||||
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() == LAKCIS ? "32977-01.htm" : "33449-05.html";
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
{
|
||||
htmltext = npc.getId() == LAKCIS ? "32977-04.html" : "33449-01.html";
|
||||
break;
|
||||
}
|
||||
case State.COMPLETED:
|
||||
{
|
||||
htmltext = npc.getId() == LAKCIS ? "32977-05.htm" : "33449-04.html";
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onEnterZone(L2Character character, L2ZoneType zone)
|
||||
{
|
||||
if (character.isPlayer())
|
||||
{
|
||||
final L2PcInstance player = character.getActingPlayer();
|
||||
|
||||
if (player.getVariables().getBoolean(MOVIE_VAR, false))
|
||||
{
|
||||
if (player.getLevel() <= MAX_LEVEL)
|
||||
{
|
||||
final QuestState qs = getQuestState(player, false);
|
||||
if ((qs != null) && qs.isStarted())
|
||||
{
|
||||
player.showQuestMovie(SI_ILLUSION_03_QUE);
|
||||
}
|
||||
}
|
||||
player.getVariables().remove(MOVIE_VAR);
|
||||
}
|
||||
}
|
||||
return super.onEnterZone(character, zone);
|
||||
}
|
||||
|
||||
@RegisterEvent(EventType.ON_PLAYER_CREATE)
|
||||
@RegisterType(ListenerRegisterType.GLOBAL_PLAYERS)
|
||||
public void OnPlayerCreate(OnPlayerCreate event)
|
||||
{
|
||||
event.getActiveChar().getVariables().set(MOVIE_VAR, true);
|
||||
}
|
||||
}
|
||||
/*
|
||||
* 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.Q10361_RolesOfTheSeeker;
|
||||
|
||||
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.ExShowScreenMessage;
|
||||
|
||||
/**
|
||||
* Roles of the Seeker (10361)
|
||||
* @author Gladicek
|
||||
*/
|
||||
public final class Q10361_RolesOfTheSeeker extends Quest
|
||||
{
|
||||
// NPCs
|
||||
private static final int LAKCIS = 32977;
|
||||
private static final int CHESHA = 33449;
|
||||
// Misc
|
||||
private static final int MIN_LEVEL = 10;
|
||||
private static final int MAX_LEVEL = 20;
|
||||
|
||||
public Q10361_RolesOfTheSeeker()
|
||||
{
|
||||
super(10361);
|
||||
addStartNpc(LAKCIS);
|
||||
addTalkId(LAKCIS, CHESHA);
|
||||
addCondLevel(MIN_LEVEL, MAX_LEVEL, "32977-05.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 "32977-02.htm":
|
||||
case "33449-02.htm":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "32977-03.htm":
|
||||
{
|
||||
qs.startQuest();
|
||||
showOnScreenMsg(player, NpcStringId.ENTER_THE_RUINS_OF_YE_SAGIRA_THROUGH_THE_YE_SAGIRA_TELEPORT_DEVICE, ExShowScreenMessage.TOP_CENTER, 4500);
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "33449-03.htm":
|
||||
{
|
||||
if (qs.isStarted())
|
||||
{
|
||||
giveAdena(player, 340, true);
|
||||
addExpAndSp(player, 35000, 5);
|
||||
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:
|
||||
{
|
||||
if (npc.getId() == LAKCIS)
|
||||
{
|
||||
htmltext = "32977-01.htm";
|
||||
}
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
{
|
||||
htmltext = npc.getId() == LAKCIS ? "32977-04.htm" : "33449-01.htm";
|
||||
break;
|
||||
}
|
||||
case State.COMPLETED:
|
||||
{
|
||||
htmltext = npc.getId() == LAKCIS ? "32977-06.htm" : "33449-04.htm";
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user