fix POM errors @ turnin quests

This commit is contained in:
proxeeus 2023-07-30 21:50:40 +02:00
parent 56ae2d7277
commit d1dfe28302
9 changed files with 10 additions and 10 deletions

View file

@ -11,7 +11,7 @@ end
function event_trade(e)
local item_lib = require("items");
if(item_lib.check_turn_in(e.self, e.trade, {item1 = 24565})) then --Check for White Squire
if(item_lib.check_turn_in(e.trade, {item1 = 24565})) then --Check for White Squire
local reward = math.random(1,10);
e.self:Say("You have found it!! Thank Tunare! I apologize for my rude behaviour. These tunnels twist and bend my very thoughts. Perhaps this will assist you in your escape from this cruel joke Fizzlethorpe has been playing with our minds. I thank you friend.");
e.other:SummonItem(13073,reward); --random amount of bone chips rewarded

View file

@ -12,7 +12,7 @@ end
function event_trade(e)
local item_lib = require("items");
if(item_lib.check_turn_in(e.self, e.trade, {item1 = 24553})) then --Check for Black Squire
if(item_lib.check_turn_in(e.trade, {item1 = 24553})) then --Check for Black Squire
local reward = math.random(1,10);
e.self:Say("You have found it!! Thank Innoruuk! I am sorry that you had to witness my moment of weakness. These tunnels twist and bend my very thoughts. Perhaps this trinket will assist you in your journey. I pray to the lord of hate that you find this madman and put an end to this insanity.");
e.other:SummonItem(10028,reward); --random amount of peridots rewarded

View file

@ -4,7 +4,7 @@
function event_trade(e)
local item_lib = require("items");
if(item_lib.check_turn_in(e.self, e.trade, {item1 = 18008})) then --Check for Words of Wealth (Combined)
if(item_lib.check_turn_in(e.trade, {item1 = 18008})) then --Check for Words of Wealth (Combined)
e.other:QuestReward(e.self,0,0,0,0,17326,100); -- Pot of Gold
e.self:QuestSay(e.other, "Ay!!! this is poifect! 'ere take this pot o' gold. It's empty at the moment. Go ask my brother Vinny about the pot and mebbe he'll have a clue how ta get it full agin.");
end

View file

@ -6,7 +6,7 @@
function event_trade(e)
local item_lib = require("items");
if(item_lib.check_turn_in(e.self, e.trade, {item1 = 6883})) then --Check for a rabbit foot
if(item_lib.check_turn_in(e.trade, {item1 = 6883})) then --Check for a rabbit foot
e.self:QuestSay(e.other,"Oh wow! A rabbits foot!! Thank you so much. Here take this, I won't need this smelly thing any more.");
e.other:QuestReward(e.self,0,0,0,0,3190,100); -- Ivy Etched Gauntlets
e.other:Faction(391,51); -- +51 to Denizens of Mischief Faction

View file

@ -6,12 +6,12 @@
function event_trade(e)
local item_lib = require("items");
if(item_lib.check_turn_in(e.self, e.trade, {item1 = 1791})) then --Check for King Cod Card
if(item_lib.check_turn_in(e.trade, {item1 = 1791})) then --Check for King Cod Card
e.self:Emote("smirks"); --PLACEHOLDER - NEED QUEST DIALOG IF ANY EXISTS
e.other:QuestReward(e.self,0,0,0,0,17054,100); -- Deck of Spontaneous Generation
end
if (item_lib.check_turn_in(e.self, e.trade, {item1 = 1787, item2 = 1788, item3 = 1789, item4 = 1790})) then --REQUIRES 4 COLORED COD CARDS
if (item_lib.check_turn_in(e.trade, {item1 = 1787, item2 = 1788, item3 = 1789, item4 = 1790})) then --REQUIRES 4 COLORED COD CARDS
e.self:Emote("smirks"); --PLACEHOLDER - NEED QUEST DIALOG IF ANY EXISTS
e.other:QuestReward(e.self,0,0,0,0,17054,100); -- Deck of Spontaneous Generation
end

View file

@ -7,7 +7,7 @@
function event_trade(e)
local item_lib = require("items");
if (item_lib.check_turn_in(e.self, e.trade, {item1 = 9504, item2 = 9504})) then --REQUIRES 2 FUNNY MONEY
if (item_lib.check_turn_in(e.trade, {item1 = 9504, item2 = 9504})) then --REQUIRES 2 FUNNY MONEY
local gift = eq.ChooseRandom(9505,9506,9507,9508,9509,9511,9512,9513,6877);
e.other:QuestReward(e.self,0,0,0,0,gift,100); -- Provides Class gift box or Frostmaiden's Idol
e.self:Emote("reaches into her satchel and pulls out a small box.");

View file

@ -14,7 +14,7 @@ end
function event_trade(e)
local item_lib = require("items");
if(item_lib.check_turn_in(e.self, e.trade, {item1 = 9510})) then --Check for Library Card
if(item_lib.check_turn_in(e.trade, {item1 = 9510})) then --Check for Library Card
e.self:Say("Ahh, you brought your card. Let's see here. " .. e.other:GetName() .. ", is it? Here's the only book we have stocked at the moment. It's missing the chapter on wealth but there's an excellent story about melting your clothing in a pot on page 11. It's a one of a kind story written completely in invisible ink. Enjoy!");
e.other:QuestReward(e.self,0,0,0,0,17325,100); --Book of Mischief
end

View file

@ -26,7 +26,7 @@ end
function event_trade(e) -- BASED ON TLP PROGRESSION SERVERS
local item_lib = require("items");
if(item_lib.check_turn_in(e.self, e.trade, {item1 = 6876})) then --Check for lucky skunk's foot
if(item_lib.check_turn_in(e.trade, {item1 = 6876})) then --Check for lucky skunk's foot
e.self:QuestSay(e.other,"Nice work kid. Now I'm feelin lucky. So's ya say ya wanna learn about cards right? Lemme tell ya. Them cards are nice but lets have some REAL fun. Yer resourceful, I like that. What say we take over this joint fer ourselves? Ol' Bristle's gettin soft, ya know? Wadda ya say? [" .. eq.say_link("Man") .. "] or mouse?");
e.other:AddEXP(500);
end

View file

@ -15,7 +15,7 @@ end
function event_trade(e)
local item_lib = require("items");
if(item_lib.check_turn_in(e.self, e.trade, {item1 = 22856})) then --Check for Lithiniath's Horn
if(item_lib.check_turn_in(e.trade, {item1 = 22856})) then --Check for Lithiniath's Horn
e.self:QuestSay(e.other,"Oh wow! A rabbits foot!! Thank you so much. Here take this, I won't need this smelly thing any more.");
e.other:QuestReward(e.self,0,0,0,0,24869,100); -- Crest of the Unicorns
eq.depop_with_timer();