mirror of
https://github.com/EQMacEmu/quests
synced 2026-08-21 00:23:04 -04:00
28 lines
No EOL
1.5 KiB
Lua
28 lines
No EOL
1.5 KiB
Lua
-- Part of quest for Rod of Insidious Glamour
|
|
|
|
function event_say(e)
|
|
if(e.message:findi("Hail")) then
|
|
if(e.other:GetFactionValue(e.self) >= 0) then
|
|
e.self:Say("Hello. I am Cynthia.");
|
|
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
|
|
|
|
function event_trade(e)
|
|
local item_lib = require("items");
|
|
|
|
-- A Glamour Stone
|
|
if(item_lib.check_turn_in(e.self, e.trade, {item1 = 10085, gold = 50})) then
|
|
e.self:Say("I've done what I can to enchant your stone, but you will need to find Tarn Visilin in Highpass Keep to finish the enchantments. Don't forget to pay him the same fee you gave me, or he may decide to keep the stone for himself!"); -- Made this text up
|
|
e.other:QuestReward(e.self,0,0,0,0,10086);
|
|
end
|
|
item_lib.return_items(e.self, e.other, e.trade)
|
|
end
|
|
|
|
-- Quest by mystic414
|
|
-------------------------------------------------------------------------------------------------
|
|
-- Converted to .lua using MATLAB converter written by Stryd and manual edits by Speedz
|
|
-- Find/replace data for .pl --> .lua conversions provided by Speedz, Stryd, Sorvani and Robregen
|
|
------------------------------------------------------------------------------------------------- |