eq2emu-content/ItemScripts/ABrokenHarness.lua
2024-10-26 11:37:28 +00:00

21 lines
No EOL
544 B
Lua
Executable file

--[[
Script Name : ItemScripts/ABrokenHarness.lua
Script Author : Premierio015
Script Date : 2021.05.29 09:05:24
Script Purpose :
:
--]]
local TheTrainingGrounds = 5247
function examined(Item, Player)
if not HasQuest(Player, TheTrainingGrounds) and not HasCompletedQuest(Player, TheTrainingGrounds) then
OfferQuest(nil, Player, TheTrainingGrounds)
end
end
function obtained(Item, Player)
if HasCompletedQuest(Player, TheTrainingGrounds) then
RemoveItem(Player, 1281)
end
end