Open topaz-next-bot opened 3 years ago
Comment by eyes-and-brain Monday Oct 05, 2020 at 03:22:22
local CurrentMission = player:getCurrentMission(SANDORIA)
local MissionStatus = player:getCharVar("MissionStatus")
-- San d'Oria Mission 2-3 Part II - Windurst > Bastok
if (CurrentMission == tpz.mission.id.sandoria.JOURNEY_ABROAD) then
if (MissionStatus == 8) then
player:startEvent(211)
elseif (MissionStatus == 11) then
player:startEvent(212)
else
player:startEvent(210)
end
else
player:startEvent(201)
end
local CurrentMission = player:getCurrentMission(SANDORIA)
local MissionStatus = player:getCharVar("MissionStatus")
-- San d'Oria Mission 2-3 Part II - Windurst > Bastok
if (CurrentMission == tpz.mission.id.sandoria.JOURNEY_ABROAD) then
if (MissionStatus == 8) then
player:startEvent(214)
elseif (MissionStatus == 11) then
player:startEvent(215)
else
player:startEvent(213)
end
else
player:startEvent(202)
end
local CurrentMission = player:getCurrentMission(SANDORIA)
local MissionStatus = player:getCharVar("MissionStatus")
-- San d'Oria Mission 2-3 Part II - Windurst > Bastok
if (CurrentMission == tpz.mission.id.sandoria.JOURNEY_ABROAD) then
if (MissionStatus == 8) then
player:startEvent(217)
elseif (MissionStatus == 11) then
player:startEvent(218)
else
player:startEvent(216)
end
else
player:startEvent(203)
end
When "MissionStatus == 11" A cutscene "2007" should occur.
if (player:getCurrentMission(SANDORIA) == tpz.mission.id.sandoria.JOURNEY_ABROAD and MissionStatus == 11) then
player:startEvent(2007)
After completing the mission, the NPC "Halver" is unresponsive. You should see the message ID "7080".
Comment by eyes-and-brain Wednesday Oct 07, 2020 at 14:06:46
Fixed it again.
NPC: Riault
function onTrigger(player, npc)
local CurrentMission = player:getCurrentMission(SANDORIA)
local MissionStatus = player:getCharVar("MissionStatus")
if (CurrentMission ~= tpz.mission.id.sandoria.NONE) then
if (MissionStatus == 3 or MissionStatus == 8) then
player:startEvent(211)
elseif (MissionStatus == 6 or MissionStatus == 11) then
player:startEvent(212)
else
player:startEvent(210)
end
else
player:startEvent(201)
end
end
- NPC: Lutia
function onTrigger(player, npc)
local CurrentMission = player:getCurrentMission(SANDORIA)
local MissionStatus = player:getCharVar("MissionStatus")
if (CurrentMission ~= tpz.mission.id.sandoria.NONE) then
if (MissionStatus == 3 or MissionStatus == 8) then
player:startEvent(214)
elseif (MissionStatus == 6 or MissionStatus == 11) then
player:startEvent(215)
else
player:startEvent(213)
end
else
player:startEvent(202)
end
end
- NPC: Chantain
function onTrigger(player, npc)
local CurrentMission = player:getCurrentMission(SANDORIA)
local MissionStatus = player:getCharVar("MissionStatus")
if (CurrentMission ~= tpz.mission.id.sandoria.NONE) then
if (MissionStatus == 3 or MissionStatus == 8) then
player:startEvent(217)
elseif (MissionStatus == 6 or MissionStatus == 11) then
player:startEvent(218)
else
player:startEvent(216)
end
else
player:startEvent(203)
end
end
- NPC: Savae E Paleade
function onTrigger(player, npc)
local CurrentMission = player:getCurrentMission(SANDORIA)
local MissionStatus = player:getCharVar("MissionStatus")
-- San d'Oria Mission 2-3 Part I - Bastok > Windurst
if (CurrentMission == tpz.mission.id.sandoria.JOURNEY_ABROAD and MissionStatus == 2) then
player:startEvent(204)
-- San d'Oria Mission 2-3 Part II - Windurst > Bastok
elseif (CurrentMission == tpz.mission.id.sandoria.JOURNEY_ABROAD and MissionStatus == 7) then
player:startEvent(206)
elseif (CurrentMission == tpz.mission.id.sandoria.JOURNEY_TO_BASTOK2 and MissionStatus == 11) then
player:startEvent(207)
-----------------
elseif (CurrentMission ~= tpz.mission.id.sandoria.NONE) then
if (MissionStatus == 6 or MissionStatus == 11) then
player:startEvent(209)
else
player:startEvent(208)
end
else
player:startEvent(200)
end
end
Issue by eyes-and-brain Sunday Oct 04, 2020 at 09:23:53 Originally opened as: project-topaz/topaz - Issue 1250
I have:
Additional Information (Steps to reproduce/Expected behavior) :
While the mission is in progress, the NPC's message should change.
https://github.com/project-topaz/topaz/blob/8b373aa9c64081142a5f24daaac08a9b0b9d7ca8/scripts/zones/Windurst_Woods/npcs/Catalia.lua#L13-L15
https://github.com/project-topaz/topaz/blob/8b373aa9c64081142a5f24daaac08a9b0b9d7ca8/scripts/zones/Windurst_Woods/npcs/Forine.lua#L11-L13
https://github.com/project-topaz/topaz/blob/8b373aa9c64081142a5f24daaac08a9b0b9d7ca8/scripts/zones/Windurst_Woods/npcs/Erpolant.lua#L13-L15
https://github.com/project-topaz/topaz/blob/8b373aa9c64081142a5f24daaac08a9b0b9d7ca8/scripts/zones/Heavens_Tower/npcs/Kupipi.lua#L55-L68
A message is added to NPC "Uu Zhoumo" when the keyItem is lost.
https://github.com/project-topaz/topaz/blob/8b373aa9c64081142a5f24daaac08a9b0b9d7ca8/scripts/zones/Giddeus/npcs/Uu_Zhoumo.lua#L39-L51
"ID.text.XXX" has the value "7333".