Merged with released L2J-Unity files.
This commit is contained in:
5
trunk/dist/game/data/scripts/quests/Q10760_LettersFromTheQueenOrcBarracks/30037-01.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10760_LettersFromTheQueenOrcBarracks/30037-01.html
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>High Priestess Levian:<br>
|
||||
You're back! Thank you for helping us last time. Thanks to you, Windy Hill is stable.<br>
|
||||
But I didn't know that you were still here.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10760_LettersFromTheQueenOrcBarracks 30037-02.html">"I was trying to see if there's any aftermath damage."</Button>
|
||||
</body></html>
|
7
trunk/dist/game/data/scripts/quests/Q10760_LettersFromTheQueenOrcBarracks/30037-02.html
vendored
Normal file
7
trunk/dist/game/data/scripts/quests/Q10760_LettersFromTheQueenOrcBarracks/30037-02.html
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<html><body>High Priestess Levian:<br>
|
||||
Oh thank you. I heard that Ertheia are free-minded. But I didn't think that you'd be so considerate.<br>
|
||||
I hope we remain good friends, your race and ours.<br>
|
||||
By the way, there is actually a problem.<br>
|
||||
Can you help us with that too?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10760_LettersFromTheQueenOrcBarracks 30037-03.html">"Sure."</Button>
|
||||
</body></html>
|
6
trunk/dist/game/data/scripts/quests/Q10760_LettersFromTheQueenOrcBarracks/30037-03.html
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q10760_LettersFromTheQueenOrcBarracks/30037-03.html
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>High Priestess Levian:<br>
|
||||
Near Windy Hill, there are Orc Barracks. It's where the Turek Orcs have settled.<br>
|
||||
But the Orcs have been behaving strangely lately.<br>
|
||||
I'm worried if they intend to invade this village using the odd happenings on Windy Hill. If that happens, it will be catastrophic.<br>
|
||||
First go to the <font color="LEVEL">Orc Barracks</font> and talk to <font color="LEVEL">Piotur</font>. He will tell you what you need to know.
|
||||
</body></html>
|
4
trunk/dist/game/data/scripts/quests/Q10760_LettersFromTheQueenOrcBarracks/30037-04.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10760_LettersFromTheQueenOrcBarracks/30037-04.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>High Priestess Levian:<br>
|
||||
I'm worried if Orcs intend to invade this village using the odd happenings on Windy Hill.<br>
|
||||
First go to the <font color="LEVEL">Orc Barracks</font>and talk to <font color="LEVEL">Piotur</font>. He will tell you what you need to know.
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10760_LettersFromTheQueenOrcBarracks/30597-01.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10760_LettersFromTheQueenOrcBarracks/30597-01.html
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Piotur:<br>
|
||||
Wait. Who are you?<br>
|
||||
I've never seen your kind before. You don't look like an Elf.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10760_LettersFromTheQueenOrcBarracks 30597-02.html">"I am Ertheia, child of the wind."</Button>
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q10760_LettersFromTheQueenOrcBarracks/30597-02.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10760_LettersFromTheQueenOrcBarracks/30597-02.html
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Piotur:<br>
|
||||
Ertheia? I've heard that name. You mean the legendary race made by Sayha?<br>
|
||||
I can't believe it. But what are you doing in a place like this?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10760_LettersFromTheQueenOrcBarracks 30597-03.html">"I have High Priest Levian's message."</Button>
|
||||
</body></html>
|
7
trunk/dist/game/data/scripts/quests/Q10760_LettersFromTheQueenOrcBarracks/30597-03.html
vendored
Normal file
7
trunk/dist/game/data/scripts/quests/Q10760_LettersFromTheQueenOrcBarracks/30597-03.html
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<html><body>Piotur:<br>
|
||||
High Priest Levian said she would send someone. So it is you.<br>
|
||||
The Orcs have been acting strange lately. But I've never left this house, and I farmed all my life. So even watching the Orcs is a huge terror for me.<br>
|
||||
Of course, it was a coincidence that I found the Orcs acting strange. Go see the weird Orc at the <font color="LEVEL">well</font>.<br>
|
||||
He came running one day, asking me to help, saying the Turek Orcs were acting weird. Like he wasn't one himself!<br>Unlike other Orcs, he is not aggressive. You should go see him.<br>
|
||||
(You can obtain the next Letters from the Queen at Level 40.)
|
||||
</body></html>
|
@@ -0,0 +1,124 @@
|
||||
/*
|
||||
* 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.Q10760_LettersFromTheQueenOrcBarracks;
|
||||
|
||||
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 com.l2jmobius.gameserver.network.NpcStringId;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.ExShowScreenMessage;
|
||||
|
||||
import quests.LetterQuest;
|
||||
|
||||
/**
|
||||
* Letters from the Queen: Orc Barracks (10760)
|
||||
* @author malyelfik
|
||||
*/
|
||||
public class Q10760_LettersFromTheQueenOrcBarracks extends LetterQuest
|
||||
{
|
||||
// NPC
|
||||
private static final int LEVIAN = 30037;
|
||||
private static final int PIOTUR = 30597;
|
||||
// Items
|
||||
private static final int SOE_GLUDIN_VILLAGE = 39486;
|
||||
private static final int SOE_ORC_BARRACKS = 39487;
|
||||
// Location
|
||||
private static final Location TELEPORT_LOC = new Location(-79816, 150828, -3040);
|
||||
// Misc
|
||||
private static final int MIN_LEVEL = 30;
|
||||
private static final int MAX_LEVEL = 39;
|
||||
|
||||
public Q10760_LettersFromTheQueenOrcBarracks()
|
||||
{
|
||||
super(10760);
|
||||
addTalkId(LEVIAN, PIOTUR);
|
||||
|
||||
setIsErtheiaQuest(true);
|
||||
setLevel(MIN_LEVEL, MAX_LEVEL);
|
||||
setStartLocation(SOE_GLUDIN_VILLAGE, TELEPORT_LOC);
|
||||
setStartQuestSound("Npcdialog1.serenia_quest_2");
|
||||
registerQuestItems(SOE_GLUDIN_VILLAGE, SOE_ORC_BARRACKS);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
final QuestState qs = getQuestState(player, false);
|
||||
if (qs == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
String htmltext = event;
|
||||
switch (event)
|
||||
{
|
||||
case "30037-02.html":
|
||||
case "30597-02.html":
|
||||
break;
|
||||
case "30037-03.html":
|
||||
{
|
||||
if (qs.isCond(1))
|
||||
{
|
||||
qs.setCond(2, true);
|
||||
giveItems(player, SOE_ORC_BARRACKS, 1);
|
||||
showOnScreenMsg(player, NpcStringId.TRY_USING_THE_TELEPORT_SCROLL_LEVIAN_GAVE_YOU_TO_GO_TO_ORC_BARRACKS, ExShowScreenMessage.TOP_CENTER, 5000);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "30597-03.html":
|
||||
{
|
||||
if (qs.isCond(2))
|
||||
{
|
||||
giveStoryQuestReward(player, 5);
|
||||
addExpAndSp(player, 242760, 58);
|
||||
showOnScreenMsg(player, NpcStringId.TRY_TALKING_TO_VORBOS_BY_THE_WELL_NYOU_CAN_RECEIVE_QUEEN_NAVARI_S_NEXT_LETTER_AT_LV_40, ExShowScreenMessage.TOP_CENTER, 8000);
|
||||
qs.exitQuest(false, true);
|
||||
}
|
||||
break;
|
||||
}
|
||||
default:
|
||||
htmltext = event;
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onTalk(L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
final QuestState qs = getQuestState(player, false);
|
||||
String htmltext = getNoQuestMsg(player);
|
||||
|
||||
if (qs == null)
|
||||
{
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
if (qs.isStarted())
|
||||
{
|
||||
if ((npc.getId() == LEVIAN))
|
||||
{
|
||||
htmltext = (qs.isCond(1)) ? "30037-01.html" : "30037-04.html";
|
||||
}
|
||||
else if (qs.isCond(2))
|
||||
{
|
||||
htmltext = "30597-01.html";
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
}
|
7
trunk/dist/game/data/scripts/quests/Q10760_LettersFromTheQueenOrcBarracks/popup.html
vendored
Normal file
7
trunk/dist/game/data/scripts/quests/Q10760_LettersFromTheQueenOrcBarracks/popup.html
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<html><body>The Queen's Letter:<br>
|
||||
There's news that the energy from Wind Spirit Realm came out from the Dimensional Rift and is causing havoc.<br>
|
||||
Go to <font color="LEVEL">Gludin Village</font> and help <font color="LEVEL">High Priest Raymond</font> in Einhasad Temple sort this out.<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%">"Here I go!"</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h tutorial_close">Close</Button>
|
||||
</body></html>
|
Reference in New Issue
Block a user