Giants Cave NPC dialogs.
Contributed by gigilo1968.
This commit is contained in:
parent
defa1b546c
commit
8e81865bef
5
L2J_Mobius_Helios/dist/game/data/html/default/34218.htm
vendored
Normal file
5
L2J_Mobius_Helios/dist/game/data/html/default/34218.htm
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Giant's Minion Retbach:<br>
|
||||
Who goes there!<br>
|
||||
I am the Giant's Minion Retbach, follower of Hermuncus.<br>
|
||||
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
||||
</body></html>
|
5
L2J_Mobius_Helios/dist/game/data/html/default/34220.htm
vendored
Normal file
5
L2J_Mobius_Helios/dist/game/data/html/default/34220.htm
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Vetle:<br>
|
||||
I am a proud Kamael, follower of Kekropus. Do not compare me to the Giant's Minions!<br>
|
||||
Great warriors do not fear death.<br>
|
||||
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
||||
</body></html>
|
5
L2J_Mobius_Helios/dist/game/data/scripts/ai/areas/Aden/GiantsCave/34217.html
vendored
Normal file
5
L2J_Mobius_Helios/dist/game/data/scripts/ai/areas/Aden/GiantsCave/34217.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Schumadriba:<br>
|
||||
The Kamael never lose.<br>
|
||||
We have no fear in doing what we think is right, even if it means rejecting our destiny. You, are you afraid?<br>
|
||||
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
||||
</body></html>
|
5
L2J_Mobius_Helios/dist/game/data/scripts/ai/areas/Aden/GiantsCave/34219.html
vendored
Normal file
5
L2J_Mobius_Helios/dist/game/data/scripts/ai/areas/Aden/GiantsCave/34219.html
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Sthor:<br>
|
||||
I am Sthor. I stand guard over the Entrance to the Giant's Cave, by command of Kekropus.<br>
|
||||
I only take orders from Kekropus, and Kekropus' right hand, Schumadriba.<br>
|
||||
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
||||
</body></html>
|
4
L2J_Mobius_Helios/dist/game/data/scripts/ai/areas/Aden/GiantsCave/34223-1.html
vendored
Normal file
4
L2J_Mobius_Helios/dist/game/data/scripts/ai/areas/Aden/GiantsCave/34223-1.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Giant Pursuers Teleport Device:<br>
|
||||
In order to teleport to the four areas at the entrance to the upper level of the Giant's Cave, you need to have a faction level of 2 or higher with the Giant Pursuers.<br>
|
||||
Your faction level with the Giant Pursuers is lower than 2. You may not teleport.
|
||||
</body></html>
|
4
L2J_Mobius_Helios/dist/game/data/scripts/ai/areas/Aden/GiantsCave/34223-2.html
vendored
Normal file
4
L2J_Mobius_Helios/dist/game/data/scripts/ai/areas/Aden/GiantsCave/34223-2.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Giant Pursuers Teleport Device:<br>
|
||||
In order to teleport to the Kamael's Stronghold in the Giant's Cave, you need to have a faction level of 3 or higher with the Giant Pursuers.<br>
|
||||
Your faction level with the Giant Pursuers is lower than 3. You may not teleport.
|
||||
</body></html>
|
4
L2J_Mobius_Helios/dist/game/data/scripts/ai/areas/Aden/GiantsCave/34223-3.html
vendored
Normal file
4
L2J_Mobius_Helios/dist/game/data/scripts/ai/areas/Aden/GiantsCave/34223-3.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Giant Pursuers Teleport Device:<br>
|
||||
In order to teleport to where the Giants' Room of Relics was discovered on the lower level of the Giant's Cave, you need to have a faction level of 5 or higher with the Giant Pursuers.<br>
|
||||
Your faction level with the Giant Pursuers is lower than 5. You may not teleport.
|
||||
</body></html>
|
11
L2J_Mobius_Helios/dist/game/data/scripts/ai/areas/Aden/GiantsCave/34223.html
vendored
Normal file
11
L2J_Mobius_Helios/dist/game/data/scripts/ai/areas/Aden/GiantsCave/34223.html
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
<html><body>Giant Pursuers Teleport Device:<br>
|
||||
This is a Teleport Device installed by the Giant Pursuers to teleport into the Giant's Cave.<br>
|
||||
To use it, you need some special qualifications. The necessary qualifications, and the available teleport destinations, are as follow.<br><br>
|
||||
<center>Qualification - <font color="LEVEL">Giant Pursuers faction level 2 and above</font><br1>
|
||||
Location - Upper level of the Giant's Cave, Kamael's Stronghold,<br1>entrance to the Giants' Room of Relics</center><br><br>
|
||||
<Button ALIGN=LEFT ICON="TELEPORT" action="bypass -h Quest GiantsCaveNpc first_area">Teleport to the first area</Button>
|
||||
<Button ALIGN=LEFT ICON="TELEPORT" action="bypass -h Quest GiantsCaveNpc second_area">Teleport to the second area</Button>
|
||||
<Button ALIGN=LEFT ICON="TELEPORT" action="bypass -h Quest GiantsCaveNpc thrid_area">Teleport to the third area</Button>
|
||||
<Button ALIGN=LEFT ICON="TELEPORT" action="bypass -h Quest GiantsCaveNpc stronghold">Teleport to Kamael's Stronghold</Button>
|
||||
<Button ALIGN=LEFT ICON="TELEPORT" action="bypass -h Quest GiantsCaveNpc relics_rooom">Teleport to the entrance to the Giants' Room of Relics</Button>
|
||||
</body></html>
|
6
L2J_Mobius_Helios/dist/game/data/scripts/ai/areas/Aden/GiantsCave/34237-1.html
vendored
Normal file
6
L2J_Mobius_Helios/dist/game/data/scripts/ai/areas/Aden/GiantsCave/34237-1.html
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<html><body>Krenaht:<br>
|
||||
I have heard from Kekropus that the Resistance Mark has been handed to those of you who have helped us here.<br>
|
||||
However, the Giants have found out about the mark, and we can no longer guarantee the safety of those who hold it.<br>
|
||||
Kekropus finds this situation regrettable. He has instructed us to take the Resistance Marks back from those who hold it, and offer a reward for their hard work. However, only those who hold <font color="LEVEL">Stage 2 or above Resistance Marks</font> are eligible to receive rewards.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest GiantsCaveNpc 34237-2.html">"Thanks."</Button>
|
||||
</body></html>
|
3
L2J_Mobius_Helios/dist/game/data/scripts/ai/areas/Aden/GiantsCave/34237-2.html
vendored
Normal file
3
L2J_Mobius_Helios/dist/game/data/scripts/ai/areas/Aden/GiantsCave/34237-2.html
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
<html><body>Krenaht:<br>
|
||||
It appears that you do not have a Resistance Mark. If you're trying to trick me, remember, I'm not easy to trick. Please, do check again if you happen to have a Resistance Mark on you.
|
||||
</body></html>
|
4
L2J_Mobius_Helios/dist/game/data/scripts/ai/areas/Aden/GiantsCave/34237-3.html
vendored
Normal file
4
L2J_Mobius_Helios/dist/game/data/scripts/ai/areas/Aden/GiantsCave/34237-3.html
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<html><body>Krenaht:<br>
|
||||
I don't know where you heard about the Pursuers' Shine Stone, but I don't think I can discuss this with you just yet.<br>
|
||||
If you find out more about the Minion's Shine Stone, and we build a relationship where we can trust each other more, maybe then we could talk about this matter more.
|
||||
</body></html>
|
9
L2J_Mobius_Helios/dist/game/data/scripts/ai/areas/Aden/GiantsCave/34237-4.html
vendored
Normal file
9
L2J_Mobius_Helios/dist/game/data/scripts/ai/areas/Aden/GiantsCave/34237-4.html
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
<html><body>Krenaht:<br>
|
||||
Are you curious about the Giant Pursuers Talisman? The Giant Pursuers Talisman is given to those who help the work of the Giant Pursuers. But it's not easy to make, and that means we can't just hand them out at will.<br>
|
||||
If you would collect the ingredients necessary to make the Giant Pursuers Talisman, I can use those ingredients to make the Talisman.<br>
|
||||
I can also help you to improve the performance of the Giant Pursuers Talisman.<br>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest GiantsCaveNpc 34237-5.html">"Tell me how the talisman is made."</Button>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest GiantsCaveNpc 34237-6.html">"Tell me about the effects."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_multisell 2182">"I want to make a Giant Pursuers Talisman."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_multisell 2183">"I want to upgrade."</Button>
|
||||
</body></html>
|
8
L2J_Mobius_Helios/dist/game/data/scripts/ai/areas/Aden/GiantsCave/34237-5.html
vendored
Normal file
8
L2J_Mobius_Helios/dist/game/data/scripts/ai/areas/Aden/GiantsCave/34237-5.html
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
<html><body>Krenaht:<br>
|
||||
So you'd like to know how talismans are made.<br>
|
||||
If you want to make a Giant Pursuers Talisman, you'll need to collect the core materials. It'll also cost you.<br>
|
||||
The core ingredients are the <font color="LEVEL">Giant Crystal</font> and the <font color="LEVEL">Giant's Energy</font>. The <font color="LEVEL">Giant Crystal</font> is contained in the supply box that we have given you in exchange for your hep with our missions.<br>
|
||||
Also, the performance of the talismans can be improved, but that will require additional materials. Be sure to check beforehand.<br>
|
||||
If you want to make a talisman, prepare the materials necessary. Also be prepared to pay the cost.<br>
|
||||
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest GiantsCaveNpc 34237-4.html">Back</Button>
|
||||
</body></html>
|
6
L2J_Mobius_Helios/dist/game/data/scripts/ai/areas/Aden/GiantsCave/34237-6.html
vendored
Normal file
6
L2J_Mobius_Helios/dist/game/data/scripts/ai/areas/Aden/GiantsCave/34237-6.html
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<html><body>Krenaht:<br>
|
||||
What effects does the Giant Pursuers Talisman have, you ask? You're quite the pragmatist, I see. Well, it's nothing difficult to tell you, so I will.<br>
|
||||
We came to create the Giant TrPursuers Talisman while searching for a way to gain the advantage when taking on the Giants. If you wear the Giant Pursuers Talisman, we will be able to help you when you need to take on the Giants.<br>
|
||||
Of course, it doesn't apply to all Giants. It'll be less than useless against such powerful beings as Mimir, Ramona, or Helios, but with the other run-of-the-mill giants, it should be quite potent.<br>
|
||||
<Button ALIGN=LEFT ICON="RETURN" action="bypass -h Quest GiantsCaveNpc 34237-4.html">Back</Button>
|
||||
</body></html>
|
8
L2J_Mobius_Helios/dist/game/data/scripts/ai/areas/Aden/GiantsCave/34237.html
vendored
Normal file
8
L2J_Mobius_Helios/dist/game/data/scripts/ai/areas/Aden/GiantsCave/34237.html
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
<html><body>Krenaht:<br>
|
||||
You must be quite interested in the Giants to bring yourself to such a place. I am Krenaht, manager of the Giant Pursuers under Kekropus' command.<br>
|
||||
When the Superion emerged, and Kekropus together with it, I have been placed in charge of matters relating to the Giant's Cave.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest GiantsCaveNpc 34237-1.html">"Tell me about returning the Resistance Mark."</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest GiantsCaveNpc 34237-3.html">"Tell me about the Pursuers' Shine Stone."</Button>
|
||||
<Button ALIGN=LEFT ICON="Normal" action="bypass -h Quest GiantsCaveNpc 34237-4.html">"Tell me about the Giant Pursuers Talisman."</Button>
|
||||
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
||||
</body></html>
|
132
L2J_Mobius_Helios/dist/game/data/scripts/ai/areas/Aden/GiantsCave/GiantsCaveNpc.java
vendored
Normal file
132
L2J_Mobius_Helios/dist/game/data/scripts/ai/areas/Aden/GiantsCave/GiantsCaveNpc.java
vendored
Normal file
@ -0,0 +1,132 @@
|
||||
/*
|
||||
* 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 ai.areas.Aden.GiantsCave;
|
||||
|
||||
import com.l2jmobius.gameserver.model.actor.L2Npc;
|
||||
import com.l2jmobius.gameserver.model.actor.instance.L2PcInstance;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.PlaySound;
|
||||
|
||||
import ai.AbstractNpcAI;
|
||||
|
||||
/**
|
||||
* Giants Cave Npcs AI
|
||||
* @author Gigi
|
||||
* @date 2017-03-04 - [17:33:25]
|
||||
*/
|
||||
public class GiantsCaveNpc extends AbstractNpcAI
|
||||
{
|
||||
// NPC
|
||||
private static final int SUMADRIBA = 34217;
|
||||
private static final int KRENAHT = 34237;
|
||||
private static final int STHOR = 34219;
|
||||
private static final int GIANT_TELEPORT = 34223;
|
||||
|
||||
private GiantsCaveNpc()
|
||||
{
|
||||
addTalkId(SUMADRIBA, KRENAHT, GIANT_TELEPORT, STHOR);
|
||||
addFirstTalkId(SUMADRIBA, KRENAHT, GIANT_TELEPORT, STHOR);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
String htmltext = null;
|
||||
switch (event)
|
||||
{
|
||||
case "34237.html":
|
||||
case "34237-1.html":
|
||||
case "34237-2.html":
|
||||
case "34237-3.html":
|
||||
case "34237-4.html":
|
||||
case "34237-5.html":
|
||||
case "34237-6.html":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "first_area":
|
||||
{
|
||||
htmltext = "34223-1.html";
|
||||
break;
|
||||
}
|
||||
case "second_area":
|
||||
{
|
||||
htmltext = "34223-1.html";
|
||||
break;
|
||||
}
|
||||
case "thrid_area":
|
||||
{
|
||||
htmltext = "34223-1.html";
|
||||
break;
|
||||
}
|
||||
case "stronghold":
|
||||
{
|
||||
htmltext = "34223-2.html";
|
||||
break;
|
||||
}
|
||||
case "relics_rooom":
|
||||
{
|
||||
htmltext = "34223-3.html";
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onFirstTalk(L2Npc npc, L2PcInstance player)
|
||||
{
|
||||
switch (npc.getId())
|
||||
{
|
||||
case SUMADRIBA:
|
||||
{
|
||||
player.sendPacket(new PlaySound(3, "Npcdialog1.schmadriba_faction_1", 0, 0, 0, 0, 0));
|
||||
break;
|
||||
}
|
||||
case KRENAHT:
|
||||
{
|
||||
if (getRandom(10) < 5)
|
||||
{
|
||||
player.sendPacket(new PlaySound(3, "Npcdialog1.krenat_faction_2", 0, 0, 0, 0, 0));
|
||||
}
|
||||
else
|
||||
{
|
||||
player.sendPacket(new PlaySound(3, "Npcdialog1.krenat_faction_1", 0, 0, 0, 0, 0));
|
||||
}
|
||||
break;
|
||||
}
|
||||
case STHOR:
|
||||
{
|
||||
if (getRandom(10) < 4)
|
||||
{
|
||||
player.sendPacket(new PlaySound(3, "Npcdialog1.stor_faction_2", 0, 0, 0, 0, 0));
|
||||
}
|
||||
else
|
||||
{
|
||||
player.sendPacket(new PlaySound(3, "Npcdialog1.stor_faction_1", 0, 0, 0, 0, 0));
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return npc.getId() + ".html";
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
new GiantsCaveNpc();
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user