mirror of
https://github.com/EQMacEmu/quests
synced 2026-08-21 00:23:04 -04:00
Getting quests current.
This commit is contained in:
parent
ffe87ddcc1
commit
4cc85b16e4
58 changed files with 218 additions and 62 deletions
|
|
@ -5,6 +5,6 @@ function event_death_complete(e)
|
|||
end
|
||||
if(rand == 2) then
|
||||
eq.spawn2(55392,0,0,e.self:GetX(),e.self:GetY(),e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(55392,0,0,e.self:GetX()+10,e.self:GetY()+10,e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(55392,0,0,e.self:GetX()+1,e.self:GetY()+1,e.self:GetZ(),e.self:GetHeading());
|
||||
end
|
||||
end
|
||||
|
|
@ -5,6 +5,6 @@ function event_death_complete(e)
|
|||
end
|
||||
if(rand == 2) then
|
||||
eq.spawn2(55392,0,0,e.self:GetX(),e.self:GetY(),e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(55392,0,0,e.self:GetX()+10,e.self:GetY()+10,e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(55392,0,0,e.self:GetX()+1,e.self:GetY()+1,e.self:GetZ(),e.self:GetHeading());
|
||||
end
|
||||
end
|
||||
|
|
@ -5,6 +5,6 @@ function event_death_complete(e)
|
|||
end
|
||||
if(rand == 2) then
|
||||
eq.spawn2(55392,0,0,e.self:GetX(),e.self:GetY(),e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(55392,0,0,e.self:GetX()+10,e.self:GetY()+10,e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(55392,0,0,e.self:GetX()+1,e.self:GetY()+1,e.self:GetZ(),e.self:GetHeading());
|
||||
end
|
||||
end
|
||||
|
|
@ -5,6 +5,6 @@ function event_death_complete(e)
|
|||
end
|
||||
if(rand == 2) then
|
||||
eq.spawn2(55392,0,0,e.self:GetX(),e.self:GetY(),e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(55392,0,0,e.self:GetX()+10,e.self:GetY()+10,e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(55392,0,0,e.self:GetX()+1,e.self:GetY()+1,e.self:GetZ(),e.self:GetHeading());
|
||||
end
|
||||
end
|
||||
|
|
@ -6,7 +6,7 @@ function event_death_complete(e)
|
|||
end
|
||||
if(rand == 2) then
|
||||
eq.spawn2(55392,0,0,e.self:GetX(),e.self:GetY(),e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(55392,0,0,e.self:GetX()+10,e.self:GetY()+10,e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(55392,0,0,e.self:GetX()+1,e.self:GetY()+1,e.self:GetZ(),e.self:GetHeading());
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -5,6 +5,6 @@ function event_death_complete(e)
|
|||
end
|
||||
if(rand == 2) then
|
||||
eq.spawn2(55392,0,0,e.self:GetX(),e.self:GetY(),e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(55392,0,0,e.self:GetX()+10,e.self:GetY()+10,e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(55392,0,0,e.self:GetX()+1,e.self:GetY()+1,e.self:GetZ(),e.self:GetHeading());
|
||||
end
|
||||
end
|
||||
|
|
@ -5,6 +5,6 @@ function event_death_complete(e)
|
|||
end
|
||||
if(rand == 2) then
|
||||
eq.spawn2(55392,0,0,e.self:GetX(),e.self:GetY(),e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(55392,0,0,e.self:GetX()+10,e.self:GetY()+10,e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(55392,0,0,e.self:GetX()+1,e.self:GetY()+1,e.self:GetZ(),e.self:GetHeading());
|
||||
end
|
||||
end
|
||||
|
|
@ -5,6 +5,6 @@ function event_death_complete(e)
|
|||
end
|
||||
if(rand == 2) then
|
||||
eq.spawn2(55392,0,0,e.self:GetX(),e.self:GetY(),e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(55392,0,0,e.self:GetX()+10,e.self:GetY()+10,e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(55392,0,0,e.self:GetX()+1,e.self:GetY()+1,e.self:GetZ(),e.self:GetHeading());
|
||||
end
|
||||
end
|
||||
|
|
@ -5,6 +5,6 @@ function event_death_complete(e)
|
|||
end
|
||||
if(rand == 2) then
|
||||
eq.spawn2(55392,0,0,e.self:GetX(),e.self:GetY(),e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(55392,0,0,e.self:GetX()+10,e.self:GetY()+10,e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(55392,0,0,e.self:GetX()+1,e.self:GetY()+1,e.self:GetZ(),e.self:GetHeading());
|
||||
end
|
||||
end
|
||||
|
|
@ -5,6 +5,6 @@ function event_death_complete(e)
|
|||
end
|
||||
if(rand == 2) then
|
||||
eq.spawn2(55392,0,0,e.self:GetX(),e.self:GetY(),e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(55392,0,0,e.self:GetX()+10,e.self:GetY()+10,e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(55392,0,0,e.self:GetX()+1,e.self:GetY()+1,e.self:GetZ(),e.self:GetHeading());
|
||||
end
|
||||
end
|
||||
|
|
@ -5,6 +5,6 @@ function event_death_complete(e)
|
|||
end
|
||||
if(rand == 2) then
|
||||
eq.spawn2(55392,0,0,e.self:GetX(),e.self:GetY(),e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(55392,0,0,e.self:GetX()+10,e.self:GetY()+10,e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(55392,0,0,e.self:GetX()+1,e.self:GetY()+1,e.self:GetZ(),e.self:GetHeading());
|
||||
end
|
||||
end
|
||||
|
|
@ -6,7 +6,7 @@ function event_death_complete(e)
|
|||
end
|
||||
if(rand == 2) then
|
||||
eq.spawn2(55392,0,0,e.self:GetX(),e.self:GetY(),e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(55392,0,0,e.self:GetX()+10,e.self:GetY()+10,e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(55392,0,0,e.self:GetX()+1,e.self:GetY()+1,e.self:GetZ(),e.self:GetHeading());
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -5,6 +5,6 @@ function event_death_complete(e)
|
|||
end
|
||||
if(rand == 2) then
|
||||
eq.spawn2(55392,0,0,e.self:GetX(),e.self:GetY(),e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(55392,0,0,e.self:GetX()+10,e.self:GetY()+10,e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(55392,0,0,e.self:GetX()+1,e.self:GetY()+1,e.self:GetZ(),e.self:GetHeading());
|
||||
end
|
||||
end
|
||||
|
|
@ -5,6 +5,6 @@ function event_death_complete(e)
|
|||
end
|
||||
if(rand == 2) then
|
||||
eq.spawn2(55392,0,0,e.self:GetX(),e.self:GetY(),e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(55392,0,0,e.self:GetX()+10,e.self:GetY()+10,e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(55392,0,0,e.self:GetX()+1,e.self:GetY()+1,e.self:GetZ(),e.self:GetHeading());
|
||||
end
|
||||
end
|
||||
|
|
@ -5,6 +5,6 @@ function event_death_complete(e)
|
|||
end
|
||||
if(rand == 2) then
|
||||
eq.spawn2(55392,0,0,e.self:GetX(),e.self:GetY(),e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(55392,0,0,e.self:GetX()+10,e.self:GetY()+10,e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(55392,0,0,e.self:GetX()+1,e.self:GetY()+1,e.self:GetZ(),e.self:GetHeading());
|
||||
end
|
||||
end
|
||||
|
|
@ -5,6 +5,6 @@ function event_death_complete(e)
|
|||
end
|
||||
if(rand == 2) then
|
||||
eq.spawn2(55392,0,0,e.self:GetX(),e.self:GetY(),e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(55392,0,0,e.self:GetX()+10,e.self:GetY()+10,e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(55392,0,0,e.self:GetX()+1,e.self:GetY()+1,e.self:GetZ(),e.self:GetHeading());
|
||||
end
|
||||
end
|
||||
|
|
@ -5,6 +5,6 @@ function event_death_complete(e)
|
|||
end
|
||||
if(rand == 2) then
|
||||
eq.spawn2(55392,0,0,e.self:GetX(),e.self:GetY(),e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(55392,0,0,e.self:GetX()+10,e.self:GetY()+10,e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(55392,0,0,e.self:GetX()+1,e.self:GetY()+1,e.self:GetZ(),e.self:GetHeading());
|
||||
end
|
||||
end
|
||||
|
|
@ -5,6 +5,6 @@ function event_death_complete(e)
|
|||
end
|
||||
if(rand == 2) then
|
||||
eq.spawn2(55392,0,0,e.self:GetX(),e.self:GetY(),e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(55392,0,0,e.self:GetX()+10,e.self:GetY()+10,e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(55392,0,0,e.self:GetX()+1,e.self:GetY()+1,e.self:GetZ(),e.self:GetHeading());
|
||||
end
|
||||
end
|
||||
|
|
@ -5,6 +5,6 @@ function event_death_complete(e)
|
|||
end
|
||||
if(rand == 2) then
|
||||
eq.spawn2(55392,0,0,e.self:GetX(),e.self:GetY(),e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(55392,0,0,e.self:GetX()+10,e.self:GetY()+10,e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(55392,0,0,e.self:GetX()+1,e.self:GetY()+1,e.self:GetZ(),e.self:GetHeading());
|
||||
end
|
||||
end
|
||||
|
|
@ -5,6 +5,6 @@ function event_death_complete(e)
|
|||
end
|
||||
if(rand == 2) then
|
||||
eq.spawn2(55392,0,0,e.self:GetX(),e.self:GetY(),e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(55392,0,0,e.self:GetX()+10,e.self:GetY()+10,e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(55392,0,0,e.self:GetX()+1,e.self:GetY()+1,e.self:GetZ(),e.self:GetHeading());
|
||||
end
|
||||
end
|
||||
|
|
@ -5,6 +5,6 @@ function event_death_complete(e)
|
|||
end
|
||||
if(rand == 2) then
|
||||
eq.spawn2(55392,0,0,e.self:GetX(),e.self:GetY(),e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(55392,0,0,e.self:GetX()+10,e.self:GetY()+10,e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(55392,0,0,e.self:GetX()+1,e.self:GetY()+1,e.self:GetZ(),e.self:GetHeading());
|
||||
end
|
||||
end
|
||||
|
|
@ -5,7 +5,7 @@ function event_death_complete(e)
|
|||
end
|
||||
if(rand == 2) then
|
||||
eq.spawn2(55392,0,0,e.self:GetX(),e.self:GetY(),e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(55392,0,0,e.self:GetX()+10,e.self:GetY()+10,e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(55392,0,0,e.self:GetX()+1,e.self:GetY()+1,e.self:GetZ(),e.self:GetHeading());
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -5,6 +5,6 @@ function event_death_complete(e)
|
|||
end
|
||||
if(rand == 2) then
|
||||
eq.spawn2(55392,0,0,e.self:GetX(),e.self:GetY(),e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(55392,0,0,e.self:GetX()+10,e.self:GetY()+10,e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(55392,0,0,e.self:GetX()+1,e.self:GetY()+1,e.self:GetZ(),e.self:GetHeading());
|
||||
end
|
||||
end
|
||||
|
|
@ -5,7 +5,7 @@ function event_death_complete(e)
|
|||
end
|
||||
if(rand == 2) then
|
||||
eq.spawn2(55392,0,0,e.self:GetX(),e.self:GetY(),e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(55392,0,0,e.self:GetX()+10,e.self:GetY()+10,e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(55392,0,0,e.self:GetX()+1,e.self:GetY()+1,e.self:GetZ(),e.self:GetHeading());
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -5,6 +5,6 @@ function event_death_complete(e)
|
|||
end
|
||||
if(rand == 2) then
|
||||
eq.spawn2(55392,0,0,e.self:GetX(),e.self:GetY(),e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(55392,0,0,e.self:GetX()+10,e.self:GetY()+10,e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(55392,0,0,e.self:GetX()+1,e.self:GetY()+1,e.self:GetZ(),e.self:GetHeading());
|
||||
end
|
||||
end
|
||||
|
|
@ -28,7 +28,7 @@ function GoblinSE(e)
|
|||
if(math.random(100) > 45) then
|
||||
goblin = 92011;
|
||||
else
|
||||
goblin = eq.ChooseRandom(92004,92009,92012,92020,92021,92022,92023,92024,92197,92198);
|
||||
goblin = eq.ChooseRandom(92004,92009,92012,92020,92021,92022,92023,92024,92197);
|
||||
end
|
||||
if(location == 6) then
|
||||
eq.spawn2(goblin,28,0,-3247,-2839,-376,0);
|
||||
|
|
@ -200,10 +200,6 @@ function Goblin10Death(e)
|
|||
GiantSW(e);
|
||||
end
|
||||
|
||||
function Goblin11Death(e)
|
||||
GiantSW(e);
|
||||
end
|
||||
|
||||
function Giant1Death(e)
|
||||
BurynaiNW(e);
|
||||
end
|
||||
|
|
@ -361,7 +357,6 @@ function event_encounter_load(e)
|
|||
eq.register_npc_event("FMCycle", Event.death_complete, 92023, Goblin8Death);
|
||||
eq.register_npc_event("FMCycle", Event.death_complete, 92024, Goblin9Death);
|
||||
eq.register_npc_event("FMCycle", Event.death_complete, 92197, Goblin10Death);
|
||||
eq.register_npc_event("FMCycle", Event.death_complete, 92198, Goblin11Death);
|
||||
eq.register_npc_event("FMCycle", Event.death_complete, 92055, Giant1Death);
|
||||
eq.register_npc_event("FMCycle", Event.death_complete, 92030, Giant2Death);
|
||||
eq.register_npc_event("FMCycle", Event.death_complete, 92025, Giant3Death);
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
function event_say(e)
|
||||
if(e.message:findi("hail")) then
|
||||
e.self:Say("Ya wanna be a member a Da Bashers. duz ya? What making ya tink yooz is good nuff ta be one o' us? Can ya proves ta me why I shouldn't oughtta just eat yer smelly hide? I gonna tests ya. ya big. ugly peece o' meet. Ya [willin ta test] or duz I just eats ya now?");
|
||||
e.self:Say("Ya wanna be a member a Da Bashers, duz ya? What making ya tink yooz is good nuff ta be one o' us? Can ya proves ta me why I shouldn't oughtta just eat yer smelly hide? I gonna tests ya, ya big, ugly peece o' meet. Ya [willin ta test] or duz I just eats ya now?");
|
||||
elseif(e.message:findi("willin ta test")) then
|
||||
if(e.other:GetFactionValue(e.self) >= 100) then
|
||||
e.self:Say("Stoopid meat. I gonna eats ya anyways sumday. Brings me a froglok meat and two dem li'l froglok tadpole fleshes. Dey berry good.");
|
||||
|
|
@ -25,7 +25,7 @@ function event_trade(e)
|
|||
e.self:Say("You is berry slow. Me too hungry. Me shood eats you for being slow. Gib me dat stuff. Here, take dis and git more stuff fer us. You much kllin, come backs sees me. I teeches ya hows ta kill bedder. Now git and kill stuff. We be Da Bashers fer a reesun.");
|
||||
e.other:Faction(e.self,235,5,0); -- Da Basher
|
||||
e.other:Faction(e.self,222,-1,0); -- Broken Skull Clan
|
||||
e.other:QuestReward(e.self,0,0,0,0,eq.ChooseRandom(6022,6025,7014,5026,7015)); -- Item(s): Bronze Warhammer (6022), Bronze Warclub (6025), Bronze Spear (7014), Bronze Short Sword (5026), Bronze Main Gauche (7015)
|
||||
e.other:QuestReward(e.self,0,0,0,0,5025,100); -- Rusty Battle Axe
|
||||
end
|
||||
item_lib.return_items(e.self, e.other, e.trade)
|
||||
end
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ end
|
|||
function GnollSpawnEvent(e)
|
||||
e.self:PauseWandering(20);
|
||||
|
||||
if ( e.self:GetSpawnPointID() == 368619 ) then -- controller spawn; 12 minutes
|
||||
if ( e.self:GetSpawnPointID() == 368619 ) then -- controller spawn; 10 minutes
|
||||
|
||||
local roll = math.random(0, #GNOLL_SPAWNIDS);
|
||||
local spawnIDs = {};
|
||||
|
|
|
|||
16
lakerathe/Brother_Drash.lua
Normal file
16
lakerathe/Brother_Drash.lua
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
function event_say(e)
|
||||
if(e.message:findi("hail")) then
|
||||
if(e.other:GetFactionValue(e.self) >= 0) then
|
||||
e.self:Say("Follow path of life. Rodcet Nife is only true way.");
|
||||
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
|
||||
elseif(e.message:findi("hayle")) then
|
||||
if(e.other:GetFactionValue(e.self) >= 0) then
|
||||
e.self:Say("You know master? He is great man. Has been taken to cages in Paw. Must be saved. Help him. I cannot. Here is fire to light your way.");
|
||||
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
|
||||
end
|
||||
|
||||
|
|
@ -23,12 +23,18 @@ function event_trade(e)
|
|||
e.other:Faction(e.self,228,15); -- Clurg
|
||||
e.other:Faction(e.self,261,-15); -- Green Blood Knight
|
||||
e.other:QuestReward(e.self,0,0,0,0,13525,20);
|
||||
elseif(e.other:GetFactionValue(e.self) >= 0 and item_lib.check_turn_in(e.self, e.trade, {item1 = 13361})) then
|
||||
elseif(e.other:GetFactionValue(e.self) >= 100 and item_lib.check_turn_in(e.self, e.trade, {item1 = 13361})) then
|
||||
e.self:Say("One less trouble. Hunhuh!! You do good work. Keep up. Remember to bring any special things to Guntrik. Here junk for good work. Go away now.");
|
||||
e.other:Faction(e.self,232,15); -- Craknek Warrior
|
||||
e.other:Faction(e.self,228,2); -- Clurg
|
||||
e.other:Faction(e.self,261,-2); -- Green Blood Knight
|
||||
e.other:QuestReward(e.self,0,0,0,0,eq.ChooseRandom(5030,5037,6021),500);
|
||||
elseif(e.other:GetFactionValue(e.self) >= 100 and item_lib.check_turn_in(e.self, e.trade, {item1 = 18883})) then
|
||||
e.self:Say("Ooh! This where hunters stay. You must go to Rathe Mountains and find Drinn's Inn. Kill all. Bring owners' scalps back and me give good junk. You get more warriors to help. Say Guntrik command them. You will need all help you get.");
|
||||
e.other:Faction(e.self,232,2); -- Craknek Warrior
|
||||
e.other:Faction(e.self,228,1); -- Clurg
|
||||
e.other:Faction(e.self,261,-1); -- Green Blood Knight
|
||||
e.other:QuestReward(e.self,0,0,0,0,0,1000); -- Need rewards from live
|
||||
end
|
||||
item_lib.return_items(e.self, e.other, e.trade)
|
||||
end
|
||||
|
|
|
|||
6
oot/Euboea_Delewyn.lua
Normal file
6
oot/Euboea_Delewyn.lua
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
function event_signal(e)
|
||||
if(e.signal == 1) then
|
||||
e.self:Say("I shall never join you!! I would rather die.");
|
||||
eq.signal(69092,1); -- NPC: Zyle_Bensmill
|
||||
end
|
||||
end
|
||||
5
oot/Tegea_Prendyn.lua
Normal file
5
oot/Tegea_Prendyn.lua
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
function event_say(e)
|
||||
if(e.message:findi("hail")) then
|
||||
e.self:Say("Welcome to the isle of the Sisterhood of Erollisi. Please feel free to rest a while from your long boat ride. We sell provisions as well as some exotic drinks. You may also visit with our faithful dwarven smiths. Enjoy your visit.")
|
||||
end
|
||||
end
|
||||
12
oot/Zyle_Bensmill.lua
Normal file
12
oot/Zyle_Bensmill.lua
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
function event_waypoint_arrive(e)
|
||||
if(e.wp == 2) then
|
||||
e.self:Say("Join the Pirates of Gunthak, wench, or die!!");
|
||||
eq.signal(69022,1); -- NPC: Euboea_Delewyn
|
||||
end
|
||||
end
|
||||
|
||||
function event_signal(e)
|
||||
if(e.signal == 1) then
|
||||
e.self:Say("Foolish maiden!");
|
||||
end
|
||||
end
|
||||
|
|
@ -1,17 +1,25 @@
|
|||
function event_say(e)
|
||||
if(e.message:findi("hail")) then
|
||||
e.self:Say("Greetings and blessings to you, " .. e.other:GetCleanName() .. ". Karana offers you his protection and guidance. All who accept the offer shall find safe haven within our Temple of Thunder, If you are a cleric of Karana, you must have a [desire to serve Karana]'s flock.");
|
||||
elseif(e.message:findi("blessings to the flock") or e.message:findi("serve karana") or e.message:findi("hunt bandit binders")) then
|
||||
if(e.other:GetFaction(e.self) <= 4) then -- requires amiably
|
||||
if(e.message:findi("serve karana")) then
|
||||
e.self:Say("If you are a young acolyte, you may [deliver blessings to the flock] and if you are a skilled cleric, we need you to [hunt bandit binders].");
|
||||
elseif(e.message:findi("hunt bandit binders")) then
|
||||
e.self:Say("Go to the Plains of Karana and seek out the Karana Bandits. Among them can be found their bandit binders. They are healers of sorts. Which evil deity granted them this power is unknown to us. Each carries a binder spectacle. I shall reward clerics for every two returned spectacles. Perhaps a new power may even be bestowed.");
|
||||
elseif(e.message:findi("blessings to the flock")) then
|
||||
e.self:Say("Then go to the Plains of Karana. It is there that the blessings are needed. Ask every resident of the plains if they are followers of Karana. If they are, then ask them if they [require Karana's blessings]. Let them drink from this temple chalice. Return the empty chalice to me and you shall never go thirsty again.");
|
||||
e.other:SummonCursorItem(12103); -- Item: A Full Chalice
|
||||
end
|
||||
elseif(fac == 5) then
|
||||
elseif(e.message:findi("serve karana")) then
|
||||
if(e.other:GetFactionValue(e.self) >= 0) then
|
||||
e.self:Say("If you are a young acolyte, you may [deliver blessings to the flock] and if you are a skilled cleric, we need you to [hunt bandit binders].");
|
||||
else
|
||||
e.self:Say("You have proven yourself not only an enemy of the Knights of Thunder, but an enemy of Karana himself. Now leave, sewer rat!");
|
||||
end
|
||||
elseif(e.message:findi("deliver.* flock")) then
|
||||
if(e.other:GetFactionValue(e.self) >= 100) then
|
||||
e.self:Say("Then go to the Plains of Karana. It is there that the blessings are needed. Ask every resident of the plains if they are followers of Karana. If they are, then ask them if they [require Karana's blessings]. Let them drink from this temple chalice. Return the empty chalice to me and you shall never go thirsty again.");
|
||||
elseif(e.other:GetFactionValue(e.self) >= 0) then
|
||||
e.self:Say("Well, friend, the Temple of Thunder has recognized and appreciates your past deeds for us. But this matter is of vital importance to us and we need more proof of your devotion to our cause.");
|
||||
else
|
||||
e.self:Say("You have proven yourself not only an enemy of the Knights of Thunder, but an enemy of Karana himself. Now leave, sewer rat!");
|
||||
end
|
||||
elseif(e.message:findi("hunt.* binders")) then
|
||||
if(e.other:GetFactionValue(e.self) >= 250) then -- requires mid amiably
|
||||
e.self:Say("Go to the Plains of Karana and seek out the Karana Bandits. Among them can be found their bandit binders. They are healers of sorts. Which evil deity granted them this power is unknown to us. Each carries a binder spectacle. I shall reward clerics for every two returned spectacles. Perhaps a new power may even be bestowed.");
|
||||
e.other:SummonCursorItem(12103); -- Item: A Full Chalice
|
||||
elseif(e.other:GetFactionValue(e.self) >= 0) then
|
||||
e.self:Say("Well, friend, the Temple of Thunder has recognized and appreciates your past deeds for us. But this matter is of vital importance to us and we need more proof of your devotion to our cause.");
|
||||
else
|
||||
e.self:Say("You have proven yourself not only an enemy of the Knights of Thunder, but an enemy of Karana himself. Now leave, sewer rat!");
|
||||
|
|
@ -31,7 +39,7 @@ function event_trade(e)
|
|||
local item_lib =require("items");
|
||||
local text = "The bounty will not be paid until two spectacles are received.";
|
||||
|
||||
if(e.other:GetFaction(e.self) < 5 and item_lib.check_turn_in(e.self, e.trade, {item1 = 12104})) then
|
||||
if(e.other:GetFactionValue(e.self) >= 100 and item_lib.check_turn_in(e.self, e.trade, {item1 = 12104})) then
|
||||
e.self:Say("You have done a good service for the flock of Karana. Study the words upon this scroll and soon Karana shall keep you from thirst.");
|
||||
-- Confirmed Live Faction
|
||||
e.other:Faction(e.self,280,10,0); -- Faction: Knights of Thunder
|
||||
|
|
@ -39,7 +47,7 @@ function event_trade(e)
|
|||
e.other:Faction(e.self,341,7,0); -- Faction: Priests of Life
|
||||
e.other:Faction(e.self,262,7,0); -- Faction: Guards of Qeynos
|
||||
e.other:QuestReward(e.self,math.random(20),math.random(20),0,0,eq.ChooseRandom(15210,15207,15201),2000);
|
||||
elseif(e.other:GetFaction(e.self) < 5 and item_lib.check_turn_in(e.self, e.trade, {item1 = 12101,item2 = 12101},1,text)) then -- spectacle
|
||||
elseif(e.other:GetFactionValue(e.self) >= 250 and item_lib.check_turn_in(e.self, e.trade, {item1 = 12101,item2 = 12101},1,text)) then -- spectacle
|
||||
e.self:Say("Excellent work. These foul men have no right to be proficient in the ways of healing. Here then is your bounty. Use it in your continued war against the Karana bandits.");
|
||||
-- Confirmed Live Faction
|
||||
e.other:Faction(e.self,280,20,0); -- Faction: Knights of Thunder
|
||||
|
|
|
|||
|
|
@ -5,17 +5,17 @@ function event_death_complete(e)
|
|||
end
|
||||
if(rand == 2) then
|
||||
eq.spawn2(2176,0,0,e.self:GetX(),e.self:GetY(),e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(2176,0,0,e.self:GetX()+1,e.self:GetY()+1,e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(2176,0,0,e.self:GetX(),e.self:GetY(),e.self:GetZ(),e.self:GetHeading());
|
||||
end
|
||||
if(rand == 3) then
|
||||
eq.spawn2(2176,0,0,e.self:GetX(),e.self:GetY(),e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(2176,0,0,e.self:GetX()+1,e.self:GetY()+1,e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(2176,0,0,e.self:GetX()-1,e.self:GetY()-1,e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(2176,0,0,e.self:GetX(),e.self:GetY(),e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(2176,0,0,e.self:GetX(),e.self:GetY(),e.self:GetZ(),e.self:GetHeading());
|
||||
end
|
||||
if(rand == 4) then
|
||||
eq.spawn2(2176,0,0,e.self:GetX(),e.self:GetY(),e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(2176,0,0,e.self:GetX()+1,e.self:GetY()+1,e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(2176,0,0,e.self:GetX()-1,e.self:GetY()-1,e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(2176,0,0,e.self:GetX()-1,e.self:GetY()+1,e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(2176,0,0,e.self:GetX(),e.self:GetY(),e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(2176,0,0,e.self:GetX(),e.self:GetY(),e.self:GetZ(),e.self:GetHeading());
|
||||
eq.spawn2(2176,0,0,e.self:GetX(),e.self:GetY(),e.self:GetZ(),e.self:GetHeading());
|
||||
end
|
||||
end
|
||||
|
|
@ -31,7 +31,7 @@ function event_say(e)
|
|||
e.self:Say("There have been numerous muggings lately in Qeynos by corrupt guards. These guards are sworn to protect, server and uphold law in the city but all the do is break the law ten fold themselves. These corrupt individuals must be stopped. I have a [Silent Fist clan member] that I feel may be in trouble.");
|
||||
elseif(e.message:findi("silent fist clan member")) then
|
||||
e.self:Say("Konem Matse is my friend and mentor, he resides in Qeynos Hills providing security for the Sayers there. Lately though I have heard reports of guards demanding he pay them tax or else. This tax they speak of does not exist. I need you to go to the hills and help Konem. Rid the lands of these corrupt guards and bring me their heads as proof. I will also need 1 High Quality Gnoll Fur for a tailoring project I have been working on. Return to me with these items and you will be rewarded for your troubles.");
|
||||
elseif(e.message:findi("who is tomer")) then
|
||||
elseif(e.message:findi("who.* tomer")) then
|
||||
e.self:Say("Oh, Tomer? We haven't heard from him in days, I'm really starting to worry. . . We need to have someone go [find him].");
|
||||
elseif(e.message:findi("find him")) then
|
||||
if(e.other:GetFaction(e.self) <= 5) then -- requires indifferent faction
|
||||
|
|
@ -39,7 +39,7 @@ function event_say(e)
|
|||
else
|
||||
e.self:Say("Your previous actions disgust me. Our guild will have nothing to do with the likes of you. Now, please, leave us be!");
|
||||
end
|
||||
elseif(e.message:findi("found tomer")) then
|
||||
elseif(e.message:findi("found tomer") or e.message:findi("brought tomer")) then
|
||||
e.self:Say("Great work " .. e.other:GetCleanName() .. ", we thought that was the last we'd seen of young Tomer.");
|
||||
eq.signal(2030,1);
|
||||
end
|
||||
|
|
|
|||
|
|
@ -13,14 +13,14 @@ function event_say(e)
|
|||
end
|
||||
elseif(e.message:findi("dogs") or e.message:findi("mutts")) then
|
||||
e.self:Say("It's those Darkpaws.. They've beat me pretty badly.. but they'll get theirs soon enough!");
|
||||
elseif(e.message:findi("Silent Fist Clan")) then
|
||||
elseif(e.message:findi("silent.* clan")) then
|
||||
e.self:Say("I am a new member of the Silent Fist Clan.. I need someone from my guild to help me find my way back.");
|
||||
elseif(e.message:findi("Seta sent me to find you")) then
|
||||
elseif(e.message:findi("seta.* find you")) then
|
||||
e.self:Say("Oh.. Thank goodness you found me.. I'm lost and weak, those [mutts] are a vicious lot.. an you carry my [backpack] for me?");
|
||||
elseif(e.message:findi("carry your backpack")) then
|
||||
elseif(e.message:findi("carry.* backpack")) then
|
||||
e.self:Say("Thank you, friend.. Now, can you lead me back to Master Seta of the [Silent Fist Clan]? ");
|
||||
e.other:SummonCursorItem(13769); -- Ruined Backpack
|
||||
elseif(e.other:GetFaction(e.self) <= 5 and e.message:findi("lead you back")) then
|
||||
elseif(e.other:GetFaction(e.self) <= 5 and e.message:findi("lead.* seta")) then
|
||||
e.self:Say("Lead the way, and I shall follow. When we make it back, please inform Seta that you have rescued me.");
|
||||
eq.stop();
|
||||
eq.follow(e.other:GetID());
|
||||
|
|
|
|||
7
sebilis/a_fallen_iksar_master.lua
Normal file
7
sebilis/a_fallen_iksar_master.lua
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
function event_spawn(e)
|
||||
eq.set_timer("depop",1200000);
|
||||
end
|
||||
|
||||
function event_timer(e)
|
||||
eq.depop();
|
||||
end
|
||||
5
skyshrine/Ahcaz.lua
Normal file
5
skyshrine/Ahcaz.lua
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
function event_say(e)
|
||||
if(e.message:findi("hail")) then
|
||||
e.self:Say("I am preparing for my meeting. Please come back another time, " .. e.other:Race() .. ".");
|
||||
end
|
||||
end
|
||||
5
skyshrine/Chymot.lua
Normal file
5
skyshrine/Chymot.lua
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
function event_say(e)
|
||||
if(e.message:findi("hail")) then
|
||||
e.self:Say("Yes, " .. e.other:Race() .. "?");
|
||||
end
|
||||
end
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
function event_say(e)
|
||||
if(e.message:findi("hail")) then
|
||||
e.self:Say("Ah, welcome stranger. Perhaps I could interest you in one of my famous Boysenberry pies, the delight of Sky Shrine.");
|
||||
e.self:Say("Hello stranger, what was your name? Ahh good to meet you, " .. e.other:GetCleanName() .. ", I am Grudash the Baker. We do not get many strangers to these parts. Some of those that we have had here turned out to be more trouble than they were worth, so you may encounter a few negative reactions. Not from me though, you look like honest folk and perhaps paying customers, so I will give you a chance. Watch your step around Halcix there, he seems a might hungry today. He already finished off at least a dozen of my Boysenberry pies. He has what you would call, a very voracious appetite.");
|
||||
if(eq.get_entity_list():IsMobSpawnedByNpcTypeID(114496)) then
|
||||
eq.get_entity_list():GetMobByNpcTypeID(114496):Say("Hah! Whatever Grudash. You know that my Roasted Walrus in Plum Sauce is better. You just don't want to admit it.");
|
||||
e.self:Say("Why would I admit to such a lie? Everyone loves my pies. I rarely see anyone come in here asking for your Roasted Walrus.");
|
||||
|
|
|
|||
5
skyshrine/Guardian_Laigyr.lua
Normal file
5
skyshrine/Guardian_Laigyr.lua
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
function event_say(e)
|
||||
if(e.message:findi("hail")) then
|
||||
e.self:Say("The Guardians' sole purpose is to protect the shrine and all creatures that dwell here.");
|
||||
end
|
||||
end
|
||||
5
skyshrine/Guardian_Llomed.lua
Normal file
5
skyshrine/Guardian_Llomed.lua
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
function event_say(e)
|
||||
if(e.message:findi("hail")) then
|
||||
e.self:Say("I would step carefully if you decide to travel further into the shrine. The Laoch are a very powerful group and do not take kindly to hostile actions towards them.");
|
||||
end
|
||||
end
|
||||
5
skyshrine/Guardian_Lyaric.lua
Normal file
5
skyshrine/Guardian_Lyaric.lua
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
function event_say(e)
|
||||
if(e.message:findi("hail")) then
|
||||
e.self:Emote('grumbles and sighs "They always have me watch the dead end hallway. Nothing exciting ever happens here.');
|
||||
end
|
||||
end
|
||||
5
skyshrine/Guardian_Noit.lua
Normal file
5
skyshrine/Guardian_Noit.lua
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
function event_say(e)
|
||||
if(e.message:findi("hail")) then
|
||||
e.self:Say("We've been posted here to make sure the giants do not invade from the cobalt scar.");
|
||||
end
|
||||
end
|
||||
5
skyshrine/Guardian_Salgor.lua
Normal file
5
skyshrine/Guardian_Salgor.lua
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
function event_say(e)
|
||||
if(e.message:findi("hail")) then
|
||||
e.self:Say("Perhaps when my shift is over we can talk. But not now I am sorry.");
|
||||
end
|
||||
end
|
||||
5
skyshrine/Guardian_Salva.lua
Normal file
5
skyshrine/Guardian_Salva.lua
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
function event_say(e)
|
||||
if(e.message:findi("hail")) then
|
||||
e.self:Emote("does not respond to your greeting.");
|
||||
end
|
||||
end
|
||||
5
skyshrine/Guardian_Tion.lua
Normal file
5
skyshrine/Guardian_Tion.lua
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
function event_say(e)
|
||||
if(e.message:findi("hail")) then
|
||||
e.self:Say("Move along, do not disturb my watch.");
|
||||
end
|
||||
end
|
||||
5
skyshrine/Lyphor.lua
Normal file
5
skyshrine/Lyphor.lua
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
function event_say(e)
|
||||
if(e.message:findi("hail")) then
|
||||
e.self:Say("Please keep your voice down, " .. e.other:Race() .. ". I cannot concentrate with you making all that racket.");
|
||||
end
|
||||
end
|
||||
5
skyshrine/Merec.lua
Normal file
5
skyshrine/Merec.lua
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
function event_say(e)
|
||||
if(e.message:findi("hail")) then
|
||||
e.self:Say("Hah! Can you beleve Osino is trying to teach his pet to sit!");
|
||||
end
|
||||
end
|
||||
5
skyshrine/Osino.lua
Normal file
5
skyshrine/Osino.lua
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
function event_say(e)
|
||||
if(e.message:findi("hail")) then
|
||||
e.self:Say("Can you not see I'm trying to teach my pet to sit. Now go away before you distract it further!");
|
||||
end
|
||||
end
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
function event_say(e)
|
||||
if(e.message:findi("hail")) then
|
||||
e.self:Say("Hey there stranger, pleased to meet you. I'm Ruru, I do the cooking around here. I'm the best cook around these parts. So, if you get hungry, you'd best be making sure you're coming to see me.");
|
||||
e.self:Say("A stranger? Hmm. Well since you are new to these parts, I will introduce myself. I am Ruru, I do the cooking around here. Best cook in all the lands I would say.");
|
||||
if(eq.get_entity_list():IsMobSpawnedByNpcTypeID(114467)) then
|
||||
eq.get_entity_list():GetMobByNpcTypeID(114467):Emote("laughs, 'I'm sure they'd prefer my Boysenberry pie to your Roasted Walrus with Plum Sauce any day.'");
|
||||
e.self:Emote("laughs, 'Don't get me started. You know that my cuisine Is prefered over yours two to one.'");
|
||||
|
|
|
|||
5
skyshrine/Sentry_Hubniq.lua
Normal file
5
skyshrine/Sentry_Hubniq.lua
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
function event_say(e)
|
||||
if(e.message:findi("hail")) then
|
||||
e.self:Say("Move along stranger, I have no time to chatter with you.");
|
||||
end
|
||||
end
|
||||
5
skyshrine/Sentry_Plaxgc.lua
Normal file
5
skyshrine/Sentry_Plaxgc.lua
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
function event_say(e)
|
||||
if(e.message:findi("hail")) then
|
||||
e.self:Say("Beware the cubes. They have gotten a very hostile since the new arrivals.");
|
||||
end
|
||||
end
|
||||
5
skyshrine/Yaced.lua
Normal file
5
skyshrine/Yaced.lua
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
function event_say(e)
|
||||
if(e.message:findi("hail")) then
|
||||
e.self:Say("Hello, " .. e.other:Race() .. ", I do not have time to speak to you today. I'm sorry.");
|
||||
end
|
||||
end
|
||||
5
skyshrine/Zynil.lua
Normal file
5
skyshrine/Zynil.lua
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
function event_say(e)
|
||||
if(e.message:findi("hail")) then
|
||||
e.self:Say("Could you perhaps go pester someone else, " .. e.other:Race() .. "?");
|
||||
end
|
||||
end
|
||||
5
skyshrine/a_large_velium_statue.lua
Normal file
5
skyshrine/a_large_velium_statue.lua
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
function event_say(e)
|
||||
if(e.message:findi("hail")) then
|
||||
e.self:Emote("there is no response from this huge statue.");
|
||||
end
|
||||
end
|
||||
16
southkarana/Brother_Drash.lua
Normal file
16
southkarana/Brother_Drash.lua
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
function event_say(e)
|
||||
if(e.message:findi("hail")) then
|
||||
if(e.other:GetFactionValue(e.self) >= 0) then
|
||||
e.self:Say("Follow path of life. Rodcet Nife is only true way.");
|
||||
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
|
||||
elseif(e.message:findi("hayle")) then
|
||||
if(e.other:GetFactionValue(e.self) >= 0) then
|
||||
e.self:Say("You know master? He is great man. Has been taken to cages in Paw. Must be saved. Help him. I cannot. Here is fire to light your way.");
|
||||
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
|
||||
end
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue