eqmac-quests/overthere/Bukuku_Wolffeetz.lua
2023-07-24 13:24:37 -07:00

25 lines
1.4 KiB
Lua

function event_say(e)
if(e.message:findi("Hail")) then
e.self:Say("Har har har! Yu funy lukking. Oooo.. do u hav doze [smarty writin's]?");
elseif(e.message:findi("smarty writin")) then
e.self:Say("Me not know what dem ar for shure. Dem only hav dees names. Umm.. let me see if I can member dem. Taaalisman de umm.. Jasinth. Dat's one of dem. Spirited of Scaley?? OH!! Dis my favorite. Kripple. Den the last is the painful one. Canaabaalize canaabaalize canaabaalize. Yep, dat super duper one. Bring me bak one of dem, me trade.");
end
end
function event_trade(e)
local item_lib = require("items");
local count = item_lib.count_handed_item(e.self, e.trade, {19269, 19238, 19264, 19272});
if(count > 0) then
repeat
e.self:Say("Here is the scroll that I promised. We have both gained much knowledge today. I hope to do business with you again soon. Farewell!");
e.other:QuestReward(e.self,0,0,0,0,eq.ChooseRandom(19267,19271,19274,19266),1000);
count = count - 1;
until count == 0;
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
-------------------------------------------------------------------------------------------------