quest error fix and faction req fix (Elroz)

typo fix (Elroz)
This commit is contained in:
regneq 2023-10-04 09:41:43 -07:00
parent a1579ebaba
commit 7721d78ed2
3 changed files with 34 additions and 13 deletions

25
grobb/##a_skeleton.lua Normal file
View file

@ -0,0 +1,25 @@
function event_say(e)
if(e.message:findi("hail")) then
e.self:Say("Here I stand high and above, a minstrel supreme, my words offer love. Love between all, troll and ogre alike. I sing to all, except Tabaz, so take a hike!");
elseif(e.message:findi("back to the closet")) then
if(e.other:GetFactionValue(e.self) >= 200) then -- requires mid amiably
e.self:Say("Back to the closet?! Not until I can get an instrument. You get me... hmm, I know. Get me a lizardman scout fife. Not just one, but four. Then my friends can also play along with me. Do this and I promise you I shall return.");
elseif(e.other:GetFactionValue(e.self) >= 0) then
e.self:Say("You're going to have to prove yourself a stronger aid to my masters, the Darkones.");
else
e.self:Say("I would like to assist you, but my masters say you are no friend of the Darkones and would rather see you dead.");
end
end
end
function event_trade(e)
local item_lib =require("items");
local text = "I want FOUR lizardman scout fifes.";
if(e.other:GetFactionValue(e.self) >= 200 and item_lib.check_turn_in(e.self, e.trade, {item1 = 12198, item2 = 12198, item3 = 12198, item4 = 12198},1,text)) then --Lizardman Scout Fife
e.self:Say("All right! I was kinda hoping the lizards would finish you off and I could stay free, but a deal is a deal. Let's go.");
e.other:QuestReward(e.self,0,0,0,0,12216,25); --The Minstrel
eq.depop();
end
item_lib.return_items(e.self, e.other, e.trade)
end

View file

@ -73,7 +73,7 @@ function event_trade(e)
e.other:Faction(e.self,293, 1); -- Miner's Guild 249
e.other:Faction(e.self,290, 2); -- Merchants of Kaladim
e.other:Faction(e.self,232, -2); -- Craknek Warriors
e.other:QuestReward(e.self,0,0,math.random(5),0,0,eq.ChooseRandom(13036,1051,13003,13002,10015,13009),4200); -- verified live xp
e.other:QuestReward(e.self,0,0,math.random(5),0,eq.ChooseRandom(13036,1051,13003,13002,10015,13009),4200); -- verified live xp
elseif(e.other:GetFactionValue(e.self) >= 100 and item_lib.check_turn_in(e.self, e.trade, {item1 = 13282})) then -- Scrap Metal
e.self:Say("I thank you, my friend. I was to destroy this metal monster months ago. I could never find him. Please accept this reward for such good service. Oh yes.. And take this card to a man named [Doran Vargnus]. He is a fine blacksmith. I am sure he will reward you with one of his finest suits of armor. Perhaps you may now assist in an [important Stormguard matter].");
e.other:Faction(e.self,312, 20); -- Storm Guard

View file

@ -24,19 +24,15 @@ function event_trade(e)
local item_lib = require("items");
local text = "I instructed you to return with no fewer than four pawn picks!";
if(e.other:GetFactionValue(e.self) >= 100) then
if(item_lib.check_turn_in(e.self, e.trade, {item1 = 13885, item2 = 13885, item3 = 13885, item4 = 13885},1,text)) then
e.self:Say("So you have done your part to serve the King. As instructed, I shall reward your good deed. But I choose to reward you with provisions from the pantries of Neriak. They shall keep you strong.");
e.other:Faction(e.self,270,10); -- +Indigo Brotherhood
e.other:Faction(e.self,326,-1); -- -Emerald Warriors
e.other:Faction(e.self,311,-1); -- -Steel Warriors
e.other:Faction(e.self,1522,-20); -- Primordial Malice
e.other:QuestReward(e.self,0,5,2,0,eq.ChooseRandom(13022,13021),1000); -- Neriak Nectar, Rotgrub Rye
end
item_lib.return_items(e.self, e.other, e.trade)
else
e.self:Say("Go! Return when you have done more to serve the Indigo Brotherhood of Neriak. Fewer Leatherfoot Raiders in Nektulos and a few Leatherfoot skullcaps in the palms of Master Narex shall prove your true warrior nature and loyalty to our house.");
if(e.other:GetFactionValue(e.self) >= 100 and item_lib.check_turn_in(e.self, e.trade, {item1 = 13885, item2 = 13885, item3 = 13885, item4 = 13885},1,text)) then
e.self:Say("So you have done your part to serve the King. As instructed, I shall reward your good deed. But I choose to reward you with provisions from the pantries of Neriak. They shall keep you strong.");
e.other:Faction(e.self,270,10); -- +Indigo Brotherhood
e.other:Faction(e.self,326,-1); -- -Emerald Warriors
e.other:Faction(e.self,311,-1); -- -Steel Warriors
e.other:Faction(e.self,1522,-20); -- Primordial Malice
e.other:QuestReward(e.self,0,5,2,0,eq.ChooseRandom(13022,13021),1000); -- Neriak Nectar, Rotgrub Rye
end
item_lib.return_items(e.self, e.other, e.trade)
end