mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-09 14:04:41 +02:00
Scripted almost all of lower limsa.
This commit is contained in:
parent
65389e3362
commit
d1c8987091
161 changed files with 293 additions and 911 deletions
|
@ -3,9 +3,18 @@ function init(npc)
|
|||
end
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
player:endEvent();
|
||||
questNOC = getStaticActor("Noc000");
|
||||
|
||||
if (npc:getActorClassId() == 1200193) then
|
||||
player:runEventFunction("delegateEvent", player, questNOC, "pETaskBoardAskLimsa", nil, nil, nil);
|
||||
elseif (npc:getActorClassId() == 1200194) then
|
||||
player:runEventFunction("delegateEvent", player, questNOC, "pETaskBoardAskUldah", nil, nil, nil);
|
||||
else
|
||||
player:runEventFunction("delegateEvent", player, questNOC, "pETaskBoardAskGridania", nil, nil, nil);
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
function onEventUpdate(player, npc, resultId)
|
||||
function onEventUpdate(player, npc, step, menuOptionSelected)
|
||||
player:endEvent();
|
||||
end
|
|
@ -4,6 +4,10 @@ function init(npc)
|
|||
end
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
player:sendMessage(0x20, "", "This PopulaceStandard actor has no event set.")
|
||||
player:sendMessage(0x20, "", "This PopulaceStandard actor has no event set. Actor Class Id: " .. tostring(npc:getActorClassId()));
|
||||
player:endEvent();
|
||||
end
|
||||
|
||||
function onEventUpdate(player, npc, blah, menuSelect)
|
||||
player:endEvent();
|
||||
end
|
|
@ -3,7 +3,7 @@ function init(npc)
|
|||
end
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
player:sendMessage(0x20, "", "This PopulaceShopSalesman actor has no event set.")
|
||||
player:sendMessage(0x20, "", "This PopulaceShopSalesman actor has no event set. Actor Class Id: " .. tostring(npc:getActorClassId()))
|
||||
player:endEvent();
|
||||
--player:runEventFunction("welcomeTalk");
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue