Merged with released L2J-Unity files.

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

View File

@@ -0,0 +1,4 @@
<html><body>Head Blacksmith Flutter:<br>
What's with you? You look so serious.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10393_KekropusLetterAClueCompleted 30677-02.html">"Do you remember Kekropus?"</Button>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Head Blacksmith Flutter:<br>
Good old Kekropus! Yeah, some folks who called themselves the <font color="LEVEL">Giant's Minions</font> or something came here and dropped off these Suspicious Fragments.<br>
But with monsters growing stronger near Oren, the castle ordered lots of weapons. I am way behind schedule on those orders. So I don't have time to put together the fragments.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10393_KekropusLetterAClueCompleted 30677-03.html">"I'll go get rid of the monsters for you."</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Head Blacksmith Flutter:<br>
You'll help? Well, who can say no to such an offer? Haha! Tell you what. Since you offered to help, I'll try putting together some of those fragments for you.<br>
First, go to <font color="LEVEL">Guard Kelios</font> in <font color="LEVEL">Outlaw Forest</font> and get the details.
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Head Blacksmith Flutter:<br>
If you help me, I will make some time to put together the fragments for you. First, go to <font color="LEVEL">Guard Kelios</font> in <font color="LEVEL">Outlaw Forest</font> and get the details.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Guard Kelios:<br>
What brings you here?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10393_KekropusLetterAClueCompleted 33862-02.html">"I have a message from Head Blacksmith Flutter."</Button>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Guard Kelios:<br>
Ah, you came to help us! That's great news. Ah, the mission... wait a minute. I didn't actually expect anyone to come to help, let me take a look at these orders again.<br>
It will just take a moment, sorry for the wait.<br><br>
<font color="LEVEL">- Note: You can develop yourself through quests and hunting at the hunting ground of Outlaw Forest. You can get the next item, Kekropus' Letter, at Lv. 52.</font>
</body></html>

View File

@@ -0,0 +1,146 @@
/*
* 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.Q10393_KekropusLetterAClueCompleted;
import com.l2jmobius.gameserver.model.Location;
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.quest.QuestState;
import com.l2jmobius.gameserver.network.NpcStringId;
import com.l2jmobius.gameserver.network.serverpackets.ExShowScreenMessage;
import quests.LetterQuest;
/**
* Kekropus' Letter: A Clue Completed (10393)
* @author St3eT
*/
public final class Q10393_KekropusLetterAClueCompleted extends LetterQuest
{
// NPCs
private static final int FLUTER = 30677;
private static final int KELIOS = 33862;
private static final int INVISIBLE_NPC = 19543;
// Items
private static final int SOE_TOWN_OF_OREN = 37113; // Scroll of Escape: Town of Oren
private static final int SOE_OUTLAW_FOREST = 37026; // Scroll of Escape: Outlaw Forest
private static final int EAC = 952; // Scroll: Enchant Armor (C-grade)
// Location
private static final Location TELEPORT_LOC = new Location(83676, 55510, -1512);
// Misc
private static final int MIN_LEVEL = 46;
private static final int MAX_LEVEL = 51;
public Q10393_KekropusLetterAClueCompleted()
{
super(10393);
addTalkId(FLUTER, KELIOS);
addSeeCreatureId(INVISIBLE_NPC);
setIsErtheiaQuest(false);
setLevel(MIN_LEVEL, MAX_LEVEL);
setStartQuestSound("Npcdialog1.kekrops_quest_2");
setStartLocation(SOE_TOWN_OF_OREN, TELEPORT_LOC);
registerQuestItems(SOE_TOWN_OF_OREN, SOE_OUTLAW_FOREST);
}
@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
final QuestState st = getQuestState(player, false);
if (st == null)
{
return null;
}
String htmltext = null;
switch (event)
{
case "30677-02.html":
{
htmltext = event;
break;
}
case "30677-03.html":
{
if (st.isCond(1))
{
st.setCond(2, true);
giveItems(player, SOE_OUTLAW_FOREST, 1);
htmltext = event;
}
break;
}
case "33862-02.html":
{
if (st.isCond(2))
{
st.exitQuest(false, true);
giveItems(player, EAC, 4);
giveStoryQuestReward(player, 15);
addExpAndSp(player, 483840, 116);
showOnScreenMsg(player, NpcStringId.GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_THE_NEXT_LETTER_FROM_KEKROPUS_AT_LV_52, ExShowScreenMessage.TOP_CENTER, 6000);
htmltext = event;
}
break;
}
}
return htmltext;
}
@Override
public String onTalk(L2Npc npc, L2PcInstance player)
{
String htmltext = getNoQuestMsg(player);
final QuestState st = getQuestState(player, false);
if (st == null)
{
return htmltext;
}
if (st.isStarted())
{
if (st.isCond(1) && (npc.getId() == FLUTER))
{
htmltext = "30677-01.html";
}
else if (st.isCond(2))
{
htmltext = npc.getId() == FLUTER ? "30677-04.html" : "33862-01.html";
}
}
return htmltext;
}
@Override
public String onSeeCreature(L2Npc npc, L2Character creature, boolean isSummon)
{
if (creature.isPlayer())
{
final L2PcInstance player = creature.getActingPlayer();
final QuestState st = getQuestState(player, false);
if ((st != null) && st.isCond(2))
{
showOnScreenMsg(player, NpcStringId.OUTLAW_FOREST_IS_A_GOOD_HUNTING_ZONE_FOR_LV_46_OR_ABOVE, ExShowScreenMessage.TOP_CENTER, 6000);
}
}
return super.onSeeCreature(npc, creature, isSummon);
}
}

View File

@@ -0,0 +1,6 @@
<html><head><title>Kekropus' Letter</title></head><body>Kekropus' Letter:<br>
Innadril is in danger from Iason Heine. Go to the Town of Oren and ask <font color="LEVEL">Head Blacksmith Flutter</font> to combine Fragments. Thank you in advance.<br>
(A <font color="LEVEL">Scroll of Escape</font> is enclosed. If you want to go now, use it to travel immediately.)<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h %teleport%">"I'll go right away with this scroll."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h tutorial_close">Close</Button>
</body></html>