Thanks for the update! Some false positives to report:
--- Error 1 of 1 ---
At <mod>\common\cb_types\AGOT_cb_types.txt [reclaim_ancestral_sword\on_success\FROM\any_artifact\hidden_tooltip\owner] (Line 2651, column 6):
Invalid node "owner" in scope ArtifactCommand (value is: <a complex type>)
--- Error 1 of 1 ---
At <mod>\common\cb_types\AGOT_cb_types.txt [reclaim_ancestral_sword\on_success\FROM\any_artifact\if\unsafe_destroy_artifact] (Line 2673, column 6):
Invalid node "unsafe_destroy_artifact" in scope ArtifactIfClause (value is: yes)
These were added in a recent patch
--- Error 1 of 1 ---
At <mod>\common\cb_types\AGOT_cb_types.txt [reclaim_ancestral_sword\on_success\FROM\any_artifact\else\transfer_artifact\from] (Line 2683, column 28):
"PREV" is not a valid ThisChar.
PREV points to ArtifactCommand.
However, a Char was expected.
Additional information: PREV points to ArtifactCommand.
However, a Char was expected.
PREV is a character here, the script used is:
on_success = {
FROM = {
any_artifact = {
transfer_artifact = { from = PREV to = ROOT }
}
--- Error 1 of 1 ---
At <mod>\decisions\councillor_decision.txt [targetted_decisions\reassign_councillor\ai_target_filter] (Line 398, column 3):
"none" is not a valid FilterTarget.
none is now a valid decision target
--- Error 1 of 1 ---
At <mod>\decisions\diplomatic_decisions.txt [targetted_decisions\ask_to_embargo\ai_will_do\modifier\FROMFROM] (Line 2119, column 5):
Invalid use of 'FROMFROM': This is not a valid place to use FROM.
FROMFROM scopes to third parties that were added to decisions in the last patch
--- Error 1 of 1 ---
At <mod>\decisions\diplomatic_decisions.txt [targetted_decisions\ask_to_embargo\show_third_party_score] (Line 1766, column 3):
Invalid node "show_third_party_score" in scope DecisionDef (value is: no)
Related to above
--- Error 1 of 1 ---
At <mod>\decisions\jd_decisions.txt [decisions\write_a_book\ai_will_do\modifier\NOR\government] (Line 233, column 6):
"theocracy" is not a valid Government or MaybeEventTargetChar.
--- Error 1 of 1 ---
At <mod>\decisions\jd_decisions.txt [decisions\write_a_book\ai_will_do\modifier\NOR\government] (Line 234, column 6):
"republic" is not a valid Government or MaybeEventTargetChar.
These are used in vanilla and appear to be valid
--- Error 1 of 1 ---
At <mod>\decisions\minor_decisions.txt [decisions\destroy_artifact\effect\FROM] (Line 1309, column 4):
Invalid use of 'FROM': This is not a valid place to use FROM.
In this particular hardcoded decision, FROM is an artifact
--- Error 1 of 1 ---
At <mod>\decisions\rip_various_decisions.txt [decisions\employ_court_physician\potential\OR\AND\OR\num_of_symptoms] (Line 535, column 7):
"0" is not a valid PositiveInt.
Here the script is num_of_symptoms > 0
--- Error 1 of 1 ---
At <mod>\common\laws\demesne_laws.txt [laws\first_night_0\revoke_allowed] (Line 1282, column 3):
Invalid node "revoke_allowed" in scope DecisionDef (value is: <a complex type>)
--- Error 1 of 1 ---
At <mod>\common\laws\demesne_laws.txt [laws\privilege_vassal_king\ai_will_revoke] (Line 1236, column 3):
Invalid node "ai_will_revoke" in scope DecisionDef (value is: <a complex type>)
These are present in vanilla laws/decisions
--- Error 1 of 1 ---
At <mod>\common\laws\succession_laws.txt [succession_laws\succ_offmap_succession\effect\succession] (Line 1044, column 4):
"offmap_succession" is not a valid SuccessionType.
--- Error 1 of 1 ---
At <mod>\common\event_modifiers\00_event_modifiers.txt [china_raid_active\multiplicative_trade_post_income_modifier] (Line 4917, column 2):
Invalid node "multiplicative_trade_post_income_modifier" in scope <anon> (value is: -0.25)
Both added in the last patch
--- Error 1 of 1 ---
At <mod>\common\artifact_spawns\book_artifact_spawns.txt [book_before_the_dragons\weight\modifier] (Line 894, column 3):
Invalid node "modifier" in scope <anon> (value is: <a complex type>)
modifier works in this location
--- Error 1 of 1 ---
At <mod>\common\artifacts\01_artifacts_books.txt [the_secret_history_of_culture\active\dynasty] (Line 1042, column 3):
"FROMFROM" is not a valid None, 0, MaybeEventTargetChar, OpinionClauseDefinedTypes, or DynastyId.
MaybeEventTargetChar: cannot be because FROMFROM points to <null>.
However, a Char was expected.
This is not a valid place to use FROM.
FROMFROM is the original artifact holder
--- Error 1 of 1 ---
At <mod>\common\artifacts\01_artifacts_books.txt [a_history_of_armor\siege_defence] (Line 127, column 2):
Invalid node "siege_defence" in scope ArtifactDef (value is: 0.025)
--- Error 1 of 1 ---
At <mod>\common\cb_types\000_dothraki_cb_types.txt [cb_minor_clan_revolt\is_valid_title\OR\FROM\has_landed_title] (Line 1614, column 5):
"PREV" is not a valid AnyTitle, MaybeEventTargetTitle, or No.
MaybeEventTargetTitle: cannot be because PREV points to CbTitleTrigger.
However, a Title was expected.
Title blocks in casus belli (like is_valid_title, on_success_title etc) do not appear to being read as title scopes. In this example the script is below:
is_valid_title = {
OR = {
FROM = {
has_landed_title = PREV
}
holder_scope = {
is_liege_or_above = FROM
}
}
}