EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Submissions (https://www.eqemulator.org/forums/forumdisplay.php?f=634)
-   -   Astaed Wemor Good Sisters Quest Turnin Fix (https://www.eqemulator.org/forums/showthread.php?t=39339)

Riklin 02-09-2015 10:21 PM

Astaed Wemor Good Sisters Quest Turnin Fix
 
In this low level quest, you run around, then get a note to turn in to Astaed Wemor. You are supposed to be able to do this with a faction of indifferent or greater. You turn it in and he takes it but does not say anything, so I looked at the lua code... The very minor correction is to change the "if (fac <= 3) then" to "if (fac >= 3) then" Works perfectly now...

Code:

function event_say(e)
        local fac = e.other:GetFaction(e.self);

        if(e.message:findi("hail")) then
                e.self:Say("Greetings. I am Astaed Wemor of the Paladins of the Temple of Life. We are the defenders of the all-giving Prime Healer.  Are you [here to pray] or are you [here to assist the temple]?");
        elseif(e.message:findi("here to pray")) then
                e.self:Say("Then pray long and silently, " .. e.other:GetName() .. ".  Fill your soul with the breath of life.");
        elseif(e.message:findi("hassist the temple")) then
                e.self:Say("Good.  There are a few in the congregation who require assistance.  Will you be [traveling afar] or are you [staying close to Qeynos]?");
        elseif(e.message:findi("traveling afar")) then
                if (fac <= 3) then
                        e.self:Say("Then outfit yourself well. We will require you to visit Rivervale, the village of the halflings. There you shall find an herb merchant named Kizzie Mintopp. She has an ingredient we require. Tell her you are from the Temple of Life");
                else
                        e.self:Say("I do not dislike you, but I cannot fully trust one who has yet to prove his service to the Prime Healer.  Perhaps you can assist us in ridding the land of diseased animals.  Priestess Caulria will accept all pelts from rabid beasts.");
                end
        elseif(e.message:findi("staying close to qeynos")) then
                if (fac <= 3) then
                        e.self:Say("Then you can help with one of our distraught members. The priests have noticed that Nerissa Clothspinner has been a little down lately. Go console her and ask her how she is doing. She is a sweet girl and the temple is worried about her.");
                else
                        e.self:Say("I do not dislike you, but I cannot fully trust one who has yet to prove his service to the Prime Healer.  Perhaps you can assist us in ridding the land of diseased animals.  Priestess Caulria will accept all pelts from rabid beasts.");
                end
        end
end

function event_trade(e)
        local item_lib = require("items");
        local fac = e.other:GetFaction(e.self);

        if(item_lib.check_turn_in(e.trade, {item1 = 18862})) then
                if (fac >= 3) then
                        e.self:Say("So you have helped Nerissa. That is good. Here, then, is a small reward. May you find it useful. Keep fighting the good fight!");
                        e.other:SummonItem(ChooseRandom(26022,26023,26024,26025));
                        e.other:Ding();
                        e.other:Faction(257,1,0);
                        e.other:Faction(183,1,0);
                        e.other:Faction(135,1,0);
                        e.other:Faction(21,-1,0);
                        e.other:Faction(9,1,0);
                        e.other:AddEXP(4000);
                        e.other:GiveCash(0,7,12,0);
                end
        elseif(item_lib.check_turn_in(e.trade, {item1 = 13952})) then
                e.self:Say("I pray to Rodcet Nife that you have made it back in time. Let's add a small amount of this honey jum to this and.. here is the potion. This potion must be taken to a sick member of the congregation. The man is Lempeck Hargrin. He lives in the west plains of Karana between the river and the crop fields. He is in dire need of this potion. He has an odd disease. We have tried everything to cure him and this is his last chance. Run to him.");
                e.other:SummonItem(13954);
                e.other:Ding();
                e.other:Faction(257,30,0);
                e.other:Faction(183,30,0);
                e.other:Faction(135,10,0);
                e.other:Faction(21,-10,0);
                e.other:Faction(9,10,0);
                e.other:AddEXP(1000);
                e.other:GiveCash(0,5,0,0);
        elseif(item_lib.check_turn_in(e.trade, {item1 = 13970})) then
                e.self:Say("It is good to know that we saved Lempeck. He has given us his scythe as a donation to the temple. We shall find a use for it. As for your fine work at preserving the life of another, I reward you with the Shining Star of Life. Should you ever desire more strength in battle, call upon it to give you strength, but let it be known that at battle's end, you shall feel weaker than before you called upon the power. Just for a short time. When the power is drained, go to our temple storehouse and ask Whysia to [recharge the Shining Star of Life]. Go and serve life.");
                e.other:SummonItem(6356);
                e.other:Ding();
                e.other:Faction(257,30,0);
                e.other:Faction(183,30,0);
                e.other:Faction(135,10,0);
                e.other:Faction(21,-10,0);
                e.other:Faction(9,10,0);
                e.other:AddEXP(1000);
                e.other:GiveCash(0,11,8,0);
        end
        item_lib.return_items(e.self, e.other, e.trade);
end

-- END of FILE Zone:qeynos2  ID:2094 -- Astaed_Wemor



All times are GMT -4. The time now is 01:00 PM.

Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.