This commit is contained in:
mobius
2015-01-01 20:02:50 +00:00
parent eeae660458
commit a6a3718849
17894 changed files with 2818932 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
<html><body>Beast Herder Tunatun:<br>
Are you talking about the Bull 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>

View File

@@ -0,0 +1,5 @@
<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>

View File

@@ -0,0 +1,4 @@
<html><body>Beast Herder Tunatun:<br>
If you're interested in handling the beasts, I can give you this Bull Whip. If you've forgotten how to use it, I can tell you again.<br>
<a action="bypass -h Quest Tunatun 31537-04.html">Listen to the explanation about how to handle.</a>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Beast Herder Tunatun:<br>
In order to give orders to the beasts, you need this Bull Whip. On the old Beast Farm, you used to be able to command only one beast, but with this improved whip, you can now give orders to many tamed beasts at the same time.<br>
<a action="bypass -h Quest Tunatun 31537-05.html">Continue to listen to the story</a>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Beast Herder Tunatun:<br>
Being able to give orders to many cubs you train can be incredibly helpful. Each type of cub can cast supplemental magic to help buff your skills in combat, and the more cubs you tame, the more types of buffs you can have cast on yourself.<br>
<a action="bypass -h Quest Tunatun 31537-06.html">Continue to listen to the story</a>
</body></html>

View File

@@ -0,0 +1,3 @@
<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>

View File

@@ -0,0 +1,5 @@
<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>
<a action="bypass -h Quest Tunatun Whip">Take the Beast Handler's Whip.</a><br>
<a action="bypass -h npc_%objectId%_Quest">Quest</a>
</body></html>

View File

@@ -0,0 +1,77 @@
/*
* 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 ai.npc.Tunatun;
import quests.Q00020_BringUpWithLove.Q00020_BringUpWithLove;
import ai.npc.AbstractNpcAI;
import com.l2jserver.gameserver.model.actor.L2Npc;
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
import com.l2jserver.gameserver.model.quest.QuestState;
/**
* Beast Herder Tunatun AI.
* @author Adry_85
*/
public final 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()
{
super(Tunatun.class.getSimpleName(), "ai/npc");
addStartNpc(TUNATUN);
addFirstTalkId(TUNATUN);
addTalkId(TUNATUN);
}
@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
if ("Whip".equals(event))
{
if (hasQuestItems(player, BEAST_HANDLERS_WHIP))
{
return "31537-01.html";
}
QuestState st = player.getQuestState(Q00020_BringUpWithLove.class.getSimpleName());
if ((st == null) && (player.getLevel() < MIN_LEVEL))
{
return "31537-02.html";
}
else if ((st != null) || (player.getLevel() >= MIN_LEVEL))
{
giveItems(player, BEAST_HANDLERS_WHIP, 1);
return "31537-03.html";
}
}
return event;
}
public static void main(String[] args)
{
new Tunatun();
}
}