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>Investigator Sally:<br>
Agh! I'm dying to learn more about the plants and fungus on the Plains of the Lizardmen! The Plains are full of so many species, some you can't find anywhere else! But I couldn't send you, as much as I want to know. You're just not strong enough yet.<br>
(Only characters level 82 and above are allowed to take this quest.)
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Investigator Sally:<br>
As I mentioned, there are some unique plants on the Plains of the Lizardmen. They're very rare and sought after because of what happens when you eat them. Pretty cool, right?<br>
<a action="bypass -h Quest Q00250_WatchWhatYouEat 32743-02.htm">Ask what happens when you eat the plants</a>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Investigator Sally:<br>
I wish I knew, truly. I'm determined to find out...in fact, you might be able to help me, if you're willing?<br>
Look, I have no illusions about myself. I'm no fighter. Girls could beat me up. Little girls. Little sick girls. It's not a big secret or anything, but could you maybe not repeat that to anyone?<br>
<a action="bypass -h Quest Q00250_WatchWhatYouEat 32743-03.htm">Agree, and say you are willing to help out.</a>
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Investigator Sally:<br>
Oh, thank you so much, that's really cool of you. I wish I was tough like you... or heck, even as tough as my little niece Gretzka. She's a tough little cookie. Anyway, that's not important. What is important is that you bring me samples of the plants on the Plains. I need <font color="LEVEL">one bag of spores from the Fantasy Mushroom</font>, <font color="LEVEL">one bag of spores from the Sticky Mushroom</font>, and <font color="LEVEL">one leaf from the Energy Plant</font>. All of these can be found on the Plains. And this goes without saying, but don't eat them until I have a chance to study them!
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Investigator Sally:<br>
You still haven't found everything. That's OK... I guess. If you like living your life full of unanswered questions. Come on, I really must know about these species, so please hurry!
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Investigator Sally:<br>
You did it! I have to say, I'm impressed. And you didn't even eat any of them... right? RIGHT? Uh oh. Don't move! I'll analyze these plants as quickly as possible.<br>
Hm... what's that smell? Did you step in something on the way here?
</body></html>

View File

@@ -0,0 +1,8 @@
<html><body>Investigator Sally:<br>
There you are! I finished the analysis, and the results are good. You'll live! Basically. No need for an antidote or anything.<br>
I eat various medicinal plants all the time. For research purposes only, of course. Want me to tell you about what these ones do?<br>
<a action="bypass -h Quest Q00250_WatchWhatYouEat 32743-07.htm">Fantasy Mushroom</a><br>
<a action="bypass -h Quest Q00250_WatchWhatYouEat 32743-08.htm">Sticky Mushroom</a><br>
<a action="bypass -h Quest Q00250_WatchWhatYouEat 32743-09.htm">Energy Plants</a><br>
<a action="bypass -h Quest Q00250_WatchWhatYouEat 32743-end.htm">Say that you don't care.</a>
</body></html>

View File

@@ -0,0 +1,7 @@
<html><body>Investigator Sally:<br>
Fantasy Mushrooms are quite strange indeed. They cause visions and euphoria - any monsters that might be aggressive towards you will be attracted to the mushroom and calmed, should its spores be released. The effect is temporary though.<br>
Need to know more? It's no bother!<br>
<a action="bypass -h Quest Q00250_WatchWhatYouEat 32743-08.htm">Sticky Mushroom</a><br>
<a action="bypass -h Quest Q00250_WatchWhatYouEat 32743-09.htm">Energy Plant</a><br>
<a action="bypass -h Quest Q00250_WatchWhatYouEat 32743-end.htm">"Nah, that's OK, I'm good."</a>
</body></html>

View File

@@ -0,0 +1,7 @@
<html><body>Investigator Sally:<br>
Sticky Mushrooms have an extreme healing factor. They recover your HP by 90%! They're also good for headaches. There is a cost though - they pretty much knock you out for 5 seconds.<br>
I can talk about plants and fungus all day! Want to know more?<br>
<a action="bypass -h Quest Q00250_WatchWhatYouEat 32743-07.htm">Fantasy Mushroom</a><br>
<a action="bypass -h Quest Q00250_WatchWhatYouEat 32743-09.htm">Energy Plant</a><br>
<a action="bypass -h Quest Q00250_WatchWhatYouEat 32743-end.htm">"I'll pass, but thanks."</a>
</body></html>

View File

@@ -0,0 +1,7 @@
<html><body>Investigator Sally:<br>
Energy Plants recover your hit points by 70% and so far, I haven't noticed any adverse side-effects. Well... there's one thing. They can cause extremely bad gas. Like tear-inducing, face-meltingly bad gas. But it only lasts a short while!<br>
I love talking about plants! Want to know more?!<br>
<a action="bypass -h Quest Q00250_WatchWhatYouEat 32743-07.htm">Fantasy Mushroom</a><br>
<a action="bypass -h Quest Q00250_WatchWhatYouEat 32743-08.htm">Sticky Mushroom</a><br>
<a action="bypass -h Quest Q00250_WatchWhatYouEat 32743-end.htm">"I think I'm good for now."</a>
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Investigator Sally:<br>
Hi, I'm an investigator from the city assigned to the Plains of the Lizardmen. Truth is, I couldn't be happier. There are SO many plants here that I've never seen. Rare ones, big ones, pointy ones, pretty ones, never seen anywhere else. But there's a problem... I'm not strong enough to handle being alone out on the Plains.<br>
<a action="bypass -h Quest Q00250_WatchWhatYouEat 32743-22.html">Ask about the rare plants</a><br>
<a action="bypass -h Quest Q00250_WatchWhatYouEat 32743-21.html">Ask about the Leto Lizardmen</a><br>
<a action="bypass -h npc_%objectId%_Quest">Quest</a>
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Investigator Sally:<br>
Most of the Leto Lizardmen died from the poisons of the plants found on the plains, but those who didn't seem to have evolved into a new race called the Tanta Lizardmen. However, I believe there are some Leto that are still living in an area outside the Plains of the Lizardmen, avoiding the poisons and maintaining their original appearance.<br>
I think they live in the shadow of a hill <font color="LEVEL">northeast of the Plains, near the road leading to the Hunter's Village.</font><br>
In fact, I'm sure of it! I saw them myself.<br>
<a action="bypass -h Quest Q00250_WatchWhatYouEat 32743-20.html">Back</a>
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Investigator Sally:<br>
There are three plants that we're especially curious about. Well, not all are plants - two are forms of fungus. The Fantasy Mushroom, Stick Mushroom, and Energy Plant are extremely plentiful on the Plains of the Lizardmen, but the strange thing is, they aren't found anywhere else in the world. All I can think about is studying these species! Or more specifically, the effects these plants have. That's... that's the part I really like.<br>
Maybe you know?<br>
(Only characters who have completed Watch What You Eat can check this information.)<br>
<a action="bypass -h Quest Q00250_WatchWhatYouEat 32743-20.html">Back</a>
</body></html>

View File

@@ -0,0 +1,8 @@
<html><body>Investigator Sally:<br>
I told you everything I learned before! But you know how much I love talking about plants, so ask away. OH! Also, I found out about a new species of Frog that lives on the Plains called the Rainbow Frog that might prove useful to you! I know, I know, I am pretty awesome like that... What can I say?<br>
<a action="bypass -h Quest Q00250_WatchWhatYouEat 32743-24.html">Fantasy Mushroom</a><br>
<a action="bypass -h Quest Q00250_WatchWhatYouEat 32743-25.html">Sticky Mushroom</a><br>
<a action="bypass -h Quest Q00250_WatchWhatYouEat 32743-26.html">Energy Plant</a><br>
<a action="bypass -h Quest Q00250_WatchWhatYouEat 32743-27.html">Rainbow Frog</a><br>
<a action="bypass -h Quest Q00250_WatchWhatYouEat 32743-20.html">Back</a>
</body></html>

View File

@@ -0,0 +1,8 @@
<html><body>Investigator Sally:<br>
Fantasy Mushrooms are quite strange indeed. They cause visions and euphoria - any monsters that might be aggressive towards you will be attracted to the mushroom and calmed, should its spores be released. The effect is temporary though.<br>
Need to know more? It's no bother!<br>
<a action="bypass -h Quest Q00250_WatchWhatYouEat 32743-25.html">Sticky Mushroom</a><br>
<a action="bypass -h Quest Q00250_WatchWhatYouEat 32743-26.html">Energy Plant</a><br>
<a action="bypass -h Quest Q00250_WatchWhatYouEat 32743-27.html">Rainbow Frog</a><br>
<a action="bypass -h Quest Q00250_WatchWhatYouEat 32743-20.html">"Nah, that's OK, I'm good."</a>
</body></html>

View File

@@ -0,0 +1,8 @@
<html><body>Investigator Sally:<br>
Sticky Mushrooms have an extreme healing factor. They recover your HP by 90%! They're also good for headaches. There is a cost though - they pretty much knock you out for 5 seconds.<br>
I'm a plant encyclopedia. Hit me again!<br>
<a action="bypass -h Quest Q00250_WatchWhatYouEat 32743-24.html">Fantasy Mushroom</a><br>
<a action="bypass -h Quest Q00250_WatchWhatYouEat 32743-26.html">Energy Plant</a><br>
<a action="bypass -h Quest Q00250_WatchWhatYouEat 32743-27.html">Rainbow Frog</a><br>
<a action="bypass -h Quest Q00250_WatchWhatYouEat 32743-20.html">"I'll pass, but thanks."</a>
</body></html>

View File

@@ -0,0 +1,8 @@
<html><body>Investigator Sally:<br>
Energy Plants recover your hit points by 70%, but like I said, there's one side effect. They can cause extremely bad gas. Like tear-inducing, face-meltingly bad gas. But it only lasts a short while!<br>
I love talking about plants! Want to know more?!<br>
<a action="bypass -h Quest Q00250_WatchWhatYouEat 32743-24.html">Fantasy Mushroom</a><br>
<a action="bypass -h Quest Q00250_WatchWhatYouEat 32743-25.html">Sticky Mushroom</a><br>
<a action="bypass -h Quest Q00250_WatchWhatYouEat 32743-27.html">Rainbow Frog</a><br>
<a action="bypass -h Quest Q00250_WatchWhatYouEat 32743-20.html">"I think I'm good for now."</a>
</body></html>

View File

@@ -0,0 +1,8 @@
<html><body>Investigator Sally:<br>
It turns out the Rainbow Frog is a natural antidote for the poisons found all over the Plains of the Lizardmen. Lick or eat them and you'll recover 10% of your HP, plus they have a tangy fruit-like flavor. Just try to stay away from the poison, OK?<br>
Anything else you want to know?<br>
<a action="bypass -h Quest Q00250_WatchWhatYouEat 32743-24.html">Fantasy Mushroom</a><br>
<a action="bypass -h Quest Q00250_WatchWhatYouEat 32743-25.html">Sticky Mushroom</a><br>
<a action="bypass -h Quest Q00250_WatchWhatYouEat 32743-26.html">Energy Plant</a><br>
<a action="bypass -h Quest Q00250_WatchWhatYouEat 32743-20.html">"No, I'm okay."</a>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Investigator Sally:<br>
Looking good, eh? Been trying any plants lately? Hehe, me too! ... (gurgle gurgle)<br>
(This quest is already complete.)
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Investigator Sally:<br>
Well, you really helped me out! Let me return the favor someday. And again, thanks so much!
</body></html>

View File

@@ -0,0 +1,183 @@
/*
* 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.Q00250_WatchWhatYouEat;
import com.l2jserver.gameserver.enums.QuestSound;
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;
/**
* Watch What You Eat (250)
* @author Gnacik
* @version 2010-08-05 Based on Freya PTS
*/
public class Q00250_WatchWhatYouEat extends Quest
{
// NPCs
private static final int SALLY = 32743;
// Mobs - Items
private static final int[][] MOBS =
{
{
18864,
15493
},
{
18865,
15494
},
{
18868,
15495
}
};
public Q00250_WatchWhatYouEat()
{
super(250, Q00250_WatchWhatYouEat.class.getSimpleName(), "Watch What You Eat");
addStartNpc(SALLY);
addFirstTalkId(SALLY);
addTalkId(SALLY);
for (int[] mob : MOBS)
{
addKillId(mob[0]);
}
registerQuestItems(15493, 15494, 15495);
}
@Override
public String onAdvEvent(String event, L2Npc npc, L2PcInstance player)
{
String htmltext = event;
QuestState st = getQuestState(player, false);
if (st == null)
{
return htmltext;
}
if (npc.getId() == SALLY)
{
if (event.equalsIgnoreCase("32743-03.htm"))
{
st.startQuest();
}
else if (event.equalsIgnoreCase("32743-end.htm"))
{
st.giveAdena(135661, true);
st.addExpAndSp(698334, 76369);
st.exitQuest(false, true);
}
else if (event.equalsIgnoreCase("32743-22.html") && st.isCompleted())
{
htmltext = "32743-23.html";
}
}
return htmltext;
}
@Override
public String onFirstTalk(L2Npc npc, L2PcInstance player)
{
if (npc.getId() == SALLY)
{
return "32743-20.html";
}
return null;
}
@Override
public String onKill(L2Npc npc, L2PcInstance player, boolean isSummon)
{
final QuestState st = getQuestState(player, false);
if (st == null)
{
return null;
}
if (st.isStarted() && st.isCond(1))
{
for (int[] mob : MOBS)
{
if (npc.getId() == mob[0])
{
if (!st.hasQuestItems(mob[1]))
{
st.giveItems(mob[1], 1);
st.playSound(QuestSound.ITEMSOUND_QUEST_ITEMGET);
}
}
}
if (st.hasQuestItems(MOBS[0][1]) && st.hasQuestItems(MOBS[1][1]) && st.hasQuestItems(MOBS[2][1]))
{
st.setCond(2, true);
}
}
return null;
}
@Override
public String onTalk(L2Npc npc, L2PcInstance player)
{
String htmltext = getNoQuestMsg(player);
final QuestState st = getQuestState(player, true);
if (st == null)
{
return htmltext;
}
if (npc.getId() == SALLY)
{
switch (st.getState())
{
case State.CREATED:
htmltext = (player.getLevel() >= 82) ? "32743-01.htm" : "32743-00.htm";
break;
case State.STARTED:
if (st.isCond(1))
{
htmltext = "32743-04.htm";
}
else if (st.isCond(2))
{
if (st.hasQuestItems(MOBS[0][1]) && st.hasQuestItems(MOBS[1][1]) && st.hasQuestItems(MOBS[2][1]))
{
htmltext = "32743-05.htm";
for (int items[] : MOBS)
{
st.takeItems(items[1], -1);
}
}
else
{
htmltext = "32743-06.htm";
}
}
break;
case State.COMPLETED:
htmltext = "32743-done.htm";
break;
}
}
return htmltext;
}
}