Part 7 - Celestial Fists - Part 1
Code:
#Zone - Erudin
#Type - Quest
#Class - Monk
#Mob - Tomekeeper Danl
sub EVENT_SAY
{
if($text=~/Hail, $mname/i)
{
quest::say("Good day, $name . Please remember to keep your voice down in our library. Feel free to browse the extensive collection of books we have on display. Learning is all about you and our library is the greatest collection of educational literature in the world, as you can no doubt see. However, there are a few books we do not own and we are prepared to pay well to acquire [rare finds].");
}
if($text=~/What rare finds?/i)
{
quest::say("Yes, any rare books, tomes, essays, or other literature you find may be of interest to me. Although the finds I am interested in are quite high profile and would most likely only be found in the possession of very powerful or influential beings. Give me what you find and I will pay you what it is worth to us.");
}
}
sub EVENT_ITEM
{
if($itemcount{18195} == 1)
{
quest::emote("gasps at the sight of the rare book.");
quest::say("This is a great find indeed! I can only imagine who you had to.. persuade to give you the book. Our library would be very interested in acquiring this and I am prepared to give you this referral that marks you as a friend of the library. If only [Lheao] could see this.");
quest::summonitem(1682);
}
if($text=~/Who is Lheao?/i)
{
quest::say("Lheao was my predecessor here at the library of Erudin. He has since retired, just a few years ago. Im sure he would be most impressed with your find and other insightful conversation on the subject. Although Im not sure one of your profession would be interested in such a scholarly endeavor, no offense. If you are interested, find him and tell him you found the book Immortals. Im not sure where he has retired to, but I hear it is near an ocean somewhere.");
}
}