forked from EQMacEmu/quests
-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathSiltria_Marwind.lua
25 lines (22 loc) · 1.59 KB
/
Siltria_Marwind.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--Quest Name: Bard Mail Quest
function event_say(e)
if(e.message:findi("Hail")) then
e.self:Say("Hail. " .. e.other:GetCleanName() .. " -Are you [interested] in helping the League of Antonican Bards by delivering some [mail]?");
elseif(e.message:findi("mail") and not e.message:findi("deliver") and not e.message:findi("Kelethin")) then
e.self:Say("The League of Antonican Bards has a courier system made up of travelers and adventurers. We pay good gold to anyone who will take messages from bards such as myself to one of our more central offices. Are you [interested]?");
elseif(e.message:findi("interested")) then
e.self:Say("I have messages that need to go to - well. right now I have one that needs to go to Kelethin. Will you [deliver] mail to [Kelethin] for me?");
elseif(e.message:findi("deliver") or e.message:findi("Kelethin")) then
e.self:Say("Take this letter to Jakum Webdancer in Kelethin. You can find him at the bard guild hall. I am sure he will compensate you for your troubles.");
e.other:SummonCursorItem(18160); -- Item: A Bardic Letter (Kelethin)
end
end
function event_trade(e)
local item_lib = require("items");
item_lib.return_items(e.self, e.other, e.trade)
end
--Author: RealityIncarnate
-------------------------------------------------------------------------------------------------
-- 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
-------------------------------------------------------------------------------------------------