mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
Removed more dead scripts. Exported missing sql files.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
require("global");
|
||||
|
||||
function init(npc)
|
||||
return false, false, 0, 0;
|
||||
end
|
||||
@@ -7,7 +9,7 @@ function onEventStarted(player, npc, triggerName)
|
||||
worldMaster = GetWorldMaster();
|
||||
player:SendGameMessage(player, worldMaster, 34109, 0x20);
|
||||
elseif (triggerName == "exit") then
|
||||
GetWorldManager():DoPlayerMoveInZone(player, 5);
|
||||
GetWorldManager():DoPlayerMoveInZone(player, 356.09, 3.74, -701.62, -1.4);
|
||||
end
|
||||
player:EndEvent();
|
||||
end
|
9
Data/scripts/base/chara/npc/object/OpeningTown.lua
Normal file
9
Data/scripts/base/chara/npc/object/OpeningTown.lua
Normal file
@@ -0,0 +1,9 @@
|
||||
require("global");
|
||||
|
||||
function init(npc)
|
||||
return false, false, 0, 0;
|
||||
end
|
||||
|
||||
function onEventStarted(player, npc, eventType, eventName)
|
||||
player:EndEvent();
|
||||
end
|
@@ -0,0 +1,18 @@
|
||||
require("global");
|
||||
|
||||
function init(npc)
|
||||
return false, false, 0, 0;
|
||||
end
|
||||
|
||||
function onEventStarted(player, npc, eventType, eventName)
|
||||
|
||||
if (eventType == ETYPE_PUSH) then
|
||||
if (eventName == "caution") then
|
||||
worldMaster = GetWorldMaster();
|
||||
player:SendGameMessage(player, worldMaster, 34109, 0x20);
|
||||
elseif (eventName == "exit") then
|
||||
GetWorldManager():DoPlayerMoveInZone(player, 5.36433, 196, 133.656, -2.84938);
|
||||
end
|
||||
end
|
||||
player:EndEvent();
|
||||
end
|
@@ -41,6 +41,20 @@ function onEventStarted(player, aetheryte, triggerName)
|
||||
callClientFunction(player, "delegateEvent", player, quest, "processEvent025");
|
||||
quest:StartSequence(SEQ_005);
|
||||
end
|
||||
elseif (player:HasQuest(110006) == true) then
|
||||
require ("quests/man/man0g1");
|
||||
local quest = player:GetQuest("Man0g1");
|
||||
if (quest:GetSequence() == SEQ_005) then
|
||||
callClientFunction(player, "delegateEvent", player, quest, "processEvent013");
|
||||
--quest:StartSequence(???);
|
||||
end
|
||||
elseif (player:HasQuest(110010) == true) then
|
||||
require ("quests/man/man0u1");
|
||||
local quest = player:GetQuest("Man0u1");
|
||||
if (quest:GetSequence() == SEQ_005) then
|
||||
callClientFunction(player, "delegateEvent", player, quest, "processEvent013");
|
||||
quest:StartSequence(SEQ_010);
|
||||
end
|
||||
end
|
||||
|
||||
if (player:GetGuildleveDirector() ~= nil) then
|
||||
|
Reference in New Issue
Block a user