eqmac-quests/dalnir/a_spectral_crusader.lua
2023-07-24 13:24:37 -07:00

22 lines
1.3 KiB
Lua

function event_say(e)
if(e.message:findi("greenmist")) then --Test of the Hero (Greenmist Quest 6/8)
e.self:Say("Mighty was the mist which covered the land. Mighty is the blade wielded by a crusader.");
elseif(e.message:findi("golin")) then --Test of the Hero (Greenmist Quest 6/8)
e.self:Emote("swipes his hand toward his own head in a chopping motion. 'Stuck between crypt and dust.'");
elseif(e.message:findi("visceral dagger")) then --Test of the Hero (Greenmist Quest 6/8)
e.self:Say("Shattered!! Three within the crypt. A master must go. To the [grand forge] they must go. Three become one with the spirit hammer.");
elseif(e.message:findi("grand forge")) then --Test of the Hero (Greenmist Quest 6/8)
e.self:Emote("points to the ground. 'Beyond the doors lies a forge unlike any other.'");
end
end
function event_trade(e)
local item_lib = require("items");
item_lib.return_items(e.self, e.other, e.trade)
end
--Submitted by: Jim Mills
-------------------------------------------------------------------------------------------------
-- 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
-------------------------------------------------------------------------------------------------