Skip to content
This repository has been archived by the owner on Feb 5, 2025. It is now read-only.

Commit

Permalink
mmore
Browse files Browse the repository at this point in the history
  • Loading branch information
catapultam-habeo committed Jan 15, 2025
1 parent 7078e67 commit 21cd695
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 60 deletions.
6 changes: 4 additions & 2 deletions felwitheb/Niola_Impholder.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ end
function event_trade(e)
local item_lib = require("items");

if(item_lib.check_turn_in(e.trade, {item1 = 13068,item2 = 13068,item3 = 13068,item4 = 13068})) then
while item_lib.check_turn_in(e.trade, {item1 = 13068,item2 = 13068,item3 = 13068,item4 = 13068}) do
e.self:Say("Ah yes. These are exactly what I need. Thank you very much.");
e.other:SummonItem(eq.ChooseRandom(15310,15332)); -- Item(s): Spell: Flare (15310), Spell: Shield of Fire (15332)
e.other:Ding();
Expand All @@ -37,7 +37,9 @@ function event_trade(e)
e.other:Faction(246,1,0); -- Faction: Faydarks Champions
e.other:Faction(239,-1,0); -- Faction: The Dead
e.other:AddEXP(40);
elseif(item_lib.check_turn_in(e.trade, {item1 = 18777})) then -- Enrollment Letter
end

if(item_lib.check_turn_in(e.trade, {item1 = 18777})) then -- Enrollment Letter
e.self:Say("Welcome. I am Niola Impholder. Master Magician of the Keepers of the Art. Here is our guild tunic. Once you are ready to begin your training please make sure that you see Yuin Starchaser, he can assist you in developing your hunting and gathering skills. Return to me when you have become more experienced in our art, I will be able to further instruct you on how to progress through your early ranks, as well as in some of the various [trades] you will have available to you.");
e.other:SummonItem(13592); -- Faded Training Robe*
e.other:Ding();
Expand Down
2 changes: 1 addition & 1 deletion fieldofbone/Trooper_Mozo.pl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ sub EVENT_SAY {

sub EVENT_ITEM {
#Handin: 4x Bone chips
if(plugin::check_handin(\%itemcount, 13073 => 4)){
while (plugin::check_handin(\%itemcount, 13073 => 4)) {
#Bone Chips (fieldofbone)(END)
quest::emote("gasp's in astonishment.");
quest::say("Wha...? This!! But... I... Why you... I oughta.. All right!! A bet is a bet. Here you go. A few silver piece's for your achievement. What?!! You thought I would give you ten? Fat chance! Now get lost or I will haul you in for impersonating a froglok.");
Expand Down
23 changes: 10 additions & 13 deletions freportw/Pandos_Flintside.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,19 @@ function event_trade(e)
muffin = 3;
elseif(item_lib.check_turn_in(e.trade, {item1 = 13014,item2 = 13014})) then
muffin = 2;
elseif(item_lib.check_turn_in(e.trade, {item1 = 13014})) then
elseif() then
muffin = 1;
end

if(muffin > 0) then
repeat
e.self:Say("Mmmm. This smells delicious. Oh great!! No milk!! Don't you have any sense?! Just tell me the name of the bakery and I will run and get it myself. I am sure Lady Shae will be safe.");
e.other:Ding();
e.other:Faction(226,1,0); -- Clerics of Tunare
e.other:Faction(246,1,0); -- Faydark's Champions
e.other:Faction(279,1,0); -- King Tearis Thex
e.other:Faction(310,1,0); -- Soldiers of Tunare
e.other:Faction(234,-1,0); -- Crushbone Orcs
e.other:AddEXP(10);
muffin = muffin - 1;
until muffin == 0
while item_lib.check_turn_in(e.trade, {item1 = 13014}) do
e.self:Say("Mmmm. This smells delicious. Oh great!! No milk!! Don't you have any sense?! Just tell me the name of the bakery and I will run and get it myself. I am sure Lady Shae will be safe.");
e.other:Ding();
e.other:Faction(226,1,0); -- Clerics of Tunare
e.other:Faction(246,1,0); -- Faydark's Champions
e.other:Faction(279,1,0); -- King Tearis Thex
e.other:Faction(310,1,0); -- Soldiers of Tunare
e.other:Faction(234,-1,0); -- Crushbone Orcs
e.other:AddEXP(10);
end
item_lib.return_items(e.self, e.other, e.trade)
end
Expand Down
33 changes: 10 additions & 23 deletions highkeep/Captain_Bosec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,29 +13,16 @@ function event_trade(e)
local ear = 0;
local item_lib =require("items");

if(item_lib.check_turn_in(e.trade, {item1 = 13790,item2 = 13790,item3 = 13790,item4 = 13790})) then
ear = 4;
elseif(item_lib.check_turn_in(e.trade, {item1 = 13790,item2 = 13790,item3 = 13790})) then
ear = 3;
elseif(item_lib.check_turn_in(e.trade, {item1 = 13790,item2 = 13790})) then
ear = 2;
elseif(item_lib.check_turn_in(e.trade, {item1 = 13790})) then
ear = 1;
end

if(ear > 0) then
repeat
e.self:Say("Well done! We could really use the extra help around here.");
e.other:Ding();
e.other:Faction(332,2,0); -- Faction: Highpass Guards
e.other:Faction(329,1,0); -- Faction: Carson McCabe
e.other:Faction(331,1,0); -- Faction: Merchants of Highpass
e.other:Faction(230,1,0); -- Faction: Corrupt Qeynos Guards
e.other:Faction(330,1,0); -- Faction: The Freeport Militia
e.other:AddEXP(30);
e.other:GiveCash(3,3,4,0);
ear = ear - 1;
until ear == 0
while item_lib.check_turn_in(e.trade, {item1 = 13790}) then
e.self:Say("Well done! We could really use the extra help around here.");
e.other:Ding();
e.other:Faction(332,2,0); -- Faction: Highpass Guards
e.other:Faction(329,1,0); -- Faction: Carson McCabe
e.other:Faction(331,1,0); -- Faction: Merchants of Highpass
e.other:Faction(230,1,0); -- Faction: Corrupt Qeynos Guards
e.other:Faction(330,1,0); -- Faction: The Freeport Militia
e.other:AddEXP(30);
e.other:GiveCash(3,3,4,0);
end
item_lib.return_items(e.self, e.other, e.trade)
end
30 changes: 9 additions & 21 deletions qeynos/Captain_Tillin.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,6 @@ function event_trade(e)

local item_lib = require("items");

-- Gnoll Fangs
if item_lib.check_turn_in(e.trade, {item1 = 13915, item2 = 13915, item3 = 13915, item4 = 13915}) then
fang = 4;
elseif item_lib.check_turn_in(e.trade, {item1 = 13915, item2 = 13915, item3 = 13915}) then
fang = 3;
elseif item_lib.check_turn_in(e.trade, {item1 = 13915, item2 = 13915}) then
fang = 2;
elseif item_lib.check_turn_in(e.trade, {item1 = 13915}) then
fang = 1;
elseif item_lib.check_turn_in(e.trade, {item1 = 18815}) then -- Item: Tattered Note
e.self:Say("I heard you were on your way. I have called for the state [executioner]. She should be on her way now. She will deal with our friend, McNeal Jocub. Thank you for your help, citizen.");
e.other:Faction(262,40,0); -- Faction: Guards of Qeynos
Expand All @@ -50,18 +41,15 @@ function event_trade(e)
e.other:SummonItem(8287); -- Item: Orders for Sergeant Caelin
end

if fang > 0 then
repeat
e.self:Say("Very good! One less gnoll the people of Qeynos need to fear. Here is your bounty as promised.");
e.other:QuestReward(e.self,{exp = 1000});
e.other:Faction(262,3); -- Faction: Guards of Qeynos
e.other:Faction(219,1); -- Faction: Antonius Bayle
e.other:Faction(230,-1); -- Faction: Corrupt Qeynos Guards
e.other:Faction(223,-1); -- Faction: Circle of Unseen Hands
e.other:Faction(291,1); -- Faction: Merchants of Qeynos
e.other:SummonItem(10070); -- Item: Moonstone
fang = fang - 1;
until fang == 0
while item_lib.check_turn_in(e.trade, {item1 = 13915}) do
e.self:Say("Very good! One less gnoll the people of Qeynos need to fear. Here is your bounty as promised.");
e.other:QuestReward(e.self,{exp = 1000});
e.other:Faction(262,3); -- Faction: Guards of Qeynos
e.other:Faction(219,1); -- Faction: Antonius Bayle
e.other:Faction(230,-1); -- Faction: Corrupt Qeynos Guards
e.other:Faction(223,-1); -- Faction: Circle of Unseen Hands
e.other:Faction(291,1); -- Faction: Merchants of Qeynos
e.other:SummonItem(10070); -- Item: Moonstone
end

item_lib.return_items(e.self, e.other, e.trade)
Expand Down

0 comments on commit 21cd695

Please sign in to comment.