Thanks as always for another update.
1. Start a new game as a vassal of any ruler. Start a plot to kill your liege.
2. Switch to liege (use 'charinfo' to get the character ID, 'play [charID]' to switch)
3. Hover over the second Centralization Law, which should show a tooltip matching the script in the mod's sole file (adapted from CleanSlate, shouldn't interfere in any way with vanilla CK2).
4. Switch back to the vassal, cancel the plot and plot against any other charater.
5. Switch back to the liege and note the tooltip will no longer show.
Small test mod included below. To reproduce in-game:Should this continue please provide a full mod repro
1. Start a new game as a vassal of any ruler. Start a plot to kill your liege.
2. Switch to liege (use 'charinfo' to get the character ID, 'play [charID]' to switch)
3. Hover over the second Centralization Law, which should show a tooltip matching the script in the mod's sole file (adapted from CleanSlate, shouldn't interfere in any way with vanilla CK2).
4. Switch back to the vassal, cancel the plot and plot against any other charater.
5. Switch back to the liege and note the tooltip will no longer show.
Audax.Validator\Extension\Data\Ck2\Calls\AllMisc.pdox contains a few typos, causing some crashes if used during validation. Lines 1145 through 1147 contain 'CharComand' instead of 'CharCommand'.
All tested to work.
Valid 'fancy' RHS scope. Probably one for RhsFancyScopeOptionToChar
Valid but otherwise undocumented scope in character trigger and effect scopes.
Valid RHS for all triggers and effects that take a society, maybe one for RhsFancyScopeOptionToSociety.
All tested to work. 'fort_owner' and 'trade_post_owner' also work here.
Code:
--- Error 1 of 10 ---
At <mod>\common\laws\demesne_laws.txt [laws\centralization_1\effect\holder_scope\event_target:test_artifact\transfer_artifact\from] (Line 247, column 7):
"c_91487" is not a valid ThisChar.
Additional information: Expected one of: THIS, ROOT, FROM, FROMFROM, FROMFROMFROM (and so on), PREV, PREVPREV (and so on)
--- Error 2 of 10 ---
At <mod>\common\laws\demesne_laws.txt [laws\centralization_1\effect\holder_scope\event_target:test_artifact\transfer_artifact\to] (Line 248, column 7):
"c_91487" is not a valid ThisChar.
Additional information: Expected one of: THIS, ROOT, FROM, FROMFROM, FROMFROMFROM (and so on), PREV, PREVPREV (and so on)
--- Error 3 of 10 ---
At <mod>\common\laws\demesne_laws.txt [laws\centralization_1\effect\holder_scope\event_target:test_artifact\transfer_artifact\from] (Line 252, column 7):
"owner" is not a valid ThisChar.
Additional information: Expected one of: THIS, ROOT, FROM, FROMFROM, FROMFROMFROM (and so on), PREV, PREVPREV (and so on)
--- Error 4 of 10 ---
At <mod>\common\laws\demesne_laws.txt [laws\centralization_1\effect\holder_scope\event_target:test_artifact\transfer_artifact\to] (Line 253, column 7):
"owner" is not a valid ThisChar.
Additional information: Expected one of: THIS, ROOT, FROM, FROMFROM, FROMFROMFROM (and so on), PREV, PREVPREV (and so on)
--- Error 5 of 10 ---
At <mod>\common\laws\demesne_laws.txt [laws\centralization_1\effect\holder_scope\event_target:test_artifact\transfer_artifact\from] (Line 257, column 7):
"artifact_owner" is not a valid ThisChar.
Additional information: Expected one of: THIS, ROOT, FROM, FROMFROM, FROMFROMFROM (and so on), PREV, PREVPREV (and so on)
--- Error 6 of 10 ---
At <mod>\common\laws\demesne_laws.txt [laws\centralization_1\effect\holder_scope\event_target:test_artifact\transfer_artifact\to] (Line 258, column 7):
"artifact_owner" is not a valid ThisChar.
Additional information: Expected one of: THIS, ROOT, FROM, FROMFROM, FROMFROMFROM (and so on), PREV, PREVPREV (and so on)
--- Error 7 of 10 ---
At <mod>\common\laws\demesne_laws.txt [laws\centralization_1\effect\holder_scope\event_target:test_artifact\transfer_artifact\from] (Line 262, column 7):
"original_artifact_owner" is not a valid ThisChar.
Additional information: Expected one of: THIS, ROOT, FROM, FROMFROM, FROMFROMFROM (and so on), PREV, PREVPREV (and so on)
--- Error 8 of 10 ---
At <mod>\common\laws\demesne_laws.txt [laws\centralization_1\effect\holder_scope\event_target:test_artifact\transfer_artifact\to] (Line 263, column 7):
"original_artifact_owner" is not a valid ThisChar.
Additional information: Expected one of: THIS, ROOT, FROM, FROMFROM, FROMFROMFROM (and so on), PREV, PREVPREV (and so on)
--- Error 9 of 10 ---
At <mod>\common\laws\demesne_laws.txt [laws\centralization_1\effect\holder_scope\event_target:test_artifact\transfer_artifact\from] (Line 267, column 7):
"original_owner" is not a valid ThisChar.
Additional information: Expected one of: THIS, ROOT, FROM, FROMFROM, FROMFROMFROM (and so on), PREV, PREVPREV (and so on)
--- Error 10 of 10 ---
At <mod>\common\laws\demesne_laws.txt [laws\centralization_1\effect\holder_scope\event_target:test_artifact\transfer_artifact\to] (Line 268, column 7):
"original_owner" is not a valid ThisChar.
Additional information: Expected one of: THIS, ROOT, FROM, FROMFROM, FROMFROMFROM (and so on), PREV, PREVPREV (and so on)
All tested to work.
Code:
At <mod>\common\laws\demesne_laws.txt [laws\centralization_1\allow\holder_scope\has_non_aggression_pact_with] (Line 149, column 5):
"crusade_target_char" is not a valid MaybeEventTargetChar or CharTargetExcludingMaybeEventTarget.
Valid 'fancy' RHS scope. Probably one for RhsFancyScopeOptionToChar
Code:
--- Error 1 of 2 ---
At <mod>\common\laws\demesne_laws.txt [laws\centralization_1\allow\holder_scope\discovered_society] (Line 153, column 5):
Invalid node "discovered_society" in scope CharTrigger (value is: <a complex type>)
--- Error 2 of 2 ---
At <mod>\common\laws\demesne_laws.txt [laws\centralization_1\effect\holder_scope\discovered_society] (Line 292, column 5):
Invalid node "discovered_society" in scope CharCommand (value is: <a complex type>)
Valid but otherwise undocumented scope in character trigger and effect scopes.
Code:
At <mod>\common\laws\demesne_laws.txt [laws\centralization_1\allow\holder_scope\society_member_of] (Line 151, column 5):
"discovered_society" is not a valid MaybeEventTargetCharSociety or SocietyThingsWithoutThis.
Valid RHS for all triggers and effects that take a society, maybe one for RhsFancyScopeOptionToSociety.
Code:
--- Error 1 of 13 ---
At <mod>\common\laws\demesne_laws.txt [laws\centralization_1\allow\holder_scope\capital_scope\is_reformed_religion] (Line 194, column 6):
"hospital_owner" is not a valid Bool or OnlyCharTarget.
--- Error 2 of 13 ---
At <mod>\common\laws\demesne_laws.txt [laws\centralization_1\allow\holder_scope\capital_scope\owned_by] (Line 158, column 6):
"hospital_owner" is not a valid MaybeEventTargetChar or CharTargetExcludingMaybeEventTarget.
--- Error 3 of 13 ---
At <mod>\common\laws\demesne_laws.txt [laws\centralization_1\allow\holder_scope\capital_scope\controlled_by] (Line 161, column 6):
"hospital_owner" is not a valid AnyTitle, MaybeEventTargetChar, or PrefixedCharId.
--- Error 4 of 13 ---
At <mod>\common\laws\demesne_laws.txt [laws\centralization_1\allow\holder_scope\capital_scope\de_facto_liege] (Line 164, column 6):
"hospital_owner" is not a valid MaybeEventTarget(Title).
--- Error 5 of 13 ---
At <mod>\common\laws\demesne_laws.txt [laws\centralization_1\allow\holder_scope\capital_scope\de_jure_liege] (Line 167, column 6):
"hospital_owner" is not a valid MaybeEventTargetCharTitle or AnyTitle.
--- Error 6 of 13 ---
At <mod>\common\laws\demesne_laws.txt [laws\centralization_1\allow\holder_scope\capital_scope\de_jure_liege_or_above] (Line 170, column 6):
"hospital_owner" is not a valid MaybeEventTargetCharTitle, AnyTitle, CharTargetExcludingMaybeEventTarget, or ThirdpartyTitleScope.
--- Error 7 of 13 ---
At <mod>\common\laws\demesne_laws.txt [laws\centralization_1\allow\holder_scope\capital_scope\is_quest_target_of] (Line 173, column 6):
"hospital_owner" is not a valid MaybeEventTarget(Char).
--- Error 8 of 13 ---
At <mod>\common\laws\demesne_laws.txt [laws\centralization_1\allow\holder_scope\capital_scope\culture] (Line 176, column 6):
"hospital_owner" is not a valid Culture or MaybeEventTargetCharCultureProvTitle, OpinionClauseDefinedTypes, CharTargetExcludingMaybeEventTarget, AnyTitle, RhsFancyScopeOptionToAny, or CapitalScope.
--- Error 9 of 13 ---
At <mod>\common\laws\demesne_laws.txt [laws\centralization_1\allow\holder_scope\capital_scope\culture_group] (Line 179, column 6):
"hospital_owner" is not a valid CultureGroup or MaybeEventTargetCharCultureProvTitle, OpinionClauseDefinedTypes, CharTargetExcludingMaybeEventTarget, AnyTitle, RhsFancyScopeOptionToAny, or CapitalScope.
--- Error 10 of 13 ---
At <mod>\common\laws\demesne_laws.txt [laws\centralization_1\allow\holder_scope\capital_scope\religion] (Line 182, column 6):
"hospital_owner" is not a valid Religion or MaybeEventTargetCharProvReligionSocietyTitle, CharTargetExcludingMaybeEventTarget, ReligionTargetCheck, SocietyThingsWithoutThis, AnyTitle, RhsFancyScopeOptionToAny, or CapitalScope.
--- Error 11 of 13 ---
At <mod>\common\laws\demesne_laws.txt [laws\centralization_1\allow\holder_scope\capital_scope\religion_group] (Line 185, column 6):
"hospital_owner" is not a valid ReligionGroup, Religion, or MaybeEventTargetCharProvReligionSocietyTitle, ReligionTargetCheck, CharTargetExcludingMaybeEventTarget, SocietyThingsWithoutThis, AnyTitle, RhsFancyScopeOptionToAny, or CapitalScope.
--- Error 12 of 13 ---
At <mod>\common\laws\demesne_laws.txt [laws\centralization_1\allow\holder_scope\capital_scope\is_heresy_of] (Line 188, column 6):
"hospital_owner" is not a valid MaybeEventTargetCharProvReligionSocietyTitle, Religion, AnyTitle, Owner, or TopLiege.
--- Error 13 of 13 ---
At <mod>\common\laws\demesne_laws.txt [laws\centralization_1\allow\holder_scope\capital_scope\is_parent_religion] (Line 191, column 6):
"hospital_owner" is not a valid MaybeEventTargetCharProvReligionSocietyTitle, Religion, AnyTitle, Owner, or TopLiege.
All tested to work. 'fort_owner' and 'trade_post_owner' also work here.
Attachments
Last edited: