eqmac-quests/misty/Fajio_Knejo.lua
2023-07-24 13:24:37 -07:00

19 lines
885 B
Lua

function event_say(e)
if(e.message:findi("Hail")) then
e.self:Say("Greetings, " .. e.other:GetCleanName() .. ". I hope you are having a fine day.");
end
end
function event_trade(e)
local item_lib = require("items");
if(item_lib.check_turn_in(e.self, e.trade, {item1 = 20532})) then
e.self:Say("Run onward, my friend, to the far off Desert of Ro and give this torch to Andad Filla.");
e.other:QuestReward(e.self,0,0,0,0,20533,1000);
end
item_lib.return_items(e.self, e.other, e.trade)
end
-------------------------------------------------------------------------------------------------
-- 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
-------------------------------------------------------------------------------------------------