eqmac-quests/cabeast/Weaponsmith_Grugl.lua
2023-07-24 13:24:37 -07:00

25 lines
2.2 KiB
Lua

function event_say(e)
if(e.message:findi("hail")) then
e.self:Say("Come to assist in the testing of the bashing equipment? Nah. Not you. You are too small. You must be here to practice your forging.");
elseif(e.message:findi("footmans pike")) then
e.self:Say("To forge a footman pike requires skill as well as an iron rod, forging hammer and a footman pike head. To forge the pike head you will need a geozite tool, raw pike head and petrified redwood if the footman pike head plans are yours.");
elseif(e.message:findi("soldier pike")) then
e.self:Say("To forge a soldier pike requires skill, not to mention an iron rod, a forging hammer plus a soldier pike head. To forge the pike head, you will need a geozite tool, raw pike head and frontier fools gold as well as the soldier pike head plans.");
elseif(e.message:findi("trooper pike")) then
e.self:Say("To forge a trooper pike requires much skill! You also need an iron rod, forging hammer plus a trooper pike head. To forge the pike head, you will need the trooper pike head plans, a geozite tool, raw pike head and a radiant meteorite.");
elseif(e.message:findi("legionnaire mancatcher")) then
e.self:Say("To forge a legionnaire mancatcher, a blacksmith of great skill would need the steel rod, forge hammer and the forged legionnaire mancatcher crown. That crown is forged with the geozite tool, legionnaire crown plans, a raw crown and a peridot.");
elseif(e.message:findi("champions mancatcher")) then
e.self:Say("To forge a Champion mancatcher a blacksmith of great skill would need a steel rod, a forge hammer, and a forged Champion mancatcher crown. That crown is forged with a geozite tool, crown plans, a raw crown, and an opal.");
end
end
function event_trade(e)
local item_lib = require("items");
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
-------------------------------------------------------------------------------------------------