mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-09 14:04:41 +02:00
Removed more dead scripts. Exported missing sql files.
This commit is contained in:
parent
b57f91470a
commit
765cf194c5
65 changed files with 1076 additions and 809 deletions
9
Data/scripts/base/chara/npc/mapobj/MapObjShipPort.lua
Normal file
9
Data/scripts/base/chara/npc/mapobj/MapObjShipPort.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
|
5
Data/scripts/base/chara/npc/mapobj/MapObjTutorial.lua
Normal file
5
Data/scripts/base/chara/npc/mapobj/MapObjTutorial.lua
Normal file
|
@ -0,0 +1,5 @@
|
|||
require ("global")
|
||||
|
||||
function init(npc)
|
||||
return false, false, 0, 0, 0, 0;
|
||||
end
|
|
@ -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
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
--[[
|
||||
|
||||
InstanceRaidGuide Script
|
||||
|
||||
Functions;
|
||||
|
||||
--]]
|
||||
|
||||
require ("global")
|
||||
|
||||
function init(npc)
|
||||
return false, false, 0, 0;
|
||||
end
|
||||
|
||||
function onEventStarted(player, npc, eventType, eventName)
|
||||
player:EndEvent();
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue