mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-10 14:34:32 +02:00
Updated Map Server namespace. Moved all other data folders (www and sql) to data folder. Renamed boot name to Project Meteor.
This commit is contained in:
parent
18ef69f3d1
commit
91549bff7a
1823 changed files with 102704 additions and 901 deletions
|
@ -0,0 +1,10 @@
|
|||
require ("global")
|
||||
|
||||
function init(npc)
|
||||
return false, false, 0, 0, 0x1eb, 0x2;
|
||||
end
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
callClientFunction(player, "askEnterInstanceRaid", 16);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,10 @@
|
|||
require ("global")
|
||||
|
||||
function init(npc)
|
||||
return false, false, 0, 0, 0x1eb, 0x2;
|
||||
end
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
callClientFunction(player, "askEnterInstanceRaid", 15);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,5 @@
|
|||
require ("global")
|
||||
|
||||
function init(npc)
|
||||
return false, false, 0, 0, 0x141, 0xcde;
|
||||
end
|
|
@ -0,0 +1,5 @@
|
|||
require ("global")
|
||||
|
||||
function init(npc)
|
||||
return false, false, 0, 0, 0x187, 0x2;
|
||||
end
|
2
Data/scripts/unique/fst0Town01/Monster/ass.lua
Normal file
2
Data/scripts/unique/fst0Town01/Monster/ass.lua
Normal file
|
@ -0,0 +1,2 @@
|
|||
function onDeath(monster, player, lastAttacker)
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultFst = GetStaticActor("DftFst");
|
||||
callClientFunction(player, "delegateEvent", player, defaultFst, "defaultTalkWithAeduin_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultFst = GetStaticActor("DftFst");
|
||||
callClientFunction(player, "delegateEvent", player, defaultFst, "defaultTalkWithAnene_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultFst = GetStaticActor("DftFst");
|
||||
callClientFunction(player, "delegateEvent", player, defaultFst, "defaultTalkWithAnselm_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultFst = GetStaticActor("DftFst");
|
||||
callClientFunction(player, "delegateEvent", player, defaultFst, "defaultTalkWithBasewin_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultFst = GetStaticActor("DftFst");
|
||||
callClientFunction(player, "delegateEvent", player, defaultFst, "defaultTalkWithBeaudonet_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultFst = GetStaticActor("DftFst");
|
||||
callClientFunction(player, "delegateEvent", player, defaultFst, "defaultTalkWithBertennant_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultFst = GetStaticActor("DftFst");
|
||||
callClientFunction(player, "delegateEvent", player, defaultFst, "defaultTalkWithDrividot_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultFst = GetStaticActor("DftFst");
|
||||
callClientFunction(player, "delegateEvent", player, defaultFst, "defaultTalkWithEdasshym_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultFst = GetStaticActor("DftFst");
|
||||
callClientFunction(player, "delegateEvent", player, defaultFst, "defaultTalkWithEmoni_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultFst = GetStaticActor("DftFst");
|
||||
callClientFunction(player, "delegateEvent", player, defaultFst, "defaultTalkWithFlavielle_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultFst = GetStaticActor("DftFst");
|
||||
callClientFunction(player, "delegateEvent", player, defaultFst, "defaultTalkWithFryswyde_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultFst = GetStaticActor("DftFst");
|
||||
callClientFunction(player, "delegateEvent", player, defaultFst, "defaultTalkWithGontrant_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultFst = GetStaticActor("DftFst");
|
||||
callClientFunction(player, "delegateEvent", player, defaultFst, "defaultTalkWithGyles_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
7
Data/scripts/unique/fst0Town01/PopulaceStandard/hida.lua
Normal file
7
Data/scripts/unique/fst0Town01/PopulaceStandard/hida.lua
Normal file
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultFst = GetStaticActor("DftFst");
|
||||
callClientFunction(player, "delegateEvent", player, defaultFst, "defaultTalkWithHida_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultFst = GetStaticActor("DftFst");
|
||||
callClientFunction(player, "delegateEvent", player, defaultFst, "defaultTalkWithHongavunga_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultFst = GetStaticActor("DftFst");
|
||||
callClientFunction(player, "delegateEvent", player, defaultFst, "defaultTalkWithLtandhaa_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultFst = GetStaticActor("DftFst");
|
||||
callClientFunction(player, "delegateEvent", player, defaultFst, "defaultTalkWithLionnellais_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultFst = GetStaticActor("DftFst");
|
||||
callClientFunction(player, "delegateEvent", player, defaultFst, "defaultTalkWithLonsygg_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultFst = GetStaticActor("DftFst");
|
||||
callClientFunction(player, "delegateEvent", player, defaultFst, "defaultTalkWithMathye_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultFst = GetStaticActor("DftFst");
|
||||
callClientFunction(player, "delegateEvent", player, defaultFst, "defaultTalkWithMemama_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultFst = GetStaticActor("DftFst");
|
||||
callClientFunction(player, "delegateEvent", player, defaultFst, "defaultTalkWithMiniaeth_adv_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultFst = GetStaticActor("DftFst");
|
||||
callClientFunction(player, "delegateEvent", player, defaultFst, "defaultTalkWithMiounne_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultFst = GetStaticActor("DftFst");
|
||||
callClientFunction(player, "delegateEvent", player, defaultFst, "defaultTalkWithNaih_khamazom_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultFst = GetStaticActor("DftFst");
|
||||
callClientFunction(player, "delegateEvent", player, defaultFst, "defaultTalkWithNoncomananco_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultFst = GetStaticActor("DftFst");
|
||||
callClientFunction(player, "delegateEvent", player, defaultFst, "defaultTalkWithOdilie_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultFst = GetStaticActor("DftFst");
|
||||
callClientFunction(player, "delegateEvent", player, defaultFst, "defaultTalkWithPenelope_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
46
Data/scripts/unique/fst0Town01/PopulaceStandard/pfarahr.lua
Normal file
46
Data/scripts/unique/fst0Town01/PopulaceStandard/pfarahr.lua
Normal file
|
@ -0,0 +1,46 @@
|
|||
require ("global")
|
||||
require ("quests/etc/etc5g0")
|
||||
|
||||
function onSpawn(player, npc)
|
||||
|
||||
if (player:HasQuest("Etc5g0") == true and player:GetQuest("Etc5g0"):GetPhase() == 0) then
|
||||
npc:SetQuestGraphic(player, 0x2);
|
||||
else
|
||||
npc:SetQuestGraphic(player, 0x0);
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultFst = GetStaticActor("DftFst");
|
||||
quest = player:GetQuest("Etc5g0");
|
||||
|
||||
result = 1;
|
||||
if (player:HasQuest("Etc5g0")) then
|
||||
unknown, result = callClientFunction(player, "switchEvent", defaultFst, quest, nil, nil, 1, 1, 0x3f1);
|
||||
end
|
||||
|
||||
if (result == 1) then
|
||||
callClientFunction(player, "delegateEvent", player, defaultFst, "defaultTalkWithPfarahr_001", -1, -1);
|
||||
elseif (result == 2) then
|
||||
|
||||
ownedQuest = player:GetQuest("Etc5g0");
|
||||
if (ownedQuest:GetPhase() == 0) then
|
||||
callClientFunction(player, "delegateEvent", player, quest, "processEvent_010");
|
||||
worldMaster = GetWorldMaster();
|
||||
player:SendGameMessage(player, worldMaster, 25225, ownedQuest:GetQuestId());
|
||||
player:SendDataPacket("attention", worldMaster, "", 25225, ownedQuest:GetQuestId());
|
||||
ownedQuest:NextPhase(1);
|
||||
npc:SetQuestGraphic(player, 0x0);
|
||||
vkorolon = GetWorldManager():GetActorInWorldByUniqueId("vkorolon");
|
||||
if (vkorolon ~= nil) then
|
||||
vkorolon:SetQuestGraphic(player, 0x4);
|
||||
end
|
||||
else
|
||||
callClientFunction(player, "delegateEvent", player, quest, "processEvent_010_1");
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultFst = GetStaticActor("DftFst");
|
||||
callClientFunction(player, "delegateEvent", player, defaultFst, "defaultTalkWithPofufu_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultFst = GetStaticActor("DftFst");
|
||||
callClientFunction(player, "delegateEvent", player, defaultFst, "defaultTalkWithSeikfrae_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultFst = GetStaticActor("DftFst");
|
||||
callClientFunction(player, "delegateEvent", player, defaultFst, "defaultTalkWithSerpent_private_dauremant_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultFst = GetStaticActor("DftFst");
|
||||
callClientFunction(player, "delegateEvent", player, defaultFst, "defaultTalkWithSerpent_private_hill_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultFst = GetStaticActor("DftFst");
|
||||
callClientFunction(player, "delegateEvent", player, defaultFst, "defaultTalkWithSerpent_private_hodder_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultFst = GetStaticActor("DftFst");
|
||||
callClientFunction(player, "delegateEvent", player, defaultFst, "defaultTalkWithSylbyrt_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultFst = GetStaticActor("DftFst");
|
||||
callClientFunction(player, "delegateEvent", player, defaultFst, "defaultTalkWithTask_board_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultFst = GetStaticActor("DftFst");
|
||||
callClientFunction(player, "delegateEvent", player, defaultFst, "defaultTalkWithTierney_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultFst = GetStaticActor("DftFst");
|
||||
callClientFunction(player, "delegateEvent", player, defaultFst, "defaultTalkWithTorsefers_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
7
Data/scripts/unique/fst0Town01/PopulaceStandard/ulta.lua
Normal file
7
Data/scripts/unique/fst0Town01/PopulaceStandard/ulta.lua
Normal file
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultFst = GetStaticActor("DftFst");
|
||||
callClientFunction(player, "delegateEvent", player, defaultFst, "defaultTalkWithUlta_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
67
Data/scripts/unique/fst0Town01/PopulaceStandard/vkorolon.lua
Normal file
67
Data/scripts/unique/fst0Town01/PopulaceStandard/vkorolon.lua
Normal file
|
@ -0,0 +1,67 @@
|
|||
require ("global")
|
||||
require ("quests/etc/etc5g0")
|
||||
|
||||
function onSpawn(player, npc)
|
||||
|
||||
if (player:HasQuest("Etc5g0") == true and player:GetQuest("Etc5g0"):GetPhase() == 1) then
|
||||
npc:SetQuestGraphic(player, 0x4);
|
||||
elseif (canAcceptQuest(player)) then
|
||||
npc:SetQuestGraphic(player, 0x2);
|
||||
else
|
||||
npc:SetQuestGraphic(player, 0x0);
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultFst = GetStaticActor("DftFst");
|
||||
quest = GetStaticActor("Etc5g0");
|
||||
|
||||
result = 1;
|
||||
|
||||
if (player:IsQuestCompleted("Etc5g0") == true) then
|
||||
result = 0;
|
||||
else
|
||||
unknown, result = callClientFunction(player, "switchEvent", defaultFst, quest, nil, nil, 1, 1, 0x3f1);
|
||||
end
|
||||
|
||||
if (result == 0) then
|
||||
choice = callClientFunction(player, "delegateEvent", player, defaultFst, "defaultTalkWithInn_Desk", nil, nil, nil);
|
||||
|
||||
if (choice == 1) then
|
||||
GetWorldManager():DoZoneChange(player, 244, nil, 0, 15, 160.048, 0, 154.263, 0);
|
||||
elseif (choice == 2) then
|
||||
if (player:GetHomePointInn() ~= 2) then
|
||||
player:SetHomePointInn(2);
|
||||
player:SendGameMessage(GetWorldMaster(), 60019, 0x20, 2075); --Secondary homepoint set to the Roost
|
||||
else
|
||||
player:SendGameMessage(GetWorldMaster(), 51140, 0x20); --This inn is already your Secondary Homepoint
|
||||
end
|
||||
end
|
||||
elseif (result == 1) then
|
||||
callClientFunction(player, "delegateEvent", player, defaultFst, "defaultTalkWithVkorolon_001", -1, -1);
|
||||
elseif (result == 2) then
|
||||
if (player:HasQuest("Etc5g0") == false) then
|
||||
offerQuestResult = callClientFunction(player, "delegateEvent", player, quest, "processEventVKOROLONStart");
|
||||
if (offerQuestResult == 1) then
|
||||
player:AddQuest("Etc5g0");
|
||||
npc:SetQuestGraphic(player, 0x0);
|
||||
pfarahr = GetWorldManager():GetActorInWorldByUniqueId("pfarahr");
|
||||
if (pfarahr ~= nil) then
|
||||
pfarahr:SetQuestGraphic(player, 0x2);
|
||||
end
|
||||
end
|
||||
elseif (player:GetQuest("Etc5g0"):GetPhase() == 0) then
|
||||
callClientFunction(player, "delegateEvent", player, quest, "processEvent_000_1");
|
||||
elseif (player:GetQuest("Etc5g0"):GetPhase() == 1) then
|
||||
callClientFunction(player, "delegateEvent", player, quest, "processEvent_020");
|
||||
callClientFunction(player, "delegateEvent", player, quest, "sqrwa", 200, 1);
|
||||
player:CompleteQuest("Etc5g0");
|
||||
npc:SetQuestGraphic(player, 0x0);
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
player:EndEvent();
|
||||
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultFst = GetStaticActor("DftFst");
|
||||
callClientFunction(player, "delegateEvent", player, defaultFst, "defaultTalkWithWillielmus_001", nil, nil, nil);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
defaultFst = GetStaticActor("DftFst");
|
||||
callClientFunction(player, "delegateEvent", player, defaultFst, "defaultTalkWithZagylhaemr_001", nil, nil, nil);
|
||||
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 init(player, npc)
|
||||
return false, false, 0, 0;
|
||||
end
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0g0Quest = player:GetQuest("Man0g0");
|
||||
if (man0g0Quest ~= nil) then
|
||||
callClientFunction(player, "delegateEvent", player, man0g0Quest, "processTtrBlkNml001", nil, nil, nil);
|
||||
GetWorldManager():DoZoneChange(player, 155, "PrivateAreaMasterPast", 1, 15, 109.966, 7.559, -1206.117, -2.7916);
|
||||
end
|
||||
player:EndEvent();
|
||||
end
|
|
@ -0,0 +1,16 @@
|
|||
require ("global")
|
||||
require ("quests/man/man0g0")
|
||||
|
||||
function onSpawn(player, npc)
|
||||
npc:SetQuestGraphic(player, 0x3);
|
||||
end
|
||||
|
||||
function onEventStarted(player, npc)
|
||||
man0g1Quest = GetStaticActor("Man0g1");
|
||||
callClientFunction(player, "delegateEvent", player, man0g1Quest, "processEvent100");
|
||||
player:ReplaceQuest(110005, 110006);
|
||||
player:SendGameMessage(GetStaticActor("Man0g1"), 353, 0x20);
|
||||
player:SendGameMessage(GetStaticActor("Man0g1"), 354, 0x20);
|
||||
GetWorldManager():DoZoneChange(player, 155, "PrivateAreaMasterPast", 2, 15, 67.034, 4, -1205.6497, -1.074);
|
||||
player:endEvent();
|
||||
end
|
|
@ -0,0 +1,14 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0g0Quest = player:GetQuest("Man0g0");
|
||||
|
||||
if (man0g0Quest ~= nil) then
|
||||
if (triggerName == "talkDefault") then
|
||||
callClientFunction(player, "delegateEvent", player, man0g0Quest, "processEvent020_6");
|
||||
end
|
||||
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,19 @@
|
|||
require ("global")
|
||||
|
||||
function onSpawn(player, npc)
|
||||
npc:SetQuestGraphic(player, 0x2);
|
||||
end
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0g1Quest = player:GetQuest("Man0g0");
|
||||
|
||||
if (man0g1Quest ~= nil) then
|
||||
if (triggerName == "talkDefault") then
|
||||
callClientFunction(player, "delegateEvent", player, man0g1Quest, "processEvent020_5");
|
||||
npc:SetQuestGraphic(player, 0x0);
|
||||
end
|
||||
end
|
||||
|
||||
player:EndEvent();
|
||||
|
||||
end
|
|
@ -0,0 +1,14 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0g1Quest = player:GetQuest("Man0g1");
|
||||
|
||||
if (man0g1Quest ~= nil) then
|
||||
if (triggerName == "talkDefault") then
|
||||
callClientFunction(player, "delegateEvent", player, man0g1Quest, "processEvent100_3");
|
||||
end
|
||||
end
|
||||
|
||||
player:EndEvent();
|
||||
|
||||
end
|
|
@ -0,0 +1,14 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0g1Quest = player:GetQuest("Man0g1");
|
||||
|
||||
if (man0g1Quest ~= nil) then
|
||||
if (triggerName == "talkDefault") then
|
||||
callClientFunction(player, "delegateEvent", player, man0g1Quest, "processEvent100_6");
|
||||
end
|
||||
end
|
||||
|
||||
player:EndEvent();
|
||||
|
||||
end
|
|
@ -0,0 +1,26 @@
|
|||
require ("global")
|
||||
|
||||
function onSpawn(player, npc)
|
||||
npc:SetQuestGraphic(player, 0x2);
|
||||
end
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
local man0g1Quest = player:GetQuest("Man0g1");
|
||||
local pos = player:GetPos();
|
||||
|
||||
if (man0g1Quest ~= nil) then
|
||||
callClientFunction(player, "delegateEvent", player, man0g1Quest, "processEvent110");
|
||||
player:EndEvent();
|
||||
|
||||
--[[director = player:GetZone():CreateDirector("AfterQuestWarpDirector");
|
||||
player:KickEvent(director, "noticeEvent", true);
|
||||
player:AddDirector(director);
|
||||
player:SetLoginDirector(director);
|
||||
--]]
|
||||
GetWorldManager():DoZoneChange(player, 155, nil, 0, 15, pos[0], pos[1], pos[2], pos[3]);
|
||||
return;
|
||||
end
|
||||
|
||||
player:EndEvent();
|
||||
|
||||
end
|
|
@ -0,0 +1,14 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0g1Quest = player:GetQuest("Man0g1");
|
||||
|
||||
if (man0g1Quest ~= nil) then
|
||||
if (triggerName == "talkDefault") then
|
||||
callClientFunction(player, "delegateEvent", player, man0g1Quest, "processEvent100_2");
|
||||
end
|
||||
end
|
||||
|
||||
player:EndEvent();
|
||||
|
||||
end
|
|
@ -0,0 +1,15 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0g1Quest = player:GetQuest("Man0g1");
|
||||
|
||||
if (man0g1Quest ~= nil) then
|
||||
if (triggerName == "talkDefault") then
|
||||
callClientFunction(player, "delegateEvent", player, man0g1Quest, "processEvent100_7");
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
player:EndEvent();
|
||||
|
||||
end
|
|
@ -0,0 +1,14 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0g1Quest = player:GetQuest("Man0g1");
|
||||
|
||||
if (man0g1Quest ~= nil) then
|
||||
if (triggerName == "talkDefault") then
|
||||
callClientFunction(player, "delegateEvent", player, man0g1Quest, "processEvent100_9");
|
||||
end
|
||||
end
|
||||
|
||||
player:EndEvent();
|
||||
|
||||
end
|
|
@ -0,0 +1,8 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
defaultFst = GetStaticActor("DftFst");
|
||||
callClientFunction(player, "delegateEvent", player, defaultFst, "defaultTalkWithVkorolon_001");
|
||||
player:EndEvent();
|
||||
|
||||
end
|
|
@ -0,0 +1,14 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0g1Quest = player:GetQuest("Man0g1");
|
||||
|
||||
if (man0g1Quest ~= nil) then
|
||||
if (triggerName == "talkDefault") then
|
||||
callClientFunction(player, "delegateEvent", player, man0g1Quest, "processEvent100_4");
|
||||
end
|
||||
end
|
||||
|
||||
player:EndEvent();
|
||||
|
||||
end
|
|
@ -0,0 +1,14 @@
|
|||
require ("global")
|
||||
|
||||
function onEventStarted(player, npc, triggerName)
|
||||
man0g1Quest = player:GetQuest("Man0g1");
|
||||
|
||||
if (man0g1Quest ~= nil) then
|
||||
if (triggerName == "talkDefault") then
|
||||
callClientFunction(player, "delegateEvent", player, man0g1Quest, "processEvent100_8");
|
||||
end
|
||||
end
|
||||
|
||||
player:EndEvent();
|
||||
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue