mirror of
https://github.com/EQMacEmu/quests
synced 2026-08-21 00:23:04 -04:00
qeynos2 - fixed up bone quest
eastkarana - added guard point for Broon. removed some unused scripts.
This commit is contained in:
parent
27bc6df647
commit
f43d4fcfa8
8 changed files with 25 additions and 64 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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.");
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
@ -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!"));
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue