mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-02 19:42:05 -04:00
Added scripts for NPCs in the Limsa echo instance and Gridania opening post-battle instance.
This commit is contained in:
parent
7b205c7b9b
commit
4f339709d5
12
data/scripts/base/chara/npc/object/PrivateAreaPastExit.lua
Normal file
12
data/scripts/base/chara/npc/object/PrivateAreaPastExit.lua
Normal file
@ -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
|
@ -0,0 +1,5 @@
|
||||
require ("global")
|
||||
|
||||
function init(npc)
|
||||
return false, false, 0, 0, 0x141, 0xb79;
|
||||
end
|
@ -0,0 +1,14 @@
|
||||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0g1Quest = player:GetQuest("Man0g0");
|
||||
|
||||
if (man0g1Quest ~= nil) then
|
||||
if (triggerName == "talkDefault") then
|
||||
callClientFunction(player, "delegateEvent", player, man0g1Quest, "processEvent020_3");
|
||||
end
|
||||
end
|
||||
|
||||
player:EndEvent();
|
||||
|
||||
end
|
@ -0,0 +1,14 @@
|
||||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0g1Quest = player:GetQuest("Man0g0");
|
||||
|
||||
if (man0g1Quest ~= nil) then
|
||||
if (triggerName == "talkDefault") then
|
||||
callClientFunction(player, "delegateEvent", player, man0g1Quest, "processEvent020_4");
|
||||
end
|
||||
end
|
||||
|
||||
player:EndEvent();
|
||||
|
||||
end
|
@ -0,0 +1,14 @@
|
||||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0g1Quest = player:GetQuest("Man0g0");
|
||||
|
||||
if (man0g1Quest ~= nil) then
|
||||
if (triggerName == "talkDefault") then
|
||||
callClientFunction(player, "delegateEvent", player, man0g1Quest, "processEvent020_6");
|
||||
end
|
||||
end
|
||||
|
||||
player:EndEvent();
|
||||
|
||||
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
|
@ -0,0 +1,15 @@
|
||||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0g1Quest = player:GetQuest("Man0g0");
|
||||
|
||||
if (man0g1Quest ~= nil) then
|
||||
if (triggerName == "talkDefault") then
|
||||
callClientFunction(player, "delegateEvent", player, man0g1Quest, "processEvent020_2");
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
player:EndEvent();
|
||||
|
||||
end
|
@ -0,0 +1,14 @@
|
||||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0g1Quest = player:GetQuest("Man0g0");
|
||||
|
||||
if (man0g1Quest ~= nil) then
|
||||
if (triggerName == "talkDefault") then
|
||||
callClientFunction(player, "delegateEvent", player, man0g1Quest, "processEvent020_5");
|
||||
end
|
||||
end
|
||||
|
||||
player:EndEvent();
|
||||
|
||||
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, "processEtc001");
|
||||
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, "processEtc003");
|
||||
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, "processEtc002");
|
||||
player:EndEvent();
|
||||
end
|
||||
end
|
||||
|
||||
end
|
Loading…
Reference in New Issue
Block a user