EQ2EMu/server/ZoneScripts/OutpostOverlord.lua

24 lines
726 B
Lua
Raw Normal View History

2020-02-28 07:17:24 -07:00
--[[
Script Name : ZoneScripts/OutpostOverlord.lua
Script Purpose : Zone Scripts and Location Pop-ups
Script Author : Cynnar
Script Date : 9/16/2018
Script Notes : <special-instructions>
--]]
local WelcomeToNorrath = 362
local TheArtOfCombat = 132
function init_zone_script(Zone)
SetLocationProximityFunction(Zone, -13.41, -4.94, 220.74, 20, "OfferQuestLocation", "LeaveLocation")
end
function OfferQuestLocation (Zone, Player)
if not HasQuest(Player, WelcomeToNorrath) and not HasCompletedQuest(Player, WelcomeToNorrath)
and not HasQuest(Player, TheArtOfCombat) and not HasCompletedQuest(Player, TheArtOfCombat) then
OfferQuest(nil, Player, WelcomeToNorrath)
end
end
function LeaveLocation(Zone, Player)
end