Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Perl2Grim AUTO CONVERT FROM 01.08.2013 23:58:04
- -- Perl2Grim AUTO CONVERT BEGIN felwithea\Arrias_Arcanum.pl
- function Arrias_Arcanum_EVENT_ON_SAY (npc,e)
- if (e:HasMessage("hail")) then
- npc:Say("I am sorry, young one, but I am too burdened by my own [troubles] to help you now. Please seek another of the faith to ease your soul.")
- end
- if (e:HasMessage("troubles")) then
- npc:Say("My son Ariam, a paladin of this fair city, has been missing for many years. Now, after remaining hopeful for so long, I have given up and it has broken my heart and soul. If I could but hear news to know of his fate, then I could find comfort again. Until then, I am no good to others. I am sorry.")
- end
- end
- eventManager:AddListener("Arrias Arcanum","felwithea",EVENT_ON_SAY,Arrias_Arcanum_EVENT_ON_SAY)
- function Arrias_Arcanum_EVENT_ON_ITEMS_RECEIVED (npc,e)
- if (npc:ConsumeItems({[31493]=1})) then
- npc:Say("This! This is the gift my daughter gave Ariam to aid his cause. This too is the piece of my soul that was missing. Your news of his fate is troubling, yet his heroism even beyond this life is cause for celebration. Here, keep this token. My heart is mended and I have no need of it. Once such as yourself who will continue to fight for the things in which my son believes ought to bear this. I am sure my daughter would agree.")
- npc:RewardItem(e:GetClient(),31495)
- e:GetClient():AddExperience(300)
- npc:RewardMoney(e:GetClient(), 0, 5, 0, 0 )
- --e:GetClient():ModifyFaction( 8, 3 )
- --e:GetClient():ModifyFaction( 43, 3 )
- --e:GetClient():ModifyFaction( 178, 3 )
- else
- npc:Say("This will not help me.")
- --plugin::return_items( \itemcount )
- end
- end
- eventManager:AddListener("Arrias Arcanum","felwithea",EVENT_ON_ITEMS_RECEIVED,Arrias_Arcanum_EVENT_ON_ITEMS_RECEIVED)
- -- Perl2Grim AUTO CONVERT END felwithea\Arrias_Arcanum.pl
- -- Perl2Grim AUTO CONVERT BEGIN felwithea\Challice.pl
- function Challice_EVENT_ON_SAY (npc,e)
- if (e:HasMessage("Hail")) then
- npc:Say("You! Remove yourself from my presence! Do you not know to whom you speak? My husband is a very powerful noble and if you do not do as I say. he will have your head!")
- end
- end
- eventManager:AddListener("Challice","felwithea",EVENT_ON_SAY,Challice_EVENT_ON_SAY)
- function Challice_EVENT_ON_ITEMS_RECEIVED (npc,e)
- -- Note handin:
- if (npc:ConsumeItems({[14334]=1})) then
- npc:Say("Oh yes? Arantir? What a fool he was! the man gave me everything, but for all his intelligence, he could never understand why I was truly with him. It was for his power; he could do anything. But when he mysteriously lost it, he became just another toy. I never loved him. Return this ring to him. He will understand that I have no desire to see him again.")
- --e:GetClient():ModifyFaction( 342, 30 ) -- Truespirit
- e:GetClient():AddExperience(100000)
- npc:RewardItem(e:GetClient(),14335)
- end
- end
- eventManager:AddListener("Challice","felwithea",EVENT_ON_ITEMS_RECEIVED,Challice_EVENT_ON_ITEMS_RECEIVED)
- -- END of FILE Zone:felwithea ID:61006 -- Challice
- -- Perl2Grim AUTO CONVERT END felwithea\Challice.pl
- -- Perl2Grim AUTO CONVERT BEGIN felwithea\Chenori_Berinal.pl
- -- BeginFile: felwithea\Chenori_Berinal.pl
- -- Quest for Northern Felwithe - Chenori Berinal: LoY Cultural Robes
- function Chenori_Berinal_EVENT_ON_SAY (npc,e)
- local TrueRace = 0 --e:GetClient():GetBaseRace()
- if (e:HasMessage("hail")) then
- npc:Say("Hello, " .. e:GetClient():GetName() .. ". Feel free to browse my wares. Unless you are looking to make a special Feir`Dal robe. If so, just let me know that you want a [robe pattern].") -- Still need real text
- end
- if (e:HasMessage("robe pattern")) then
- if (TrueRace == 5) then -- High Elf
- npc:Say("Very well. Take this pattern, and good luck to you High Elf.") -- Still need real text
- npc:RewardItem(e:GetClient(),65212) -- Feir`Dal Robe Pattern
- else
- npc:Say("You are not a High Elf! Who are you trying to fool?") -- Still need real text
- end
- end
- end
- eventManager:AddListener("Chenori Berinal","felwithea",EVENT_ON_SAY,Chenori_Berinal_EVENT_ON_SAY)
- function Chenori_Berinal_EVENT_ON_ITEMS_RECEIVED (npc,e)
- npc:Say("I have no use for this, " .. e:GetClient():GetName() .. ".")
- --plugin::return_items( \itemcount )
- end
- eventManager:AddListener("Chenori Berinal","felwithea",EVENT_ON_ITEMS_RECEIVED,Chenori_Berinal_EVENT_ON_ITEMS_RECEIVED)
- -- END of FILE Zone:felwithea ID:61068 -- Chenori_Berinal
- -- Perl2Grim AUTO CONVERT END felwithea\Chenori_Berinal.pl
- -- Perl2Grim AUTO CONVERT BEGIN felwithea\Elia_the_Pure.pl
- -- Paladin Epic 1.0
- -- NPCID: 61013
- -- Zone: felwithea
- function Elia_the_Pure_EVENT_ON_SAY (npc,e)
- if (e:HasMessage("Hail")) then
- npc:Say("Hail to you, friend. If you require assistance, please ask, if not I must return to my tasks.")
- end
- if (e:HasMessage("tasks")) then
- npc:Say("It is here that the light shines brightest in our fair city. Here I sit, transcribing scrolls of luminescence. Spells to light the dark, to blind the evil with purity, or to heal those in pain. I find it so much easier to work with such spells if I am in the light itself.")
- end
- if (e:HasMessage("purity")) then
- npc:Say("Cleansing and such. Often our temple will cleanse evil. If you have need of such a thing, I can help. Merely let me examine the item.")
- end
- end
- eventManager:AddListener("Elia the Pure","felwithea",EVENT_ON_SAY,Elia_the_Pure_EVENT_ON_SAY)
- function Elia_the_Pure_EVENT_ON_ITEMS_RECEIVED (npc,e)
- if (npc:ConsumeItems({[29002]=1})) then -- tainted darksteel shield
- npc:Emote("squints and turns her head. 'By the gods, such a twisted aura this has! To see it hurts my eyes. I will help you if for no other reason than to remove such a twisted thing from existence.' She unrolls a scroll from her pack and softly chants over the dark metal shield. She hands it back to you with an exhausted smile on her face. 'Your heart seems pure. If I was able to help at all, I am honored. May the light shine warmly upon you.'")
- npc:RewardItem(e:GetClient(),29005) -- gleaming crested shield
- else
- npc:Say("I do not need this.")
- --plugin::return_items( \itemcount )
- end
- end
- eventManager:AddListener("Elia the Pure","felwithea",EVENT_ON_ITEMS_RECEIVED,Elia_the_Pure_EVENT_ON_ITEMS_RECEIVED)
- -- END of FILE Zone:felwithea ID:61013 -- Elia_the_Pure
- -- Perl2Grim AUTO CONVERT END felwithea\Elia_the_Pure.pl
- -- Perl2Grim AUTO CONVERT BEGIN felwithea\Exterminator_Valern.pl
- function Exterminator_Valern_EVENT_ON_SAY (npc,e)
- if (e:HasMessage("hail")) then
- npc:Say("Hello. Nice day, isn't it? It would be nicer if I didnt have to spend it killing these disgusting rodents that have infested town. Hey, I have an idea! How about you go kill some of them for me and collect four of their whiskers? I will reward you, of course.")
- end
- end
- eventManager:AddListener("Exterminator Valern","felwithea",EVENT_ON_SAY,Exterminator_Valern_EVENT_ON_SAY)
- function Exterminator_Valern_EVENT_ON_ITEMS_RECEIVED (npc,e)
- if (npc:ConsumeItems({[13071]=4})) then
- npc:Say("Here are you coins as promised. Have a nice day. I wish I could.")
- --e:GetClient():ModifyFaction( 212, 5 )
- --e:GetClient():ModifyFaction( 8, 5 )
- npc:RewardMoney(e:GetClient(), 1, 1, 1, 0 )
- else
- --plugin::return_items( \itemcount )
- end
- end
- eventManager:AddListener("Exterminator Valern","felwithea",EVENT_ON_ITEMS_RECEIVED,Exterminator_Valern_EVENT_ON_ITEMS_RECEIVED)
- -- Submitted by Senzo : PEQ Quest Team
- -- Perl2Grim AUTO CONVERT END felwithea\Exterminator_Valern.pl
- -- Perl2Grim AUTO CONVERT BEGIN felwithea\General_Jyleel.pl
- -- Orc Runner
- -- Illegible scroll
- -- The Falchion
- -- Paladin Guildmaster
- function General_Jyleel_EVENT_ON_SAY (npc,e)
- if (e:HasMessage("Hail")) then
- npc:Say("Stand at attention!! I am General Jyleel. of the Koada'Vie. defenders of Felwithe. Do you [follow Tunare]. the Mother of All. or do you still [seek your enlightenment]?")
- end
- if (e:HasMessage("follow Tunare")) then
- npc:Say("Then you are wise indeed. Would you like to [assist the defenders] in our conflicts or have you other business to attend to?")
- end
- if (e:HasMessage("seek my enlightenment")) then
- npc:Say("Then seek it within these walls. We welcome all fine upstanding Koada'Dal.")
- end
- if (e:HasMessage("assist the defenders")) then
- npc:Say("Seek out the Crushbone orcs of the Faydarks. We must have their oracle scrolls. They are illegible to you, but we will study them here in Felwithe. Only the orc oracles will carry them, so be very careful. There is also the problem with the [Crushbone runners].")
- end
- if (e:HasMessage("what crushbone runners")) then
- npc:Say("The Crushbone orcs are sending messages across the Ocean of Tears to Antonica. Why. we do not know. The runner is usually spotted on the open pathways of Butcherblock. running toward the docks. Find him. kill him. and return his note pouch.")
- end
- if (e:HasMessage("faithful paladin of this court")) then
- npc:Say("I command you to seek out this Ambassor DVinn and rip his heart from his lifeless body. Next, find the supreme caster of the orcs and, finally, find the spot where supplies are dropped by the Teir`Dal for the orcs. There you should find the supply crate. Return all 3 items and you shall wield the falchion.")
- end
- end
- eventManager:AddListener("General Jyleel","felwithea",EVENT_ON_SAY,General_Jyleel_EVENT_ON_SAY)
- function General_Jyleel_EVENT_ON_ITEMS_RECEIVED (npc,e)
- if (npc:ConsumeItems({[13225]=1})) then
- npc:Say("Very fine work. A pity you are not Koada'Vie. Here is a small reward for you. Anytime you come upon an oracle. remember to return its scroll to me. Go and find your fate on the field of battle.")
- npc:RewardItem(e:GetClient(), grim.random({15200,15042,15226,13360,15246,15276}) ) -- low level spell or Rotted Illegible Scroll
- npc:RewardMoney(e:GetClient(), 1, 2, 0, 0 )
- --e:GetClient():ModifyFaction( 178, 1 ) -- King Tearis Thex
- --e:GetClient():ModifyFaction( 8, 1 ) -- Anti Mage
- --e:GetClient():ModifyFaction( 43, 1 ) -- Clerics of Tunare
- elseif (npc:ConsumeItems({[13226]=1})) then
- npc:Say("So, the Teir'Dal are behind the recent advances of the orcs?!! Your news has shed light on their union. It is time to step forth and prove yourself a [faithful paladin of this court].")
- npc:RewardMoney(e:GetClient(), 1, 2, 0, 0 )
- --e:GetClient():ModifyFaction( 178, 1 ) -- King Tearis Thex
- --e:GetClient():ModifyFaction( 8, 1 ) -- Anti Mage
- --e:GetClient():ModifyFaction( 43, 1 ) -- Clerics of Tunare
- elseif (npc:ConsumeItems({[12330]=1,[12329]=1,[13227]=1})) then -- A Large Locked Crate, Blue Orc Head, Black Heart
- npc:Say("Very fine work. A pity you are not Koada'Vie. Here is a small reward for you. Anytime you come upon an oracle. remember to return its scroll to me. Go and find your fate on the field of battle.")
- npc:RewardItem(e:GetClient(),5379) -- Falchion of the Koada'Vie
- end
- -- do all other handins first with plugin, then let it do disciplines
- --plugin::try_tome_handins( \itemcount, )
- --plugin::return_items( \itemcount )
- end
- eventManager:AddListener("General Jyleel","felwithea",EVENT_ON_ITEMS_RECEIVED,General_Jyleel_EVENT_ON_ITEMS_RECEIVED)
- -- END of FILE Zone:felwithea ID:61026 -- General_Jyleel.pl
- -- Perl2Grim AUTO CONVERT END felwithea\General_Jyleel.pl
- -- Perl2Grim AUTO CONVERT BEGIN felwithea\Inkeeper_Freegraze.pl
- function Inkeeper_Freegraze_EVENT_ON_SAY (npc,e)
- if (e:HasMessage("tolon nurbyte")) then
- npc:Say("So you are inquiring about Mister Tolon Nurbyte, eh? He is on the second floor, last door on the right. You two had best not be up to any mischief. The pair of you look a little shifty for the kingdom of Felwithe.")
- zoneManager:SpawnNPC({ SPAWN_TYPE_ID=61095,
- SPAWN_LOC={-343, 155, 17, 8},
- SPAWN_UNIQUE=1})
- end
- end
- eventManager:AddListener("Inkeeper Freegraze","felwithea",EVENT_ON_SAY,Inkeeper_Freegraze_EVENT_ON_SAY)
- -- Perl2Grim AUTO CONVERT END felwithea\Inkeeper_Freegraze.pl
- -- Perl2Grim AUTO CONVERT BEGIN felwithea\Lieutenant_Rosaed.pl
- function Lieutenant_Rosaed_EVENT_ON_SAY (npc,e)
- if (e:HasMessage("Hail")) then
- npc:Say("What are you doing up here? This area is for the Koada'Vie only! If you are not a [defender of Felwithe]. leave at once!!")
- end
- if (e:HasMessage("what defender of felwithe")) then
- npc:Say("All paladins who have been charged with the defense of Felwithe are called Defenders.")
- end
- if (e:HasMessage("i am a defender of felwithe")) then
- npc:Say("Hmmph!! You are a little short to be a guard. Let us get to work then. There is much to do. I have news of a [frightening development] of late.")
- end
- if (e:HasMessage("what frightening development")) then
- npc:Say("Felwithe weeps!! Our beautiful flower. Princess Lenya Thex. has been reported missing! Lord Tynkale says he is looking into the matter. but I fear he is taking far too long. I have heard that a man named Tolon Nurbyte has been seen in the city lately. He looks like a shady one. I would seek him out for answers to her disappearance.")
- end
- end
- eventManager:AddListener("Lieutenant Rosaed","felwithea",EVENT_ON_SAY,Lieutenant_Rosaed_EVENT_ON_SAY)
- -- END of FILE Zone:felwithea ID:61029 -- Lieutenant_Rosaed
- -- Perl2Grim AUTO CONVERT END felwithea\Lieutenant_Rosaed.pl
- -- Perl2Grim AUTO CONVERT BEGIN felwithea\Lord_Nethryn.pl
- function Lord_Nethryn_EVENT_ON_SAY (npc,e)
- if (e:HasMessage("i am well")) then
- npc:Say("Excellent! It is quite a pleasant day. indeed. However. I am curious. and I do not mean [to pry]. but by what grace of Tunare have I the pleasure of your company? Perhaps you merely [travel]. or is it [me] you truly seek?")
- end
- if (e:HasMessage("i travel")) then
- npc:Say("A traveler then? Perhaps for adventure and fame. Indeed. I do remember those days. It has been. . . quite some time. so much that I can hardly remember. In any case. my reminiscence must be of no consequence to you. and I do not wish to keep you. Please. do be well and may Tunare's grace kindly guide you through your path.")
- end
- if (e:HasMessage("what realm")) then
- npc:Say("I am Lord Nethryn the Arbitrator. once a devout priest of Tunare. and now a most loyal servant. I once resided within the Realm of Heroes. but she has called upon me to [serve] again as I once did within my mortal form.")
- end
- if (e:HasMessage("what serve")) then
- npc:Say("There are five coins. five very specific coins. each of which contains a divine light and essence. Even the hand and eye of the most crafted rogue or artist cannot forge Honor. Insight. Gallantry. Tranquility. or Faith.")
- end
- if (e:HasMessage("what faith")) then
- npc:Say("There are five coins. five very specific coins. each of which contains a divine light and essence. Even the hand and eye of the most crafted rogue or artist cannot forge Honor. Insight. Gallantry. Tranquility. or Faith.")
- end
- end
- eventManager:AddListener("Lord Nethryn","felwithea",EVENT_ON_SAY,Lord_Nethryn_EVENT_ON_SAY)
- -- END of FILE Zone:felwithea ID:61066 -- Lord_Nethryn
- -- Perl2Grim AUTO CONVERT END felwithea\Lord_Nethryn.pl
- -- Perl2Grim AUTO CONVERT BEGIN felwithea\Merchant_Irontree.pl
- function Merchant_Irontree_EVENT_ON_SAY (npc,e)
- if (e:HasMessage("Hail")) then
- npc:Say("Well met. " .. e:GetClient():GetName() .. "! I am a master craftsman of both steel and [mithril plate] armors. I am also the creator of the [woodlanders shields]. light shields perfect for those who spend much time under the canopy of the All Mothers forests.")
- end
- if (e:HasMessage("what mithril plate")) then
- npc:Say("Mithril plate armor is an enduring light weight armor that can only be crafted in our unique Koada'Dal Forge. It is perfect for those who wish to battle the enemies of the All Mother in protection and comfort. It is the most silent of all plate armors. a definite advantage for gaining the upper hand on those who would dare invade our forests. All pieces of mithril plate will require the appropriate Plate section Mold, some Moonlight Temper, an Elven Smithy Hammer, Mithril Chain Jointing and Leather Padding. Visors, Collars, Bracers and Boots require one Folded Sheet of Mithril. Helms, Pauldrons, Girdles, Vambraces and Gauntlets require two Folded Sheets of Mithril. Breastplates, Cloaks and Greaves require three Folded Sheets of Mithril.")
- end
- if (e:HasMessage("what woodlanders shields")) then
- npc:Say("Woodlanders shields can only be crafted in our unique Koada'Dal Forge. In order to successfully craft such a shield you will require a Kite Shield Mold, two Sheets of Mithril, an Elven Smithy Hammer and some Moonlight Temper. If you are a faithful subject of the All Mother than you may attempt to craft a magical woodlanders shield by forging an emerald that has been imbued by a cleric into the shield at the time of its creation.")
- end
- end
- eventManager:AddListener("Merchant Irontree","felwithea",EVENT_ON_SAY,Merchant_Irontree_EVENT_ON_SAY)
- -- END of FILE Zone:felwithea ID:61057 -- Merchant_Irontree
- -- Perl2Grim AUTO CONVERT END felwithea\Merchant_Irontree.pl
- -- Perl2Grim AUTO CONVERT BEGIN felwithea\Merchant_Nora.pl
- -- ancient pattern subquest -- ranger epic
- --
- function Merchant_Nora_EVENT_ON_ITEMS_RECEIVED (npc,e)
- if (npc:ConsumeItems({[20458]=1})) then
- npc:Say("You hardly look like the type of errand runner Farios usually sends out to fetch his groceries but here they are. I hope he chokes on them. Oh, and tell him he still owes me five gold for his last order!")
- npc:RewardItem(e:GetClient(),20459)
- else
- npc:Emote("will not take this item.")
- --plugin::return_items( \itemcount )
- end
- end
- eventManager:AddListener("Merchant Nora","felwithea",EVENT_ON_ITEMS_RECEIVED,Merchant_Nora_EVENT_ON_ITEMS_RECEIVED)
- -- EOF zone: felwithea ID: 61034 NPC: Merchant_Nora
- -- Perl2Grim AUTO CONVERT END felwithea\Merchant_Nora.pl
- -- Perl2Grim AUTO CONVERT BEGIN felwithea\Opal_Leganyn.pl
- function Opal_Leganyn_EVENT_ON_SAY (npc,e)
- if (e:HasMessage("what koada dal falchion")) then
- npc:Say("Koada'Dal Falchions are highly specialized weapons crafted of the finest mithril. The weapon must be forged in the unique Koada'Dal Forge and you will need a curved blade mold. a hilt and a pommel Mold. some morning dew. and a folded sheet of mithril. If you are a faithful follower of the All Mother then you may craft a magical falchion using moonlight temper instead of the morning dew and forging an emerald imbued by a cleric into the weapon at the time of its creation.")
- end
- end
- eventManager:AddListener("Opal Leganyn","felwithea",EVENT_ON_SAY,Opal_Leganyn_EVENT_ON_SAY)
- -- END of FILE Zone:felwithea ID:61048 -- Opal_Leganyn
- -- Perl2Grim AUTO CONVERT END felwithea\Opal_Leganyn.pl
- -- Perl2Grim AUTO CONVERT BEGIN felwithea\Seria_Woodwind.pl
- function Seria_Woodwind_EVENT_ON_SAY (npc,e)
- if (grimutil.hasString(e:GetClient():GetClassStr(),"paladin") and ( grimutil.hasString(e:GetClient():GetRace(),"froglok") or grimutil.hasString(e:GetClient():GetRace(),"high elf") or grimutil.hasString(e:GetClient():GetRace(),"half elf") )) then
- if (e:HasMessage("Hail")) then
- npc:Say("Hail friend. I am Seria Woodwind of the Royal Order of the Koada'Vie, the defenders of Felwithe. I assist young Koada'Dal that are called into Tunare's service as a paladin in learning the ways of the Koada'Vie so that one day they too may bear that noble title. Do you [wish to become a member] of the Koada'Vie?")
- end
- if (e:HasMessage("wish to become a member")) then
- npc:Say("As a defender of Felwithe you will be required to face much of the evil that inhabits the lands of Norrath. We do not sit idle and wait for the enemy to arrive at our gates before taking action towards the safety of our citizens. Every Koada'Vie initiate should acquire a [suit of armor] to aid in protecting themselves from the weapons of our [enemies].")
- end
- if (e:HasMessage("enemies")) then
- npc:Say("There are sinister creatures in Norrath that threaten the safety and prosperity of the Koada'Dal. The Crushbone Clan of Orcs often emerge from their citadel to the North to murder and pillage the Fier'Dal and Koada'Dal. hoping to expand their territory into the Faydarks. The Arboreans. a species of destructive sentient weeds has returned from ages of slumbering beneath the soil of the Faydarks. Despite these evil forces that are close to our home the greatest threat to both the Koada'Dal and the Fier'Dal are the twisted and wicked Teir'Dal. the dark elf children of Innoruuk.")
- end
- if (e:HasMessage("suit of armor")) then
- npc:Say("You require this special Mail Assembly Kit in order to fashion your Felwithe Defender's Armor. The materials necessary for the armor's construction vary according to the piece you are attempting to craft. Once you have been properly outfitted return to me and I will provide you with [further instruction]. Do you plan on crafting [Felwithe Defender Gauntlets], [Felwithe Defender Boots], an [Felwithe Defender Bracer]. an [Felwithe Defender Helm], [Felwithe Defender Greaves], [Felwithe Defender Vambraces], or an [Felwithe Defender Breastplate]?")
- npc:RewardItem(e:GetClient(),17124)
- end
- if (e:HasMessage("felwithe defender gauntlets")) then
- npc:Say("To assemble felwithe defender gauntlets you will need to obtain two bricks of crude bronze and smelt them in a forge with a Water Flask and this crude Gauntlet Mold. Once that is done combine the Crude Bronze Gauntlets with a Large Sylvan Bat Fur and two Giant Wasp Worker Tarsi in the Mail Assembly Kit.")
- npc:RewardItem(e:GetClient(),19633)
- end
- if (e:HasMessage("felwithe defender boots")) then
- npc:Say("To assemble felwithe defender boots you will need to obtain two bricks of crude bronze and smelt them in a forge with a Water Flask and this crude Boot Mold. Once that is done combine the Crude Bronze Boots with two Large Sylvan Bat Fur and two Giant Wasp Worker Tarsi in the Mail Assembly Kit.")
- npc:RewardItem(e:GetClient(),19634)
- end
- if (e:HasMessage("felwithe defender bracer")) then
- npc:Say("To assemble a felwithe defender bracer you will need to obtain a brick of crude bronze and smelt it in a forge with a Water Flask and this Crude Bracer Mold. Once that is done, combine the Crude Bronze Bracer with a Large Sylvan Bat Fur and a Giant Wasp Drone Sternite in the Mail Assembly Kit.")
- npc:RewardItem(e:GetClient(),19632)
- end
- if (e:HasMessage("felwithe defender helm")) then
- npc:Say("To assemble a felwithe defender helm you will need to obtain two bricks of crude bronze and smelt them in a forge with a Water Flask and this Crude Helm Mold. Once that is done combine the Crude Bronze Helm with a Large Sylvan Bat Fur and a Giant Wasp Worker Tergite in the Mail Assembly Kit.")
- npc:RewardItem(e:GetClient(),19631)
- end
- if (e:HasMessage("felwithe defender greaves")) then
- npc:Say("To assemble felwithe defender greaves you will need to obtain two bricks of crude bronze and smelt them in a forge with a Water Flask and this Crude Greaves Mold. Once that is done combine the Crude Bronze Greaves with two Giant Sylvan Bat Furs and two Giant Wasp Warrior Sternites in the Mail Assembly Kit.")
- npc:RewardItem(e:GetClient(),19636)
- end
- if (e:HasMessage("felwithe defender vambraces")) then
- npc:Say("To assemble felwithe defender vambraces you will need to obtain two bricks of crude bronze and smelt them in a forge with a Water Flask and this Crude Vambrace mold. Once that is done combine the Crude Bronze Vambraces with a Giant Sylvan Bat Fur and two Giant Wasp Warrior Tergites in the Mail Assembly Kit.")
- npc:RewardItem(e:GetClient(),19635)
- end
- if (e:HasMessage("felwithe defender breastplate")) then
- npc:Say("To assemble a felwithe defender breastplate you will need to obtain four bricks of crude bronze and smelt them in a forge with a Water Flask and this Crude Breastplate Mold. Once that is done combine the Crude Bronze Breastplate with a Giant Sylvan Bat Fur, and a Giant Wasp Warrior Thorax in the Mail Assembly Kit.")
- npc:RewardItem(e:GetClient(),19637)
- end
- if (e:HasMessage("further instruction")) then
- npc:Say("Our diviner in the Keepers of the Art have discovered that a Teir`Dal agent of the Ebon Mask, the spies and assassins of the Teir`Dal has been lurking around the Faydarks and communicating intelligence to the orcs of Clan Crushbone. We believe the spy can be lured out of hiding if his primary orc contact, a crushbone centurion by the name of Relgle. is eliminated on route to their rendezvous location. Find this Centurion Relgle, slay him for his crimes against the Koada`Dal, then do the same to his Teir`Dal ally. Bring me both their heads when the deed is done.")
- end
- else
- if (e:HasMessage("Hail")) then
- npc:Say("Hail friend. I am Seria Woodwind of the Royal Order of the Koada'Vie, the defenders of Felwithe. I assist young Koada'Dal that are called into Tunare's service as a paladin in learning the ways of the Koada'Vie so that one day they too may bear that noble title.")
- end
- end
- end
- eventManager:AddListener("Seria Woodwind","felwithea",EVENT_ON_SAY,Seria_Woodwind_EVENT_ON_SAY)
- function Seria_Woodwind_EVENT_ON_ITEMS_RECEIVED (npc,e)
- if (npc:ConsumeItems({[20288]=1,[20289]=1})) then
- npc:Say("Good work " .. e:GetClient():GetName() .. ". King Tearis Thex and the Royal Order of the Koada'Vie shall be pleased. Take the Dull Felwithe Defenders Sword to a forge and sharpen it with a sharpening stone. It may take you several attempts if you are unfamiliar with the process. Once that is accomplished bring me the Sharp Felwithe Defenders Sword, a Pristine Forest Drakeling Scale, and an Arborean Amber and I will put the finishing touches on the weapon.")
- npc:RewardItem(e:GetClient(),20295)
- elseif (npc:ConsumeItems({[20299]=1,[20271]=1,[20274]=1})) then
- npc:Emote("fashions a grip from the pristine forest drakeling scales, fastens the arborean amber to the pommel of the hilt and polishes the blade of the sword with a luminescent substance.")
- npc:Say("Here is your new weapon young defender. May it serve you well in your service to the Koada'Vie.")
- npc:RewardItem(e:GetClient(),20329)
- --e:GetClient():ModifyFaction( 43, 10 ) -- Clerics of Tunare
- --e:GetClient():ModifyFaction( 178, 9 ) -- King Tearis Thex
- --e:GetClient():ModifyFaction( 8, 8 ) -- Anti-Mage
- e:GetClient():AddExperience(75000) -- Give ~2 bubbles of exp at level 10
- end
- --plugin::return_items( \itemcount )
- end
- eventManager:AddListener("Seria Woodwind","felwithea",EVENT_ON_ITEMS_RECEIVED,Seria_Woodwind_EVENT_ON_ITEMS_RECEIVED)
- -- Perl2Grim AUTO CONVERT END felwithea\Seria_Woodwind.pl
- -- Perl2Grim AUTO CONVERT BEGIN felwithea\Soulbinder_Elendalira.pl
- -- generic soulbinder quest
- function Soulbinder_Elendalira_EVENT_ON_SAY (npc,e)
- --plugin::soulbinder_say()
- end
- eventManager:AddListener("Soulbinder Elendalira","felwithea",EVENT_ON_SAY,Soulbinder_Elendalira_EVENT_ON_SAY)
- -- Perl2Grim AUTO CONVERT END felwithea\Soulbinder_Elendalira.pl
- -- Perl2Grim AUTO CONVERT BEGIN felwithea\Tacar_Tissleplay.pl
- -- ############
- -- Quest Name: Bard Mail Quest
- -- Author: RealityIncarnate
- -- NPCs Involved: Tralyn Marsinger, Eve Marsinger, Lislia Goldtune, Felisity Starbright, Jakum Webdancer, Ton Twostring, Idia, Sivina Lutewhisper, Ticar Lorestring, Marton Stringsinger, Drizda Tunesinger, Travis Two Tone, Silna Songsmith, Siltria Marwind, Tacar Tissleplay, Kilam Oresinger, Lyra Lyrestringer
- -- Items Involved: Bardic letters: 18150-18167
- -- ################
- function Tacar_Tissleplay_EVENT_ON_SAY (npc,e)
- if (e:HasMessage("Hail")) then
- npc:Say("Hail. " .. e:GetClient():GetName() .. " - Are you [interested] in helping the League of Antonican Bards by delivering some [mail]?")
- end
- if (e:HasMessage("what mail")) then
- npc:Say("The League of Antonican Bards has a courier system made up of travelers and adventurers. We pay good gold to anyone who will take messages from bards such as myself to one of our more central offices. Are you [interested]?")
- end
- if (e:HasMessage("i am interested")) then
- npc:Say("I have messages that need to go to - well, right now I have one that needs to go to Kelethin. Will you [deliver] mail to [Kelethin] for me?")
- end
- if (e:HasMessage("deliver to kelethin")) then
- npc:Say("Take this letter to Jakum Webdancer in Kelethin. You can find him at the bard guild hall. I am sure he will compensate you for your troubles.")
- npc:RewardItem(e:GetClient(),18161)
- end
- end
- eventManager:AddListener("Tacar Tissleplay","felwithea",EVENT_ON_SAY,Tacar_Tissleplay_EVENT_ON_SAY)
- -- END of FILE Zone:felwithea
- -- Perl2Grim AUTO CONVERT END felwithea\Tacar_Tissleplay.pl
- -- Perl2Grim AUTO CONVERT BEGIN felwithea\Tanalin_Silverkale.pl
- function Tanalin_Silverkale_EVENT_ON_SAY (npc,e)
- if (e:HasMessage("Hail")) then
- npc:Say("Well met. " .. e:GetClient():GetName() .. "! I am Tanalin Silverkale, provider of the finest [mithril ore] and master craftsman of [mithril chainmail]!")
- end
- if (e:HasMessage("what mithril ore")) then
- npc:Say("Mithril ore is a special variation of silver. We Koada'Dal have developed specialized techniques in working the ore to produce the finest quality armors and weapons in all of Norrath. Mithril can only be worked in our unique Koada'Dal Forge. It is worked in the same manner as standard ores but must be tempered with Morning Dew instead of Water. and Folded Mithril Sheets must be hammered with our Elven Smithy Hammers instead of the crude standard Smithy Hammer. Powerful enchanters have also successfully developed the means to enchant small bricks of mithril ore that can be worked in our Koada'Dal Forge.")
- end
- if (e:HasMessage("what mithril chainmail")) then
- npc:Say("Mithril Chainmail is a beautiful chain armor that is light enough to be worn comfortably even by those who practice the mystical arts. Mithril Chain may only be crafted in our unique Koada'Dal Forge. All pieces of the chainmail require an Elven Smithy Hammer, the appropriate Chain Pattern for the desired piece, a Silk Swatch and Moonlight Temper. Veils, Neckguards and Bracelets require one set of Mithril Rings. Coifs, Mantles, Skirts, Sleeves and Gloves require two sets of Mithril Rings. Tunics, Capes, and Leggings require three sets of Mithril Rings. If ever you master the technique of crafting mithril chain you may desire to pursue crafting some [enchanted mithril] chainmail.")
- end
- if (e:HasMessage("what enchanted mithril")) then
- npc:Say("Enchanted mithril chainmail is highly prized by the royalty of Felwithe and invaluable to all masters of the mystical arts. Like standard mithril chain it can only be crafted in our unique Koada'Dal Forge. but the rings must be crafted from enchanted mithril.")
- end
- end
- eventManager:AddListener("Tanalin Silverkale","felwithea",EVENT_ON_SAY,Tanalin_Silverkale_EVENT_ON_SAY)
- -- END of FILE Zone:felwithea ID:61027 -- Tanalin_Silverkale
- -- Perl2Grim AUTO CONVERT END felwithea\Tanalin_Silverkale.pl
- -- Perl2Grim AUTO CONVERT BEGIN felwithea\Terren_Starwatcher.pl
- function Terren_Starwatcher_EVENT_ON_SAY (npc,e)
- if (e:HasMessage("Hail")) then
- npc:Say("Welcome friend! Have you come to the Temple of Tunare to give praise or are you a young Cleric seeking [guidance] from your elders?")
- end
- if (e:HasMessage("guidance")) then
- npc:Say("Tunare shall be pleased to have a new disciple amongst her Koada`Dal children. We Clerics of Tunare offer spiritual guidance to the citizens of Felwithe and when needed aid the Paladins of Tunare and the Keepers of the Art in the defense of our people and forest from those [creatures] that seek to cause us harm. Every young cleric should pursue acquiring a [suit of armor] to protect themselves when aiding those in need outside of the safety of Felwithes walls.")
- end
- if (e:HasMessage("creatures")) then
- npc:Say("There are many evil creatures in Norrath. Some are evil by nature. others have chosen evil by their devotion to evil deities. Even the Faydarks are not safe for young Koada`Dal. The orcs of Clan Crushbone seek to expand their territory from their citadel to the north. The brownies viciously guard their hidden communities. pixies play mischievous and sometimes deadly pranks on travelers. and the arboreans have returned to the Faydarks after centuries of slumber.")
- end
- if (e:HasMessage("suit of armor")) then
- npc:Say("You will need this Mail Assembly Kit to craft your Sylvan Initiate Armor. The materials required for the armor vary according to which piece you desire to craft. Once you have been suitably outfitted return to me and I will offer [further guidance]. Do you desire to craft [Sylvan Initiate Gauntlets]. [Sylvan Initiate Boots]. a [Sylvan Initiate Bracer]. a [Sylvan Initiate Helm]. [Sylvan Initiate Greaves]. [Sylvan Initiate Vambraces]. or a [Sylvan Initiate Breastplate]?")
- npc:RewardItem(e:GetClient(),17124)
- end
- if (e:HasMessage("gauntlets")) then
- npc:Say("To assemble sylvan initiate gauntlets you will need to obtain two bricks of crude bronze and smelt them in a forge with a Water Flask and this crude Gauntlet Mold. Once that is done combine the Crude Bronze Gauntlets with a Large Sylvan Bat Fur and two Arborean Sprout Twigs in the Mail Assembly Kit.")
- npc:RewardItem(e:GetClient(),19633)
- end
- if (e:HasMessage("boots")) then
- npc:Say("To assemble sylvan initiate boots you will need to obtain two bricks of crude bronze and smelt them in a forge with a Water Flask and this crude Boot Mold. Once that is done combine the Crude Bronze Boots with two Large Sylvan Bat Fur. and two Arborean Sprout Roots in the Mail Assembly Kit.")
- npc:RewardItem(e:GetClient(),19634)
- end
- if (e:HasMessage("bracer")) then
- npc:Say("To assemble a sylvan initiate bracer you will need to obtain a brick of crude bronze and smelt it in a forge with a Water Flask and this Crude Bracer Mold. Once that is done. combine the Crude Bronze Bracer with a Large Sylvan Bat Fur and an Arborean Sprout Bark in the Mail Assembly Kit.")
- npc:RewardItem(e:GetClient(),19632)
- end
- if (e:HasMessage("helm")) then
- npc:Say("To assemble a sylvan initiate helm you will need to obtain two bricks of crude bronze and smelt them in a forge with a Water Flask and this Crude Helm Mold. Once that is done combine the Crude Bronze Helm with a Large Sylvan Bat Fur and an Arborean Sapling Bark in the Mail Assembly Kit.")
- npc:RewardItem(e:GetClient(),19631)
- end
- if (e:HasMessage("greaves")) then
- npc:Say("To assemble sylvan initiate greaves you will need to obtain two bricks of crude bronze and smelt them in a forge with a Water Flask and this Crude Greaves Mold. Once that is done combine the Crude Bronze Greaves with two Giant Sylvan Bat Furs and two Arborean Sapling Barks in the Mail Assembly Kit.")
- npc:RewardItem(e:GetClient(),19636)
- end
- if (e:HasMessage("vambraces")) then
- npc:Say("To assemble sylvan initiate vambraces you will need to obtain two bricks of crude bronze and smelt them in a forge with a Water Flask and this Crude Vambrace Mold. Once that is done combine the Crude Bronze Vambraces with a Giant Sylvan Bat Fur and two Arborean Sapling Barks in the Mail Assembly Kit.")
- npc:RewardItem(e:GetClient(),19635)
- end
- if (e:HasMessage("breastplate")) then
- npc:Say("To assemble a sylvan initiate breastplate you will need to obtain four bricks of crude bronze and smelt them in a forge with a Water Flask and this Crude Breastplate Mold. Once that is done combine the Crude Bronze Breastplate with a Giant Sylvan Bat Fur. and two Mature Arborean Barks in the Mail Assembly Kit.")
- npc:RewardItem(e:GetClient(),19637)
- end
- if (e:HasMessage("further guidance")) then
- npc:Say("If you are ready to put your life on the line for the citizens of our homeland than hear my words. The Crushbone Clan of Orcs are evil and strong adversaries of we Koada`Dal. Recently an orc scout assaulted a merchant from our city carrying a valuable amulet from the Fier`Dal city of Kelethin. Our seers have divined the name of the orc that is in possession of the amulet. Gurleg Bribgok. Find this despicable creature and return the amulet to me so that I may return it to its proper owner.")
- end
- end
- eventManager:AddListener("Terren Starwatcher","felwithea",EVENT_ON_SAY,Terren_Starwatcher_EVENT_ON_SAY)
- function Terren_Starwatcher_EVENT_ON_ITEMS_RECEIVED (npc,e)
- if (npc:ConsumeItems({[20280]=1})) then
- npc:Say("You have done well young " .. e:GetClient():GetName() .. ". If you continue to show such devotion to your people and your faith then perhaps one day you will serve in the chambers of King Tearis Thex himself. Take this Rusty Sylvan Morning Star and scrape the rust from it in a forge with a sharpening stone. It may take several attempts if you are unfamiliar with the process. Once that is done bring me the Refined Sylvan Morning Star, a Pristine Drakeling Scales, and an Arborean Amber.")
- npc:RewardItem(e:GetClient(),20297)
- --e:GetClient():ModifyFaction( 43, 10 )
- --e:GetClient():ModifyFaction( 178, 10 )
- --e:GetClient():ModifyFaction( 8, 10 )
- e:GetClient():AddExperience(36450)
- --e:GetClient():PlaySound()
- end
- if (npc:ConsumeItems({[20300]=1,[20271]=1,[20274]=1})) then
- npc:Emote("Terren Starwatcher fashions a grip out of the pristine forest drakeling scales, fastens the arborean amber to the pommel, and polishes the head of the morning star with a luminescent substance. 'I grant you a Sylvan Initiate Morning Star. May it serve you well in your service to The All Mother.")
- npc:RewardItem(e:GetClient(),20330)
- --e:GetClient():ModifyFaction( 43, 10 )
- --e:GetClient():ModifyFaction( 178, 10 )
- --e:GetClient():ModifyFaction( 8, 10 )
- e:GetClient():AddExperience(36450)
- --e:GetClient():PlaySound()
- else
- -- do all other handins first with plugin, then let it do disciplines
- --plugin::try_tome_handins( \itemcount, )
- --plugin::return_items( \itemcount )
- end
- end
- eventManager:AddListener("Terren Starwatcher","felwithea",EVENT_ON_ITEMS_RECEIVED,Terren_Starwatcher_EVENT_ON_ITEMS_RECEIVED)
- -- END of FILE Zone:felwithea ID:61010 -- Terren_Starwatcher
- -- Perl2Grim AUTO CONVERT END felwithea\Terren_Starwatcher.pl
- -- Perl2Grim AUTO CONVERT BEGIN felwithea\Tolkar_Parlone.pl
- function Tolkar_Parlone_EVENT_ON_SAY (npc,e)
- if (e:HasMessage("Hail")) then
- npc:Say("Hail. good adventurer! I am afraid that my services are not available at the moment. I am too worried about my [daughter].")
- end
- if (e:HasMessage("who is your daughter")) then
- npc:Say("My daughter's name is Lenara. I have not seen her in several months. and I fear the worst. She went off adventuring. even though I told her how dangerous it was.")
- end
- end
- eventManager:AddListener("Tolkar Parlone","felwithea",EVENT_ON_SAY,Tolkar_Parlone_EVENT_ON_SAY)
- function Tolkar_Parlone_EVENT_ON_ITEMS_RECEIVED (npc,e)
- if (npc:ConsumeItems({[5573]=1})) then -- folded note
- npc:Say("What's this? Oh my goodness! I was so worried I had lost my little girl. Thank you so much " .. e:GetClient():GetName() .. ". Here please take this, it was once a magical cloak but its powers have diminished over time. If you take it to my wife in erudin I'm sure she can restore it.")
- npc:RewardItem(e:GetClient(),1056) -- Faded cloak
- else
- npc:Say("I have no need for this, " .. e:GetClient():GetName() .. ".")
- --plugin::return_items( \itemcount )
- end
- end
- eventManager:AddListener("Tolkar Parlone","felwithea",EVENT_ON_ITEMS_RECEIVED,Tolkar_Parlone_EVENT_ON_ITEMS_RECEIVED)
- -- END of FILE Zone:felwithea ID:61017 -- Tolkar_Parlone
- -- Perl2Grim AUTO CONVERT END felwithea\Tolkar_Parlone.pl
- -- Perl2Grim AUTO CONVERT BEGIN felwithea\Tolon_Nurbyte.pl
- --[[ Ignoring Non-Supported Event EVENT_SPAWN
- function Tolon_Nurbyte_EVENT_ON_SPAWN (npc,e)
- --quest::settimer( visit, 150 )
- end
- eventManager:AddListener("Tolon Nurbyte","felwithea",EVENT_ON_SPAWN,Tolon_Nurbyte_EVENT_ON_SPAWN)
- --]]
- --[[ Ignoring Non-Supported Event EVENT_TIMER
- function Tolon_Nurbyte_EVENT_ON_TIMER (npc,e)
- if (timer == visit) then
- --npc:Depop()
- end
- end
- eventManager:AddListener("Tolon Nurbyte","felwithea",EVENT_ON_TIMER,Tolon_Nurbyte_EVENT_ON_TIMER)
- --]]
- function Tolon_Nurbyte_EVENT_ON_AGGRO (npc,e)
- npc:Say("Let no evil beings stand in the way of the righteousness of the Paladins of Tunare!")
- end
- eventManager:AddListener("Tolon Nurbyte","felwithea",EVENT_ON_AGGRO,Tolon_Nurbyte_EVENT_ON_AGGRO)
- function Tolon_Nurbyte_EVENT_ON_SAY (npc,e)
- if (e:HasMessage("hail")) then
- npc:Say("Didn't your mother teach you not to walk in other people's rooms without knocking?! You didn't even have the courtesy to close the door behind you!!")
- end
- if (e:HasMessage("princess lenya thex")) then
- npc:Say("What?!! You have word of the Princess? She has been missing for quite a while. I sent Tearon to Tunaria to search for her, but he has not reported back. If you wish to help, you'd better prove yourself worthy first. I believe you should talk to Tynkale.")
- end
- if ( ( ( e:HasMessage("the glory of the mother shines bright") ) or ( e:HasMessage("wish to leave") ) ) and ( e:GetClient():GetConLevel(npc) > 4 )) then
- npc:Say("When you have furthered your service to the Paladins of Tunare. we shall make conversation.")
- end
- if ( ( e:HasMessage("the glory of the mother shines bright") ) and ( e:GetClient():GetConLevel(npc) < 5 )) then
- npc:Say("So you're the slayer of Jojongua. Funny, I thought you would be taller. I guess you will have to do. I am Tolon Nurbyte of the Silent Watch. We do all the dirty work of King Tearis Thex. No one knows of us. So I hope you accept this mission or I will have to kill you. Do you [accept the mission] or do you [wish to leave]?")
- end
- if ( ( e:HasMessage("wish to leave") ) and ( e:GetClient():GetConLevel(npc) < 5 )) then
- npc:Say("There is only insufferable labor and merciless torment here, stranger. Kaya Rishareth has condemned her eternal self to servitude in the War Forge -- her selfless act malignantly repaid by the gods with this existence. Her spirit died here long ago and her life's [effort and struggles] were ultimately for naught.")
- --quest::attack(name)
- end
- if ( ( e:HasMessage("accept the mission") ) and ( e:GetClient():GetConLevel(npc) < 4 )) then
- npc:Say("In her mortal life, Kaya Rishareth was a keeper of tranquility and served her beloved child-like goddess with every fiber of her being. A native to the free city of Freeport, Kaya found herself traveling on her own as soon as her master would allow. Erudin was the destination she chose and it was the temples dedicated to The Tranquil where she sought to learn more about her goddess and perhaps share philosophies and knowledge with the High Men. Erudin received her graciously and for nearly a year, she studied the High Men's way of worship and reverence to their shared deity. However, tranquility is easily disrupted and those who seek it, must also [defend it].")
- end
- if ( ( e:HasMessage("silent watcher") ) and ( e:GetClient():GetConLevel(npc) < 4 )) then
- npc:Say("The Silent Watch was established in the early years of Felwithe. King Tearis Thex had many cruel deeds to do. The regular Koad'Vie were too righteous to carry out any of the necessary missions and we dare not bring in the Fier'Dal. After all, some of the operations were against Kelethin. King Tearis formed our group from Koada'Dal not of such prim and proper breeding. Now we act as his secret guard and report only to him.")
- end
- if ( ( ( e:HasMessage("accept the mission") ) or ( e:HasMessage("silent watcher") ) ) and ( e:GetClient():GetConLevel(npc) > 3 )) then
- npc:Say("When you have furthered your service to the Paladins of Tunare. we shall make conversation.")
- end
- end
- eventManager:AddListener("Tolon Nurbyte","felwithea",EVENT_ON_SAY,Tolon_Nurbyte_EVENT_ON_SAY)
- -- further dialogue is unknown at this time.-- Perl2Grim AUTO CONVERT END felwithea\Tolon_Nurbyte.pl
- -- Perl2Grim AUTO CONVERT BEGIN felwithea\Tynkale.pl
- function Tynkale_EVENT_ON_SAY (npc,e)
- if (e:HasMessage("Hail")) then
- npc:Say("Hail noble, " .. e:GetClient():GetName() .. "! Can you be of [service to the Clerics of Tunare] or are you not from our order?")
- end
- if ( ( ( e:HasMessage("service to the clerics of tunare") ) or ( e:HasMessage("new to felwithe") ) or ( e:HasMessage("i am a veteran of the good fight") ) ) and ( e:GetClient():GetConLevel(npc) > 4 )) then
- npc:Say("When you have furthered your service to the Paladins of Tunare. we shall make conversation.")
- end
- if ( ( e:HasMessage("service to the clerics of tunare") ) and ( e:GetClient():GetConLevel(npc) < 5 )) then
- npc:Say("That is good. Prove yourself, then. Are you [new to Felwithe] or have I been conversing with a [veteran of the good fight]?")
- end
- if ( ( e:HasMessage("new to felwithe") ) and ( e:GetClient():GetConLevel(npc) < 5 )) then
- npc:Say("Then stand at attention when I speak. I want you to venture to Kelethin and seek out Tandan Nybright. He is an old member of ours. He had some hardships and he fell from Tunare's grace, yet he is still a member of our family. He will be the one who reeks of elven wine. Greet him by name. We are worried for him.")
- end
- if ( ( e:HasMessage("veteran of the good fight") ) and ( e:GetClient():GetConLevel(npc) < 5 )) then
- npc:Say("I command you to venture to Innothule and seek a beast called Jojongua, a name penned by the trolls. It is said to be ten feet tall and nothing but fury. Some say it resembles a kobold, but how can that be? You bring this beast's hide to me and then I will believe you to be a veteran. Beware! Innothule is a very dangerous place even for a noble veteran.")
- end
- if (e:HasMessage("trades")) then
- npc:Say("I thought you might be one who was interested in the various different trades, but which one would suit you? Ahh, alas, it would be better to let you decide for yourself, perhaps you would even like to master them all! That would be quite a feat. Well, lets not get ahead of ourselves, here, take this book. When you have finished reading it, ask me for the [second book], and I shall give it to you. Inside them you will find the most basic recipes for each trade. These recipes are typically used as a base for more advanced crafting, for instance, if you wished to be a smith, one would need to find some ore and smelt it into something usable. Good luck!")
- npc:RewardItem(e:GetClient(),51121)
- end
- if (e:HasMessage("second book")) then
- npc:Say("Here is the second volume of the book you requested, may it serve you well!")
- npc:RewardItem(e:GetClient(),51122)
- end
- end
- eventManager:AddListener("Tynkale","felwithea",EVENT_ON_SAY,Tynkale_EVENT_ON_SAY)
- function Tynkale_EVENT_ON_ITEMS_RECEIVED (npc,e)
- if (npc:ConsumeItems({[18781]=1})) then
- npc:Say("Greetings. young paladin! I am Master Tynkale of the Clerics of Tunare. Here. we shall teach and train you in the skills needed to defeat our evil and diseased enemies. Take this, our guild tunic - it will help protect you. Once you are ready to begin your training please make sure that you see Seria Woodwind, she can assist you in experienced in our art, I will be able to further instruct you on how to progress through your early ranks, as well as in some of the various [trades] you will have available to you.")
- npc:RewardItem(e:GetClient(),13591)
- --e:GetClient():PlaySound()
- --e:GetClient():ModifyFaction( 8, 10 )
- --e:GetClient():ModifyFaction( 43, 10 )
- --e:GetClient():ModifyFaction( 178, 10 )
- e:GetClient():AddExperience(150)
- end
- if (e:GetClient():GetConLevel(npc) < 5) then
- if (npc:ConsumeItems({[13351]=1})) then
- npc:Say("So you have proven yourself to be a great slayer of beasts.Now it is time to prove yourself to be an asset to the Crown. You are to meet a man named Tolon Nurbyte.He will be at the local inn. Go to him and repeat the phrase, 'The glory of the Mother shines bright.' I can say no more. Oh.. and here. This may help you on your upcoming adventure.")
- --e:GetClient():PlaySound()
- --e:GetClient():ModifyFaction( 8, 10 )
- --e:GetClient():ModifyFaction( 43, 10 )
- --e:GetClient():ModifyFaction( 178, 10 )
- e:GetClient():AddExperience(150)
- else
- -- do all other handins first with plugin, then let it do disciplines
- --plugin::try_tome_handins( \itemcount, )
- --plugin::return_items( \itemcount )
- end
- else
- -- do all other handins first with plugin, then let it do disciplines
- --plugin::try_tome_handins( \itemcount, )
- --plugin::return_items( \itemcount )
- end
- end
- eventManager:AddListener("Tynkale","felwithea",EVENT_ON_ITEMS_RECEIVED,Tynkale_EVENT_ON_ITEMS_RECEIVED)
- -- END of FILE Zone:felwithea ID:61018 -- Tynkale
- -- Perl2Grim AUTO CONVERT END felwithea\Tynkale.pl
- -- Perl2Grim AUTO CONVERT BEGIN felwithea\Yeolarn_Bronzeleaf.pl
- function Yeolarn_Bronzeleaf_EVENT_ON_SAY (npc,e)
- if (e:HasMessage("hail")) then
- npc:Say("Hail, " .. e:GetClient():GetName() .. "! We of Tunare are charged with protecting the Great Mother from the forces of Innoruuk. Even now, the evil minions of this foul deity are despoiling our great forest. Will you help us [protect the Mother]?")
- end
- if (e:HasMessage("protect")) then
- npc:Say("Just outside the gates of Felwithe, the forces of Innoruuk gather in the guise of decaying skeletons. Bring me four sets of bone chips as proof of your vigilance. I assure you, your faith shall not go unrewarded.")
- end
- if (e:HasMessage("initiate of tunare")) then
- npc:Say("The Teir'Dal behind the undead plague in our forest have discovered a means of creating a terrible undead called a Ghast. These Ghasts have been sighted in the Lesser Faydark and must be destroyed. Bring me four of the vile creatures hearts.")
- end
- if (e:HasMessage("slay the necromancer")) then
- npc:Say("The Fier'Dal rangers that inhabit the Lesser Faydark have spotted a courier making deliveries to the Teir'Dal camp near Castle Mistmoore and to a necromancer that lingers near the ancient obelisk. We believe that the crates he carries are supplies needed for the creation of more Ghasts. Another shipment should be arriving soon. Seek out the necromancer at the obelisk and take his head then take the head of the courier and return them to me with the crate that the courier carries and your Initiate Symbol of Tunare.")
- end
- if (e:HasMessage("warden of tunare")) then
- npc:Say("The crate that the you recovered from the Courier contained this black candlestick that radiates an aura of great magical power. I request that you deliver the candlestick to Lady Trilani who is studying with the High Men in Erudin. Perhaps she can divine the nature of the candlestick and offer aid in defeating its power. The remaining contents of the crate have been given to Crusader Swiftmoon to be delivered to a gnome in steamfont that is purchasing them on behalf of the Eldrich Collective. When you return be sure to present your Disciple Symbol to me with anything that Trilani may ask you to deliver.")
- npc:RewardItem(e:GetClient(),1598) -- Black Stone Candlestick
- end
- end
- eventManager:AddListener("Yeolarn Bronzeleaf","felwithea",EVENT_ON_SAY,Yeolarn_Bronzeleaf_EVENT_ON_SAY)
- function Yeolarn_Bronzeleaf_EVENT_ON_ITEMS_RECEIVED (npc,e)
- if (npc:ConsumeItems({[13073]=4})) then -- Bone Chips x 4
- npc:Say("Praise Tunare! I knew you would be victorious. I reward you with this spell, and pray that it will help you in your fight against the unholy forces of Innoruk. When you are ready you will make a fine [Initiate of Tunare].")
- npc:RewardItem(e:GetClient(),15014) -- Spell: Strike
- e:GetClient():AddExperience(2500)
- --e:GetClient():ModifyFaction( 43, 15 ) -- Clerics of Tunare
- --e:GetClient():ModifyFaction( 178, 15 ) -- King Tearis Thex
- --e:GetClient():ModifyFaction( 8, 15 ) -- Anti-mage
- elseif (npc:ConsumeItems({[10199]=4})) then -- Putrescent Heart x 4
- npc:Say("Praise Tunare!! You have done well young Initiate. Here the symbol of your station within our faith. Return to me when you are ready to [slay the necromancer] that has been creating the undead.")
- npc:RewardItem(e:GetClient(),1570) -- Initiate Symbol of Tunare
- e:GetClient():AddExperience(3250)
- --e:GetClient():ModifyFaction( 43, 15 ) -- Clerics of Tunare
- --e:GetClient():ModifyFaction( 178, 15 ) -- King Tearis Thex
- --e:GetClient():ModifyFaction( 8, 15 ) -- Anti-mage
- elseif (npc:ConsumeItems({[1570]=1,[12514]=1,[19065]=1,[12513]=1})) then -- Initiate Symbol of Tunare, Larik Z`Vole's Head, Teir`Dal Couriers Head, Teir`Dal Crate
- npc:Say("Praise Tunare! The Mother smiles on you this day Disciple Angelsyn! I present you with the symbol of your new station among the Priests of Tunare. Return to me when you are ready to become a [Warden of Tunare]?")
- npc:RewardItem(e:GetClient(),1571) -- Disciple Symbol of Tunare
- e:GetClient():AddExperience(4000)
- --e:GetClient():ModifyFaction( 43, 15 ) -- Clerics of Tunare
- --e:GetClient():ModifyFaction( 178, 15 ) -- King Tearis Thex
- --e:GetClient():ModifyFaction( 8, 15 ) -- Anti-mage
- elseif (npc:ConsumeItems({[1571]=1,[1599]=1})) then -- Disciple Symbol of Tunare, Powder of Unanimation
- npc:Say("Praise Tunare!! I will have our sorcerers examine this power immediately to see if we can reproduce it in quantities enough to eliminate the undead plague. I award you the rank of Warden of Tunare, the All Mother smiles upon you, " .. e:GetClient():GetName() .. "!")
- npc:RewardItem(e:GetClient(),1572) -- Warden Symbol of Tunare
- e:GetClient():AddExperience(5000)
- --e:GetClient():ModifyFaction( 43, 15 ) -- Clerics of Tunare
- --e:GetClient():ModifyFaction( 178, 15 ) -- King Tearis Thex
- --e:GetClient():ModifyFaction( 8, 15 ) -- Anti-mage
- elseif (npc:ConsumeItems({[18780]=1})) then -- Tattered Note
- npc:Say("Welcome, friend, to the Clerics of Tunare. I am Yeolarn Bronzeleaf, head of the guild and devout follower of Tunare. Here is your guild tunic - it will help to protect you against this world's evils.")
- npc:RewardItem(e:GetClient(),13590) -- Faded Gold Training Tunic*
- e:GetClient():AddExperience(1000)
- else
- npc:Say("I have no need for this.")
- --plugin::return_items( \itemcount )
- end
- end
- eventManager:AddListener("Yeolarn Bronzeleaf","felwithea",EVENT_ON_ITEMS_RECEIVED,Yeolarn_Bronzeleaf_EVENT_ON_ITEMS_RECEIVED)
- -- END of FILE Zone:felwithea ID:61025 -- Yeolarn_Bronzeleaf.pl
- -- Perl2Grim AUTO CONVERT END felwithea\Yeolarn_Bronzeleaf.pl
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement