1
Fork 0
mirror of https://bitbucket.org/Ioncannon/project-meteor-server.git synced 2025-04-21 20:27:47 +00:00
project-meteor-server/data/scripts/quests/etc/etc5g0.lua
CuriousJorge 3145ec5663 "Seeing the Seers" quest etc3g0 scripted, no reward handling currently. Requires actor "Nellaure" (http://ffxiv.gamerescape.com/w/index.php?title=Nellaure) to be added in. Hangs out in back-right corner of Carpenter's Guild.
Added a quest completion check to etc5g0.lua to prevent it showing "!" on quest-givers' head when you've cleared the quest already.
Fixed regression on select GM commands, !warp instant-warps within same zone again, !mypos reports to the thousandths place, !speed command works with one argument again.
2017-04-05 18:39:04 -04:00

21 lines
No EOL
635 B
Lua

--Quest Flags
TALKED_PFARAHR = 0;
function canAcceptQuest(player)
return (player:HasQuest("etc5g0") == false and player:IsQuestCompleted("Etc5g0") == false and player:GetHighestLevel() >= 1);
end
function isObjectivesComplete(player, quest)
return (quest:GetPhase() == 2);
end
function onAbandonQuest(player, quest)
vkorolon = GetWorldManager():GetActorInWorldByUniqueId("vkorolon");
pfarahr = GetWorldManager():GetActorInWorldByUniqueId("pfarahr");
if (vkorolon ~= nil and canAcceptQuest(player)) then
vkorolon:SetQuestGraphic(player, 0x2);
end
if (pfarahr ~= nil) then
pfarahr:SetQuestGraphic(player, 0x0);
end
end