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,3 @@
<html><body>Gatekeeper Bella:<br>
Yes, it is true. I am a Gatekeeper from the Ivory Tower, and also a member of the animal lover's association. Why have you come?
Did Martin send you?<br><a action="bypass -h Quest 419_GetAPet talk1">"I wish to learn about pets."</a></body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Gatekeeper Bella:<br>
Pets help their owners in a number of ways.<br>
If your inventory is low or you have exceeded your weight limit, you can use your pets to carry some of your items. Just be careful not to use your pets too often on errands, no matter how useful may be.<br>
There is also something important to keep in mind when raising a pet. You can resurrect dead pets once, but there is a time limit in which to do so. If you do not resurrect pets within
<font color="LEVEL">24 hours</font>, they will disappear forever. That would be very unfortable...<br>
<a action="bypass -h Quest 419_GetAPet talk2">Next.</a></body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Gatekeeper Bella:<br>
Your pet shall be a wolf. You must learn more about them.<br>
Wolves are biologically classified as <font color="LEVEL"> canines</font>.
Canines are extremely varied, and include dogs, raccoons, foxes, jackals,
and even timberwolves. The lifespan of wolves in the wild is unknown,
but wolves in captivity can live from 12 to 15 years.</body></html>

View File

@@ -0,0 +1 @@
<html><body>Pet Manager Martin:<br>I speak to those who love animals. I won't be surprised if I find no affection for animals inside an evil person like you. Get out of my sight!</body></html>

View File

@@ -0,0 +1,8 @@
<html><body>Pet Manager Martin:<br>
First there is something I'd like you to do for your pet and other pet lovers.
Recently, there have been monsters who have been stalking the animals and attacking them as prey.
I would like for you to get rid of these monsters.<br>
If you wish to have a pet, you must know how to love one. When you complete two or more tasks for me,
I shall test you myself on your knowledge of pets. What do you think? Will you give it a try?<br>
<a action="bypass -h Quest 419_GetAPet agree">I will take the task.</a>
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Accessory Merchant Ellie:<br>
How did you know that I am a member of the animal lover's association?
Ah, I see - Mr. Martin spoke of me. So, what can I do for you?<br>
<a action="bypass -h Quest 419_GetAPet talk3">"I wish to learn about pets."</a>
</body></html>

View File

@@ -0,0 +1,12 @@
<html><body>Accessory Merchant Ellie:<br>
We should talk about the wolf that you will be raising...<br>
I must first explain their reproductive cycle. A wolf's fertility
period is normally<font color="LEVEL"> 1-2 months</font>, and the
pregnancy lasts for approximately<font color="LEVEL"> 60-62 days
</font>. Normally, they will give birth to 3-6 cubs, but can produce
up to 10 cubs at a time. They create a very safe home for their young
ones. Places such as between rocks, under cliffs, and caves.<br>
Wolves are more omnivirous than assumed. A full grown wolf can easily
devour a calf or goat whole. Wolves also eat the flesh of dead animals,
wild pheasants, and even berries. They can go without food for 5-6 days,
but cannot live long without water.</body></html>

View File

@@ -0,0 +1,8 @@
<html><body>Pet Manager Martin:<br>
Wrong! You have failed the test. I am so sorry for you...
You have tried so hard to make it up to here...<br>
I shall give you one more chance to take the test again.
Of course not just like this.<font color="LEVEL"> You'll
have to meet the animal lovers association members once
again and take some lessons from them.</font>
Then, I shall give you another chance to take the test.</body></html>

View File

@@ -0,0 +1,7 @@
<html><body>Pet Manager Martin:<br>
Hmm, so you want to keep a pet ? It is a good idea,
but I think it is too early for you to have one.
Come back after you have gained some more experience.
Right now, it seems that you won't be able to control one.
<br><font color="LEVEL">(Quest for characters level 15 and above.)</font>
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Guard Metty:<br>
Yes, I am a member of the animal lover's association. Why did you want to see me? I am very busy. Speak up!<br>
<a action="bypass -h Quest 419_GetAPet talk4">"Tell me about the pets."</a>
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Guard Metty:<br>
So, you want to learn about the pets? Good, I will teach you everything I know.<br>
First of all, the wolf. This is the first pet that you will breed. A wolf's sence of smell can detect an object as far as<font color="LEVEL"> 2.4 km</font> away. They hunt in packs of 7-14 with a <font color="LEVEL">male</font> leader.<br>
Fully grown they are no larger than a man, and can be distinguished from dogs by their drooping tails.<br>
There are also many kinds f wild wolves in Aden, and they vary from region to region. Around here you will find Dire wolves, the oldest and most primitive type. In Elmore, to the far north, there are Kasha Wolves in Orc Country and Black Wolves in the Dwarf lands.
</body></html>

View File

@@ -0,0 +1,4 @@
<html><body>Pet Manager Martin:<br>
What, you're still here?<br>
Didn't I give you the list of the monsters you must kill? Go now and get rid of those filthy animal killers! Leave now!
</body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Pet Manager Martin:<br>
Too bad... is that the only number of animal slaughterers
that you could get rid of? That is no good, it is far too less.
That is not enough at all. Go and kill some more of the animal
slaughterers.</body></html>

View File

@@ -0,0 +1,8 @@
<html><body>Pet Manager Martin:<br>
Hey, aren't you supposed to be meeting with the animal
lovers association members?<br>
Did you forget? OK, I'll repeat it one more time.
<font color="LEVEL">Go and meet the Gatekeeper Bella
of the Town of Gludio, the Guard Metty of the Town of Dion,
and the Jeweler Ellie in the Town of Giran.</font>Is that clear?
</body></html>

View File

@@ -0,0 +1,9 @@
<html><body>Question:<br>
The wolf is a meat-eating mammal of the canine family.Which animal among the following is
<font color="LEVEL">not</font> a meat-eating mammal of the canine family?<br>
<a action="bypass -h Quest 419_GetAPet wrong">Jackal</a><br>
<a action="bypass -h Quest 419_GetAPet wrong">Raccoon</a><br>
<a action="bypass -h Quest 419_GetAPet wrong">Shepheder Dog</a><br>
<a action="bypass -h Quest 419_GetAPet wrong">Fox</a><br>
<a action="bypass -h Quest 419_GetAPet right">None of the above.</a>
</body></html>

View File

@@ -0,0 +1,9 @@
<html><body>Question:<br>
The following connections are made between the wolves
and their habitats. Which is <font color="LEVEL">not</font> correct?<br>
<a action="bypass -h Quest 419_GetAPet wrong">Dark Forest - Ashen Wolf</a><br>
<a action="bypass -h Quest 419_GetAPet wrong">Talking Island - Wolf</a><br>
<a action="bypass -h Quest 419_GetAPet right">Orc - Black Wolf</a><br>
<a action="bypass -h Quest 419_GetAPet wrong">Elven Forest - Gray Wolf</a><br>
<a action="bypass -h Quest 419_GetAPet wrong">None of the above.</a>
</body></html>

View File

@@ -0,0 +1,8 @@
<html><body>Question:<br>
How is a wolf's tail normally positioned?<br>
<a action="bypass -h Quest 419_GetAPet wrong">It's tail is always curled up.</a><br>
<a action="bypass -h Quest 419_GetAPet wrong">What are you talking about?! A wolf doesn't have a tail.</a><br>
<a action="bypass -h Quest 419_GetAPet right">It's tail is always pointing straight down.</a><br>
<a action="bypass -h Quest 419_GetAPet wrong">It's tail is always wagging back and forth.</a><br>
<a action="bypass -h Quest 419_GetAPet wrong">None of the above.</a>
</body></html>

View File

@@ -0,0 +1,8 @@
<html><body>Question:<br>
Pets are very useful to their owners. Which of the following is <font color="LEVEL">not</font> an appropriate use of a pet?<br>
<a action="bypass -h Quest 419_GetAPet right">Can be sent to the village to buy items.</a><br>
<a action="bypass -h Quest 419_GetAPet wrong">Can be used for item transportation.</a><br>
<a action="bypass -h Quest 419_GetAPet wrong">Can be traded or sold to a new owner for adena.</a><br>
<a action="bypass -h Quest 419_GetAPet wrong">Can help during hunting by assisting in attacks.</a><br>
<a action="bypass -h Quest 419_GetAPet wrong">None of the above.</a>
</body></html>

View File

@@ -0,0 +1,8 @@
<html><body>Question:<br>
What are the oldest and most primitive type of wolves found in Aden?<br>
<a action="bypass -h Quest 419_GetAPet right">Dire Wolf</a><br>
<a action="bypass -h Quest 419_GetAPet wrong">Turek Wolf</a><br>
<a action="bypass -h Quest 419_GetAPet wrong">Kasha Wolf</a><br>
<a action="bypass -h Quest 419_GetAPet wrong">Air Wolf</a><br>
<a action="bypass -h Quest 419_GetAPet wrong">None of the above.</a>
</body></html>

View File

@@ -0,0 +1,9 @@
<html><body>Question:<br>
When the pet is killed it may be resurrected within a certain amount of time.
What is the maximum delay allowed before resurrection becomes impossible?<br>
<a action="bypass -h Quest 419_GetAPet wrong">1 hour</a><br>
<a action="bypass -h Quest 419_GetAPet wrong">2 hours</a><br>
<a action="bypass -h Quest 419_GetAPet wrong">10 hours</a><br>
<a action="bypass -h Quest 419_GetAPet right">24 hours</a><br>
<a action="bypass -h Quest 419_GetAPet wrong">None of the above.</a>
</body></html>

View File

@@ -0,0 +1,8 @@
<html><body>Question:<br>
What is the best way to train your pet?<br>
<a action="bypass -h Quest 419_GetAPet wrong">Tell your pet to pick up items.</a><br>
<a action="bypass -h Quest 419_GetAPet right">When taking down a monster, always have a pet's company.</a><br>
<a action="bypass -h Quest 419_GetAPet wrong">Tell your pet to attack monsters first.</a><br>
<a action="bypass -h Quest 419_GetAPet wrong">Let your pet do what it wants.</a><br>
<a action="bypass -h Quest 419_GetAPet wrong">None of the above.</a>
</body></html>

View File

@@ -0,0 +1,8 @@
<html><body>Question:<br>
How far (in kilometers) can a wolf's smell reach?<br>
<a action="bypass -h Quest 419_GetAPet wrong">1.4 km</a><br>
<a action="bypass -h Quest 419_GetAPet wrong">4.4 km</a><br>
<a action="bypass -h Quest 419_GetAPet wrong">3.4 km</a><br>
<a action="bypass -h Quest 419_GetAPet right">2.4 km</a><br>
<a action="bypass -h Quest 419_GetAPet wrong">None of the above.</a>
</body></html>

View File

@@ -0,0 +1,8 @@
<html><body>Question:<br>
What is the best way to train your pet?<br>
<a action="bypass -h Quest 419_GetAPet wrong">Tell your pet to pick up items.</a><br>
<a action="bypass -h Quest 419_GetAPet right">When taking down a monster, always have a pet's company.</a><br>
<a action="bypass -h Quest 419_GetAPet wrong">Tell your pet to attack monsters first.</a><br>
<a action="bypass -h Quest 419_GetAPet wrong">Let your pet do what it wants.</a><br>
<a action="bypass -h Quest 419_GetAPet wrong">None of the above.</a>
</body></html>

View File

@@ -0,0 +1,8 @@
<html><body>Question:<br>
Which is <font color="LEVEL">not</font> a proper description of the breeding of wolves?<br>
<a action="bypass -h Quest 419_GetAPet wrong">Breeding season is January-February.</a><br>
<a action="bypass -h Quest 419_GetAPet wrong">Has up to ten offspring at one time.</a><br>
<a action="bypass -h Quest 419_GetAPet wrong">Babies are born in April-June.</a><br>
<a action="bypass -h Quest 419_GetAPet right">Pregnancy is nine months.</a><br>
<a action="bypass -h Quest 419_GetAPet wrong">None of the above.</a>
</body></html>

View File

@@ -0,0 +1,8 @@
<html><body>Question:<br>
Which of the following is <font color="LEVEL">not</font> a part of the Wolf's diet?<br>
<a action="bypass -h Quest 419_GetAPet wrong">Wild Bird</a><br>
<a action="bypass -h Quest 419_GetAPet wrong">Goat</a><br>
<a action="bypass -h Quest 419_GetAPet wrong">Meat of a dead animal</a><br>
<a action="bypass -h Quest 419_GetAPet wrong">Berries</a><br>
<a action="bypass -h Quest 419_GetAPet right">None of the above.</a>
</body></html>

View File

@@ -0,0 +1,8 @@
<html><body>Question:<br>
What kind of wolf leads the rest when hunting in a pack?<br>
<a action="bypass -h Quest 419_GetAPet right">Male</a><br>
<a action="bypass -h Quest 419_GetAPet wrong">Female</a><br>
<a action="bypass -h Quest 419_GetAPet wrong">A baby that was born last year</a><br>
<a action="bypass -h Quest 419_GetAPet wrong">A baby that was born two years ago</a><br>
<a action="bypass -h Quest 419_GetAPet wrong">None of the above.</a>
</body></html>

View File

@@ -0,0 +1,8 @@
<html><body>Question:<br>
What is the normal lifespawn of a wolf in captivity?<br>
<a action="bypass -h Quest 419_GetAPet wrong">3-6 years</a><br>
<a action="bypass -h Quest 419_GetAPet wrong">6-9 years</a><br>
<a action="bypass -h Quest 419_GetAPet wrong">9-12 years</a><br>
<a action="bypass -h Quest 419_GetAPet right">12-15 years</a><br>
<a action="bypass -h Quest 419_GetAPet wrong">None of the above.</a>
</body></html>

View File

@@ -0,0 +1,8 @@
<html><body>Question:<br>
Which of the following do <font color="LEVEL">not</font> describe the life of a wolf.<br>
<a action="bypass -h Quest 419_GetAPet wrong">Wolves can eat a whole calf in one sitting.</a><br>
<a action="bypass -h Quest 419_GetAPet wrong">If they have water, wolves can live for 5-6 days without eating anything.</a><br>
<a action="bypass -h Quest 419_GetAPet right">A pregnant wolf makes its home in a wide open place to have its babies.</a><br>
<a action="bypass -h Quest 419_GetAPet wrong">Wolves gather and move in groups of 7-13 animals.</a><br>
<a action="bypass -h Quest 419_GetAPet wrong">None of the above.</a>
</body></html>

View File

@@ -0,0 +1,8 @@
<html><body>Question:<br>
Which of the following is a the <font color="LEVEL">correct</font> description of a wolf?<br>
<a action="bypass -h Quest 419_GetAPet wrong">The color of a wolf's fur is the same as the place where it lives.</a><br>
<a action="bypass -h Quest 419_GetAPet wrong">A wolf changes into a werewolf during a full-moon.</a><br>
<a action="bypass -h Quest 419_GetAPet right">A grown wolf is still not as heavy as a fully-grown male adult human.</a><br>
<a action="bypass -h Quest 419_GetAPet wrong">A wolf enjoys eating Dwarves.</a><br>
<a action="bypass -h Quest 419_GetAPet wrong">None of the above.</a>
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Pet Manager Martin:<br>
Congratulations! You answered every question correctly! I acknowledge that you are qualified to keep a pet.
May you always keep a loving and caring mind for animals
and never forget the true value of your pet. If you have any
questions at all feel free to come here to consultwith me anytime.
</body></html>

View File

@@ -0,0 +1,13 @@
<html><body>Pet manager martin:<br>
Let's see...There are so many of them...<br>
Ah, you are from Talking Island right?
In that case, go to your hometown and take care of the animal slaughters there.
How does that sound? That doesn't seem too hard for you, is it?<br>
The monsters on Talking Island are<font color="LEVEL">the giant spiders, talon spiders,
and blade spiders</font>.
They are the most wicked animal slaughterers on Talking Island.
They say that they devour the animals every day. There are hardly any animals
left near where they live.<br>Therefore you should go and get rid of them.
By the way, when you return, you should bring some kind of proof that you
killed the monsters. How could I possibly trust you if you come back with
nothing to prove your victory? Now, if everything is clear, be off!</body></html>

View File

@@ -0,0 +1,12 @@
<html><body>Pet Manager Martin:<br>Let's see...There are so many of them...<br>
Oh, I just remembered that you were an Elf! In that case, I would
like you to go to your hometown and get rid of the animal slaughters
there. How does that sound? That doesn't seem too hard for you, is it?<br>
If you go to the Elven Forest, you'll be able to find<font color="LEVEL">
the crimson spider, hook spider and pincer spider</font>.
They are the most wicked animal slaughterers in the Elven forest.
They say that they devour the animals every day. There are hardly any
animals left near where they live.<br>Therefore you should go and get rid of them.
By the way, when you return, you should bring some kind of proof that you killed
the monsters. How could I possibly trust you if you come back with nothing to prove
your victory? Now, if everything is clear, be off!</body></html>

View File

@@ -0,0 +1,14 @@
<html><body>Pet Manager Martin:<br>
Let's see...There are so many of them...<br>
Oh, I just remembered that you were a Dark Elf. In that case,
I would like you to go to your hometown and get rid of the animal
slaughters there. How does that sound? That doesn't seem too hard
for you, is it?<br>If you go to the Dark Elven Forest, you'll be
able to find<font color="LEVEL"> the lesser dark horror, dark horror,
and the prowler</font>. They are the most wicked animal slaughterers
in the Dark Elven Forest. They say that they devour the animals every
day. There are hardly any animals left near where they live.<br>Therefore
you should go and get rid of them. By the way, when you return,
you should bring some kind of proof that you killed the monsters.
How could I possibly trust you if you come back with nothing to prove
your victory? Now, if everything is clear, be off!</body></html>

View File

@@ -0,0 +1,17 @@
<html><body>Pet Manager Martin:<br>
Let's see...There are so many of them...<br>
Oh, I just remembered that you were one of the Orcs!
In that case, I would like you to go to your hometown
and get rid of the animal slaughters there. How does
that sound? That doesn't seem too hard for you, is it?<br>
If you go to the Indomitable Plateau of your hometown,
you'll confront<font color="LEVEL"> the kasha spider,
kasha fang spiders and kasha blade spiders</font>.
They are the most wicked animal slaughterers in
the area. They say that they devour the animals every day.
There are hardly any animals left near where they live.<br>
Therefore you should go and get rid of them. By the way,
when you return, you should bring some kind of proof that you
killed the monsters. How could I possibly trust you if you
come back with nothing to prove your victory? Now, if everything
is clear, be off!</body></html>

View File

@@ -0,0 +1,16 @@
<html><body>Pet Manager Martin:<br>
Let's see...
There are so many of them...<br>Oh, I just remembered
that you were a Dwarf! In that case, I would like you
to go to your hometown and get rid of the animal slaughters
there. How does that sound? That doesn't seem too hard for you,
is it?<br>When you go to the Spine Mountains Mining Zone of your
hometown, you'll find<font color="LEVEL"> the hunter tarantula,
and plunder tarantula</font>. You can call them the most wicked
animal slaughterers in the Spine Mining Zone.
They say that they devour the animals every day. There are hardly
any animals left near where they live.<br>Therefore you should
go and get rid of them. By the way, when you return, you should
bring some kind of proof that you killed the monsters. How could
I possibly trust you if you come back with nothing to prove your
victory? Now, if everything is clear, be off!</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Pet Manager Martin:<br><br>
Let me see... There are several of those who abuse animals...<br>
Hey you -- Kamael! Why don't you go back to your homeland and take care of those animal killers? It's a simple quest, but worthwhile.<br>
In Mimir's Forest, you will find <font color="LEVEL">Crimson Spiders</font>, who are the worst trasgressors. They delight in feasting on animals for both food and pleasure, so the animals living near forest are terribly endangered.<br>
Of course, I'll want you to bring me proof that you have kept your word. How can I be expected to believe you if you come back empty-handed, eh? Any other questions? No? Then good luck!
</body></html>

View File

@@ -0,0 +1,7 @@
<html><body>Pet Manager Martin:<br>
Yeah. Very good! You have brought exactly 50 of them. Well done!<br>
Hereby, I will give you a pet... is not what you are about to hear from me! Not yet, not too early.
To be qualified for raising a pet is not so easy.<br>This is just the beginning. Now then, I shall
give you some more tasks to see if you are qualified for raising a pet. Let's go on to the next level
test, now!<br>
<a action="bypass -h Quest 419_GetAPet talk">Ask about the next level test.</a></body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Pet Manager Martin:<br>
So, you want to keep a pet? Hmm, it seems that you are quite
experienced enough to keep one. But even though, we don't distribute
pets to just anyone. First, I must see if you are qualified enough
to raise a pet.<br>
<a action="bypass -h Quest 419_GetAPet details">Ask Detailed Questions.</a></body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Pet Manager Martin:<br>
Too bad... is that the only number of animal slaughterers
that you could get rid of? That is no good, it is far too less.
That is not enough at all. Go and kill some more of the animal
slaughterers.</body></html>

View File

@@ -0,0 +1,19 @@
<html><body>Pet Manager Martin:<br>
Your next task is to learn the basics about the pets.
Without basic knowledge, you'll never be able to care for a pet.
You man not know it, but I am the branch office manager of the Animal
Lovers Association. We take care of everything concerning pets, and screen
all candidates to make sure they qualify to raise a pet. Only qualified
people will receive pets.
<br>The members of the Animal Lovers Association are spread out all over
the world. It is, in fact, a large organization.
<font color="LEVEL">I want you to meet the members of our Animal Lovers Association,
and come back after you have gained knowledge about pets from them.</font>
Do you understand? I shall give you the list of people that you need to meet.
Come back to me once you have met all the members on the list.
<br>
But be aware, just meeting them is not enough. You must listen to what they say,
and learn about pets from them. Once you've done that, I shall test you myself.
Our members will give you plenty of helpful information.
Just listen carefully to them and you will do fine on my test.
</body></html>

View File

@@ -0,0 +1,9 @@
<html><body>Pet Manager Martin:<br>
So, have you met the members of the Animal Lovers Association like I asked?
Well done! Now I will test the knowledge that you've learned from our members.
There are ten questions in all. If you make even one mistake, you'll fail
the examination and won't be able to get a pet!<br>
As soon as you decide to take the test, you'll have your questions. What do you say,
are you ready for the test?<br>
<a action="bypass -h Quest 419_GetAPet tryme">I am ready for the test.</a>
</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Pet Manager Martin:<br>
Congratulations! You've got every single answer correct!
OK, I acknowledge that you are qualified enough to keep a pet.
I hope you always keep that loving and caring mind for animals
and take good care of your pet, too. Whenever you have any
questions about the pet, please come and consult me.</body></html>

View File

@@ -0,0 +1,6 @@
<html><body>Pet Manager Martin:<br>
Ah, yes I see! You have brought 50 of them! Well done!<br>
Soon you will be ready to own your own pet!<br>
I hope you didn't think that was the only thing you had to do to prove that you were ready! Oh, no my friend... You are just ready for the next task...<br>
<a action="bypass -h Quest 419_GetAPet talk">Ask about the next task</a>
</body></html>

View File

@@ -0,0 +1,3 @@
<html><body>Pet Manager Martin:<br>
Ah, so you want a pet? I see you have the experience needed to keep a pet, but even so, we don't distribute pets to just anyone. First, you must demonstrate that you are qualified to raise a pet.<br>
<a action="bypass -h Quest 419_GetAPet details">Ask detailed questions.</a></body></html>

View File

@@ -0,0 +1,5 @@
<html><body>Pet Manager Martin:<br>
Too bad... is that the only number of animal slaughterers
that you could get rid of? That is no good, it is far too less.
That is not enough at all. Go and kill some more of the animal
slaughterers.</body></html>

View File

@@ -0,0 +1 @@
<html><body>Pet Manager Martin:<br>Too bad... is that the only number of animal slaughterers that you could get rid of? That is no good, it is far too less. That is not enough at all. Go and kill some more of the animal slaughterers.</body></html>

View File

@@ -0,0 +1,9 @@
<html><body>Pet Manager Martin:<br>
So, have you met the members of the Animal Lovers Association like I asked?
Well done! Now I will test the knowledge that you've learned from our members.
There are ten questions in all. If you make even one mistake, you'll fail
the examination and won't be able to get a pet!<br>
As soon as you decide to take the test, you'll have your questions. What do you say,
are you ready for the test?<br>
<a action="bypass -h Quest 419_GetAPet tryme">I am ready for the test.</a>
</body></html>

View File

@@ -0,0 +1,276 @@
# version 0.2
# by DrLecter, with fixes from Ryo_Saeba
import sys
from com.l2jserver import Config
from com.l2jserver.gameserver.model.quest import State
from com.l2jserver.gameserver.model.quest import QuestState
from com.l2jserver.gameserver.model.quest import Quest as JQuest
qn = "419_GetAPet"
# constants section
REQUIRED_SPIDER_LEGS = 50
#Quest items
ANIMAL_LOVERS_LIST1,ANIMAL_SLAYER_LIST1,ANIMAL_SLAYER_LIST2,ANIMAL_SLAYER_LIST3,\
ANIMAL_SLAYER_LIST4,ANIMAL_SLAYER_LIST5,SPIDER_LEG1,SPIDER_LEG2,SPIDER_LEG3, \
SPIDER_LEG4,SPIDER_LEG5,ANIMAL_SLAYER_LIST6,SPIDER_LEG6 = range(3417,3428)+range(10164,10166)
#Chance of drop in %
SPIDER_LEG_DROP = 100
#mobs
#1 humans
SPIDER_H1 = 20103 # Giant Spider
SPIDER_H2 = 20106 # Talon Spider
SPIDER_H3 = 20108 # Blade Spider
#2 elves
SPIDER_LE1 = 20460 # Crimson Spider
SPIDER_LE2 = 20308 # Hook Spider
SPIDER_LE3 = 20466 # Pincer Spider
#3 dark elves
SPIDER_DE1 = 20025 # Lesser Dark Horror
SPIDER_DE2 = 20105 # Dark Horror
SPIDER_DE3 = 20034 # Prowler
#4 orcs
SPIDER_O1 = 20474 # Kasha Spider
SPIDER_O2 = 20476 # Kasha Fang Spider
SPIDER_O3 = 20478 # Kasha Blade Spider
#5 dwarves
SPIDER_D1 = 20403 # Hunter Tarantula
SPIDER_D2 = 20508 # Plunder Tarantula
#6 kamael
SPIDER_K1 = 22244 # Crimson Spider
#NPCs
PET_MANAGER_MARTIN = 30731
GK_BELLA = 30256
MC_ELLIE = 30091
GD_METTY = 30072
#Rewards
WOLF_COLLAR = 2375
# helper functions section
def getCount_proof(st) :
race = st.getPlayer().getRace().ordinal()
if race == 0: proofs = st.getQuestItemsCount(SPIDER_LEG1)
if race == 1: proofs = st.getQuestItemsCount(SPIDER_LEG2)
if race == 2: proofs = st.getQuestItemsCount(SPIDER_LEG3)
if race == 3: proofs = st.getQuestItemsCount(SPIDER_LEG4)
if race == 4: proofs = st.getQuestItemsCount(SPIDER_LEG5)
if race == 5: proofs = st.getQuestItemsCount(SPIDER_LEG6)
return proofs
def check_questions(st) :
question = 1
quiz = st.get("quiz")
answers = st.getInt("answers")
if answers < 10 :
questions = quiz.split()
index = st.getQuest().getRandom(len(questions) - 1)
question = questions[index]
if len(questions) > 10 - answers :
questions[index] = questions[-1]
del questions[-1]
st.set("quiz"," ".join(questions))
htmltext = "419_q"+str(question)+".htm"
return htmltext
elif answers == 10 :
st.giveItems(WOLF_COLLAR,1)
st.takeItems(ANIMAL_LOVERS_LIST1,-1)
st.exitQuest(1)
st.playSound("ItemSound.quest_finish")
htmltext="Completed.htm"
return htmltext
# Main Quest Code
class Quest (JQuest):
def __init__(self,id,name,descr):
JQuest.__init__(self,id,name,descr)
self.questItemIds = range(3417,3428)+range(10164,10166)
def onEvent (self,event,st):
id = st.getState()
if id == State.CREATED :
st.set("cond","0")
if event == "details" :
return "419_confirm.htm"
elif event == "agree" :
st.setState(State.STARTED)
st.set("step","STARTED")
st.set("cond","1")
race = st.getPlayer().getRace().ordinal()
if race == 0:
st.giveItems(ANIMAL_SLAYER_LIST1,1)
htmltext = "419_slay_0.htm"
elif race == 1:
st.giveItems(ANIMAL_SLAYER_LIST2,1)
htmltext = "419_slay_1.htm"
elif race == 2:
st.giveItems(ANIMAL_SLAYER_LIST3,1)
htmltext = "419_slay_2.htm"
elif race == 3:
st.giveItems(ANIMAL_SLAYER_LIST4,1)
htmltext = "419_slay_3.htm"
elif race == 4:
st.giveItems(ANIMAL_SLAYER_LIST5,1)
htmltext = "419_slay_4.htm"
elif race == 5:
st.giveItems(ANIMAL_SLAYER_LIST6,1)
htmltext = "419_slay_5.htm"
else :
htmltext = "Error: unknown race..."
st.exitQuest(1)
st.playSound("ItemSound.quest_accept")
return htmltext
elif event == "disagree" :
st.exitQuest(1)
return "419_cancelled.htm"
elif id == State.STARTED and st.getInt("progress") == 7:
if event == "tryme" :
st.set("quiz","1 2 3 4 5 6 7 8 9 10 11 12 13 14")
st.set("answers","0")
return check_questions(st)
elif event == "wrong" :
st.set("step","SLAYED")
st.set("progress","0")
st.unset("quiz")
st.unset("answers")
return "419_failed.htm"
elif event == "right" :
st.set("answers",str(st.getInt("answers") + 1))
return check_questions(st)
elif id == State.STARTED and st.get("step")=="SLAYED" :
if event == "talk" :
st.set("progress","0")
race = st.getPlayer().getRace().ordinal()
if race == 0:
st.takeItems(SPIDER_LEG1,REQUIRED_SPIDER_LEGS)
st.takeItems(ANIMAL_SLAYER_LIST1,1)
elif race == 1:
st.takeItems(SPIDER_LEG2,REQUIRED_SPIDER_LEGS)
st.takeItems(ANIMAL_SLAYER_LIST2,1)
elif race == 2:
st.takeItems(SPIDER_LEG3,REQUIRED_SPIDER_LEGS)
st.takeItems(ANIMAL_SLAYER_LIST3,1)
elif race == 3:
st.takeItems(SPIDER_LEG4,REQUIRED_SPIDER_LEGS)
st.takeItems(ANIMAL_SLAYER_LIST4,1)
elif race == 4:
st.takeItems(SPIDER_LEG5,REQUIRED_SPIDER_LEGS)
st.takeItems(ANIMAL_SLAYER_LIST5,1)
elif race == 5:
st.takeItems(SPIDER_LEG6,REQUIRED_SPIDER_LEGS)
st.takeItems(ANIMAL_SLAYER_LIST6,1)
st.giveItems(ANIMAL_LOVERS_LIST1,1)
return "419_talk.htm"
if event == "talk1" :
return "419_bella_2.htm"
if event == "talk2" :
st.set("progress", str(st.getInt("progress") | 1))
return "419_bella_3.htm"
if event == "talk3" :
st.set("progress", str(st.getInt("progress") | 2))
return "419_ellie_2.htm"
if event == "talk4" :
st.set("progress", str(st.getInt("progress") | 4))
return "419_metty_2.htm"
return
def onTalk (self,npc,player):
htmltext = Quest.getNoQuestMsg(player)
st = self.getQuestState(player, True)
if not st : return htmltext
npcId = npc.getId()
id = st.getState()
if npcId != PET_MANAGER_MARTIN and id == State.STARTED:
if st.get("step")!="SLAYED" : return htmltext
if id == State.COMPLETED: st.setState(State.CREATED)
if npcId == PET_MANAGER_MARTIN :
if id == State.CREATED :
if player.getLevel() < 15 :
st.exitQuest(1)
return "419_low_level.htm"
return "Start.htm"
if id == State.STARTED and st.get("step")=="STARTED" :
if getCount_proof(st) == 0 :
return "419_no_slay.htm"
elif getCount_proof(st) < REQUIRED_SPIDER_LEGS :
return "419_pending_slay.htm"
else :
st.set("step","SLAYED")
return "Slayed.htm"
if id == State.STARTED and st.get("step")=="SLAYED" :
if st.getInt("progress") == 7 :
return "Talked.htm"
return "419_pending_talk.htm"
elif id == State.STARTED and st.get("step")=="SLAYED":
if npcId == GK_BELLA :
return "419_bella_1.htm"
elif npcId == MC_ELLIE :
return "419_ellie_1.htm"
elif npcId == GD_METTY :
return "419_metty_1.htm"
return
def onKill(self,npc,player,isPet):
st = self.getQuestState(player, False)
if not st : return
if st.getState() != State.STARTED : return
npcId = npc.getId()
collected = getCount_proof(st)
if collected < REQUIRED_SPIDER_LEGS:
race = player.getRace().ordinal()
if race == 0 :
npcs = [ SPIDER_H1, SPIDER_H2, SPIDER_H3 ]
item = SPIDER_LEG1
if race == 1 :
npcs = [ SPIDER_LE1, SPIDER_LE2, SPIDER_LE3 ]
item = SPIDER_LEG2
if race == 2 :
npcs = [ SPIDER_DE1, SPIDER_DE2, SPIDER_DE3 ]
item = SPIDER_LEG3
if race == 3 :
npcs = [ SPIDER_O1, SPIDER_O2, SPIDER_O3 ]
item = SPIDER_LEG4
if race == 4 :
npcs = [ SPIDER_D1, SPIDER_D2 ]
item = SPIDER_LEG5
if race == 5 :
npcs = [ SPIDER_K1 ]
item = SPIDER_LEG6
if npcId in npcs :
chance = SPIDER_LEG_DROP * Config.RATE_QUEST_DROP
numItems, chance = divmod(chance,100)
count = st.getQuestItemsCount(item)
if self.getRandom(100) < chance :
numItems += 1
if numItems :
if count + numItems >= REQUIRED_SPIDER_LEGS :
numItems = REQUIRED_SPIDER_LEGS - count
st.playSound("ItemSound.quest_middle")
else:
st.playSound("ItemSound.quest_itemget")
st.giveItems(item,int(numItems))
return
# Quest class and state definition
QUEST = Quest(419, qn, "Wolf Collar")
# Quest NPC starter initialization
QUEST.addStartNpc(PET_MANAGER_MARTIN)
# Quest mob initialization
for mob in [SPIDER_H1,SPIDER_H2,SPIDER_H3,SPIDER_LE1,SPIDER_LE2,SPIDER_LE3,SPIDER_DE1,SPIDER_DE2,SPIDER_DE3,SPIDER_O1,SPIDER_O2,SPIDER_O3,SPIDER_D1,SPIDER_D2,SPIDER_K1]:
QUEST.addKillId(mob)
# Quest NPC initialization
QUEST.addTalkId(PET_MANAGER_MARTIN)
QUEST.addTalkId(GK_BELLA)
QUEST.addTalkId(MC_ELLIE)
QUEST.addTalkId(GD_METTY)