updates from takp

This commit is contained in:
regneq 2024-12-18 14:08:09 -08:00
parent 24b4b090b4
commit 762ecb68db
4 changed files with 26 additions and 18 deletions

View file

@ -3,7 +3,7 @@
function event_say(e)
if(e.message:findi("hail")) then
e.self:Say("Hmmph.");
elseif(e.message:findi("avenge your brother")) then
elseif(e.message:findi("avenge.* brother")) then
e.self:Say("My brother was part of a raiding party that adventured into the Caverns of Guk. Somewhere within he was betrayed and left for dead by the dastardly brother of Karg IceBear - Martar. I want you to find me what remains of my brothers body and bring it back to me. I am told that he died within a mine shaft.");
end
end

View file

@ -2,7 +2,7 @@ function event_say(e)
if(e.message:findi("hail")) then
e.self:Say("Welcome to the Church of Underfoot. Please open your soul to the greatness of Brell Serilis. May he guide you in all your future eavors. And may your soles long for the [Soil of Underfoot].");
elseif(e.message:findi("soil")) then
if(e.other:GetFactionValue(e.self) >= 500) then -- kindly or better to get quest.
if(e.other:GetFactionValue(e.self) >= 450) then -- high amiable, allakhazam comments show 400 not high enough but 453 worked
e.self:Say("I can trust you with the soil of Underfoot, but first you must obtain four portions of fairy dust. Return them to me and I shall mix it and pray over it. Then I shall give you a pouch of soil of Underfoot.");
else
e.self:Say("The Clerics of Underfoot have yet to see your faith directed towards our wills. Perhaps you should assist Master Gunlok Jure in the crusade against the undead.");
@ -22,7 +22,7 @@ function event_trade(e)
e.other:Faction(e.self,274,100); -- Kazon Stormhammer
e.other:Faction(e.self,293,75); -- Miners Guild 249
e.other:QuestReward(e.self,0,0,0,0,13514,20); -- Item: Dusty Tunic*
elseif(e.other:GetFactionValue(e.self) >= 500 and item_lib.check_turn_in(e.self, e.trade, {item1 = 12106, item2 = 12106, item3 = 12106, item4 = 12106},1,text)) then -- Fairy Dust need kindly as verified from live
elseif(e.other:GetFactionValue(e.self) >= 450 and item_lib.check_turn_in(e.self, e.trade, {item1 = 12106, item2 = 12106, item3 = 12106, item4 = 12106},1,text)) then -- Fairy Dust need kindly as verified from live
e.self:Say("May the mighty power of Brell saturate this soil with his divinity. Here you are, my noble friend. You may have a pouch of the soil of Underfoot.");
-- verified live faction
e.other:Faction(e.self,227,5); -- Clerics of Underfoot

View file

@ -8,10 +8,18 @@ function event_say(e)
e.self:Say(eq.ChooseRandom("I didn't know Slime could speak common. Go back to the sewer before I lose my temper.","Is that your BREATH, or did something die in here? Now go away!","I wonder how much I could get for the tongue of a blithering fool? Leave before I decide to find out for myself.","Oh look..a talking lump of refuse..how novel!"));
end
elseif(e.message:findi("white dragonscale cloak")) then
if(e.other:GetFactionValue(e.self) >= 0) then
e.self:Say("Hrmmm. A white dragonscale cloak eh? Hrmmm. Well, I will make you a deal. You can save me some footwork and I will craft your cloak. I want to propose to my [fiancee] but I have neither a [wedding ring] nor a [present] for her. So, return with a white dragon hide, a wedding ring, and a present for my fiancee, and I will fashion your cloak for you.");
if(eq.is_the_scars_of_velious_enabled()) then
if(e.other:GetFactionValue(e.self) >= 0) then
e.self:Say("Hrmmm. A white dragonscale cloak eh? Hrmmm. Well, I will make you a deal. You can save me some footwork and I will craft your cloak. I want to propose to my [fiancee] but I have neither a [wedding ring] nor a [present] for her. So, return with a white dragon hide, a wedding ring, and a present for my fiancee, and I will fashion your cloak for you.");
else
e.self:Say(eq.ChooseRandom("I didn't know Slime could speak common. Go back to the sewer before I lose my temper.","Is that your BREATH, or did something die in here? Now go away!","I wonder how much I could get for the tongue of a blithering fool? Leave before I decide to find out for myself.","Oh look..a talking lump of refuse..how novel!"));
end
else
e.self:Say(eq.ChooseRandom("I didn't know Slime could speak common. Go back to the sewer before I lose my temper.","Is that your BREATH, or did something die in here? Now go away!","I wonder how much I could get for the tongue of a blithering fool? Leave before I decide to find out for myself.","Oh look..a talking lump of refuse..how novel!"));
if(e.other:GetFactionValue(e.self) >= 0) then
e.self:Say("Hrmmm. A white dragonscale cloak eh? Hrmmm. Well, I will make you a deal. You can save me some footwork and I will craft your cloak. I want to propose to my [fiancee] but I have neither a [wedding ring] nor a [present] for her. So, return with a white dragon scale, a wedding ring, and a present for my fiancee, and I will fashion your cloak for you.");
else
e.self:Say(eq.ChooseRandom("I didn't know Slime could speak common. Go back to the sewer before I lose my temper.","Is that your BREATH, or did something die in here? Now go away!","I wonder how much I could get for the tongue of a blithering fool? Leave before I decide to find out for myself.","Oh look..a talking lump of refuse..how novel!"));
end
end
elseif(e.message:findi("fiancee")) then
if(e.other:GetFactionValue(e.self) >= 0) then
@ -43,18 +51,16 @@ end
function event_trade(e)
local item_lib = require("items");
if(e.other:GetFactionValue(e.self) >= 0 and item_lib.check_turn_in(e.self, e.trade, {item1 = 14707, item2 = 14703, item3 = 9240})) then
e.self:Say("My fiancee will be so excited! An exquisite ring for the wedding and a gorgeous necklace as my wedding gift to her. Well, as promised, here is your white dragonscale cloak.");
e.other:QuestReward(e.self,0,0,0,0,11603); -- White Dragonscale Cloak
elseif(e.other:GetFactionValue(e.self) >= 0 and item_lib.check_turn_in(e.self, e.trade, {item1 = 11622, item2 = 14402, platinum = 1000})) then
if(e.other:GetFactionValue(e.self) >= 0 and item_lib.check_turn_in(e.self, e.trade, {item1 = 11622, item2 = 14402, platinum = 1000})) then
e.self:Say("Wonderful! Now I can get back to my fiancee instantly! Isn't Love grand? As for your Red Dragonscale Armor, it is all done. Farewell!");
e.other:QuestReward(e.self,0,0,0,0,11623); -- Red Dragonscale Armor
elseif(eq.is_the_scars_of_velious_enabled() and e.other:GetFactionValue(e.self) >= 0 and item_lib.check_turn_in(e.self, e.trade, {item1 = 14707, item2 = 14703, item3 = 9240})) then --white dragon hide
e.self:Say("My fiancee will be so excited! An exquisite ring for the wedding and a gorgeous necklace as my wedding gift to her. Well, as promised, here is your white dragonscale cloak.");
e.other:QuestReward(e.self,0,0,0,0,11603); -- White Dragonscale Cloak
elseif(not eq.is_the_scars_of_velious_enabled() and e.other:GetFactionValue(e.self) >= 0 and item_lib.check_turn_in(e.self, e.trade, {item1 = 14707, item2 = 14703, item3 = 11602})) then --white dragon scale
e.self:Say("My fiancee will be so excited! An exquisite ring for the wedding and a gorgeous necklace as my wedding gift to her. Well, as promised, here is your white dragonscale cloak.");
e.other:QuestReward(e.self,0,0,0,0,11603); -- White Dragonscale Cloak
end
item_lib.return_items(e.self, e.other, e.trade)
end
--END of FILE : Zone : rathemtn : NPC_ID : 50119 : Karam Dragonforge
-------------------------------------------------------------------------------------------------
-- Converted to .lua using MATLAB converter written by Stryd and manual edits by Speedz
-- Find/replace data for .pl --> .lua conversions provided by Speedz, Stryd, Sorvani and Robregen
-------------------------------------------------------------------------------------------------

View file

@ -1,8 +1,10 @@
function event_say(e)
if(e.message:findi("hail")) then
e.self:Say("Greetings, friend. I am the keeper of the [Boots of Ro]. Please rest here with us in our camp of righteousness. No harm can come to you while we paladins keep watch.");
if(not eq.is_content_flag_enabled("Classic_OldWorldDrops")) then
e.self:Say("Greetings, friend. I am the keeper of the [Boots of Ro]. Please rest here with us in our camp of righteousness. No harm can come to you while we paladins keep watch.");
end
elseif(e.message:findi("boots of ro")) then
if(e.other:GetFactionValue(e.self) >= 50) then -- mid indiff or better to get the quest
if(not eq.is_content_flag_enabled("Classic_OldWorldDrops") and e.other:GetFactionValue(e.self) >= 50) then -- mid indiff or better to get the quest
e.self:Say("If you desire the mold needed for smithing the Boots of Ro, then first, you shall prove your power. I have long sought an ancient holy weapon called the brazen brass kilij. I have heard rumors of detailed plans on how to make it, coming from Faydwer. Seek out the kilij plans. Bring them to me and you shall have the mold.");
elseif(e.other:GetFactionValue(e.self) >= 0) then
e.self:Say("You and I must be brothers and serve the Lord of Underfoot. Go to Kaladim and serve her cathedral. When you think you are ready. then ask Lord Datur if you are an [honored member] of the temple. If the answer is yes, then I will trust you.");