This commit is contained in:
5
trunk/dist/game/data/scripts/quests/Q00636_TruthBeyond/31329-01.htm
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q00636_TruthBeyond/31329-01.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Priest Eliyah:<br>
|
||||
Have you ever seen the <font color="LEVEL">Pagan Temple</font>? You've heard the name, anyway, right? It's more like a Clan Hall for Pagans than any temple I've ever seen! Those Pagans, always lurking about like black curtains, secretly pulling the strings that control Rune Castle.<br>
|
||||
No one's really sure what they do in there, since they never let the townspeople inside... I'm sure they're keeping some ghastly secret! Although their security is very tight, there just might be a way in...<br>
|
||||
(Quest for characters level 73 and above)
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q00636_TruthBeyond/31329-02.htm
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q00636_TruthBeyond/31329-02.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Priest Eliyah:<br>
|
||||
Have you ever seen the <font color="LEVEL">Pagan Temple</font>? You've heard the name, anyway, right? It's more like a Clan Hall for Pagans than any temple I've ever seen! Those Pagans, always lurking about like black curtains, secretly pulling the strings that control Rune Castle.<br>
|
||||
No one's really sure what they do in there, since they never let the townspeople inside... I'm sure they're keeping some ghastly secret! Although their security is very tight, there just might be a way in...<br>
|
||||
<a action="bypass -h Quest Q00636_TruthBeyond 31329-03.htm">"How can I get inside the Pagan Temple?"</a>
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q00636_TruthBeyond/31329-03.htm
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q00636_TruthBeyond/31329-03.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Priest Eliyah:<br>
|
||||
Those heathens occasionally even perform <font color="LEVEL">Human sacrifices</font> in their so-called Temple! They seem to enjoy that part of their religion more than any other... And that, my child, is your way into the Temple! <font color="LEVEL">You'll be their human sacrifice</font>! Of course, I realize that this is a very dangerous way to get in, but these are desperate times... And besides, they've been having a hard time finding Humans to sacrifice!<br>
|
||||
Now, let's talk about how you're going to do this... Before I get started, are you sure you want to do this?<br>
|
||||
<a action="bypass -h Quest Q00636_TruthBeyond 31329-04.htm">"I really want to do this."</a>
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q00636_TruthBeyond/31329-04.htm
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q00636_TruthBeyond/31329-04.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Priest Eliyah:<br>
|
||||
Very well then! Well, I'll get started... Please pay attention! I don't want to have to repeat myself!<br>
|
||||
<font color="LEVEL">Priest Flauron in Rune Township</font> is in charge of finding Human sacrifices for them. Go speak with him and tell him that you're thinking about becoming a Pagan... He'll offer to let you visit the Temple, and will give you what he'll claim is an entrance pass. It's actually a <font color="LEVEL">Sacrifice Mark</font>! It will get you inside the Temple easily enough, but once you're inside those lunatics will set upon you at once with spears and knives! There's no way that you could stand against this onslaught alone...<br>
|
||||
Many people have been decieved by Flauron and ended up as live sacrifices. You should probably take some trusted comrades with you, but I heard that the Pagans have a strange technique for scattering the forces of outsiders. Be very careful!
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q00636_TruthBeyond/31329-05.htm
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q00636_TruthBeyond/31329-05.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Priest Eliyah:<br>
|
||||
Dind't I say I don't want to repeat myself?<br>
|
||||
<font color="LEVEL">Priest Flauron in Rune Township</font> is in charge of finding Human sacrifices for them. Go speak with him and tell him that you're thinking about becoming a Pagan... He'll offer to let you visit the Temple, and will give you what he'll claim is an entrance pass. It's actually a <font color="LEVEL">Sacrifice Mark</font>! It will get you inside the Temple easily enough, but once you're inside those lunatics will set upon you at once with spears and knives! There's no way that you could stand against this onslaught alone...<br>
|
||||
Many people have been decieved by Flauron and ended up as live sacrifices. You should probably take some trusted comrades with you, but I heard that the Pagans have a strange technique for scattering the forces of outsiders. Be very careful!
|
||||
</body></html>
|
3
trunk/dist/game/data/scripts/quests/Q00636_TruthBeyond/31329-mark.htm
vendored
Normal file
3
trunk/dist/game/data/scripts/quests/Q00636_TruthBeyond/31329-mark.htm
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<html><body>Priest Eliyah:<br>
|
||||
You're already capable of entering the Pagan Temple. You don't need to hear this.
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q00636_TruthBeyond/32010-01.htm
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q00636_TruthBeyond/32010-01.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Priest Flauron:<br>
|
||||
Who comes calling? Oh, you can't want to go down this pathway. Yes, it leads to our temple, but it's awfully dangerous if you're not authorized. Unwelcome visitors often disappear down that path, never to been seen again. Unwise, tragically unwise!<br>
|
||||
I see no authorization documents on you, so no, you cannot pass there safely. Although we <font color="LEVEL">sometimes receive visitors ...</font> that would be authorized, I suppose, under certain circumstances.<br>
|
||||
<a action="bypass -h Quest Q00636_TruthBeyond 32010-02.htm">"Well, i'd like to visit too. May I?"</a>
|
||||
</body></html>
|
7
trunk/dist/game/data/scripts/quests/Q00636_TruthBeyond/32010-02.htm
vendored
Normal file
7
trunk/dist/game/data/scripts/quests/Q00636_TruthBeyond/32010-02.htm
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<html><body>Priest Flauron:<br>
|
||||
As it so happens, you are in luck! Today is Visitor's Day. Excuse me...<br>
|
||||
(He mutters to the side)<br>
|
||||
<font color="LEVEL">Yes, I have just received word from higher up that we need more, so I'm telling them that it's Visitor's Day.</font><br>
|
||||
(He turns back to you)<br>
|
||||
How fortunate you are! On Visitor's Day we lavish splendor on our lucky guests; generosity is our watchword. What? Oh, I was just talking to myself, hahaha! Now, here is the <font color="LEVEL">Visitor's Mark we give to visitors</font>.
|
||||
</body></html>
|
5
trunk/dist/game/data/scripts/quests/Q00636_TruthBeyond/32010-03.htm
vendored
Normal file
5
trunk/dist/game/data/scripts/quests/Q00636_TruthBeyond/32010-03.htm
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
<html><body>Priest Flauron:<br>
|
||||
Oh dear, what are you still doing here?<br>
|
||||
Remember you are in luck! Today is Visitor's Day and you don't want to miss a thing, do you?<br>
|
||||
This way please.. join the rest of our.. visitors.
|
||||
</body></html>
|
128
trunk/dist/game/data/scripts/quests/Q00636_TruthBeyond/Q00636_TruthBeyond.java
vendored
Normal file
128
trunk/dist/game/data/scripts/quests/Q00636_TruthBeyond/Q00636_TruthBeyond.java
vendored
Normal file
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
* Copyright (C) 2004-2014 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.Q00636_TruthBeyond;
|
||||
|
||||
import com.l2jserver.gameserver.model.actor.L2Character;
|
||||
import com.l2jserver.gameserver.model.actor.L2Npc;
|
||||
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jserver.gameserver.model.quest.Quest;
|
||||
import com.l2jserver.gameserver.model.quest.QuestState;
|
||||
import com.l2jserver.gameserver.model.quest.State;
|
||||
import com.l2jserver.gameserver.model.zone.L2ZoneType;
|
||||
|
||||
/**
|
||||
* The Truth Beyond the Gate (636)<br>
|
||||
* Original Jython script by Polo, BiTi and DrLecter.
|
||||
* @author DS
|
||||
*/
|
||||
public final class Q00636_TruthBeyond extends Quest
|
||||
{
|
||||
private static final int ELIYAH = 31329;
|
||||
private static final int FLAURON = 32010;
|
||||
private static final int ZONE = 30100;
|
||||
private static final int VISITOR_MARK = 8064;
|
||||
private static final int FADED_MARK = 8065;
|
||||
private static final int MARK = 8067;
|
||||
|
||||
public Q00636_TruthBeyond()
|
||||
{
|
||||
super(636, Q00636_TruthBeyond.class.getSimpleName(), "The Truth Beyond the Gate");
|
||||
addStartNpc(ELIYAH);
|
||||
addTalkId(ELIYAH, FLAURON);
|
||||
addEnterZoneId(ZONE);
|
||||
}
|
||||
|
||||
@Override
|
||||
public final String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
final QuestState st = getQuestState(player, false);
|
||||
if (st == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
if ("31329-04.htm".equals(event))
|
||||
{
|
||||
st.startQuest();
|
||||
}
|
||||
else if ("32010-02.htm".equals(event))
|
||||
{
|
||||
st.giveItems(VISITOR_MARK, 1);
|
||||
st.exitQuest(true, true);
|
||||
}
|
||||
return event;
|
||||
}
|
||||
|
||||
@Override
|
||||
public final String onEnterZone(L2Character character, L2ZoneType zone)
|
||||
{
|
||||
// QuestState already null on enter because quest is finished
|
||||
if (character.isPlayer())
|
||||
{
|
||||
if (character.getActingPlayer().destroyItemByItemId("Mark", VISITOR_MARK, 1, character, false))
|
||||
{
|
||||
character.getActingPlayer().addItem("Mark", FADED_MARK, 1, character, true);
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public final String onTalk(L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
final QuestState st = getQuestState(player, true);
|
||||
if (st == null)
|
||||
{
|
||||
return getNoQuestMsg(player);
|
||||
}
|
||||
|
||||
if (npc.getId() == ELIYAH)
|
||||
{
|
||||
if (st.hasQuestItems(VISITOR_MARK) || st.hasQuestItems(FADED_MARK) || st.hasQuestItems(MARK))
|
||||
{
|
||||
st.exitQuest(true);
|
||||
return "31329-mark.htm";
|
||||
}
|
||||
if (st.getState() == State.CREATED)
|
||||
{
|
||||
if (player.getLevel() > 72)
|
||||
{
|
||||
return "31329-02.htm";
|
||||
}
|
||||
|
||||
st.exitQuest(true);
|
||||
return "31329-01.htm";
|
||||
}
|
||||
else if (st.getState() == State.STARTED)
|
||||
{
|
||||
return "31329-05.htm";
|
||||
}
|
||||
}
|
||||
else if (st.getState() == State.STARTED) // Flauron only
|
||||
{
|
||||
if (st.isCond(1))
|
||||
{
|
||||
return "32010-01.htm";
|
||||
}
|
||||
st.exitQuest(true);
|
||||
return "32010-03.htm";
|
||||
}
|
||||
return getNoQuestMsg(player);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user