Sync with L2JServer Jan 9th 2015.

This commit is contained in:
mobius
2015-01-09 19:55:02 +00:00
parent 9c9b0aaff7
commit 4c2db62a63
618 changed files with 19803 additions and 7853 deletions

View File

@@ -0,0 +1,4 @@
<html><body>Weapon Merchant Evna:<br>
Welcome! What do you want? Of course you want weapons from me. Take your pick. All my goods are durable.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10738_AnInnerBeauty 33935-02.htm">"Grakon sent me."</Button>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Weapon Merchant Evna:<br>
Grakon? Who's that?<br>
You mean the old warehouse keeper? He creeps me out. I hate seeing him grinning at me whenever I visit. I try not to visit. But what's this about?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10738_AnInnerBeauty 33935-03.htm">"I have his note."</Button>
</body></html>

View File

@@ -0,0 +1,12 @@
<html><body>Weapon Merchant Evna:<br>
Hmm? A note? Let's see.<br>
To Evna.<br1>
I wrote a poem about you.<br>
<font color="LEVEL">The soft cooling breeze<br1>
reminds me of you.<br1>
The breeze heartlessly passes by.<br1>
When will you stay with me?</font><br>
Eww! What is this?<br1>
Hey! If you want business with me, then you'd better stop running his creepy errands.<br>
Almost had a heart attack there. I'm into someone beautiful and powerful. Like Venir. Got it?
</body></html>

View File

@@ -0,0 +1,7 @@
<html><body>Warehouse Keeper Grakon:<br>
<font color="LEVEL">That cool, gentle wind.<br1>
Reminds me of you.</font><br>
Ack! You scared me. How long were you standing there? Hm hm. You didn't hear what I just said, did you?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10738_AnInnerBeauty 33947-02.htm">"I heard everything."</Button>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10738_AnInnerBeauty 33947-03.htm">"I didn't hear anything."</Button>
<br></body></html>

View File

@@ -0,0 +1,7 @@
<html><body>Warehouse Keeper Grakon:<br>
Oh, how embarrassing. Actually, I wrote that poem with someone in mind. Heh.<br>
Who's it about, you say? How about you mind your own business and pay me for my recitation?<br>
Don't freeze up like that, naive fellow. I was just joking.<br>
I do have one request, though. Want to hear it?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10738_AnInnerBeauty 33947-04.htm">"Do I? I suppose..."</Button>
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Warehouse Keeper Grakon:<br>
You didn't hear? Hmph. I see. What? I didn't say anything.<br>
No one ever hears me. No one wants to listen to my lonely heart! They only want me when they need me for something.<br>
You're not like that, are you? You'll listen, right? And do me a favor?<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10738_AnInnerBeauty 33947-04.htm">"What? I didn't hear -- oh, fine."</Button>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Warehouse Keeper Grakon:<br>
Give <font color="LEVEL">Weapon Merchant Evna</font> this note telling her that there's something wrong with one of her stored items. Tell her to come here directly.<br>
If you don't hurry and get a move on, I'm going to have to show you my scary face!<br>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><head><body>Warehouse Keeper Grakon:<br>
Woe is me.<br>
Is there anyone who understands how I feel?<br>
(This quest can only be performed by Ertheia Lv. 20 or below who have completed "Grakon's Warehouse".)<br>
</body></html>

View File

@@ -0,0 +1,127 @@
/*
* Copyright (C) 2004-2015 L2J DataPack
*
* This file is part of L2J DataPack.
*
* L2J DataPack 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.
*
* L2J DataPack 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.Q10738_AnInnerBeauty;
import quests.Q10737_GrakonsWarehouse.Q10737_GrakonsWarehouse;
import com.l2jserver.gameserver.enums.Race;
import com.l2jserver.gameserver.model.actor.L2Npc;
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
import com.l2jserver.gameserver.model.holders.ItemHolder;
import com.l2jserver.gameserver.model.quest.Quest;
import com.l2jserver.gameserver.model.quest.QuestState;
/**
* @author Sdw
*/
public class Q10738_AnInnerBeauty extends Quest
{
// NPC's
private static final int GRAKON = 33947;
private static final int EVNA = 33935;
// Misc
private static final int MIN_LEVEL = 5;
private static final int MAX_LEVEL = 20;
// Items
private static final ItemHolder GRAKON_S_NOTE = new ItemHolder(39521, 1);
public Q10738_AnInnerBeauty()
{
super(10738, Q10738_AnInnerBeauty.class.getSimpleName(), "An Inner Beauty");
addStartNpc(GRAKON);
addTalkId(GRAKON, EVNA);
addCondLevel(MIN_LEVEL, MAX_LEVEL, "33947-05.htm");
addCondRace(Race.ERTHEIA, "33947-05.htm");
addCondCompletedQuest(Q10737_GrakonsWarehouse.class.getSimpleName(), "33947-05.htm");
registerQuestItems(GRAKON_S_NOTE.getId());
}
@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 "33947-02.htm":
case "33947-03.htm":
case "33935-02.htm":
{
htmltext = event;
break;
}
case "33947-04.htm":
{
qs.startQuest();
giveItems(player, GRAKON_S_NOTE);
htmltext = event;
break;
}
case "33935-03.htm":
{
if (qs.isStarted())
{
giveAdena(player, 12000, true);
addExpAndSp(player, 2625, 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);
if (qs.isCompleted())
{
htmltext = getAlreadyCompletedMsg(player);
}
if (npc.getId() == GRAKON)
{
if (qs.isCreated())
{
htmltext = "33947-01.htm";
}
else if (qs.isStarted())
{
htmltext = "33947-04.htm";
}
}
else if (npc.getId() == EVNA)
{
if (qs.isStarted())
{
htmltext = "33935-01.htm";
}
}
return htmltext;
}
}