Code:
local AllianceQuestId = 60013
local HordeQuestId = 60015
local NPC_CONSULT_ELF = 60091
local NPC_CONSULT_HUMAN = 60092
local NPC_CONSULT_DWARF = 60093
local NPC_CONSULT_ORC_1 = 60094
local NPC_CONSULT_ORC_2 = 60095
local NPC_CONSULT_B_ELF = 60096
-------------------------
-- Consult Elf
-------------------------
local function ConsultElfGossip1(event, player, pUnit)
if player:HasQuest(AllianceQuestId) and player:GetRequiredQuestObjectiveCount(AllianceQuestId, NPC_CONSULT_ELF) == 0 then
player:GossipMenuAddItem(0, "The Skettis have made a proposition for the Alliance on this island. What do you think we should do?", 0, 1)
end
player:GossipSendMenu(90032, pUnit)
end
local function ConsultElfGossip2(event, player, pUnit, sender, initid, code)
if initid == 1 then
player:GossipMenuAddItem(0, "I do not know, they bore no discernible emblems.", 0, 2)
player:GossipSendMenu(90033, pUnit)
return
elseif initid == 2 then
player:GossipMenuAddItem(0, "That's an interesting history lesson but what do you think to this proposal?", 0, 3)
player:GossipSendMenu(90034, pUnit)
return
elseif initid == 3 then
if player:HasQuest(AllianceQuestId) and player:GetRequiredQuestObjectiveCount(AllianceQuestId, NPC_CONSULT_ELF) == 0 then
player:AdvanceQuestObjective(AllianceQuestId, 0)
end
player:GossipSendMenu(90035, pUnit)
return
end
player:GossipComplete()
end
RegisterCreatureGossipEvent(NPC_CONSULT_ELF, GOSSIP_EVENT_ON_HELLO, ConsultElfGossip1)
RegisterCreatureGossipEvent(NPC_CONSULT_ELF, GOSSIP_EVENT_ON_SELECT, ConsultElfGossip2)
-------------------------
-- Consult Dwarf
-------------------------
local function ConsultDwarfGossip1(event, player, pUnit)
if player:HasQuest(AllianceQuestId) and player:GetRequiredQuestObjectiveCount(AllianceQuestId, NPC_CONSULT_DWARF) == 0 then
player:GossipMenuAddItem(0, "The Skettis are trying to work with us, they will help the Alliance’s interests if we aid theirs. What do you make of this proposal?", 0, 1)
end
player:GossipSendMenu(90023, pUnit)
end
local function ConsultDwarfGossip2(event, player, pUnit, sender, initid, code)
if initid == 1 then
player:GossipMenuAddItem(0, "Have you ever actually seen them do anything that would validate these tales?", 0, 2)
player:GossipSendMenu(90024, pUnit)
return
elseif initid == 2 then
player:GossipMenuAddItem(0, "I respect your opinion Kelstrum, but I urge you to give them a chance.", 0, 3)
player:GossipMenuAddItem(0, "I agree with you Kelstrum, but protecting the one true timeline is an unfathomably tough task and we could use all the help we can get.", 0, 3)
player:GossipSendMenu(90025, pUnit)
return
elseif initid == 3 then
if player:HasQuest(AllianceQuestId) and player:GetRequiredQuestObjectiveCount(AllianceQuestId, NPC_CONSULT_DWARF) == 0 then
player:AdvanceQuestObjective(AllianceQuestId, 2)
end
player:GossipSendMenu(90026, pUnit)
return
end
player:GossipComplete()
end
RegisterCreatureGossipEvent(NPC_CONSULT_DWARF, GOSSIP_EVENT_ON_HELLO, ConsultDwarfGossip1)
RegisterCreatureGossipEvent(NPC_CONSULT_DWARF, GOSSIP_EVENT_ON_SELECT, ConsultDwarfGossip2)
-------------------------
-- Consult Human
-------------------------
local function ConsultHumanGossip1(event, player, pUnit)
if player:HasQuest(AllianceQuestId) and player:GetRequiredQuestObjectiveCount(AllianceQuestId, NPC_CONSULT_HUMAN) == 0 then
player:GossipMenuAddItem(0, "The Skettis have a proposal for us, what do you make of this?", 0, 1)
end
player:GossipSendMenu(90028, pUnit)
end
local function ConsultHumanGossip2(event, player, pUnit, sender, initid, code)
if initid == 1 then
player:GossipMenuAddItem(0, "Yes that’s correct.", 0, 2)
player:GossipSendMenu(90029, pUnit)
return
elseif initid == 2 then
player:GossipMenuAddItem(0, "They have given me no reason to have quarrel with them.", 0, 3)
player:GossipMenuAddItem(0, "I do not trust them but right now it seems that we could use all the help that we can muster.", 0, 3)
player:GossipSendMenu(90030, pUnit)
return
elseif initid == 3 then
if player:HasQuest(AllianceQuestId) and player:GetRequiredQuestObjectiveCount(AllianceQuestId, NPC_CONSULT_HUMAN) == 0 then
player:AdvanceQuestObjective(AllianceQuestId, 1)
end
player:GossipSendMenu(90031, pUnit)
return
end
player:GossipComplete()
end
RegisterCreatureGossipEvent(NPC_CONSULT_HUMAN, GOSSIP_EVENT_ON_HELLO, ConsultHumanGossip1)
RegisterCreatureGossipEvent(NPC_CONSULT_HUMAN, GOSSIP_EVENT_ON_SELECT, ConsultHumanGossip2)
-------------------------
-- Consult Orc 1
-------------------------
local function ConsultOrc1Gossip1(event, player, pUnit)
if player:HasQuest(HordeQuestId) and player:GetRequiredQuestObjectiveCount(HordeQuestId, NPC_CONSULT_ORC_1) == 0 then
player:GossipMenuAddItem(0, "Pimalist Elan Rainstream values your opinion highly and wants to know what you think of the Skettis proposing a pact?", 0, 1)
end
player:GossipSendMenu(90040, pUnit)
end
local function ConsultOrc1Gossip2(event, player, pUnit, sender, initid, code)
if initid == 1 then
player:GossipMenuAddItem(0, "What have they done to wrong you?", 0, 2)
player:GossipSendMenu(90041, pUnit)
return
elseif initid == 2 then
player:GossipMenuAddItem(0, "We need all the allies we can get if we are to protect the one true timeline. We are not strong enough to stop the entirety of the Infinite Dragonflight.", 0, 3)
player:GossipMenuAddItem(0, "That was a long time ago - would the Bronze Dragonflight allow them to stay in the Hub if they were that terrible?", 0, 3)
player:GossipSendMenu(90042, pUnit)
return
elseif initid == 3 then
if player:HasQuest(HordeQuestId) and player:GetRequiredQuestObjectiveCount(HordeQuestId, NPC_CONSULT_ORC_1) == 0 then
player:AdvanceQuestObjective(HordeQuestId, 0)
end
player:GossipSendMenu(90043, pUnit)
return
end
player:GossipComplete()
end
RegisterCreatureGossipEvent(NPC_CONSULT_ORC_1, GOSSIP_EVENT_ON_HELLO, ConsultOrc1Gossip1)
RegisterCreatureGossipEvent(NPC_CONSULT_ORC_1, GOSSIP_EVENT_ON_SELECT, ConsultOrc1Gossip2)
-------------------------
-- Consult Orc 2
-------------------------
local function ConsultOrc2Gossip1(event, player, pUnit)
if player:HasQuest(HordeQuestId) and player:GetRequiredQuestObjectiveCount(HordeQuestId, NPC_CONSULT_ORC_2) == 0 then
player:GossipMenuAddItem(0, "This matter is urgent – the Skettis is looking to form a pact with the Horde. What do you think to this?", 0, 1)
end
player:GossipSendMenu(90036, pUnit)
end
local function ConsultOrc2Gossip2(event, player, pUnit, sender, initid, code)
if initid == 1 then
player:GossipMenuAddItem(0, "Are you saying the Skettis cannot be trusted?", 0, 2)
player:GossipSendMenu(90037, pUnit)
return
elseif initid == 2 then
player:GossipMenuAddItem(0, "What about protecting the one true timeline? Surely we need their help if they are offering it.", 0, 3)
player:GossipSendMenu(90038, pUnit)
return
elseif initid == 3 then
if player:HasQuest(HordeQuestId) and player:GetRequiredQuestObjectiveCount(HordeQuestId, NPC_CONSULT_ORC_2) == 0 then
player:AdvanceQuestObjective(HordeQuestId, 1)
end
player:GossipSendMenu(90039, pUnit)
return
end
player:GossipComplete()
end
RegisterCreatureGossipEvent(NPC_CONSULT_ORC_2, GOSSIP_EVENT_ON_HELLO, ConsultOrc2Gossip1)
RegisterCreatureGossipEvent(NPC_CONSULT_ORC_2, GOSSIP_EVENT_ON_SELECT, ConsultOrc2Gossip2)
-------------------------
-- Consult Blood Elf
-------------------------
local function ConsultBloodElfGossip1(event, player, pUnit)
if player:HasQuest(HordeQuestId) and player:GetRequiredQuestObjectiveCount(HordeQuestId, NPC_CONSULT_B_ELF) == 0 then
player:GossipMenuAddItem(0, "The Skettis have made a proposition for the Horde on this island. What do you think we should do?", 0, 1)
end
player:GossipSendMenu(90044, pUnit)
end
local function ConsultBloodElfGossip2(event, player, pUnit, sender, initid, code)
if initid == 1 then
player:GossipMenuAddItem(0, "I do not know, they bore no discernible emblems.", 0, 2)
player:GossipSendMenu(90045, pUnit)
return
elseif initid == 2 then
player:GossipMenuAddItem(0, "That's an interesting history lesson but what do you think to this proposal?", 0, 3)
player:GossipSendMenu(90046, pUnit)
return
elseif initid == 3 then
if player:HasQuest(HordeQuestId) and player:GetRequiredQuestObjectiveCount(HordeQuestId, NPC_CONSULT_B_ELF) == 0 then
player:AdvanceQuestObjective(HordeQuestId, 2)
end
player:GossipSendMenu(90047, pUnit)
return
end
player:GossipComplete()
end
RegisterCreatureGossipEvent(NPC_CONSULT_B_ELF, GOSSIP_EVENT_ON_HELLO, ConsultBloodElfGossip1)
RegisterCreatureGossipEvent(NPC_CONSULT_B_ELF, GOSSIP_EVENT_ON_SELECT, ConsultBloodElfGossip2)
-------------------------
Sorry this doesn't help much.