mirror of
https://github.com/ProjectEQ/projecteqquests
synced 2026-08-12 00:26:10 -04:00
18 lines
783 B
Lua
18 lines
783 B
Lua
-- Harmony of the Soul // Cleric 1.5 Epic Quest NPC -- Drogerin
|
|
-- items: 56015
|
|
|
|
function event_say(e)
|
|
if(e.message:findi("hail")) then
|
|
e.self:Say("Hello there, need something navigated, or mapped, or something of that sort? Hand it over already!");
|
|
end
|
|
end
|
|
|
|
function event_trade(e)
|
|
local item_lib = require("items");
|
|
local qglobals = eq.get_qglobals(e.other);
|
|
if(qglobals["cleric_epic"] ~= nil and qglobals["cleric_epic"] >= "3" and item_lib.check_turn_in(e.trade, {item1 = 56015})) then -- Turn in the Assembled Map
|
|
e.self:Emote("pulls out a map and a compass and begins triangulating the coordinates, 'This location is in the South Western corner of Lesser Faydark.");
|
|
eq.set_global("cleric_epic","4",5,"F");
|
|
end
|
|
item_lib.return_items(e.self, e.other, e.trade);
|
|
end
|