eqmac-quests/akanon/Garret_Zethkog.lua
2023-07-24 13:24:37 -07:00

30 lines
3.3 KiB
Lua

-- Converted to .lua by Speedz
function event_say(e)
if(e.message:findi("hail")) then
e.self:Say("Hail " .. e.other:GetCleanName() .. "! I am Garret Zethkog, first Shadowknight of the Dark Reflection. Long ago I made the journey far to the west to the human city of Qeynos. In the catacombs of the Bloodsabres, human disciples of the Plague Lord, Bertoxxulous. I studied the ways of the Shadowknight. I have returned to Ak'Anon with this knowledge and now tutor young gnomes that have [heard the calling] of the Dark Reflection in the ways of a Dark Knight of Bertoxxulous.");
elseif(e.message:findi("heard the calling")) then
e.self:Say("Bertoxxulous has gifted his faithful with the sight of the Dark Reflection, the ability to recognize the power of disease and decay and its importance as a catalyst of change and progress. We Shadowknights of the Dark Reflection are the champions of the Plague Bringer. It is our duty to embrace our gifts and use them to act as the agents of Bertoxxulous, doing his bidding unquestioningly. There are many however who oppose the Plague Lord and his servants. They do not understand the importance of our existence and we must [defend ourselves] against these foes lest they would have us destroyed.");
elseif(e.message:findi("defend ourselves")) then
e.self:Say("Every young Knight of the Dark Reflection must first learn the basics of combat and acquire a suit of armor to help turn aside the weapons of our enemies. Take this parchment to my sister Mimtia Zethkog and she will assist you in acquiring a set of suitable armor for a young shadowknight. Once you have been suitably outfitted return to me and I will instruct you on your [next task].");
e.other:SummonCursorItem(10987); -- Item: Parchment to Mimtia
elseif(e.message:findi("next task")) then
e.self:Say("There are many through out Norrath who oppose the Dark Reflection. Even here in our home, Ak'Anon, the Eldrich Collective and the Deep Muses oppose us and wish to see us exiled or eradicated. A Paladin of the Deep Muses, Donlix Bonkle, has been leading a group of zealots that is hunting young members of the Dark Reflection in the Steamfont Mountains. Seek Donlix Bonkle and eliminate him. When you have accomplished this task return to me with Donlix's Short Sword.");
end
end
function event_trade(e)
local item_lib = require("items");
if (item_lib.check_turn_in(e.self, e.trade, {item1 = 10991})) then
e.self:Say("Ah! Donlix's sword! You have done well to bring this to me... but oh! Look at your corruption seep into it. I think now this sword belongs to you. Use it well.");
e.other:QuestReward(e.self,0,0,0,0,11078); -- Item: Plague Knight Short Sword
elseif (item_lib.check_turn_in(e.self, e.trade, {item1 = 18434})) then -- Gnome Shadowknight Note
e.self:Say("Welcome to the Dark Reflection, " .. e.other:GetCleanName() .. " ! Take this tunic as a gift for your desire to serve the will of Bertoxxulous, The Plague Lord. Beware of the followers of Brell Serilis, they would see us members of the Dark Reflection exiled from Ak'Anon.");
e.other:Faction(e.self,238,100,0); -- Dark reflection
e.other:Faction(e.self,245,-10,0); -- eldritch collective
e.other:Faction(e.self,255,-10,0); -- gem choppers
e.other:Faction(e.self,240,-10,0); -- Deepmuses
e.other:QuestReward(e.self,0,0,0,0,13518,20); -- Tin Patched Tunic*
end
item_lib.return_items(e.self, e.other, e.trade)
end