Merged with released L2J-Unity files.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<html><body>Pantheon:<br>
|
||||
Gallint is hurt and cannot move, but we must do something about the books before they get stolen.<br>
|
||||
They're looking for <font color="LEVEL">The War of Gods and Giants</font> mostly, but there are a couple of others they'd probably find useful too.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10327_IntruderWhoWantsTheBookOfGiants 32972-02.htm">"The War of Gods and Giants?"</Button>
|
||||
<html><body>Pantheon:<br>
|
||||
Gallint is hurt and cannot move, but we must do something about the books before they get stolen.<br>
|
||||
They're looking for <font color="LEVEL">The War of Gods and Giants</font> mostly, but there are a couple of others they'd probably find useful too.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10327_IntruderWhoWantsTheBookOfGiants 32972-02.htm">"The War of Gods and Giants?"</Button>
|
||||
</body></html>
|
||||
@@ -1,5 +1,5 @@
|
||||
<html><body>Pantheon:<br>
|
||||
We think they were looking for anything related to the Giants,and tried to steal The War of Gods and Giants, an ancient book that was discovered in Ye Sagira.<br>
|
||||
It has many stories about the powers of the Giants, how that power can be learned, and about others species from their time. Now that the island has crashed, perhaps we should think about safeguarding the book...<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10327_IntruderWhoWantsTheBookOfGiants 32972-03.htm">"I'd like to help."</Button>
|
||||
<html><body>Pantheon:<br>
|
||||
We think they were looking for anything related to the Giants,and tried to steal The War of Gods and Giants, an ancient book that was discovered in Ye Sagira.<br>
|
||||
It has many stories about the powers of the Giants, how that power can be learned, and about others species from their time. Now that the island has crashed, perhaps we should think about safeguarding the book...<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10327_IntruderWhoWantsTheBookOfGiants 32972-03.htm">"I'd like to help."</Button>
|
||||
</body></html>
|
||||
@@ -1,6 +1,6 @@
|
||||
<html><body>Pantheon:<br>
|
||||
Thank you!<br1>
|
||||
When you get to the museum, you should see a number of desks - <font color="LEVEL">one of them</font> has <font color="LEVEL">The War of Giants and Gods</font> on it. Find it, and bring it to me.<br>
|
||||
Would you like to go to the museum?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest MuseumDungeon enter_instance">"Yes."</Button>
|
||||
<html><body>Pantheon:<br>
|
||||
Thank you!<br1>
|
||||
When you get to the museum, you should see a number of desks - <font color="LEVEL">one of them</font> has <font color="LEVEL">The War of Giants and Gods</font> on it. Find it, and bring it to me.<br>
|
||||
Would you like to go to the museum?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest MuseumDungeon enter_instance">"Yes."</Button>
|
||||
</body></html>
|
||||
@@ -1,5 +1,5 @@
|
||||
<html><body>Pantheon:<br>
|
||||
You're still here.<br1>
|
||||
Go into the museum!<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest MuseumDungeon enter_instance">"On my way!"</Button>
|
||||
<html><body>Pantheon:<br>
|
||||
You're still here<br1>
|
||||
Go into the museum!<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest MuseumDungeon enter_instance">"On my way!"</Button>
|
||||
</body></html>
|
||||
@@ -1,4 +1,4 @@
|
||||
<html><body>Pantheon:<br>
|
||||
I just saw suspicious intruders entering the Museum! I fear for the rare and valuable articles inside the Museum. Please hurry into the Museum and deal with the intruders!<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest MuseumDungeon enter_instance">"Sure. I am going in."</Button>
|
||||
<html><body>Pantheon:<br>
|
||||
I just saw suspicious intruders entering the Museum! I fear for the rare valuable articles inside the Museum. Please hurry into the Museum and deal with the intruders!<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Quest MuseumDungeon enter_instance">"Sure. I am going in."</Button>
|
||||
</body></html>
|
||||
@@ -1,5 +1,5 @@
|
||||
<html><head><body>Pantheon:<br>
|
||||
You've brought the book? Good! It must have been difficult to find it amongst all those others!<br>
|
||||
I hope you didn't get hurt either - Gallint may be a fool, but plenty have hurt themselves moving books around before him.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10327_IntruderWhoWantsTheBookOfGiants 32972-07.html">"I had to fight someone!"</Button>
|
||||
<html><head><body>Pantheon:<br>
|
||||
You've brought the book? Good! It must have been difficult to find it amongst all those others!<br>
|
||||
I hope you didn't get hurt either - Gallint may be a fool, but plenty have hurt themselves moving books around before him.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10327_IntruderWhoWantsTheBookOfGiants 32972-07.htm">"I had to fight someone!"</Button>
|
||||
</body></html>
|
||||
@@ -1,6 +1,6 @@
|
||||
<html><body>Pantheon:<br>
|
||||
'What? The thieves are getting more brash by the day!<br>
|
||||
Hmm... So, I wonder if the books related to Giants... are also related to Embryo. It's just speculation, but something worth considering.<br>
|
||||
Now, I must apologize for placing you in harm's way. Please accept these Earrings - accessories such as these help protect you against magic!<br>
|
||||
Remember: you can wear up to two <font color="LEVEL">earrings</font> at a time. Purchase more from the <font color="LEVEL">General Merchant</font> if you wish.
|
||||
</body></html>
|
||||
<html><body>Pantheon:<br>
|
||||
What? The thieves are getting more brash by the day!<br>
|
||||
Hmm... So, I wonder if the books related to Giants... are also related to Embryo. It's just speculation, but something worth considering.<br>
|
||||
Now, I must apologize for placing you in harm's way. Please accept these Earrings - accessories such as these help protect you against magic!<br>
|
||||
Remember: you can wear up to two <font color="LEVEL">earrings</font> at a time. Purchase more from the <font color="LEVEL">General Merchant</font> if you wish.
|
||||
</body></html>
|
||||
@@ -1,4 +1,4 @@
|
||||
<html><body>Pantheon:<br>
|
||||
I'm still looking into things, friend. I'll let you know when I find anything.<br>
|
||||
(You have already completed this quest.)
|
||||
<html><body>Pantheon:<br>
|
||||
I'm still looking into things, friend. I'll let you know when I find anything<br>
|
||||
(You have already completed this quest.)
|
||||
</body></html>
|
||||
@@ -1,4 +1,4 @@
|
||||
<html><body>Pantheon:<br>
|
||||
This mission can't be given to just anyone!<br>
|
||||
(Only characters below 20, who've completed the "Let's Respect Elders" quest, may start this quest)
|
||||
<html><body>Pantheon:<br>
|
||||
This mission can't be give to just anyone!<br>
|
||||
(Only characters below 20, who've completed the "Let's Respect Elders" quest, may start this quest.)
|
||||
</body></html>
|
||||
@@ -1,137 +1,131 @@
|
||||
/*
|
||||
* 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.Q10327_IntruderWhoWantsTheBookOfGiants;
|
||||
|
||||
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;
|
||||
|
||||
import quests.Q10326_RespectYourElders.Q10326_RespectYourElders;
|
||||
|
||||
/**
|
||||
* Intruder Who Wants the Book of Giants (10327)
|
||||
* @author Mobius
|
||||
*/
|
||||
public class Q10327_IntruderWhoWantsTheBookOfGiants extends Quest
|
||||
{
|
||||
// Npc
|
||||
private static final int PANTHEON = 32972;
|
||||
// Items
|
||||
private static final int THE_WAR_OF_GODS_AND_GIANTS = 17575;
|
||||
private static final int APPRENTICE_EARRING = 112;
|
||||
// Other
|
||||
private static final int MAX_LEVEL = 20;
|
||||
|
||||
public Q10327_IntruderWhoWantsTheBookOfGiants()
|
||||
{
|
||||
super(10327, Q10327_IntruderWhoWantsTheBookOfGiants.class.getSimpleName(), "Intruder Who Wants the Book of Giants");
|
||||
addStartNpc(PANTHEON);
|
||||
addTalkId(PANTHEON);
|
||||
registerQuestItems(THE_WAR_OF_GODS_AND_GIANTS);
|
||||
addCondMaxLevel(MAX_LEVEL, "32972-09.htm");
|
||||
addCondCompletedQuest(Q10326_RespectYourElders.class.getSimpleName(), "32972-09.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 "32972-02.htm":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "32972-03.htm":
|
||||
{
|
||||
qs.startQuest();
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "32972-07.html":
|
||||
{
|
||||
if (qs.isCond(3))
|
||||
{
|
||||
giveAdena(player, 159, true);
|
||||
giveItems(player, APPRENTICE_EARRING, 2);
|
||||
addExpAndSp(player, 7800, 5);
|
||||
showOnScreenMsg(player, NpcStringId.ACCESSORIES_HAVE_BEEN_ADDED_TO_YOUR_INVENTORY, ExShowScreenMessage.TOP_CENTER, 5000);
|
||||
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 = "32972-01.htm";
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
{
|
||||
switch (qs.getCond())
|
||||
{
|
||||
case 1:
|
||||
{
|
||||
htmltext = "32972-04.html";
|
||||
break;
|
||||
}
|
||||
case 2:
|
||||
{
|
||||
htmltext = "32972-05.html";
|
||||
break;
|
||||
}
|
||||
case 3:
|
||||
{
|
||||
htmltext = "32972-06.html";
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
case State.COMPLETED:
|
||||
{
|
||||
htmltext = "32972-08.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.Q10327_IntruderWhoWantsTheBookOfGiants;
|
||||
|
||||
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;
|
||||
|
||||
import quests.Q10326_RespectYourElders.Q10326_RespectYourElders;
|
||||
|
||||
/**
|
||||
* Intruder Who Wants the Book of Giants (10327)
|
||||
* @author Gladicek
|
||||
*/
|
||||
public final class Q10327_IntruderWhoWantsTheBookOfGiants extends Quest
|
||||
{
|
||||
// NPCs
|
||||
private static final int PANTHEON = 32972;
|
||||
// Items
|
||||
private static final int THE_WAR_OF_GODS_AND_GIANTS = 17575;
|
||||
// Misc
|
||||
private static final int MAX_LEVEL = 20;
|
||||
private static final int APPRENTICE_EARRING = 112;
|
||||
|
||||
public Q10327_IntruderWhoWantsTheBookOfGiants()
|
||||
{
|
||||
super(10327);
|
||||
addStartNpc(PANTHEON);
|
||||
addTalkId(PANTHEON);
|
||||
registerQuestItems(THE_WAR_OF_GODS_AND_GIANTS);
|
||||
addCondMaxLevel(MAX_LEVEL, "32972-09.htm");
|
||||
addCondCompletedQuest(Q10326_RespectYourElders.class.getSimpleName(), "32972-09.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 "32972-02.htm":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "32972-03.htm":
|
||||
{
|
||||
qs.startQuest();
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "32972-07.htm":
|
||||
{
|
||||
if (qs.isCond(3))
|
||||
{
|
||||
showOnScreenMsg(player, NpcStringId.ACCESSORIES_HAVE_BEEN_ADDED_TO_YOUR_INVENTORY, ExShowScreenMessage.TOP_CENTER, 4500);
|
||||
giveAdena(player, 160, true);
|
||||
giveItems(player, APPRENTICE_EARRING, 2);
|
||||
addExpAndSp(player, 7800, 5);
|
||||
qs.exitQuest(false, true);
|
||||
}
|
||||
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 = "32972-01.htm";
|
||||
break;
|
||||
}
|
||||
case State.STARTED:
|
||||
{
|
||||
if (qs.isCond(1))
|
||||
{
|
||||
htmltext = "32972-04.htm";
|
||||
break;
|
||||
}
|
||||
else if (qs.isCond(2))
|
||||
{
|
||||
htmltext = "32972-05.htm";
|
||||
break;
|
||||
}
|
||||
else if (qs.isCond(3))
|
||||
{
|
||||
htmltext = "32972-06.htm";
|
||||
break;
|
||||
}
|
||||
}
|
||||
case State.COMPLETED:
|
||||
{
|
||||
htmltext = "32972-08.htm";
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user