#Jenna_Gurell.lua - Quest File
x
1
-- The Fourteen Great Adventurers: http://everquest.allakhazam.com/db/quest.html?quest=2854
2
-- items: 67618
3
function event_say(e)
4
local greatadventures = 0
5
if (e.other:GetGlobal("greatadventures") ~= "Undefined") then
6
greatadventures = tonumber(e.other:GetGlobal("greatadventures"))
7
end
8
local turnins = 0
9
if (e.other:GetGlobal("greatadventuresturnins") ~= "Undefined") then
10
turnins = tonumber(e.other:GetGlobal("greatadventuresturnins"))
11
end
12
if (e.message:findi("hail")) then
13
if (bit.band(turnins, 2048) ~= 0) then
14
e.other:Message(12, "Jenna Gurell stares past you as she replays a past memory in her mind. 'While I thank you for what you have done, the sight of you saddens me. Please leave me be there are others who could use your help.'")
15
elseif (greatadventures > 0) then
16
e.self:Emote(" focuses her attention on " .. e.other:GetName() .. ".")
17
e.other:Message(12, "Jenna Gurell says 'Please do not disturb me. I am mourning the loss of my dear Rashere. While I do not know if his fate has yet been sealed the empty feeling in my heart tells me so. If only I could see him once more, if only I could read his words again.'")
18
end
19
end
20
end
21
22
function event_trade(e)
23
local item_lib = require("items")
24
local turnins = 0
25
if (e.other:GetGlobal("greatadventuresturnins") ~= "Undefined") then
26
turnins = tonumber(e.other:GetGlobal("greatadventuresturnins"))
27
end
28
if (item_lib.check_turn_in(e.trade, {item1 = 67618})) then -- Rashere's Writings
29
e.self:Emote("takes the dusty tome from " .. e.other:GetName() .. "'s hands.")
30
e.self:Emote("opens the book and begins to read from the last page aloud. As she reaches the final sentence her voice begins to crack and tears stream down her face. Wiping the tears from her face Jenna looks up at you and says 'Thank you but I really must be going. If you have done this wonderful thing for the others who have been suffering with me then return to De`van and tell him your task is complete and he will reward you.' Unable to continue she turns away from you motioning for you to leave.")
31
e.other:SetGlobal("greatadventuresturnins", tostring(bit.bor(turnins, 2048)), 5, "F")
32
end
33
item_lib.return_items(e.self, e.other, e.trade)
34
end
35
Quest Source: 28 May 2022