[1.1.2579 rev1092] QuestScripts bouncing back and forth between two states

Started by b606, March 22, 2020, 12:36:38 PM

Previous topic - Next topic

Ragnar-F

All affected elements have one thing in common: Within the same XML file, they have at least one counterpart element with the same content. In other words, there are elements with the same EN: comment per XML file. Apparently these elements interfere with each other. The EN: comments of all other non-affected elements are unique within an XML file. Specifically (the last element of each element group will be removed and later re-added):


Royalty/DefInjected/QuestScriptDef/Script_BuildMonument_Worker.xml

<!-- EN: Do not destroy the monument for {0} -->

<BuildMonumentWorker.root.nodes.IsTrue-2.elseNode.elseNode.nodes.IsNull.elseNode.node.nodes.Delay.expiryInfoPart.slateRef>

<BuildMonumentWorker.root.nodes.IsTrue-2.elseNode.elseNode.nodes.IsNull.elseNode.node.nodes.Delay.expiryInfoPartTip.slateRef>


Royalty/DefInjected/QuestScriptDef/Script_ChangeRoyalHeir.xml

<!-- EN: Do not destroy the monument for {0} -->

<ChangeRoyalHeir.root.nodes.monumentMarkerMonumentCompleted.node.nodes.Delay.expiryInfoPart.slateRef>

<ChangeRoyalHeir.root.nodes.monumentMarkerMonumentCompleted.node.nodes.Delay.expiryInfoPartTip.slateRef>


Royalty/DefInjected/QuestScriptDef/Script_EndGame_RoyalAscent.xml

<!-- EN: Quest failed: [resolvedQuestName] -->

<EndGame_RoyalAscent.root.nodes.Letter.label.slateRef>

<EndGame_RoyalAscent.root.nodes.shuttleSentUnsatisfied.node.nodes.Letter.label.slateRef>


Royalty/DefInjected/QuestScriptDef/Script_Hospitality_Worker.xml

<!-- EN: Guest lost: {SUBJECT_definite} -->

<Hospitality_Util_Worker.root.nodes.lodgersLeftMap.node.nodes.Letter.label.slateRef>

<Hospitality_Util_Worker.root.nodes.AnySignal.node.node.nodes.Letter.label.slateRef>


Royalty/DefInjected/QuestScriptDef/Scripts_Decree.xml

<!-- EN: Do not destroy the monument for {0} -->

<Decree_BuildMonument.root.nodes.monumentMarkerMonumentCompleted.node.nodes.Delay.expiryInfoPart.slateRef>

<Decree_BuildMonument.root.nodes.monumentMarkerMonumentCompleted.node.nodes.Delay.expiryInfoPartTip.slateRef>


Royalty/DefInjected/QuestScriptDef/Scripts_JoinerThreat.xml

<!-- EN: {BASELABEL}: Chasing [joiner_nameDef] -->

<ThreatReward_Infestation_Joiner.root.nodes.Delay.node.nodes.Util_Infestation.parms.customLetterLabel.value.slateRef>

<ThreatReward_Manhunters_Joiner.root.nodes.Delay.node.nodes.ManhunterPack.customLetterLabel.slateRef>

<ThreatReward_MysteryThreat_Joiner.root.nodes.Delay.node.nodes.RandomNode.nodes.Sequence-1.nodes.Set-0.value.slateRef>

<ThreatReward_MysteryThreat_Joiner.root.nodes.Delay.node.nodes.RandomNode.nodes.Sequence-3.nodes.Set-0.value.slateRef>

<!-- EN: {BASELABEL} chasing [../joiner_nameDef] -->

<ThreatReward_RaidMultiFaction_Joiner.root.nodes.Delay.node.nodes.Util_Raid.parms.customLetterLabel.value.slateRef>

<ThreatReward_RaidMultiFaction_Joiner.root.nodes.Delay.node.nodes.Delay.node.nodes.Util_Raid.parms.customLetterLabel.value.slateRef>

Nowhere

Nvm, i got confused by some descriptions. I was able to repro these items being removed after going to a commit just before the Step 1. Now i can finally debug it!

Nowhere