Etina's Fate quest changes.

This commit is contained in:
MobiusDev 2018-09-14 17:58:52 +00:00
parent 6c4f56fd71
commit 6ffef7f1c2
1022 changed files with 57 additions and 16170 deletions

View File

@ -35,7 +35,6 @@ import com.l2jmobius.gameserver.model.skills.Skill;
import com.l2jmobius.gameserver.network.serverpackets.NpcInfo;
import ai.AbstractNpcAI;
import quests.Q00020_BringUpWithLove.Q00020_BringUpWithLove;
/**
* Growth-capable mobs: Polymorphing upon successful feeding.<br>
@ -286,7 +285,8 @@ public final class BeastFarm extends AbstractNpcAI
nextNpc.addBeastSkill(st.getSkill(sh.getSkillId(), sh.getSkillLevel()));
}
Q00020_BringUpWithLove.checkJewelOfInnocence(player);
// TODO: Quest removed with Etina's Fate.
// Q00020_BringUpWithLove.checkJewelOfInnocence(player);
}
else
{

View File

@ -32,7 +32,6 @@ import com.l2jmobius.gameserver.model.skills.Skill;
import com.l2jmobius.gameserver.network.NpcStringId;
import ai.AbstractNpcAI;
import quests.Q00020_BringUpWithLove.Q00020_BringUpWithLove;
/**
* Growth-capable mobs: Polymorphing upon successful feeding.
@ -424,7 +423,8 @@ public final class FeedableBeasts extends AbstractNpcAI
final L2TamedBeastInstance nextNpc = new L2TamedBeastInstance(nextNpcId, player, food - FOODSKILLDIFF, npc.getX(), npc.getY(), npc.getZ());
nextNpc.setRunning();
Q00020_BringUpWithLove.checkJewelOfInnocence(player);
// TODO: Quest removed with Etina's Fate.
// Q00020_BringUpWithLove.checkJewelOfInnocence(player);
// Support for A Grand Plan for Taming Wild Beasts (655) quest.
// Q00655_AGrandPlanForTamingWildBeasts.reward(player, nextNpc); TODO: Replace me?

View File

@ -23,11 +23,9 @@ import com.l2jmobius.gameserver.instancemanager.AirShipManager;
import com.l2jmobius.gameserver.model.ClanPrivilege;
import com.l2jmobius.gameserver.model.actor.L2Npc;
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
import com.l2jmobius.gameserver.model.quest.QuestState;
import com.l2jmobius.gameserver.network.serverpackets.RadarControl;
import ai.AbstractNpcAI;
import quests.Q10273_GoodDayToFly.Q10273_GoodDayToFly;
/**
* Nottingale AI.
@ -76,30 +74,32 @@ public final class Nottingale extends AbstractNpcAI
}
else
{
final QuestState st = player.getQuestState(Q10273_GoodDayToFly.class.getSimpleName());
if ((st != null) && st.isCompleted())
{
htmltext = event;
}
else
{
player.sendPacket(RADARS.get(2));
htmltext = "32627-01.html";
}
// TODO: Quest removed with Etina's Fate.
// final QuestState st = player.getQuestState(Q10273_GoodDayToFly.class.getSimpleName());
// if ((st != null) && st.isCompleted())
// {
// htmltext = event;
// }
// else
// {
player.sendPacket(RADARS.get(2));
htmltext = "32627-01.html";
// }
}
}
else
{
final QuestState st = player.getQuestState(Q10273_GoodDayToFly.class.getSimpleName());
if ((st != null) && st.isCompleted())
{
htmltext = event;
}
else
{
player.sendPacket(RADARS.get(2));
htmltext = "32627-01.html";
}
// TODO: Quest removed with Etina's Fate.
// final QuestState st = player.getQuestState(Q10273_GoodDayToFly.class.getSimpleName());
// if ((st != null) && st.isCompleted())
// {
// htmltext = event;
// }
// else
// {
player.sendPacket(RADARS.get(2));
htmltext = "32627-01.html";
// }
}
break;
}

View File

@ -19,10 +19,8 @@ package ai.areas.StakatoNest.StakatoNestTeleporter;
import com.l2jmobius.gameserver.model.Location;
import com.l2jmobius.gameserver.model.actor.L2Npc;
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
import com.l2jmobius.gameserver.model.quest.QuestState;
import ai.AbstractNpcAI;
import quests.Q00240_ImTheOnlyOneYouCanTrust.Q00240_ImTheOnlyOneYouCanTrust;
/**
* Stakato Nest Teleport AI.
@ -75,8 +73,10 @@ public final class StakatoNestTeleporter extends AbstractNpcAI
@Override
public String onTalk(L2Npc npc, L2PcInstance player)
{
final QuestState accessQuest = player.getQuestState(Q00240_ImTheOnlyOneYouCanTrust.class.getSimpleName());
return (((accessQuest != null) && accessQuest.isCompleted()) ? "32640.htm" : "32640-no.htm");
// TODO: Pre-Quest removed with Etina's Fate.
// final QuestState accessQuest = player.getQuestState(Q00240_ImTheOnlyOneYouCanTrust.class.getSimpleName());
// return (((accessQuest != null) && accessQuest.isCompleted()) ? "32640.htm" : "32640-no.htm");
return "32640.htm";
}
public static void main(String[] args)

View File

@ -1,5 +1,10 @@
482 Recertification of Value
504 Competition for the Bandit Stronghold
529 Regular Barrier Maintenance
554 Red Libra Request - Silent Valley
555 Red Libra Request - Atelia Refinery
556 Red Libra Request - Fallen Emperor's Throne
557 Red Libra Request - Fall of Etina
561 Basic Mission: Harnak Underground Ruins
562 Basic Mission: Altar of Evil
563 Basic Mission: Bloody Swampland
@ -16,6 +21,7 @@
574 Special Mission: Nornil's Garden
575 Special Mission: Fortuna
576 Special Mission: Defeat Spezion
577 Basic Mission: Silent Valley
580 Beyond the Memories
581 The Purification Ritual
582 Wash Blood with Blood
@ -25,6 +31,11 @@
586 Mutated Creatures
587 More Aggressive Operation
588 Head-on Crash
589 A Secret Change
590 To Each Their Own
591 Great Ambitions
599 Demons and Dimensional Energy
600 Key to the Refining Process
655 A Grand Plan for Taming Wild Beasts
665 Basic Training for Hunter Guild Member
666 Knowledgeable Hunter Guild Member
@ -40,6 +51,8 @@
677 Hunter Guild Request – Wasteland East
678 Hunter Guild Request – Forest of the Dead
679 Hunter Guild Request – Swamp of Screams
680 Hunter Guild Request - Sea of Spores
681 Hunter Guild Request - Shadow of the Mother Tree
690 |Attack| Begin Alliance Base Defense - 1
691 |Attack| Begin Alliance Base Defense - 2
692 |Attack| Begin Alliance Base Defense - 3
@ -89,7 +102,6 @@
743 At the Altar of Oblivion
744 The Alligator Hunter returns
745 The Outlaws are Incoming
746 The Reason One Cannot Wait
747 Defending the Forsaken Plains
748 Endless Revenge
749 Ties with the Guardians
@ -135,6 +147,7 @@
845 Sabotage the Embryo Supplies
846 Building up Strength
861 Kain's Choice
863 Red Libra Request - Shadow of the Mother Tree
910 Red Libra Request - Isle of Souls
911 Red Libra's Request - Seal of Shilen
912 Red Libra Request - Monsters from Three Areas
@ -171,9 +184,11 @@
10456 Operation: Rescue
10457 Kefensis' Illusion
10506 Diana's Request
10529 Ivory Tower's Research - Sea of Spores Journal
10530 Kekropus' Letter, The Dragon's Transition Achieve Level 81
10531 Odd Happenings at Dragon Valley Strange Things Afoot in the Valley
10532 Uncovering the Conspiracy Eliminate the Undead and Dragons
10533 Orfen's Ambition
10535 Blacksmith's Soul-awakening Weapon - 3
10537 Kamael Disarray To Retbach
10538 Giant's Evolution Cause of failed evolution
@ -247,3 +262,12 @@
10881 For the Pride
10882 Victory Collection
10883 Immortal Honor
10885 Savior's Path - Discovery
10886 Savior's Path - Search the Refinery
10887 Savior's Path - Demons and Atelia
10888 Savior's Path - Defeat the Embryo
10889 Savior's Path - Fallen Emperor's Throne
10890 Savior's Path - Fall of Etina
10891 At a New Place
10892 Revenge, One Step at a Time
10893 End of Twisted Fate

View File

@ -1,4 +0,0 @@
<html><body>Trader Vladimir:<br>
What.., is everyone here DEAF?!<br>Hey... you! Can you help me? I ordered meat from that farm... look at the crap they gave me! I'm too mad to go myself, I wonder if you would return this for me?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00019_GoToThePastureland 31302-02.htm">"I will."</Button>
</body></html>

View File

@ -1,5 +0,0 @@
<html><body>Trader Vladimir:<br>
Is that you? Here. Take this meat! <font color="LEVEL">Farm Manager Tunatun</font> sent it to me, but it's disgusting.<br>
I see red just thinking about it! I can't decide if he doesn't know any better, or if he's trying to slip one by me. Between you and me, I won't buy anything from him!<br>
Not if he paid me! But you might like it...
</body></html>

View File

@ -1,5 +0,0 @@
<html><body>Trader Vladimir:<br>
You? How could someone as inexperienced as you TRULY know how to deal with meat?<br>
The answer is... you can't. Come back after you gain more experience.<br>
(Only character with level 82 or above can take on this quest.)
</body></html>

View File

@ -1,3 +0,0 @@
<html><body>Trader Vladimir:<br>
Did you find the Farm manager? What are you doing? And can you get rid of this meat before it stinks? The quality isn't good enough.
</body></html>

View File

@ -1,6 +0,0 @@
<html><body>Beast Herder Tunatun:<br>
What? Vladimir said that? Hmm...<br>
Actually, that is the best meat I can get. Unless a skilled adventurer shows up...<br>
There is nothing else I can do. This is the only time I will accept a return. But I still look forward to doing business. Do I have any change?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00019_GoToThePastureland 31537-02.htm">Say that he said he doesn't need it</Button>
</body></html>

View File

@ -1,5 +0,0 @@
<html><body>Beast Herder Tunatun:<br>
He's a cranky one, eh!<br>
But I can't do that. I can apologize to him later. But you should take this money. I'll feel better that way when I pay a visit later.<br>
Now, I'm in need of a skilled, feared, willing adventurer to help me acquire good meat, if ONLY there was one nearby...?
</body></html>

View File

@ -1,3 +0,0 @@
<html><body>Beast Herder Tunatun:<br>
I see. Then, first return the meat... What? You didn't bring the meat? How would I know if he sent you?
</body></html>

View File

@ -1,122 +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.Q00019_GoToThePastureland;
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;
/**
* Go to the Pastureland (19)
* @author malyelfik
*/
public final class Q00019_GoToThePastureland extends Quest
{
// NPCs
private static final int VLADIMIR = 31302;
private static final int TUNATUN = 31537;
// Items
private static final int VEAL = 15532;
private static final int YOUNG_WILD_BEAST_MEAT = 7547;
// Misc
private static final int MIN_LEVEL = 82;
public Q00019_GoToThePastureland()
{
super(19);
addStartNpc(VLADIMIR);
addTalkId(VLADIMIR, TUNATUN);
registerQuestItems(VEAL, YOUNG_WILD_BEAST_MEAT);
addCondMinLevel(MIN_LEVEL, "31302-03.html");
}
@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
String htmltext = event;
final QuestState st = getQuestState(player, false);
if (st == null)
{
return getNoQuestMsg(player);
}
if (event.equalsIgnoreCase("31302-02.htm"))
{
st.startQuest();
giveItems(player, VEAL, 1);
}
else if (event.equalsIgnoreCase("31537-02.htm"))
{
if (hasQuestItems(player, YOUNG_WILD_BEAST_MEAT))
{
giveAdena(player, 50000, true);
addExpAndSp(player, 136766, 59); // TODO: Retail like SP value
st.exitQuest(false, true);
htmltext = event;
}
else if (hasQuestItems(player, VEAL))
{
giveAdena(player, 299928, true);
addExpAndSp(player, 1_456_218, 349);
st.exitQuest(false, true);
htmltext = event;
}
else
{
htmltext = "31537-03.html";
}
}
return htmltext;
}
@Override
public String onTalk(L2Npc npc, L2PcInstance player)
{
String htmltext = getNoQuestMsg(player);
final QuestState st = getQuestState(player, true);
if (npc.getId() == VLADIMIR)
{
switch (st.getState())
{
case State.CREATED:
{
htmltext = "31302-01.html";
break;
}
case State.STARTED:
{
htmltext = "31302-04.html";
break;
}
case State.COMPLETED:
{
htmltext = getAlreadyCompletedMsg(player);
break;
}
}
}
else if ((npc.getId() == TUNATUN) && (st.isCond(1)))
{
htmltext = "31537-01.html";
}
return htmltext;
}
}

View File

@ -1,4 +0,0 @@
<html><body>Beast Herder Tunatun:<br>
Ahh... I love the farm, but I wonder what they will become when they mature.<br>It's not always easy to farm beasts, you know. Even as manager of this place, I can only do so much to command those beasts... Do you know anyone skilled with such beasts...?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00020_BringUpWithLove 31537-02.htm">Say that you will help</Button>
</body></html>

View File

@ -1,4 +0,0 @@
<html><body>Beast Herder Tunatun:<br>
You...? I agree you look the part, but know that these beasts won't care how you look. You must stay in control. The young are docile, it's the adults to watch out for. Are you sure you are ready?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00020_BringUpWithLove 31537-03.htm">Say that you are ready</Button>
</body></html>

View File

@ -1,6 +0,0 @@
<html><body>Beast Herder Tunatun:<br>
If you say so...<br>
First, take this <font color="LEVEL">Beast Handler's Whip</font>. Do I need to show you how this works?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00020_BringUpWithLove 31537-04.htm">Say that you know</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00020_BringUpWithLove 31537-05.htm">Say that you don't know</Button>
</body></html>

View File

@ -1,6 +0,0 @@
<html><body>Beast Herder Tunatun:<br>
Well, the lesson is almost over.<br>
If you feel ready, there's only one way to know for sure.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00020_BringUpWithLove 31537-08.htm">Say that you know</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00020_BringUpWithLove 31537-12.htm">Say that you don't know</Button>
</body></html>

View File

@ -1,5 +0,0 @@
<html><body>Beast Herder Tunatun:<br>
The Beast Handler's Whip is a necessity on this farm.<br>
One beast used to be our limit, but thanks to the Beast Handler's Whip it isn't a problem controlling more.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00020_BringUpWithLove 31537-06.htm">Continue to listen to the story</Button>
</body></html>

View File

@ -1,5 +0,0 @@
<html><body>Beast Herder Tunatun:<br>
That's not the only reason. When you use this Beast Handler's Whip, you can use a variety supplemental magic on the cubs you train.<br>
The more kinds of beasts you train, the greater the magic you can use!<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00020_BringUpWithLove 31537-07.htm">Continue to listen to the story</Button>
</body></html>

View File

@ -1,6 +0,0 @@
<html><body>Beast Herder Tunatun:<br>
If somehow you lose the Beast Handler's Whip, let me know. I'll give you another one.<br>
Before we begin.. Do you need a few tips?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00020_BringUpWithLove 31537-08.htm">Say that you know</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00020_BringUpWithLove 31537-12.htm">Say that you don't know</Button>
</body></html>

View File

@ -1,5 +0,0 @@
<html><body>Beast Herder Tunatun:<br>
The next step is simple. The cubs need proper positive attention. They only recognize you as their master if you raise them right.<br>
But, if you ignore them and leave them to their own mischief... Well let's just say you won't be bringing one home for the kids!<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00020_BringUpWithLove 31537-09.htm">"And then?"</Button>
</body></html>

View File

@ -1,5 +0,0 @@
<html><body>Beast Herder Tunatun:<br>
Now sometimes, and I do mean rarely, a cub remains purely innocent and good, without any trace of evil. Again, this is rare. But when it does happen, that cub will produce a white jewel.<br>
We call this jewel a <font color="LEVEL">Jewel of Innocence</font>. It's a product of the cub's pure love for its master.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00020_BringUpWithLove 31537-10.htm">"So, what you really want to say is...?"</Button>
</body></html>

View File

@ -1,6 +0,0 @@
<html><body>Beast Herder Tunatun:<br>
You've guessed it, I want that Jewel of Innocence! Beasts crave them, but only the person who raised the cub can retrieve the Jewel of Innocence.<br>
Also, and I don't know why, but you only get one chance to acquire that jewel. I've only seen it once, truly unforgettable to say the least...<br>
Get this jewel for me and the reward will be great. What do you say?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00020_BringUpWithLove 31537-11.html">Say that you will</Button>
</body></html>

View File

@ -1,4 +0,0 @@
<html><body>Beast Herder Tunatun:<br>
I hope you aren't all talk! Feed them, diligently, with Feed from the Feed Sellers, and fortune may shine on you... with a jewel!<br>
However, a beast with any evil in it can be dangerous. So be careful! I'll be waiting for that jewel.
</body></html>

View File

@ -1,5 +0,0 @@
<html><body>Beast Herder Tunatun:<br>
Pay attention. You see those Feed Sellers?<br>
Purchase the Feed from them, and let <font color="LEVEL">Alpine Buffalo, Alpine Grendel, Alpine Kookaburra, Alpine Cougar</font> eat the Feed to make them grow.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00020_BringUpWithLove 31537-08.htm">Listen to the next story</Button>
</body></html>

View File

@ -1,6 +0,0 @@
<html><body>Beast Herder Tunatun:<br>
Ahh... I love the farm, but I wonder what they will become when they mature.<br>
It's not always easy to farm beasts, you know. Even as manager of this place, I can only do so much to command those beasts... Do you know anyone skilled with such beasts...?<br>
Feral beasts are too dangerous for pretenders and beginners....<br>
(Only characters of level 82 and above are permitted to take on this quest.)
</body></html>

View File

@ -1,4 +0,0 @@
<html><body>Beast Herder Tunatun:<br>
Buy food from the Feed Sellers. Without food the beasts turn feral. If that happens you've wasted everyone's time. So do us both a favor, have enough food ready.<br>
The cubs you can raise are <font color="LEVEL">Alpine Buffalo, Alpine Grendel, Alpine Kookaburra, and Alpine Cougar</font>. So raise em' right. And when you do... bring me a Jewel of Innocence!
</body></html>

View File

@ -1,4 +0,0 @@
<html><body>Beast Herder Tunatun:<br>
The Jewel of Innocence! You aren't thinking of keeping it, are you? I'll pay you now..<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00020_BringUpWithLove 31537-16.html">Give it to him</Button>
</body></html>

View File

@ -1,7 +0,0 @@
<html><body>Beast Herder Tunatun:<br>
Ahh, it has been too long...! The way light catches it, the color, the texture, the...<br>
Oh... I, I'm crying. Don't mind me...<br>
This Jewel... when I hold it I remember the innocence of my youth. I remember a dream...<br>
I dreamed about making the world a better place. Yes, I was young. But I realize now I still dream this.<br>
I have to do something, I have to act.
</body></html>

View File

@ -1,141 +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.Q00020_BringUpWithLove;
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;
/**
* Bring Up With Love (20)
* @author Adry_85
*/
public class Q00020_BringUpWithLove extends Quest
{
// NPC
private static final int TUNATUN = 31537;
// Items
private static final int WATER_CRYSTAL = 9553;
private static final int INNOCENCE_JEWEL = 15533;
// Misc
private static final int MIN_LEVEL = 82;
public Q00020_BringUpWithLove()
{
super(20);
addStartNpc(TUNATUN);
addTalkId(TUNATUN);
}
@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 "31537-02.htm":
case "31537-03.htm":
case "31537-04.htm":
case "31537-05.htm":
case "31537-06.htm":
case "31537-07.htm":
case "31537-08.htm":
case "31537-09.htm":
case "31537-10.htm":
case "31537-12.htm":
{
htmltext = event;
break;
}
case "31537-11.html":
{
qs.startQuest();
htmltext = event;
break;
}
case "31537-16.html":
{
if (qs.isCond(2) && hasQuestItems(player, INNOCENCE_JEWEL))
{
giveItems(player, WATER_CRYSTAL, 1);
takeItems(player, INNOCENCE_JEWEL, -1);
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 = getNoQuestMsg(player);
switch (qs.getState())
{
case State.COMPLETED:
{
htmltext = getAlreadyCompletedMsg(player);
break;
}
case State.CREATED:
{
htmltext = player.getLevel() >= MIN_LEVEL ? "31537-01.htm" : "31537-13.html";
break;
}
case State.STARTED:
{
switch (qs.getCond())
{
case 1:
{
htmltext = "31537-14.html";
break;
}
case 2:
{
htmltext = !hasQuestItems(player, INNOCENCE_JEWEL) ? "31537-14.html" : "31537-15.html";
break;
}
}
break;
}
}
return htmltext;
}
public static void checkJewelOfInnocence(L2PcInstance player)
{
final QuestState qs = player.getQuestState(Q00020_BringUpWithLove.class.getSimpleName());
if ((qs != null) && qs.isCond(1) && !hasQuestItems(player, INNOCENCE_JEWEL) && (getRandom(100) < 5))
{
giveItems(player, INNOCENCE_JEWEL, 1);
qs.setCond(2, true);
}
}
}

View File

@ -1,5 +0,0 @@
<html><body>Mercenary Captain Pierce:<br>
Excellent! I hate to throw you into the fire on your first mission, but it's vital that we find out what happened to our scout!<br>
Cool your heels a minute and I'll tell you where to focus your search.<br>
We lost contact with him inside the Swamp of Screams. If you follow the path you can't miss it. I also marked it on your map, so don't get lost! Last thing I need is another missing person.
</body></html>

View File

@ -1,5 +0,0 @@
<html><body>Mercenary Captain Pierce:<br>
I'm glad to have you on the force! Makes me more optimistic about our chances...<br>
Anyway, I called you here to ask you a favor. I sent a group of scouts into the Swamp of Screams to investigate the ongoing conflict there, but we've lost contact with one of them. I need someone to find out what happened. Are you up to the task?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00109_InSearchOfTheNest 31553-02.html">"Sure, no big deal. I'll do it."</Button>
</body></html>

View File

@ -1,5 +0,0 @@
<html><body>Mercenary Captain Pierce:<br>
Excellent! I hate to throw you into the fire on your first mission, but it's vital that we find out what happened to our scout!<br>
Cool your heels a minute and I'll tell you where to focus your search.<br>
We lost contact with him inside the Swamp of Screams. If you follow the path you can't miss it. I also marked it on your map, so don't get lost! Last thing I need is another missing person.
</body></html>

View File

@ -1,4 +0,0 @@
<html><body>Mercenary Captain Pierce:<br>
What's the hold up?<br>
We lost contact with the scout inside the Swamp of Screams. Follow the path and you can't miss it. I marked it on the map so you shouldn't get lost. Remember, countless lives are at stake here! We need to find that scout!
</body></html>

View File

@ -1,4 +0,0 @@
<html><body>Mercenary Captain Pierce:<br>
We have no use for someone so inexperienced. Get some more training and we'll see what we can do for you...<br>
(Only characters who are level 81 or above may undertake this quest.)
</body></html>

View File

@ -1,5 +0,0 @@
<html><body>Mercenary Captain Pierce:<br>
I can tell by your looks that you found something. Well? Is my scout OK?<br>
Spit it out, soldier! What do you know?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00109_InSearchOfTheNest 31553-06.html">"Read this memo."</Button>
</body></html>

View File

@ -1,5 +0,0 @@
<html><body>Mercenary Captain Pierce:<br>
I see... It is as I feared... He's dead. <br>
Well, thank you for risking your neck to track him down. We'll learn a lot from the intel he left behind. I'm sure that's what he would've wanted.<br>
I'll keep my eye out for you from now on. For now, your work here is done. Speak with <font color="LEVEL">Kahman</font> over there.
</body></html>

View File

@ -1,3 +0,0 @@
<html><body>Mercenary Captain Pierce:<br>
You've done your part, and I thank you for it. Go to see <font color="LEVEL">Kahman</font> over there for your reward.
</body></html>

View File

@ -1,4 +0,0 @@
<html><body>Mercenary Captain Pierce:<br>
We have no use for someone so inexperienced. Get some more training and we'll see what we can do for you...<br>
(Only characters who are level 81 or higher may undertake this quest.)
</body></html>

View File

@ -1,5 +0,0 @@
<html><body>Mercenary Captain Pierce:<br>
I'm glad to have you on the force! Makes me more optimistic about our chances...<br>
Anyway, I called you here to ask you a favor. I sent a group of scouts into the Swamp of Screams to investigate the ongoing conflict there, but we've lost contact with one of them. I need someone to find out what happened. Are you up to the task?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00109_InSearchOfTheNest 31553-0.htm">"Sure, no big deal. I'll do it."</Button>
</body></html>

View File

@ -1,4 +0,0 @@
<html><body>Mercenary Captain Pierce:<br>
What's the hold up?<br>
We lost contact with the scout inside the Swamp of Screams. Follow the path and you can't miss it. I marked it on the map so you shouldn't get lost. Remember, countless lives are at stake here! We need to find that scout!
</body></html>

View File

@ -1,5 +0,0 @@
<html><body>Mercenary Captain Pierce:<br>
I can tell by your looks that you found something. Well? Is my scout OK?<br>
Spit it out, soldier! What do you know?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00109_InSearchOfTheNest 31553-3.html">"Read this memo."</Button>
</body></html>

View File

@ -1,5 +0,0 @@
<html><body>Mercenary Captain Pierce:<br>
Ah, I see... He's dead, then.<br>
Good work. At least he gave us some important information: the Stakatos are becoming both wilder and stronger, though we don't know why.<br>
Our Golden Ram Mercenaries must now prepare for what may well be our final battle. Take this news to <font color="LEVEL">Kahman</font>. He will reward you for your efforts.
</body></html>

View File

@ -1,3 +0,0 @@
<html><body>Mercenary Captain Pierce:<br>
You've done your part, and I thank you for it. Go to see <font color="LEVEL">Kahman</font> over there for your reward.
</body></html>

View File

@ -1,4 +0,0 @@
<html><body>Mercenary Kahman:<br>
State your business here! We received no order.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00109_InSearchOfTheNest 31554-02.html">"Pierce sent me."</Button>
</body></html>

View File

@ -1,3 +0,0 @@
<html><body>Mercenary Kahman:<br>
Oh, yeah! It's you! Right, then. Here you go! Don't be too disappointed if it's less than you'd like. Come back later and there'll be more work for you.
</body></html>

View File

@ -1,4 +0,0 @@
<html><body>Mercenary Kahman:<br>
State your business here! We received no order.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00109_InSearchOfTheNest 31554-2.html">"Pierce sent me."</Button>
</body></html>

View File

@ -1,3 +0,0 @@
<html><body>Mercenary Kahman:<br>
Oh, yeah! It's you! Right, then. Here you go! Don't be too disappointed if it's less than you'd like. Come back later and there'll be more work for you.
</body></html>

View File

@ -1,4 +0,0 @@
<html><body><br>
The corpse of Pierce's scout, who came here looking for the entrance. Search for any clues he might have left.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00109_InSearchOfTheNest 32015-02.html"> Search the corpse </Button>
</body></html>

View File

@ -1,3 +0,0 @@
<html><body><br>
(Beneath the corpse you find a memo. You should take it to Mercenary Captain Pierce.)
</body></html>

View File

@ -1,3 +0,0 @@
<html><body><br>
(There's nothing else here. Take the memo to Mercenary Captain Pierce.)
</body></html>

View File

@ -1,4 +0,0 @@
<html><body><br>
The corpse of Pierce's scout, who came here looking for the entrance. Search for any clues he might have left.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00109_InSearchOfTheNest 32015-2.html">Search the corpse.</Button>
</body></html>

View File

@ -1,3 +0,0 @@
<html><body><br>
(Beneath the corpse you find a memo. You should take it to Mercenary Captain Pierce.)
</body></html>

View File

@ -1,3 +0,0 @@
<html><body><br>
(There's nothing else here. Take the memo to Mercenary Captain Pierce.)
</body></html>

View File

@ -1,176 +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.Q00109_InSearchOfTheNest;
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;
/**
* In Search of the Nest (109)
* @author Adry_85, Gladicek
*/
public class Q00109_InSearchOfTheNest extends Quest
{
// NPCs
private static final int PIERCE = 31553;
private static final int SCOUTS_CORPSE = 32015;
private static final int KAHMAN = 31554;
// Items
private static final int SCOUTS_NOTE = 14858;
// Misc
private static final int MIN_LEVEL = 81;
public Q00109_InSearchOfTheNest()
{
super(109);
addStartNpc(PIERCE);
addTalkId(PIERCE, SCOUTS_CORPSE, KAHMAN);
addCondMinLevel(MIN_LEVEL, "31553-04.htm");
registerQuestItems(SCOUTS_NOTE);
}
@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
QuestState st = getQuestState(player, false);
if (st == null)
{
return getNoQuestMsg(player);
}
String htmltext = null;
switch (event)
{
case "31553-02.html":
{
st.startQuest();
break;
}
case "32015-02.html":
{
if (st.isCond(1))
{
giveItems(player, SCOUTS_NOTE, 1);
st.setCond(2, true);
}
break;
}
case "31553-06.html":
{
if (st.isCond(2))
{
takeItems(player, SCOUTS_NOTE, -1);
st.setCond(3, true);
}
break;
}
case "31554-02.html":
{
if (st.isCond(3))
{
giveAdena(player, 900990, true);
addExpAndSp(player, 8550000, 2052);
st.exitQuest(false, true);
}
break;
}
}
return htmltext;
}
@Override
public String onTalk(L2Npc npc, L2PcInstance player)
{
String htmltext = getNoQuestMsg(player);
final QuestState st = getQuestState(player, true);
if (st == null)
{
return htmltext;
}
switch (st.getState())
{
case State.CREATED:
{
if (npc.getId() == PIERCE)
{
htmltext = "31553-01.htm";
}
break;
}
case State.STARTED:
{
switch (npc.getId())
{
case PIERCE:
{
switch (st.getCond())
{
case 1:
{
htmltext = "31553-03.html";
break;
}
case 2:
{
htmltext = "31553-05.html";
break;
}
case 3:
{
htmltext = "31553-07.html";
break;
}
}
break;
}
case SCOUTS_CORPSE:
{
if (st.isCond(1))
{
htmltext = "32015-01.html";
}
else if (st.isCond(2))
{
htmltext = "32015-03.html";
}
break;
}
case KAHMAN:
{
if (st.isCond(3))
{
htmltext = "31554-01.html";
}
break;
}
}
break;
}
case State.COMPLETED:
{
htmltext = getAlreadyCompletedMsg(player);
break;
}
}
return htmltext;
}
}

View File

@ -1,5 +0,0 @@
<html><body>Spellbook Seller Anton:<br>
Have you heard of the book entitled "Traces of Living Beings in Ancient Times?" While clearing out the library's underground warehouse one day, I discovered a very old, very worn-out book filled with snatches of some ancient language. Believe me when I tell you that my years of working here have made me pretty familiar with most of the ancient tongues, but this language is totally strange to me. I hope to be able to eventually translate it, but right now it has me completely stymied!<br>
In any event, I placed it on my shelf and, to my chagrin, eventually forgot about it. But recently I have heard that it may be a very valuable tome -- very valuable indeed!<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00110_ToThePrimevalIsle 31338-03.htm">"Oh really? Tell me more details!"</Button>
</body></html>

View File

@ -1,4 +0,0 @@
<html><body>Spellbook Seller Anton:<br>
While clearing out the library's underground warehouse one day, I discovered a very old, very worn-out book filled with snatches of some unkown ancient language. I have tried to translate it without success, but I recently learned that this book is very valuable. I am looking for an adventurer who can transport it to Primeval Isle, but I don't think that you're the right person for the job. No offense! I know it sounds like an easy task, but the island is a place filled with peril. I need someone with more...experience to undertake this mission.<br>
(You must be level 75 or above to start this quest.)
</body></html>

View File

@ -1,4 +0,0 @@
<html><body>Spellbook Seller Anton:<br>
A few days ago, Clark -- the most avid reader in all Rune Town -- stopped by and asked to see all the books I had cleared out from the underground warehouse. He seemed to be knowledgeable about the subject, so I showed this ancient book to him.<br>You should have seen Clark's face! He cried out and grasped the book to him as though he was embracing a long-lost friend. He told me that, long ago, he was a member of the original Primeval Isle Expedition and a close friend of the expedition's leader, Captain Marquez. This book, he told me, is the only one of its kind. It contains much of the mythology and history of the Primeval Isle. Marquez himself has searched for it for years, but had all but given up hope of ever finding it.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00110_ToThePrimevalIsle 31338-04.htm">"What an amazing coincidence!"</Button>
</body></html>

View File

@ -1,5 +0,0 @@
<html><body>Spellbook Seller Anton:<br>
You're right. It is amazing, isn't it?<br>Clark told Marquez about my discovery, and Marquez wrote to me asking that he be allowed to obtain the book to assist the writing of his own history of the island. In its wisdom, the fathers of our library decided that the interests of scholarship would be best served by loaning the book to Marquez. But we need someone, preferably an adventurer, willing to transport it to him on Primeval Isle.<br>
I don't think the task should be especially difficult, but of course anything so unique and valuable is bound to attract the attention of...well, less savory sorts of people. That's why we want someone with the skill to handle any trouble that may come along. What do you think? Would you like to do it?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00110_ToThePrimevalIsle 31338-05.html">"Sure!"</Button>
</body></html>

View File

@ -1,4 +0,0 @@
<html><body>Spellbook Seller Anton:<br>
Excellent! Excellent! Marquez will be so pleased! Let me fetch the book for you so you can take it to Marquez. You will find him in the <font color="LEVEL">front area of the wharf on Primeval Isle</font>. Obviously, you'll need to take a ship from Rune Port to reach the island.<br>
May your journey be uneventful!
</body></html>

View File

@ -1,4 +0,0 @@
<html><body>Spellbook Seller Anton:<br>
Please take that book to <font color="LEVEL">Marquez</font> at the wharf on Primeval Isle.<br>
I know that you'll enjoy meeting him. An old adventurer himself, he always has time to talk to a young up-and-comer such as yourself.
</body></html>

View File

@ -1,4 +0,0 @@
<html><body>Spellbook Seller Anton:<br>
While clearing out the library's underground warehouse one day, I discovered a very old, very worn-out book filled with snatches of some unkown ancient language. I have tried to translate it without success, but I recently learned that this book is very valuable. I am looking for an adventurer who can transport it to Primeval Isle, but I don't think that you're the right person for the job. No offense! I know it sounds like an easy task, but the island is a place filled with peril. I need someone with more...experience to undertake this mission.<br>
(Only characters level 75 and above are permitted to take on this quest.)
</body></html>

View File

@ -1,5 +0,0 @@
<html><body>Spellbook Seller Anton:<br>
Have you heard of the book entitled "Traces of Living Beings in Ancient Times?" While clearing out the library's underground warehouse one day, I discovered a very old, very worn-out book filled with snatches of some ancient language. Believe me when I tell you that my years of working here have made me pretty familiar with most of the ancient tongues, but this language is totally strange to me. I hope to be able to eventually translate it, but right now it has me completely stymied!<br>
In any event, I placed it on my shelf and, to my chagrin, eventually forgot about it. But recently I have heard that it may be a very valuable tome -- very valuable indeed!<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00110_ToThePrimevalIsle 31338-0c.htm">Ask why it is valuable.</Button>
</body></html>

View File

@ -1,5 +0,0 @@
<html><body>Spellbook Seller Anton:<br>
A few days ago, Clark -- the most avid reader in all Rune Town -- stopped by and asked to see all the books I had cleared out from the underground warehouse. He seemed to be knowledgeable about the subject, so I showed this ancient book to him.<br>
You should have seen Clark's face! He cried out and grasped the book to him as though he was embracing a long-lost friend. He told me that, long ago, he was a member of the original Primeval Isle Expedition and a close friend of the expedition's leader, Captain Marquez. This book, he told me, is the only one of its kind. It contains much of the mythology and history of the Primeval Isle. Marquez himself has searched for it for years, but had all but given up hope of ever finding it.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00110_ToThePrimevalIsle 31338-0d.htm">"What an amazing coincidence!"</Button>
</body></html>

View File

@ -1,6 +0,0 @@
<html><body>Spellbook Seller Anton:<br>
You're right. It is amazing, isn't it?<br>
Clark told Marquez about my discovery, and Marquez wrote to me asking that he be allowed to obtain the book to assist the writing of his own history of the island. In its wisdom, the fathers of our library decided that the interests of scholarship would be best served by loaning the book to Marquez. But we need someone, preferably an adventurer, willing to transport it to him on Primeval Isle.<br>
I don't think the task should be especially difficult, but of course anything so unique and valuable is bound to attract the attention of...well, less savory sorts of people. That's why we want someone with the skill to handle any trouble that may come along. What do you think? Would you like to do it?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00110_ToThePrimevalIsle 31338-1.html">Say that you will.</Button>
</body></html>

View File

@ -1,4 +0,0 @@
<html><body>Spellbook Seller Anton:<br>
Excellent! Excellent! Marquez will be so pleased! Let me fetch the book for you so you can take it to Marquez. You will find him in the <font color="LEVEL">front area of the wharf on Primeval Isle</font>. Obviously, you'll need to take a ship from Rune Port to reach the island.<br>
May your journey be uneventful!
</body></html>

View File

@ -1,4 +0,0 @@
<html><body>Spellbook Seller Anton:<br>
Please take that book to <font color="LEVEL">Marquez</font> at the wharf on Primeval Isle.<br>
I know that you'll enjoy meeting him. An old adventurer himself, he always has time to talk to a young up-and-comer such as yourself.
</body></html>

View File

@ -1,4 +0,0 @@
<html><body>Marquez:<br>
It doesn't look as though you are here to travel. Do you have anything else to say to me?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00110_ToThePrimevalIsle 32113-02.html">"I brought a book about primitive creatures."</Button>
</body></html>

View File

@ -1,5 +0,0 @@
<html><body>Marquez:<br>
Oh, you're the gutsy one Anton mentioned! Ha-ha-ha! Perhaps you haven't heard of me, though? At first, my sole purpose in founding this place was to obtain freedom and wealth. But I was soon attracted to the innocence and mystery of the island itself. I led an expedition deep into the island's interior, fascinated by all we encountered.<br>
It was not without its perils, though -- we were attacked by those powerful dinosaurs and the Elrokians themselves. Many of our group lost their lives. But some good did come from our efforts -- we established ties of friendship with the Elrokians.<br>I know that I am too old now to venture again into the wild interior, but the island's mystery still quickens my heart.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00110_ToThePrimevalIsle 32113-03.html">"You still look like an explorer."</Button>
</body></html>

View File

@ -1,5 +0,0 @@
<html><body>Marquez:<br>
Ha ha! Thank you for saying so. But my aching body knows the truth; those days have ended for me. Lately I have at least tried to pass my knowledge on to younger adventurers by writing an account of my experiences on the island.<br>I started by recounting both my own personal experiences and various stories I learned from the natives. But then I heard of a ancient book that recounts the history of Primeval Isle, and I have searched for it for years now without success. I was ready to give up...until Clark sent me a message saying that he found it. And here it is...<br>I see by your expression that you are as curious about its contents as I am! The ancient language is no doubt foreign to you, but I can translate a few passages if you are interested in hearing them. Shall I do so?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00110_ToThePrimevalIsle 32113-04.html">"I am interested!"</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00110_ToThePrimevalIsle 32113-05.html">"No, thank you. I will take off now."</Button>
</body></html>

View File

@ -1,5 +0,0 @@
<html><body>Marquez:<br>
Excellent! I see in you the spirit of my younger days! Very well, let me begin:<br>
<font color="LEVEL">In the days of old</font>, when the circle of the gods was broken, countless races were spawned from that circle. The greatest of them were the gods themselves; the next greatest were the Giants. And the gods gave the Giants authority to rule over the world. All scholars know this story, but in these latter days men wonder what has become of all the creatures brought forth into the world at the breaking of the circle.<br>
An interesting beginning, eh? Clearly this was a learned author; perhaps I will discover in its pages new knowledge about the ancient Primeval Isle. I can hardly wait to begin my translation! Thank you for bringing this prize to me.
</body></html>

View File

@ -1,4 +0,0 @@
<html><body>Marquez:<br>
I see. Obviously, the book has greater value for me than for others; I'm sure you understand. In any case, thank you for bringing it to me.<br>
If you ever decide to explore the Primeval Isle for yourself, I may be of service to you. Until that day, farewell!
</body></html>

View File

@ -1,4 +0,0 @@
<html><body>Marquez:<br>
It doesn't look as though you are here to travel. Do you have anything else to say to me?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00110_ToThePrimevalIsle 32113-1a.html">Tell him that you've brought the book about primitive creatures.</Button>
</body></html>

View File

@ -1,6 +0,0 @@
<html><body>Marquez:<br>
Oh, you're the gutsy one Anton mentioned! Ha-ha-ha! Perhaps you haven't heard of me, though? At first, my sole purpose in founding this place was to obtain freedom and wealth. But I was soon attracted to the innocence and mystery of the island itself. I led an expedition deep into the island's interior, fascinated by all we encountered.<br>
It was not without its perils, though -- we were attacked by those powerful dinosaurs and the Elrokians themselves. Many of our group lost their lives. But some good did come from our efforts -- we established ties of friendship with the Elrokians.<br>
I know that I am too old now to venture again into the wild interior, but the island's mystery still quickens my heart.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00110_ToThePrimevalIsle 32113-1b.html">Tell him that he still looks like an explorer.</Button>
</body></html>

View File

@ -1,7 +0,0 @@
<html><body>Marquez:<br>
Ha ha! Thank you for saying so. But my aching body knows the truth; those days have ended for me. Lately I have at least tried to pass my knowledge on to younger adventurers by writing an account of my experiences on the island.<br>
I started by recounting both my own personal experiences and various stories I learned from the natives. But then I heard of a ancient book that recounts the history of Primeval Isle, and I have searched for it for years now without success. I was ready to give up...until Clark sent me a message saying that he found it. And here it is...<br>
I see by your expression that you are as curious about its contents as I am! The ancient language is no doubt foreign to you, but I can translate a few passages if you are interested in hearing them. Shall I do so?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00110_ToThePrimevalIsle 32113-2.html">Tell him that you are interested in hearing the translation.</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00110_ToThePrimevalIsle 32113-2a.html">Tell him that you are not interested and will just leave.</Button>
</body></html>

View File

@ -1,5 +0,0 @@
<html><body>Marquez:<br>
Excellent! I see in you the spirit of my younger days! Very well, let me begin:<br>
<font color="LEVEL">In the days of old</font>, when the circle of the gods was broken, countless races were spawned from that circle. The greatest of them were the gods themselves; the next greatest were the Giants. And the gods gave the Giants authority to rule over the world. All scholars know this story, but in these latter days men wonder what has become of all the creatures brought forth into the world at the breaking of the circle.<br>
An interesting beginning, eh? Clearly this was a learned author; perhaps I will discover in its pages new knowledge about the ancient Primeval Isle. I can hardly wait to begin my translation! Thank you for bringing this prize to me.
</body></html>

View File

@ -1,4 +0,0 @@
<html><body>Marquez:<br>
I see. Obviously, the book has greater value for me than for others; I'm sure you understand. In any case, thank you for bringing it to me.<br>
If you ever decide to explore the Primeval Isle for yourself, I may be of service to you. Until that day, farewell!
</body></html>

View File

@ -1,144 +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.Q00110_ToThePrimevalIsle;
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;
/**
* To the Primeval Isle (110)
* @author Adry_85, Gladicek
*/
public class Q00110_ToThePrimevalIsle extends Quest
{
// NPCs
private static final int ANTON = 31338;
private static final int MARQUEZ = 32113;
// Item
private static final int ANCIENT_BOOK = 8777;
// Misc
private static final int MIN_LEVEL = 75;
public Q00110_ToThePrimevalIsle()
{
super(110);
addStartNpc(ANTON);
addTalkId(ANTON, MARQUEZ);
addCondMinLevel(MIN_LEVEL, "");
registerQuestItems(ANCIENT_BOOK);
}
@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
QuestState st = getQuestState(player, false);
if (st == null)
{
return getNoQuestMsg(player);
}
String htmltext = null;
switch (event)
{
case "31338-03.htm":
case "31338-04.htm":
case "32113-02.html":
case "32113-03.html":
{
htmltext = event;
break;
}
case "31338-05.html":
{
giveItems(player, ANCIENT_BOOK, 1);
st.startQuest();
break;
}
case "32113-04.html":
case "32113-05.html":
{
if (st.isCond(1))
{
if ((player.getLevel() >= MIN_LEVEL))
{
giveAdena(player, 189208, true);
addExpAndSp(player, 887732, 213);
st.exitQuest(false, true);
}
else
{
htmltext = getNoQuestLevelRewardMsg(player);
}
break;
}
break;
}
}
return htmltext;
}
@Override
public String onTalk(L2Npc npc, L2PcInstance player)
{
String htmltext = getNoQuestMsg(player);
final QuestState st = getQuestState(player, true);
if (st == null)
{
return htmltext;
}
switch (st.getState())
{
case State.CREATED:
{
if (npc.getId() == ANTON)
{
htmltext = "31338-01.htm";
}
break;
}
case State.STARTED:
{
if (npc.getId() == ANTON)
{
if (st.isCond(1))
{
htmltext = "32113-06.html";
}
}
else if (npc.getId() == MARQUEZ)
{
if (st.isCond(1))
{
htmltext = "32113-01.html";
}
}
break;
}
case State.COMPLETED:
{
htmltext = getAlreadyCompletedMsg(player);
break;
}
}
return htmltext;
}
}

View File

@ -1,4 +0,0 @@
<html><body>Marquez:<br>
Ah, my young adventurer... So, did you have a look around this Primeval Isle? As you probably know already, there are many unique creatures on this island. There is also an ancient race of men, the Elroki tribe. Though they may seem primitive to your eyes in some respects, do not underestimate them! Theirs is a culture rich in history and tradition, and they have skills unknown to more "civilized" races. How else could they have survived all these years surrounded by these vicious dinosaurs?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00111_ElrokianHuntersProof 32113-02.htm">"How do the Elrokians manage the dinosaurs?"</button>
</body></html>

View File

@ -1,6 +0,0 @@
<html><body>Marquez:<br>
Once, I accompanied the Elrokians on a dinosaur hunt... It was a remarkable experience!<br>
The Elrokians first weaken the creatures by wielding a strange-looking device unique to their tribe. Are you by chance interested in learning the skill?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00111_ElrokianHuntersProof 32113-03.html">"Oh yes! I certainly wish to learn the skill."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action ="bypass -h Quest Q00111_ElrokianHuntersProof 32113-05.htm">"No, thank you. I'm really not interested in learning any "primitive" skills."</Button>
</body></html>

View File

@ -1,4 +0,0 @@
<html><body>Marquez:<br>
Ah, then you must seek out the leader of the Elroki tribe, Chief Mushika, who once explored with me. Tell him that I sent you and perhaps he will more readily accept you.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00111_ElrokianHuntersProof 32113-04.html">"Where is the chief?"</button>
</body></html>

View File

@ -1,3 +0,0 @@
<html><body>Marquez:<br>
The chief lives in the Elroki village on the southern Primeval Plains. His people shun outsiders, but you may have some luck if you first contact a native warrior I know, <font color = "LEVEL">Orahochin</font>, who lives near the foot of the mountain that lies between the southern shore of the Primeval Plains and the Lost Nest.
</body></html>

View File

@ -1,3 +0,0 @@
<html><body>Marquez:<br>
Bah! Only the ignorant would think such a thing! Keep company with the dinosaurs themselves, then, for all I care! Fool!
</body></html>

View File

@ -1,4 +0,0 @@
<html><body>Marquez:<br>
Ah, my young adventurer... So, did you have a look around this Primeval Isle? As you probably know already, there are many unique creatures on this island. There is also an ancient race of men, the Elroki tribe. Though they may seem primitive to your eyes in some respects, do not underestimate them! Theirs is a culture rich in history and tradition, and they have skills unknown to more "civilized" races. How else could they have survived all these years surrounded by these vicious dinosaurs? We could learn much from them...<br>
(You must be level 75 or above to start this quest.)
</body></html>

View File

@ -1,4 +0,0 @@
<html><body>Marquez:<br>
Ah, my young adventurer... So, did you have a look around this Primeval Isle? As you probably know already, there are many unique creatures on this island. There is also an ancient race of men, the Elroki tribe. Though they may seem primitive to your eyes in some respects, do not underestimate them! Theirs is a culture rich in history and tradition, and they have skills unknown to more "civilized" races. How else could they have survived all these years surrounded by these vicious dinosaurs? We could learn much from them...<br>
(Only characters level 75 and above are permitted to take on this quest.)
</body></html>

View File

@ -1,4 +0,0 @@
<html><body>Marquez:<br>
Hurry, then, and visit Mushika, chief of the Elroki tribe.<br>
<Button ALIGN=LEFT ICON="NORMAL" action ="bypass -h Quest Q00111_ElrokianHuntersProof 32113-04.html">"Where is the chief?"</button>
</body></html>

View File

@ -1,6 +0,0 @@
<html><body>Marquez:<br>
Is Mushika ill?<br>
Oh no... I am worried for him...<br>
His son, Asamah, is probably acting as chief on his behalf.<br>
Go talk to Asamah.
</body></html>

View File

@ -1,4 +0,0 @@
<html><body>Marquez:<br>
Did you meet Mushika? Did you discover something about the mysterious skill I told you about?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00111_ElrokianHuntersProof 32113-10.html">"I think I have to get close to them in order to do anything. Can you tell me anything else?"</button>
</body></html>

View File

@ -1,7 +0,0 @@
<html><body>Marquez:<br>
Hmmm, perhaps this will help you forge a bond with the Elrokians... During my explorations of the island, I was gravely wounded -- if not for Mushika, I would have died.<br>
He took me back to the Elrokian village, where I stayed while I recovered.<br>
During my time there, I heard of a song called the <font color = "LEVEL">"Warrior's Song"</font> that supposedly contains all the Elroki tribe's pride, pain and sadness.<br>They sing this song in both victory and mourning.<br>
If you can learn the song and its meaning, perhaps you can earn the tribe's trust...<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00111_ElrokianHuntersProof 32113-11.html">"Where can I learn the song?"</button>
</body></html>

View File

@ -1,4 +0,0 @@
<html><body>Marquez:<br>
Hmmm... A member of my expedition used to speak about an old Elrokian hunter friend of his who knew the song.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00111_ElrokianHuntersProof 32113-12.html">"Where can I find that member of your expedition?"</button>
</body></html>

View File

@ -1,6 +0,0 @@
<html><body>Marquez:<br>
Sadly, he was killed by a <font color = "LEVEL">Velociraptor</font> not long ago.<br>
...<br>
How unfortunate!<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00111_ElrokianHuntersProof 32113-13.html">"I'm sorry to hear that, but isn't there another way? I don't want to give up just yet!"</button>
</body></html>

View File

@ -1,5 +0,0 @@
<html><body>Marquez:<br>
You know, now that I think of it, I remember that he kept a journal...<br>
Perhaps it contains some clue.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00111_ElrokianHuntersProof 32113-14.html">"Where is the journal?"</button>
</body></html>

View File

@ -1,4 +0,0 @@
<html><body>Marquez:<br>
The <font color = "LEVEL">Velociraptor</font> destroyed his belongings at the time of the attack. Perhaps it carried away his journal as well...<br>If you can defeat the <font color = "LEVEL">Velociraptor</font>, we may be able to get the journal back.<br>Do you feel you could find his journal -- or whatever remains of it?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00111_ElrokianHuntersProof 32113-15.html">"Yes!"</button>
</body></html>

View File

@ -1,3 +0,0 @@
<html><body>Marquez:<br>
Very good! Then head east to the <font color = "LEVEL">Lost Nest</font>. Hunt the <font color = "LEVEL">Velociraptor</font> and bring back the <font color = "LEVEL">journal pieces</font>. The journal is a total of <font color = "LEVEL">50 pages</font>. Good luck!
</body></html>

View File

@ -1,4 +0,0 @@
<html><body>Marquez:<br>
Go and defeat the <font color = "LEVEL">Velociraptor</font> and bring back the <font color = "LEVEL">50-page journal</font><br>. Travel east to the <font color = "LEVEL">Lost Nest</font> and I have no doubt that you will find the <font color = "LEVEL">Velociraptor</font>.<br>
Good hunting!
</body></html>

View File

@ -1,5 +0,0 @@
<html><body>Marquez:<br>
Good work! You've brought all the journal pieces!<br>
Now I can return this to his family; perhaps it will comfort them to have a memento of my brave friend...<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00111_ElrokianHuntersProof 32113-18.html">"What does the diary say about the Warrior's Song?"</button>
</body></html>

View File

@ -1,14 +0,0 @@
<html><body>Marquez:<br>
Hmmm... Let's see here...<br><br>
-The contents of the journal-<br>
... (omitted)...<br>
There are many ferns here... It is too thick... There are dark places, too...<br>
....(omitted)...<br>
This place is full of dangerous and powerful creatures...<br>
These creatures are not described in any other books I have ever read... Today, 2 of our members were killed.<br>
...(omitted)...<br>
We are lost in the jungle.<br>
How will I return to the camp?<br>
...(omitted)...<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00111_ElrokianHuntersProof 32113-19.html">Next page</button>
</body></html>

View File

@ -1,8 +0,0 @@
<html><body>Marquez:<br>
Is this to be our fate? Lost, pursued by these vicious creatures?<br>
...(omitted)...<br>
We were attacked by more strange creatures, smaller than the others we have seen. These new ones seem to hunt in packs! <br>
I have become separated from my group...<br>
Will I survive?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00111_ElrokianHuntersProof 32113-20.html">Next page</button>
</body></html>

View File

@ -1,7 +0,0 @@
<html><body>Marquez:<br>
I met a friend today.<br>He looks just like the creatures living here but he walks upright and seems to possess intelligence.<br>
He used a strange skill to save my life,<br>and he shared water and food with me.<br>
If it were not for him, I would not have been able to write these words.<br>
He saved my life.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00111_ElrokianHuntersProof 32113-21.html">Next several pages</button>
</body></html>

View File

@ -1,4 +0,0 @@
<html><body>Marquez:<br>
(According to the journal, it seems like the writer of this diary spent about a year with the native who saved his life.) The native's name is <font color = "LEVEL">Kirikachin</font>. A skillful hunter, he is respected by all the natives.<br>For some reason, however, <font color = "LEVEL">Kirikachin</font> cannot live in the native village or freely contact his people.<br>(Was this the result of some sort of duty? Or was it some kind of punishment? It seems as though there is some story concerned with it.)<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q00111_ElrokianHuntersProof 32113-22.html">Next several pages</button>
</body></html>

Some files were not shown because too many files have changed in this diff Show More