mirror of
https://github.com/ProjectEQ/projecteqquests
synced 2026-08-12 00:26:10 -04:00
24 lines
1,002 B
Lua
24 lines
1,002 B
Lua
-- items: 13712, 1316
|
|
function event_say(e)
|
|
if(e.message:findi("hail")) then
|
|
e.self:Say("Hello, have you seen my daughter?");
|
|
elseif(e.message:findi("daughter")) then
|
|
e.self:Say("Yes, my daughter. She went to play near the aqueducts with her doll and now she is gone. If only there was some sign of her..");
|
|
end
|
|
end
|
|
|
|
function event_trade(e)
|
|
local item_lib =require("items");
|
|
if(item_lib.check_turn_in(e.trade, {item1 = 13712})) then
|
|
e.self:Emote("tries to keep her composure. She hands you a silver locket with great effort, and then bursts into tears.");
|
|
e.other:SummonItem(1316); -- Item: Velvet Choker
|
|
e.other:Ding();
|
|
e.other:Faction(262,2,0); -- Guards of Qeynos
|
|
e.other:Faction(219,1,0); -- Antonius Bayle
|
|
e.other:Faction(230,-1,0); -- Corrupt Qeynos Guards
|
|
e.other:Faction(223,-1,0); -- CIrcle of Unseen Hands
|
|
e.other:Faction(291,1,0); -- Merchants of Qeynos
|
|
e.other:AddEXP(27440);
|
|
end
|
|
item_lib.return_items(e.self, e.other, e.trade)
|
|
end
|