mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-08 21:44:35 +02:00
Merge branch 'develop'
# Conflicts: # FFXIVClassic Map Server/FFXIVClassic Map Server.csproj # FFXIVClassic Map Server/Server.cs # data/scripts/player.lua # scripts/zones/193/npcs/pplStd_11@0C100.lua
This commit is contained in:
commit
3d5fa45730
134 changed files with 1926 additions and 242 deletions
|
@ -6,15 +6,20 @@ Switches between active and passive mode states
|
|||
|
||||
--]]
|
||||
|
||||
function onEventStarted(player, actor, triggerName)
|
||||
|
||||
function onEventStarted(player, command, triggerName)
|
||||
|
||||
if (player:getState() == 0) then
|
||||
player:changeState(2);
|
||||
elseif (player:getState() == 2) then
|
||||
player:changeState(0);
|
||||
end
|
||||
|
||||
player:endEvent();
|
||||
|
||||
player:endCommand();
|
||||
|
||||
--For Opening Tutorial
|
||||
if (player:hasQuest("Man0l0") or player:hasQuest("Man0g0") or player:hasQuest("Man0u0")) then
|
||||
player:getDirector():onCommand(command);
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ function onEventStarted(player, actor, triggerName)
|
|||
player:sendGameMessage(worldMaster, 32503, 0x20);
|
||||
end
|
||||
|
||||
player:endEvent();
|
||||
player:endCommand();
|
||||
|
||||
end
|
||||
|
||||
|
|
|
@ -18,6 +18,6 @@ function onEventUpdate(player, actor, step, arg1)
|
|||
|
||||
--Submit
|
||||
|
||||
player:endEvent();
|
||||
player:endCommand();
|
||||
|
||||
end
|
|
@ -14,6 +14,6 @@ function onEventStarted(player, commandactor, triggerName, arg1, arg2, arg3, arg
|
|||
player:examinePlayer(actor);
|
||||
end
|
||||
|
||||
player:endEvent();
|
||||
player:endCommand();
|
||||
|
||||
end
|
||||
|
|
|
@ -42,9 +42,6 @@ function onEventStarted(player, actor, triggerName, isGoobbue)
|
|||
player:changeState(0);
|
||||
end
|
||||
|
||||
player:endEvent();
|
||||
player:endCommand();
|
||||
|
||||
end
|
||||
|
||||
function onEventUpdate(player, npc)
|
||||
end
|
|
@ -15,7 +15,7 @@ function onEventStarted(player, actor, triggerName, maxNumber)
|
|||
worldMaster = getWorldMaster();
|
||||
player:sendGameMessage(player, worldMaster, 25342, 0x20, result, maxNumber);
|
||||
|
||||
player:endEvent();
|
||||
player:endCommand();
|
||||
|
||||
end
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ function onEventStarted(player, actor, triggerName, emoteId)
|
|||
player:changeState(0);
|
||||
end
|
||||
|
||||
player:endEvent();
|
||||
player:endCommand();
|
||||
|
||||
end
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ function onEventStarted(player, actor, triggerName, emoteId)
|
|||
player:doEmote(emoteId);
|
||||
end
|
||||
|
||||
player:endEvent();
|
||||
player:endCommand();
|
||||
|
||||
end
|
||||
|
||||
|
|
|
@ -69,7 +69,7 @@ function onEventStarted(player, actor, triggerName, invActionInfo, param1, param
|
|||
end
|
||||
end
|
||||
|
||||
player:endEvent();
|
||||
player:endCommand();
|
||||
end
|
||||
|
||||
function loadGearset(player, classId)
|
||||
|
|
|
@ -11,5 +11,5 @@ The param "itemDBIds" has the vars: item1 and item2.
|
|||
|
||||
function onEventStarted(player, actor, triggerName, invActionInfo, param1, param2, param3, param4, param5, param6, param7, param8, itemDBIds)
|
||||
player:getInventory(0x00):removeItem(invActionInfo.slot);
|
||||
player:endEvent();
|
||||
player:endCommand();
|
||||
end
|
||||
|
|
|
@ -16,8 +16,9 @@ Countdown: 1
|
|||
--]]
|
||||
|
||||
function onEventStarted(player, command)
|
||||
player:setCurrentMenuId(0);
|
||||
player:runEventFunction("delegateCommand", command, "eventConfirm");
|
||||
--player:setCurrentMenuId(0);
|
||||
--player:runEventFunction("delegateCommand", command, "eventConfirm");
|
||||
player:logout();
|
||||
end
|
||||
|
||||
function onEventUpdate(player, command, triggerName, step, arg1, arg2)
|
||||
|
@ -28,23 +29,23 @@ function onEventUpdate(player, command, triggerName, step, arg1, arg2)
|
|||
if (currentMenuId == 0) then
|
||||
if (arg1 == 1) then --Exit
|
||||
player:quitGame();
|
||||
player:endEvent();
|
||||
player:endCommand();
|
||||
elseif (arg1 == 2) then --Character Screen
|
||||
player:logout();
|
||||
player:endEvent();
|
||||
player:endCommand();
|
||||
--player:setCurrentMenuId(1);
|
||||
--player:runEventFunction("delegateCommand", command, "eventCountDown");
|
||||
elseif (arg1 == 3) then --Cancel
|
||||
player:endEvent();
|
||||
player:endCommand();
|
||||
end
|
||||
--Countdown Dialog
|
||||
elseif (currentMenuId == 1) then
|
||||
|
||||
if (arg2 == 1) then --Logout Complete
|
||||
player:logout();
|
||||
player:endEvent();
|
||||
player:endCommand();
|
||||
elseif (arg2 == 2) then --Cancel Pressed
|
||||
player:endEvent();
|
||||
player:endCommand();
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
@ -7,7 +7,3 @@ function onEventStarted(player, actor, questId)
|
|||
player:sendRequestedInfo("requestedData", "activegl", 7, nil, nil, nil, nil, nil, nil, nil);
|
||||
-- player:sendRequestedInfo("requestedData", "glHist", 10, 0x1D4F2, 1009, 12464, 11727, 12485, 12526);
|
||||
end
|
||||
|
||||
function onEventUpdate(player, actor, triggerName, step, arg1)
|
||||
|
||||
end
|
|
@ -6,7 +6,3 @@
|
|||
function onEventStarted(player, actor, questId)
|
||||
player:sendRequestedInfo("requestedData", "qtdata", 0x1D4F2);
|
||||
end
|
||||
|
||||
function onEventUpdate(player, actor, triggerName, step, arg1)
|
||||
|
||||
end
|
|
@ -35,17 +35,17 @@ function onEventUpdate(player, actor, step, arg1)
|
|||
player:setCurrentMenuId(1);
|
||||
player:runEventFunction("delegateCommand", actor, "eventAetheryte", arg1, 2, 2, 2, 4, 4, 4);
|
||||
else
|
||||
player:endEvent();
|
||||
player:endCommand();
|
||||
end
|
||||
elseif (menuId == 1) then --Aetheryte
|
||||
if (arg1 == nil) then
|
||||
player:endEvent();
|
||||
player:endCommand();
|
||||
return;
|
||||
end
|
||||
player:setCurrentMenuId(2);
|
||||
player:runEventFunction("delegateCommand", actor, "eventConfirm", false, false, 1, 138824, false);
|
||||
elseif (menuId == 2) then --Confirm
|
||||
player:endEvent();
|
||||
player:endCommand();
|
||||
end
|
||||
|
||||
end
|
|
@ -1,5 +1,38 @@
|
|||
local initClassItems, initRaceItems;
|
||||
|
||||
function onBeginLogin(player)
|
||||
|
||||
--For Opening. Set Director and reset position incase d/c
|
||||
if (player:hasQuest(110001) == true) then
|
||||
--player:setDirector("openingDirector", false);
|
||||
player.positionX = 0.016;
|
||||
player.positionY = 10.35;
|
||||
--player.positionZ = -36.91;
|
||||
player.positionZ = -20.91;
|
||||
player.rotation = 0.025;
|
||||
player:getQuest(110001):ClearQuestData();
|
||||
player:getQuest(110001):ClearQuestFlags();
|
||||
elseif (player:hasQuest(110005) == true) then
|
||||
player:setDirector("openingDirector", false);
|
||||
player.positionX = 369.5434;
|
||||
player.positionY = 4.21;
|
||||
player.positionZ = -706.1074;
|
||||
player.rotation = -1.26721;
|
||||
player:getQuest(110005):ClearQuestData();
|
||||
player:getQuest(110005):ClearQuestFlags();
|
||||
elseif (player:hasQuest(110009) == true) then
|
||||
player:setDirector("openingDirector", false);
|
||||
player.positionX = 5.364327;
|
||||
player.positionY = 196.0;
|
||||
player.positionZ = 133.6561;
|
||||
player.rotation = -2.849384;
|
||||
player:getQuest(110009):ClearQuestData();
|
||||
player:getQuest(110009):ClearQuestFlags();
|
||||
end
|
||||
|
||||
|
||||
end
|
||||
|
||||
function onLogin(player)
|
||||
player:sendMessage(0x1D,"",">Callback \"onLogin\" for player script running.");
|
||||
|
||||
|
@ -8,11 +41,6 @@ function onLogin(player)
|
|||
|
||||
initClassItems(player);
|
||||
initRaceItems(player);
|
||||
end
|
||||
|
||||
if (player:hasQuest(110001) == true or player:hasQuest(110005) == true or player:hasQuest(110009) == true) then
|
||||
--player:setDirector("openingDirector");
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
function onInstantiate(npc)
|
||||
function init(npc)
|
||||
return "/Chara/Npc/Monster/Lemming/NuteaterStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 10, 1, 4, false, false, false, false, false, false, false, false, 2;
|
||||
end
|
|
@ -20,7 +20,7 @@ Menu Ids:
|
|||
|
||||
--]]
|
||||
|
||||
function onInstantiate(npc)
|
||||
function init(npc)
|
||||
return "/Chara/Npc/Object/Aetheryte/AetheryteParent", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ Menu Ids:
|
|||
|
||||
--]]
|
||||
|
||||
function onInstantiate(npc)
|
||||
function init(npc)
|
||||
return "/Chara/Npc/Populace/PopulaceGuildlevePublisher", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
function onInstantiate(npc)
|
||||
function init(npc)
|
||||
return "/Chara/Npc/Populace/PopulaceLinkshellManager", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ Menu Ids:
|
|||
|
||||
--]]
|
||||
|
||||
function onInstantiate(npc)
|
||||
function init(npc)
|
||||
return "/Chara/Npc/Populace/PopulacePassiveGLPublisher", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
function onInstantiate(npc)
|
||||
function init(npc)
|
||||
return "/Chara/Npc/Populace/Shop/PopulaceShopSalesman", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
function onInstantiate(npc)
|
||||
function init(npc)
|
||||
return "/Chara/Npc/Populace/Shop/PopulaceShopSalesman", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
function onInstantiate(npc)
|
||||
function init(npc)
|
||||
return "/Chara/Npc/Populace/Shop/PopulaceShopSalesman", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ Menu Ids:
|
|||
|
||||
--]]
|
||||
|
||||
function onInstantiate(npc)
|
||||
function init(npc)
|
||||
return "/Chara/Npc/Populace/Shop/PopulaceShopSalesman", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
function onInstantiate(npc)
|
||||
function init(npc)
|
||||
return "/Chara/Npc/Populace/Shop/PopulaceShopSalesman", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
function onInstantiate(npc)
|
||||
function init(npc)
|
||||
return "/Chara/Npc/Populace/Shop/PopulaceShopSalesman", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
function onInstantiate(npc)
|
||||
function init(npc)
|
||||
return "/Chara/Npc/Populace/Shop/PopulaceShopSalesman", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
function onInstantiate(npc)
|
||||
function init(npc)
|
||||
return "/Chara/Npc/Populace/Shop/PopulaceShopSalesman", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
function onInstantiate(npc)
|
||||
function init(npc)
|
||||
return "/Chara/Npc/Populace/Shop/PopulaceShopSalesman", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
function onInstantiate(npc)
|
||||
function init(npc)
|
||||
return "/Chara/Npc/Populace/Shop/PopulaceShopSalesman", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
function onInstantiate(npc)
|
||||
function init(npc)
|
||||
return "/Chara/Npc/Populace/Shop/PopulaceShopSalesman", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
function onInstantiate(npc)
|
||||
function init(npc)
|
||||
return "/Chara/Npc/Populace/Shop/PopulaceShopSalesman", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
function onInstantiate(npc)
|
||||
function init(npc)
|
||||
return "/Chara/Npc/Populace/Shop/PopulaceShopSalesman", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
function onInstantiate(npc)
|
||||
function init(npc)
|
||||
return "/Chara/Npc/Populace/Shop/PopulaceShopSalesman", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
function onInstantiate(npc)
|
||||
function init(npc)
|
||||
return "/Chara/Npc/Populace/Shop/PopulaceShopSalesman", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
function onInstantiate(npc)
|
||||
function init(npc)
|
||||
return "/Chara/Npc/Populace/Shop/PopulaceShopSalesman", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
function onInstantiate(npc)
|
||||
function init(npc)
|
||||
return "/Chara/Npc/Populace/Shop/PopulaceShopSalesman", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
function onInstantiate(npc)
|
||||
function init(npc)
|
||||
return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
function onInstantiate(npc)
|
||||
function init(npc)
|
||||
return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
function onInstantiate(npc)
|
||||
function init(npc)
|
||||
return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
function onInstantiate(npc)
|
||||
function init(npc)
|
||||
return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
function onInstantiate(npc)
|
||||
function init(npc)
|
||||
return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
function onInstantiate(npc)
|
||||
function init(npc)
|
||||
return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
function onInstantiate(npc)
|
||||
function init(npc)
|
||||
return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
function onInstantiate(npc)
|
||||
function init(npc)
|
||||
return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
function onInstantiate(npc)
|
||||
function init(npc)
|
||||
return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
function onInstantiate(npc)
|
||||
function init(npc)
|
||||
return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
function onInstantiate(npc)
|
||||
function init(npc)
|
||||
return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
function onInstantiate(npc)
|
||||
function init(npc)
|
||||
return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
function onInstantiate(npc)
|
||||
function init(npc)
|
||||
return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
function onInstantiate(npc)
|
||||
function init(npc)
|
||||
return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
function onInstantiate(npc)
|
||||
function init(npc)
|
||||
return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
function onInstantiate(npc)
|
||||
function init(npc)
|
||||
return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
function onInstantiate(npc)
|
||||
function init(npc)
|
||||
return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
function onInstantiate(npc)
|
||||
function init(npc)
|
||||
return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
function onInstantiate(npc)
|
||||
function init(npc)
|
||||
return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
function onInstantiate(npc)
|
||||
function init(npc)
|
||||
return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
function onInstantiate(npc)
|
||||
function init(npc)
|
||||
return "/Chara/Npc/Object/TaskBoard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
function onInstantiate(npc)
|
||||
return "/Chara/Npc/Object/OpeningStoperF0B1", false, false, false, false, false, 0x10A350, false, false, 0, 1, "TEST";
|
||||
function init(npc)
|
||||
return "/Chara/Npc/Object/OpeningStoperF0B1", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
|
|
|
@ -3,7 +3,17 @@
|
|||
function onZoneInit(zone)
|
||||
end
|
||||
|
||||
function onZoneIn(zone, player)
|
||||
function onZoneIn(player)
|
||||
|
||||
openingQuest = player:getQuest(110001);
|
||||
|
||||
--Opening Quest
|
||||
if (openingQuest ~= nil) then
|
||||
if (openingQuest:GetQuestFlag(0) == false) then
|
||||
player:kickEvent(player:getDirector(), "noticeEvent");
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
function onZoneOut(zone, player)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
function onInstantiate(npc)
|
||||
function init(npc)
|
||||
return "/Chara/Npc/Object/ObjectBed", false, false, false, false, false, 0x1250FB, false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
function onInstantiate(npc)
|
||||
function init(npc)
|
||||
return "/Chara/Npc/Object/ObjectInnDoor", false, false, false, false, false, 0x1250F8, false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
function onInstantiate(npc)
|
||||
function init(npc)
|
||||
return "/Chara/Npc/Object/ObjectItemStorage", false, false, false, false, false, 0x1250F8, false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
function onInstantiate(npc)
|
||||
function init(npc)
|
||||
return "/Chara/Npc/Populace/PopulaceCutScenePlayer", false, false, false, false, false, 0x107B38, false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
function onInstantiate(npc)
|
||||
function init(npc)
|
||||
return "/Chara/Npc/Populace/PopulaceStandard", false, false, false, false, false, npc.getActorClassId(), false, false, 0, 1, "TEST";
|
||||
end
|
||||
|
||||
|
|
|
@ -3,7 +3,17 @@
|
|||
function onZoneInit(zone)
|
||||
end
|
||||
|
||||
function onZoneIn(zone, player)
|
||||
function onZoneIn(player)
|
||||
|
||||
openingQuest = player:getQuest(110005);
|
||||
|
||||
--Opening Quest
|
||||
if (openingQuest ~= nil) then
|
||||
if (openingQuest:GetQuestFlag(0) == false) then
|
||||
player:kickEvent(player:getDirector(), "noticeEvent");
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
function onZoneOut(zone, player)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue