mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-08 21:44:35 +02:00
Added Foundation Day 2012 actors to DftWil for now just so they can talk.
Added a Chocobo to it also that we already had spawned, unsure if authentic or not, added a comment reflecting that. Cleaned up more orphaned scripts from Wil region.
This commit is contained in:
parent
dc1458c52d
commit
7e5ca6e013
83 changed files with 18 additions and 550 deletions
|
@ -14,7 +14,6 @@ Contains all default lines for talkable npcs in the Wilderness Region (aka Thana
|
|||
|
||||
-- [ActorClassId] = "client_function_name"
|
||||
local defaultTalkWil = {
|
||||
|
||||
[1000046] = "defaultTalkWithGogofu_001", -- Gogofu
|
||||
[1000047] = "defaultTalkWithHahayo_001", -- Hahayo
|
||||
[1000070] = "defaultTalkWithKukumuko_001", -- Kukumuko
|
||||
|
@ -200,9 +199,9 @@ local defaultTalkWil = {
|
|||
[1001600] = "defaultTalkWithBertouaint_001", -- <<<NOT IMPLEMENTED>>> - Bertouaint (Eastern Thanalan: Mythril Pit T-8)
|
||||
[1001601] = "defaultTalkWithAldebrand_001", -- <<<NOT IMPLEMENTED>>> - Aldebrand (Eastern Thanalan: Mythril Pit T-8)
|
||||
[1001602] = "defaultTalkWithPyhajawantal_001", -- <<<NOT IMPLEMENTED>>> - Pyha Jawantal (Eastern Thanalan: Mythril Pit T-8)
|
||||
[1001624] = "talkIdayCap", -- <<<NOT IMPLEMENTED>>> - Flame Lieutenant Somber Meadow (Foundation Day 2011 Dialog) - OLD EVENT NPC: Replaced by 2012 version
|
||||
[1001625] = "talkIday1", -- <<<NOT IMPLEMENTED>>> - Flame Sergeant Mimio Mio (Foundation Day 2011 Dialog) - OLD EVENT NPC: Replaced by 2012 version
|
||||
[1001626] = "talkIday2", -- <<<NOT IMPLEMENTED>>> - Flame Private Sisimuza Tetemuza (Foundation Day 2011 Dialog) - OLD EVENT NPC: Replaced by 2012 version
|
||||
--[1001624] = "talkIdayCap", -- <<<NOT IMPLEMENTED>>> - Flame Lieutenant Somber Meadow (Foundation Day 2011 Dialog) - OLD EVENT NPC: Replaced by 2012 version
|
||||
--[1001625] = "talkIday1", -- <<<NOT IMPLEMENTED>>> - Flame Sergeant Mimio Mio (Foundation Day 2011 Dialog) - OLD EVENT NPC: Replaced by 2012 version
|
||||
--[1001626] = "talkIday2", -- <<<NOT IMPLEMENTED>>> - Flame Private Sisimuza Tetemuza (Foundation Day 2011 Dialog) - OLD EVENT NPC: Replaced by 2012 version
|
||||
[1001630] = "defaultTalkWithChocobo_001", -- <<<NOT IMPLEMENTED>>> - Chocobo (Western Thanalan: The Coffer & Coffin) - Stands beside Haipo Eipo
|
||||
[1001685] = "defaultTalkWithAdalbert_001", -- <<<NOT IMPLEMENTED>>> - Flame Sergeant Cotter (Ul'dah: Merchant Strip: -0.92 196.100 126.32) - Double check caps.
|
||||
[1001699] = "defaultTalkWithJandonaut_001", -- <<<NOT IMPLEMENTED>>> - Flame Sergeant Fouillel (Southern Thanalan: Camp Broken Water: 1704 296.001 999)
|
||||
|
@ -230,6 +229,9 @@ local defaultTalkWil = {
|
|||
[1001953] = "defaultTalkWithBerndan_001", -- Berndan
|
||||
[1002047] = "defaultTalkWithInn_Desk_2", -- Kopuru Fupuru - Inn NPC. - defaultTalkWithKopuruFupuru_001 (pre-Inn unlock?)
|
||||
[1002101] = "defaultTalkWithDuraltharal_001", -- Dural Tharal
|
||||
[1002110] = "processEventSOMBER", -- Flame Lieutenant Somber Meadow (Foundation Day 2012 Dialog) Spl000 staticactor
|
||||
[1002111] = "processEventMIMIO", -- Flame Sergeant Mimio Mio (Foundation Day 2012 Dialog) Spl000 staticactor
|
||||
[1002112] = "processEventSISIMUZA", -- Flame Private Sisimuza Tetemuza (Foundation Day 2012 Dialog) Spl000 staticactor
|
||||
[1002116] = "defaultTalkWithHAVAK_ALVAK_001", -- <<<NOT IMPLEMENTED>>> - Havak Alvak (Ul'dah: Milvaneth Sacrarium)
|
||||
[1060028] = "defaultTalkWithCURIOUS_001", -- <<<NOT IMPLEMENTED>>> - Curious Gorge (Western Thanalan: -1116.040039, 53.2, 285.48999)? - defaultTalkWithCURIOUS_002
|
||||
[1060029] = "defaultTalkWithSarra_001", -- <<<NOT IMPLEMENTED>>> - Sarra (Location unknown) defaultTalkWithSarra_002 / 003
|
||||
|
@ -246,10 +248,9 @@ local defaultTalkWil = {
|
|||
[1500110] = "defaultTalkWithSamigamduhla_001", -- <<<NOT IMPLEMENTED>>> - Sami Gamduhla (Western Thanalan Ferry Docks)
|
||||
[1500126] = "tribeTalk", -- Vavaki
|
||||
[1500129] = "defaultTalkWithYayatoki_001", -- Yayatoki
|
||||
[1500230] = "defaultTalkCaravanChocoboUld_001", -- Pack Chocobo (needs verifying)
|
||||
[1700039] = "defaultTalkWithBATERICH_100", -- Baterich
|
||||
|
||||
[1000001] = "defaultTalkWithHamletGuardUld_001" -- TEST TEST TEST
|
||||
|
||||
--[1090549] = "defaultTalkWithInn_ExitDoor" -- Ul'dah Inn Exit Door pushEvent - "Leave your room?"
|
||||
--[1200336] = "defaultTalkWithInn_ExitDoor" -- Ul'dah Inn Exit Door talkEvent - "Leave your room?"
|
||||
|
||||
|
@ -260,16 +261,11 @@ local defaultTalkWil = {
|
|||
[???] = "defaultTalkWithHamletGuardUld_001" --
|
||||
--]]
|
||||
|
||||
-- [1002110] = "processEventSOMBER", arg1, -- Flame Lieutenant Somber Meadow (Foundation Day 2012 Dialog) Spl000 staticactor
|
||||
-- [1002111] = "processEventMIMIO" -- Flame Sergeant Mimio Mio (Foundation Day 2012 Dialog) Spl000 staticactor
|
||||
-- [1002112] = "processEventSISIMUZA" -- Flame Private Sisimuza Tetemuza (Foundation Day 2012 Dialog) Spl000 staticactor
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
function onTalk(player, quest, npc, eventName)
|
||||
|
||||
local npcId = npc:GetActorClassId();
|
||||
|
@ -277,6 +273,8 @@ function onTalk(player, quest, npc, eventName)
|
|||
|
||||
if (npcId == 1002047) then -- Kopuru Fupuru - Inn NPC
|
||||
defaultTalkWithInn(player, quest, clientFunc);
|
||||
elseif ((npcId >= 1002110) and (npcId <= 1002112)) then
|
||||
talkWithSpecial(player, npcId, clientFunc)
|
||||
else
|
||||
callClientFunction(player, "delegateEvent", player, quest, clientFunc);
|
||||
end
|
||||
|
@ -284,13 +282,13 @@ function onTalk(player, quest, npc, eventName)
|
|||
player:EndEvent();
|
||||
end
|
||||
|
||||
|
||||
function IsQuestENPC(player, quest, npc)
|
||||
return defaultTalkWil[npc:GetActorClassId()] ~= nil;
|
||||
end
|
||||
|
||||
|
||||
|
||||
|
||||
function defaultTalkWithInn(player, quest, clientFunc)
|
||||
local choice = callClientFunction(player, "delegateEvent", player, quest, clientFunc);
|
||||
|
||||
|
@ -304,4 +302,12 @@ function defaultTalkWithInn(player, quest, clientFunc)
|
|||
player:SendGameMessage(GetWorldMaster(), 51140, 0x20); --This inn is already your Secondary Homepoint
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
|
||||
function talkWithSpecial(player, npcId, clientFunc)
|
||||
local splQuest = GetStaticActor("Spl000");
|
||||
local magickedPrism = 0;
|
||||
callClientFunction(player, "delegateEvent", player, splQuest, clientFunc, magickedPrism);
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue