mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-09 05:54:50 +02:00
Fixed bug with old "findActor" code since private areas were added. Add scripts for npcs in echo during limsa opening.
This commit is contained in:
parent
eb324062da
commit
0c3f6cc9c4
13 changed files with 149 additions and 27 deletions
|
@ -0,0 +1,13 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0l1Quest = player:GetQuest("Man0l1");
|
||||
|
||||
if (man0l1Quest ~= nil) then
|
||||
if (triggerName == "talkDefault") then
|
||||
callClientFunction(player, "delegateEvent", player, man0l1Quest, "processEvent010_2");
|
||||
player:EndEvent();
|
||||
end
|
||||
end
|
||||
|
||||
end
|
|
@ -0,0 +1,13 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0l1Quest = player:GetQuest("Man0l1");
|
||||
|
||||
if (man0l1Quest ~= nil) then
|
||||
if (triggerName == "talkDefault") then
|
||||
callClientFunction(player, "delegateEvent", player, man0l1Quest, "processEvent010_5");
|
||||
player:EndEvent();
|
||||
end
|
||||
end
|
||||
|
||||
end
|
|
@ -0,0 +1,13 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0l1Quest = player:GetQuest("Man0l1");
|
||||
|
||||
if (man0l1Quest ~= nil) then
|
||||
if (triggerName == "talkDefault") then
|
||||
callClientFunction(player, "delegateEvent", player, man0l1Quest, "processEvent010_4");
|
||||
player:EndEvent();
|
||||
end
|
||||
end
|
||||
|
||||
end
|
|
@ -4,7 +4,7 @@ function onSpawn(player, npc)
|
|||
man0l1Quest = player:GetQuest("Man0l1");
|
||||
|
||||
if (man0l1Quest ~= nil) then
|
||||
npc:SetQuestGraphic(player, 0x2);
|
||||
npc:SetQuestGraphic(player, 0x3);
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0l1Quest = player:GetQuest("Man0l1");
|
||||
|
||||
if (man0l1Quest ~= nil) then
|
||||
if (triggerName == "talkDefault") then
|
||||
callClientFunction(player, "delegateEvent", player, man0l1Quest, "processEvent010_7");
|
||||
player:EndEvent();
|
||||
end
|
||||
end
|
||||
|
||||
end
|
|
@ -0,0 +1,13 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0l1Quest = player:GetQuest("Man0l1");
|
||||
|
||||
if (man0l1Quest ~= nil) then
|
||||
if (triggerName == "talkDefault") then
|
||||
callClientFunction(player, "delegateEvent", player, man0l1Quest, "processEvent010_6");
|
||||
player:EndEvent();
|
||||
end
|
||||
end
|
||||
|
||||
end
|
|
@ -0,0 +1,13 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0l1Quest = player:GetQuest("Man0l1");
|
||||
|
||||
if (man0l1Quest ~= nil) then
|
||||
if (triggerName == "talkDefault") then
|
||||
callClientFunction(player, "delegateEvent", player, man0l1Quest, "processEvent010_7");
|
||||
player:EndEvent();
|
||||
end
|
||||
end
|
||||
|
||||
end
|
|
@ -0,0 +1,13 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0l1Quest = player:GetQuest("Man0l1");
|
||||
|
||||
if (man0l1Quest ~= nil) then
|
||||
if (triggerName == "talkDefault") then
|
||||
callClientFunction(player, "delegateEvent", player, man0l1Quest, "processEvent010_3");
|
||||
player:EndEvent();
|
||||
end
|
||||
end
|
||||
|
||||
end
|
|
@ -0,0 +1,13 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0l1Quest = player:GetQuest("Man0l1");
|
||||
|
||||
if (man0l1Quest ~= nil) then
|
||||
if (triggerName == "talkDefault") then
|
||||
callClientFunction(player, "delegateEvent", player, man0l1Quest, "processEvent010_8");
|
||||
player:EndEvent();
|
||||
end
|
||||
end
|
||||
|
||||
end
|
|
@ -0,0 +1,12 @@
|
|||
function init(npc)
|
||||
return false, false, 0, 0;
|
||||
end
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
if (triggerName == "caution") then
|
||||
worldMaster = GetWorldMaster();
|
||||
player:SendGameMessage(player, worldMaster, 34109, 0x20);
|
||||
elseif (triggerName == "exit") then
|
||||
end
|
||||
player:EndEvent();
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue