Updated Beast Farm NPCs.
Contributed by CostyKiller.
This commit is contained in:
parent
f71d797d05
commit
bc8770d369
@ -5,8 +5,7 @@
|
||||
</npcs>
|
||||
<item id="15474" /> <!-- Golden Spice -->
|
||||
<item id="15475" /> <!-- Crystal Spice -->
|
||||
<item id="15482" /> <!-- Golden Spice Crate -->
|
||||
<item id="15483" /> <!-- Crystal Spice Compressed Pack -->
|
||||
<item id="15482" /> <!-- Compressed Package: Golden Spice -->
|
||||
<item id="15483" /> <!-- Compressed Package: Crystal Spice-->
|
||||
<item id="736" /> <!-- Scroll of Escape -->
|
||||
<item id="8599" /> <!-- Scroll: Recovery (Grade S) -->
|
||||
</list>
|
||||
|
@ -1,8 +1,6 @@
|
||||
<html><body>Feed Seller:<br>
|
||||
Welcome to the Beast Farm! Anyone can raise a beast in this place. If you are lucky, that beast will then tamely follow you. If you are not so lucky, well...you better hope you can defeat the creature!<br>
|
||||
Anyway, I sell feed for beasts here: <font color="LEVEL">Golden Spice</font> and <font color="LEVEL">Crystal Spice</font>.<br>
|
||||
Golden Spice helps beasts grow larger, while Crystal Spice helps bones and skins become tougher. If you want a beast to become rich, feed it Golden Spice. If you want to raise it strong, feed it Crystal Spice.<br>
|
||||
Why not buy both and compare their effects?<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3136600">Trade</Button>
|
||||
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
||||
Welcome to the Beast Farm! Here we breed ferocious beasts! Whether the beasts will obey or attack you depends of your luck<br>
|
||||
I sell feed for the beasts. There are two types of it: <font color="LEVEL">Golden Spice</font> and <font color="LEVEL">Crystal Spice</font>.Golden Spice makes beasts sturdier, and Crystal one makes them stronger. Buy and try to use both types of the feed, you'll figure out what to do.<br>
|
||||
The beasts you see here have already fully grown. It's useless to feed them, you'll see no effect whatsoever. Why don't you try talking to Beast Herder Tunatun? He manages the Farm and knows more about it than I do.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Buy 3136600">Buy</Button>
|
||||
</body></html>
|
5
L2J_Mobius_10.2_MasterClass/dist/game/data/html/teleporter/31537-1.htm
vendored
Normal file
5
L2J_Mobius_10.2_MasterClass/dist/game/data/html/teleporter/31537-1.htm
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
<html><body>Beast Herder Tunatun:<br>
|
||||
As you can see, the area surrounding the Beast Farm has changed. in order to protect the beasts from the enemies I took a good care of them and feed them well. Maybe even too well, they've become violent. So we've sent the youngest and the friendliest beasts to the safe place in the north.<br>
|
||||
They still can be breed, they just need food. But the way to the north may be dangerous for the travelers. I can teleport you there if you want.<br>
|
||||
<Button ALIGN=LEFT ICON="TELEPORT" action="bypass -h npc_%objectId%_teleport OTHER 0"><font color="LEVEL">Teleport to the area inhabited by the young beasts</font></Button>
|
||||
</body></html>
|
6
L2J_Mobius_10.2_MasterClass/dist/game/data/html/teleporter/31537.htm
vendored
Normal file
6
L2J_Mobius_10.2_MasterClass/dist/game/data/html/teleporter/31537.htm
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
<html><body>Beast Herder Tunatun:<br>
|
||||
Welcome to the Beast Farm! My name is Tunatun and I'm in charge here. I started working here in order to better understand the beasts, but I got a little carried away, he-he.<br>
|
||||
Although, I'm the manager, it doesn't mean I can make them obey me. I only make deals with Feed Sellers and hire adventurers.<br>
|
||||
But I've heard the news about the <font color="LEVEL">changes at the Clan Hall Siege area</font>.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h npc_%objectId%_Chat 1">Ask to tell more</Button>
|
||||
</body></html>
|
@ -1,4 +0,0 @@
|
||||
<html><body>Beast Herder Tunatun:<br>
|
||||
You wanted a Whip? Don't you already have one?<br>
|
||||
If you don't, I can give you one again. Unfortunately, if you already have one, I can't give you another. Resources are pretty limited out here, I'm sure you can understand.
|
||||
</body></html>
|
@ -1,5 +0,0 @@
|
||||
<html><body>Beast Herder Tunatun:<br>
|
||||
You...? You don't look that strong. Raising beasts is not an easy thing.<br>
|
||||
It could be really dangerious if something goes wrong. It's OK when they are young, but it becomes too dangerous for you to handle when they're are fully grown up.<br>
|
||||
Maybe it would be better for you to come back again when you become a little more stronger. Then, I will gladly give you this Beast Handler's Whip.
|
||||
</body></html>
|
@ -1,6 +0,0 @@
|
||||
<html><body>Beast Herder Tunatun:<br>
|
||||
Are you interested in Beast Training? I'll give you a Handler's Whip.<br>
|
||||
You didn't forget about Beast Training techniques, did you? If you want, I can tell you about them again.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Tunatun 31537-04.html">Listen to the explanation on training techniques</Button>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Tunatun 31537-06.html">Decline, as you already know about them</Button>
|
||||
</body></html>
|
@ -1,5 +0,0 @@
|
||||
<html><body>Beast Herder Tunatun:<br>
|
||||
In order to give orders to the beasts, you need this Whip.<br>
|
||||
One beast used to be our limit, but thanks to the Beast Handler's Whip, it isn't a problem controlling more.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Tunatun 31537-05.html">Go on</Button>
|
||||
</body></html>
|
@ -1,3 +0,0 @@
|
||||
<html><body>Beast Herder Tunatun:<br>
|
||||
Look for Feed Sellers in this area like the one standing next to me. The feed you buy from them can be given to <font color="LEVEL">Alpine Buffalo, Alpine Grendel, Alpine Kookaburra, and Alpine Buffalo</font>. The more feed you give each beast, the more they'll grow.<br>Remember though, tamed beasts will run away if you run out of feed to give them. So be careful.
|
||||
</body></html>
|
@ -1,3 +0,0 @@
|
||||
<html><body>Beast Herder Tunatun:<br>
|
||||
Oh, I see. I hope you will get a good result.
|
||||
</body></html>
|
@ -1,5 +0,0 @@
|
||||
<html><body>Beast Herder Tunatun:<br>
|
||||
Hi! Welcome to the Beast Farm. My name is Tunatun and I'm the one in charge here. I got this job because I thought I'd be able to commune with the beasts. After all, my pet kitty back home absolutely loved me. On this farm though, it's not so easy.<br>As a matter of fact, I'm having a lot of trouble with these beasts. They tend to fight back if you try to feed or tame them, so I've hired a Feed Seller and various adventurers to help me manage and protect the farm. At this point, there's not much else I can do.<br>
|
||||
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Tunatun whip">Take the Beast Handler's Whip</Button>
|
||||
<Button ALIGN=LEFT ICON="QUEST" action="bypass -h npc_%objectId%_Quest">Quest</Button>
|
||||
</body></html>
|
@ -1,87 +0,0 @@
|
||||
/*
|
||||
* 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.BeastFarm.Tunatun;
|
||||
|
||||
import org.l2jmobius.gameserver.model.actor.Npc;
|
||||
import org.l2jmobius.gameserver.model.actor.Player;
|
||||
|
||||
import ai.AbstractNpcAI;
|
||||
|
||||
/**
|
||||
* Beast Herder Tunatun AI.
|
||||
* @author Adry_85
|
||||
*/
|
||||
public class Tunatun extends AbstractNpcAI
|
||||
{
|
||||
// NPC
|
||||
private static final int TUNATUN = 31537;
|
||||
// Item
|
||||
private static final int BEAST_HANDLERS_WHIP = 15473;
|
||||
// Misc
|
||||
private static final int MIN_LEVEL = 82;
|
||||
|
||||
private Tunatun()
|
||||
{
|
||||
addStartNpc(TUNATUN);
|
||||
addFirstTalkId(TUNATUN);
|
||||
addTalkId(TUNATUN);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String onAdvEvent(String event, Npc npc, Player player)
|
||||
{
|
||||
String htmltext = getNoQuestMsg(player);
|
||||
switch (event)
|
||||
{
|
||||
case "31537-04.html":
|
||||
case "31537-05.html":
|
||||
case "31537-06.html":
|
||||
{
|
||||
htmltext = event;
|
||||
break;
|
||||
}
|
||||
case "whip":
|
||||
{
|
||||
{
|
||||
if (!hasQuestItems(player, BEAST_HANDLERS_WHIP))
|
||||
{
|
||||
if (player.getLevel() >= MIN_LEVEL)
|
||||
{
|
||||
giveItems(player, BEAST_HANDLERS_WHIP, 1);
|
||||
htmltext = "31537-03.html";
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = "31537-02.html";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
htmltext = "31537-01.html";
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
return htmltext;
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
{
|
||||
new Tunatun();
|
||||
}
|
||||
}
|
@ -1549,7 +1549,7 @@
|
||||
<height normal="8.5" />
|
||||
</collision>
|
||||
</npc>
|
||||
<npc id="31537" level="70" type="Folk" name="Tunatun" title="Beast Herder">
|
||||
<npc id="31537" level="70" type="Teleporter" name="Tunatun" title="Beast Herder">
|
||||
<!-- Confirmed CT2.5 -->
|
||||
<parameters>
|
||||
<param name="MoveAroundSocial" value="0" />
|
||||
|
8
L2J_Mobius_10.2_MasterClass/dist/game/data/teleporters/others/Tunatun.xml
vendored
Normal file
8
L2J_Mobius_10.2_MasterClass/dist/game/data/teleporters/others/Tunatun.xml
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../xsd/teleporterData.xsd">
|
||||
<npc id="31537"> <!-- Tunatun -->
|
||||
<teleport type="OTHER">
|
||||
<location x="53099" y="-91322" z="-2144" /> <!-- Wild Beast Reserve -->
|
||||
</teleport>
|
||||
</npc>
|
||||
</list>
|
Loading…
Reference in New Issue
Block a user