1
Fork 0
mirror of https://bitbucket.org/Ioncannon/project-meteor-server.git synced 2025-04-25 14:17:46 +00:00
project-meteor-server/data/scripts/base/chara/npc/populace/PopulacePassiveGLPublisher.lua

37 lines
No EOL
757 B
Lua

--[[
PopulacePassiveGLPublisher Script
Functions:
askOfferPack() - Show Classes
askOfferRank() - Show Ranks
askOfferQuest(player)
confirmOffer(nil, questId)
confirmMaxOffer()
talkOfferWelcome(actor, leveAllowances)
talkOfferDecide()
talkOfferMaxOver()
selectDiscardGuildleve(player)
confirmJournal()
askDiscardGuildleve()
confirmDiscardGuildleve(nil, questId)
askRetryRegionalleve(questId, leveAllowances)
finishTalkTurn()
Menu Ids:
--]]
function init(npc)
return false, false, 0, 0;
end
function onEventStarted(player, npc)
player:runEventFunction("talkOfferWelcome", player, 1);
end
function onEventUpdate(player, npc, step, menuOptionSelected, lsName, lsCrest)
--player:runEventFunction("askOfferQuest", player, 1000);
player:endEvent();
end