From f43d4fcfa89fecd76b5ac3fb5096f8d658a6c65f Mon Sep 17 00:00:00 2001 From: regneq Date: Wed, 10 Sep 2025 07:22:09 -0700 Subject: [PATCH] qeynos2 - fixed up bone quest eastkarana - added guard point for Broon. removed some unused scripts. --- eastkarana/Broon.lua | 7 +++++++ freportn/Celsar_Vestagon.lua | 2 +- global/player.lua | 4 ---- kerraridge/Wislen_Mamluk.lua | 4 ++-- kithicor/20024.lua | 14 ------------- qcat/#a_gelatinous_cube.lua | 7 ------- qeynos2/Lashun_Novashine.lua | 38 ++++++++++++++---------------------- tox/a_kobold_caster.lua | 13 ------------ 8 files changed, 25 insertions(+), 64 deletions(-) delete mode 100644 global/player.lua delete mode 100644 kithicor/20024.lua delete mode 100644 qcat/#a_gelatinous_cube.lua delete mode 100644 tox/a_kobold_caster.lua diff --git a/eastkarana/Broon.lua b/eastkarana/Broon.lua index 307ea5e..45c99e0 100644 --- a/eastkarana/Broon.lua +++ b/eastkarana/Broon.lua @@ -1,3 +1,10 @@ +function event_waypoint_arrive(e) + if(e.wp == 18) then + eq.stop(); + e.self:SetGuardSpot(884,1132,-70,0); + end +end + function event_death_complete(e) if(math.random(100) < 50) then brofath = 15138; diff --git a/freportn/Celsar_Vestagon.lua b/freportn/Celsar_Vestagon.lua index e4e1369..bb87492 100644 --- a/freportn/Celsar_Vestagon.lua +++ b/freportn/Celsar_Vestagon.lua @@ -1,7 +1,7 @@ function event_say(e) if(e.message:findi("hail")) then e.self:Say("May the Truthbringer guide your path. I am Celsar Vestagon, upholder of the faith and cleric of Mithaniel Marr. Did you come to see the [minnows of marr]?"); - elseif(e.message:findi("minnows of marr")) then + elseif(e.message:findi("minnow"))then e.self:Say("The Marr Minnow is unique to the Hall of Truth. It is a beautiful fish. Unfortunately, recently, reports of piranha have been heard. Due to greater concerns, I must look for assistance from noble clerics who wish to help Marr and [eradicate the piranha]."); elseif(e.message:findi("piranha")) then e.self:Say("Yes. You are new to the word of Marr. Go to the waters surrounding the Hall of Truth. Fill this sack with no fewer than four dead piranha. You'd best keep well fed. I do not want you to eat the fish before you fill the sack and combine it. May Marr be with you."); diff --git a/global/player.lua b/global/player.lua deleted file mode 100644 index 66831fa..0000000 --- a/global/player.lua +++ /dev/null @@ -1,4 +0,0 @@ -function event_discover_item(e) - eq.debug("item is " .. e.item:Name() ..""); - e.self:Message(15, "" .. e.self:GetCleanName() .. " has discovered " .. e.item:Name() .. "" ); -end \ No newline at end of file diff --git a/kerraridge/Wislen_Mamluk.lua b/kerraridge/Wislen_Mamluk.lua index 51448ae..561ae21 100644 --- a/kerraridge/Wislen_Mamluk.lua +++ b/kerraridge/Wislen_Mamluk.lua @@ -1,9 +1,9 @@ function event_say(e) if(e.other:GetFactionValue(e.self) >= -500) then if(e.message:findi("hail")) then - e.self:Say("Why you bother Wislen? Wislen trying to get fishies. Leave Wislen alone to get [fish]. please."); + e.self:Say("Why you bother Wislen? Wislen trying to get fishies. Leave Wislen alone to get [fish], please."); elseif(e.message:findi("fish")) then - e.self:Say("Fish. Wislen fish. Wislen is mamluk. not just fisher. Mamluk is warrior but they also helps provide for all Kerran. This is hadi place in life. We happy doing this. Please. let Wislen fish now."); + e.self:Say("Fish. Wislen fish. Wislen is mamluk, not just fisher. Mamluk is warrior but they also helps provide for all Kerran. This is hadi place in life. We happy doing this. Please, let Wislen fish now."); 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!")); diff --git a/kithicor/20024.lua b/kithicor/20024.lua deleted file mode 100644 index 26bc9d8..0000000 --- a/kithicor/20024.lua +++ /dev/null @@ -1,14 +0,0 @@ -function event_spawn(e) - --if(eq.is_content_flag_enabled("OldPlane_Hate_Sky")) then - -- eq.toggle_spawn_event(13, true, false, false); - -- eq.toggle_spawn_event(14, true, false, false); - -- eq.toggle_spawn_event(15, true, false, false); - -- eq.toggle_spawn_event(16, true, false, false); - --else - -- eq.spawn_condition("kithicor",2,1); - -- eq.toggle_spawn_event(13, false, false, false); - -- eq.toggle_spawn_event(14, false, false, false); - -- eq.toggle_spawn_event(15, false, false, false); - -- eq.toggle_spawn_event(16, false, false, false); - --end -end diff --git a/qcat/#a_gelatinous_cube.lua b/qcat/#a_gelatinous_cube.lua deleted file mode 100644 index 92e4f7e..0000000 --- a/qcat/#a_gelatinous_cube.lua +++ /dev/null @@ -1,7 +0,0 @@ -function event_waypoint_arrive(e) - if((e.wp > 15 and e.wp < 34) or (e.wp > 50 and e.wp < 70)) then - e.self:SetRunning(true); - else - e.self:SetRunning(false); - end -end diff --git a/qeynos2/Lashun_Novashine.lua b/qeynos2/Lashun_Novashine.lua index 6b6d42b..a1354c6 100644 --- a/qeynos2/Lashun_Novashine.lua +++ b/qeynos2/Lashun_Novashine.lua @@ -23,42 +23,34 @@ end function event_trade(e) local item_lib = require("items"); + local chip = item_lib.count_handed_item(e.self, e.trade, {13073}); -- experience reward verified through live data if(item_lib.check_turn_in(e.self, e.trade, {gold = 2}, 0)) then e.self:Say("Thank you for the donation to the Temple of Life. May Rodcet Nife cleanse your body of all ills."); e.self:CastSpell(213,e.other:GetID()); -- Cure Disease -- Confirmed Live Factions - e.other:Faction(e.self,341,1,0); -- Priests of Life - e.other:Faction(e.self,280,1,0); -- Knights of Thunder - e.other:Faction(e.self,262,1,0); -- Guards of Qeynos - e.other:Faction(e.self,221,-1,0); -- Bloodsabers - e.other:Faction(e.self,219,1,0); -- Antonius Bayle - e.other:QuestReward(e.self,0,0,0,0,0,1); - elseif(item_lib.check_turn_in(e.self, e.trade, {item1 = 13073,item2 = 13073,item3 = 13073,item4 = 13073}, 0)) then -- 4 Bone Chips - local times = 2 + e.other:Faction(e.self,341,1); -- Priests of Life + e.other:Faction(e.self,280,1); -- Knights of Thunder + e.other:Faction(e.self,262,1); -- Guards of Qeynos + e.other:Faction(e.self,221,-1); -- Bloodsabers + e.other:Faction(e.self,219,1); -- Antonius Bayle + e.other:QuestReward(e.self,{exp = 1}); + elseif(chip > 0) then repeat - e.self:Say("Very well, young one. May the light of the Prime Healer wash away your scars."); - e.self:CastSpell(200,e.other:GetID()); -- Minor Healing + if(chip == 2) then + e.self:Say("Very well, young one. May the light of the Prime Healer wash away your scars."); -- 2 Bone Chips + e.self:CastSpell(200,e.other:GetID()); -- Minor Healing + end -- Confirmed Live Factions e.other:Faction(e.self,341,1,0); -- Priests of Life e.other:Faction(e.self,280,1,0); -- Knights of Thunder e.other:Faction(e.self,262,1,0); -- Guards of Qeynos e.other:Faction(e.self,221,-1,0); -- Bloodsabers e.other:Faction(e.self,219,1,0); -- Antonius Bayle - e.other:QuestReward(e.self,0,0,0,0,0,100); - times = times - 1 - until times <= 0 - elseif(item_lib.check_turn_in(e.self, e.trade, {item1 = 13073,item2 = 13073}, 0)) then - e.self:Say("Very well, young one. May the light of the Prime Healer wash away your scars."); -- 2 Bone Chips - e.self:CastSpell(200,e.other:GetID()); -- Minor Healing - -- Confirmed Live Factions - e.other:Faction(e.self,341,1,0); -- Priests of Life - e.other:Faction(e.self,280,1,0); -- Knights of Thunder - e.other:Faction(e.self,262,1,0); -- Guards of Qeynos - e.other:Faction(e.self,221,-1,0); -- Bloodsabers - e.other:Faction(e.self,219,1,0); -- Antonius Bayle - e.other:QuestReward(e.self,0,0,0,0,0,100); + e.other:QuestReward(e.self,{exp = 100}); + chip = chip - 1; + until chip == 0; end item_lib.return_items(e.self, e.other, e.trade) end diff --git a/tox/a_kobold_caster.lua b/tox/a_kobold_caster.lua deleted file mode 100644 index dc76eae..0000000 --- a/tox/a_kobold_caster.lua +++ /dev/null @@ -1,13 +0,0 @@ --- Ilanic's Scroll -function event_spawn(e) - eq.set_timer("depop",600000); -end - -function event_timer(e) - eq.depop(); -end - -function event_trade(e) - local item_lib = require("items"); - item_lib.return_items(e.self, e.other, e.trade) -end