mirror of
https://github.com/EQMacEmu/quests
synced 2026-08-21 00:23:04 -04:00
* add new Knights of Truth dialogues * Kizdian faction requirement for some dialogue * typo fix on undead foreman in OT hammer quest * typo fix on sentinel voice trap.
26 lines
No EOL
1.4 KiB
Lua
26 lines
No EOL
1.4 KiB
Lua
function event_say(e)
|
|
if(e.message:findi("hail")) then
|
|
e.self:Say("If you have business then out with it!! If not, then please be gone. I have little time to waste on chitchat!");
|
|
elseif(e.message:findi("thex mallet")) then
|
|
if(e.other:GetFactionValue(e.self) >= 0) then
|
|
e.self:Say("The Thex Mallet is a very special weapon of elven creation. It is as ancient as Norrath itself. Queen Cristanos commands that we find it and return it to Loveal S'nez. That is all you need to know.");
|
|
else
|
|
e.self:Say("How dare you enter my presence?! In the name of the Dead I should strike you down!");
|
|
end
|
|
elseif(e.message:findi("utalk adarev otcin")) then
|
|
if(e.other:GetFactionValue(e.self) >= 0) then
|
|
e.self:Say("You speak the words of the Dead. You must be the assistance Loveal was to send. You must work quickly! Inside Befallen are the three pieces to the [Thex Mallet] which are to be returned to Loveal. Find Hubard L'rodd. He was my assistant. Give him this note and he should have information.");
|
|
e.other:SummonCursorItem(18891); -- A Tattered Cloth Note
|
|
else
|
|
e.self:Say("How dare you enter my presence?! In the name of the Dead I should strike you down!");
|
|
end
|
|
end
|
|
end
|
|
|
|
function event_death_complete(e)
|
|
if(math.random(100) < 15) then
|
|
eq.unique_spawn(21141,0,0,3036,-706,-39,0); -- chance for Dragoon Zytl to spawn.
|
|
end
|
|
end
|
|
|
|
-- EOF commons - Kizdean_Gix |