Merged with released L2J-Unity files.
This commit is contained in:
6
trunk/dist/game/data/scripts/quests/Q10755_LettersFromTheQueenWindyHill/30037-01.html
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q10755_LettersFromTheQueenWindyHill/30037-01.html
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>High Priestess Levian:<br>
|
||||
Welcome. I was waiting after receiving Queen Navari's message.<br>
|
||||
Gludin Village is not as busy as it used to be. When Ertheia delegation visited, I was really shocked. I still can't forget the day I saw that legendary race for the first time.<br>
|
||||
The delegation only came here because they were lost. But what brings you here?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10755_LettersFromTheQueenWindyHill 30037-02.html">"I heard that I can be of help."</button>
|
||||
</body></html>
|
||||
5
trunk/dist/game/data/scripts/quests/Q10755_LettersFromTheQueenWindyHill/30037-02.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10755_LettersFromTheQueenWindyHill/30037-02.html
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>High Priestess Levian:<br>
|
||||
I heard from the delegation that I could always ask for help. But I thought you people would have business of your own. Thank you for offering.<br>
|
||||
Speaking of which, a lot has troubled me since Ertheia came over to the Material Realm.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10755_LettersFromTheQueenWindyHill 30037-03.html">"What troubled you?"</button>
|
||||
</body></html>
|
||||
6
trunk/dist/game/data/scripts/quests/Q10755_LettersFromTheQueenWindyHill/30037-03.html
vendored
Normal file
6
trunk/dist/game/data/scripts/quests/Q10755_LettersFromTheQueenWindyHill/30037-03.html
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<html><body>High Priestess Levian:<br>
|
||||
Near Gludin Village, there's a place called Windy Hill where Wind Spirits dwell. But due to the sealing of Beleth, they have become violent.<br>
|
||||
Then recently, outside wind energy was observed -- there are now spirits that were never seen in the Material Realm before.<br>
|
||||
I need you to go investigate if possible. I don't want any harm done to Gludin Village.<br>
|
||||
First go to <font color="LEVEL">Windy Hill</font> and see <font color="LEVEL">Researcher Pio</font> for the details.
|
||||
</body></html>
|
||||
5
trunk/dist/game/data/scripts/quests/Q10755_LettersFromTheQueenWindyHill/30037-04.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10755_LettersFromTheQueenWindyHill/30037-04.html
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>High Priestess Levian:<br>
|
||||
I see...you're not used to the Material Realm yet.<br>
|
||||
I need you to investigate the odd happenings on the Windy Hill.<br>
|
||||
First go to <font color="LEVEL">Windy Hill</font> and see <font color="LEVEL">Researcher Pio</font>. She will tell you the details.
|
||||
</body></html>
|
||||
5
trunk/dist/game/data/scripts/quests/Q10755_LettersFromTheQueenWindyHill/33963-01.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10755_LettersFromTheQueenWindyHill/33963-01.html
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Researcher Pio:<br>
|
||||
Hmm? Who are you?<br>
|
||||
Whoa! Look at you ears! They are like wings, but you're different from the Elves.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10755_LettersFromTheQueenWindyHill 33963-02.html">"I am Ertheia, child of the wind."</Button>
|
||||
</body></html>
|
||||
4
trunk/dist/game/data/scripts/quests/Q10755_LettersFromTheQueenWindyHill/33963-02.html
vendored
Normal file
4
trunk/dist/game/data/scripts/quests/Q10755_LettersFromTheQueenWindyHill/33963-02.html
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<html><body>Researcher Pio:<br>
|
||||
Ertheia? The race made by Sayha, which only existed in the ancient books? How did you end up here? Did you pop out from the books?<br><br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10755_LettersFromTheQueenWindyHill 33963-03.html">"Enough talk. I have High Priest Levian's message."</button>
|
||||
</body></html>
|
||||
5
trunk/dist/game/data/scripts/quests/Q10755_LettersFromTheQueenWindyHill/33963-03.html
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q10755_LettersFromTheQueenWindyHill/33963-03.html
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Researcher Pio:<br>
|
||||
Oh! You're the one High Priest Levian sent. People of wind... you're perfect for the job.<br>
|
||||
Okay! Okay! I will tell you what to do. It's a pleasure to work with you.<br>
|
||||
(You can obtain the next Letters from the Queen at Level 30.)
|
||||
</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.Q10755_LettersFromTheQueenWindyHill;
|
||||
|
||||
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: Windy Hill (10755)
|
||||
* @author malyelfik
|
||||
*/
|
||||
public final class Q10755_LettersFromTheQueenWindyHill extends LetterQuest
|
||||
{
|
||||
// NPCs
|
||||
private static final int LEVIAN = 30037;
|
||||
private static final int PIO = 33963;
|
||||
// Location
|
||||
private static final Location TELEPORT_LOC = new Location(-79816, 150828, -3040);
|
||||
// Item
|
||||
private static final int SOE_GLUDIN_VILLAGE = 39491;
|
||||
private static final int SOE_WINDY_HILL = 39492;
|
||||
// Misc
|
||||
private static final int MIN_LEVEL = 20;
|
||||
private static final int MAX_LEVEL = 29;
|
||||
|
||||
public Q10755_LettersFromTheQueenWindyHill()
|
||||
{
|
||||
super(10755);
|
||||
addTalkId(LEVIAN, PIO);
|
||||
|
||||
setIsErtheiaQuest(true);
|
||||
setLevel(MIN_LEVEL, MAX_LEVEL);
|
||||
setStartLocation(SOE_GLUDIN_VILLAGE, TELEPORT_LOC);
|
||||
setStartQuestSound("Npcdialog1.serenia_quest_1");
|
||||
registerQuestItems(SOE_GLUDIN_VILLAGE, SOE_WINDY_HILL);
|
||||
}
|
||||
|
||||
@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 "33963-02.html":
|
||||
break;
|
||||
case "30037-03.html":
|
||||
{
|
||||
if (qs.isCond(1))
|
||||
{
|
||||
qs.setCond(2, true);
|
||||
giveItems(player, SOE_WINDY_HILL, 1);
|
||||
showOnScreenMsg(player, NpcStringId.TRY_USING_THE_TELEPORT_SCROLL_LEVIAN_GAVE_YOU, ExShowScreenMessage.TOP_CENTER, 5000);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case "33963-03.html":
|
||||
{
|
||||
if (qs.isCond(2))
|
||||
{
|
||||
giveStoryQuestReward(player, 5);
|
||||
addExpAndSp(player, 120960, 29);
|
||||
showOnScreenMsg(player, NpcStringId.GROW_STRONGER_HERE_UNTIL_YOU_RECEIVE_THE_NEXT_LETTER_FROM_QUEEN_NAVARI_AT_LV_30, 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 = "33963-01.html";
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
}
|
||||
7
trunk/dist/game/data/scripts/quests/Q10755_LettersFromTheQueenWindyHill/popup.html
vendored
Normal file
7
trunk/dist/game/data/scripts/quests/Q10755_LettersFromTheQueenWindyHill/popup.html
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<html><body>The Queen's Letter:<br>
|
||||
I am Navari, Queen of Ertheia.<br>
|
||||
Trace the delegation's steps to <font color="LEVEL">Gludin Village</font>. <font color="LEVEL">High Priest Raymond</font> in Einhasad Temple will tell you what to do.<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