• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Rydelfox

Lt. General
90 Badges
Oct 30, 2016
1.476
12
  • A Game of Dwarves
  • King Arthur II
  • Knights of Pen and Paper +1 Edition
  • Magicka
  • Majesty 2
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Third Rome
  • Sword of the Stars
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • Europa Universalis IV: Mare Nostrum
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Jade Dragon
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Call to arms event
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Hearts of Iron III
  • Crusader Kings II: Sword of Islam
  • Dungeonland
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II: Sunset Invasion
  • Europa Universalis IV: Art of War
  • Crusader Kings II: Conclave
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Cadet
  • Stellaris: Galaxy Edition
  • Stellaris
  • Hearts of Iron IV: No Step Back
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV
It still has to run through the vanilla files to avoid false alarms if you call something from vanilla, like using a vanilla trait or calling a vanilla event. If just won't report errors in those files.
 

Jamie550

'
53 Badges
Jan 29, 2007
4.225
197
  • Stellaris: Leviathans Story Pack
  • Victoria 2
  • 200k Club
  • 500k Club
  • Europa Universalis IV: Pre-order
  • Victoria 2 Beta
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris - Path to Destruction bundle
  • Stellaris: Synthetic Dawn
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Stellaris: Megacorp
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Sons of Abraham
  • Deus Vult
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Call to arms event
  • Arsenal of Democracy
  • For the Motherland
  • Galactic Assault
  • Hearts of Iron III
  • Heir to the Throne
  • Europa Universalis III Complete
  • Knights of Pen and Paper +1 Edition
  • Magicka
  • March of the Eagles
  • Europa Universalis III Complete
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Semper Fi
--- 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

Are these hardcoded values of republic/theocracy or doe they stem from some file or other?

--- 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

As they don't have any meaning or do anything they are warned about.

--- 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

Do you mean that the decision with name "destroy_artifact" has special properties? And those special properties are that FROM is artifact scope for potential/allow/effect, and everything else is the same?

I have this error and can't tell, what to do:

--- Error 1 of 1 ---
At <unknown location>:
There were no setters for this event target other_author

NOTE: This could be a false positive.

What it means is that somewhere you do a get for the event target other_author. (something like event_target:eek:ther_author = {...}). But never saved the event target in the first place.

However if the place that is setting other_author wasn't validated (because its checkbox was unchecked) then this would be a false positive. You can check everything then run it and see if it still complains.
 

knuckey

AGOT Mod
45 Badges
Oct 10, 2010
1.682
775
  • Crusader Kings II
  • Heir to the Throne
  • Hearts of Iron III
  • Cities: Skylines - After Dark
  • Crusader Kings II: Holy Knight (pre-order)
  • Crusader Kings II: Conclave
  • Stellaris
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Cities: Skylines - Mass Transit
  • Surviving Mars
  • Cities: Skylines - Green Cities
  • Cities: Skylines - Parklife
  • Surviving Mars: First Colony Edition
  • Cities: Skylines Industries
  • Crusader Kings II: Holy Fury
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome
  • Surviving Mars: First Colony Edition
  • Cities: Skylines - Campus
  • Stellaris: Federations
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Sword of Islam
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • 500k Club
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Europa Universalis III Complete
  • Cities: Skylines
  • Rome Gold
Are these hardcoded values of republic/theocracy or doe they stem from some file or other?
I'm not 100% sure, but I think they would be hardcoded values.


Do you mean that the decision with name "destroy_artifact" has special properties? And those special properties are that FROM is artifact scope for potential/allow/effect, and everything else is the same?
That is correct, destroy_artifact is a special decision where the FROM scope is an artifact and ROOT is the character/owner.
 

Abominus

French Maid
81 Badges
Sep 18, 2003
994
41
www.abominus.de.vu
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Sword of the Stars
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Europa Universalis III Complete
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris Sign-up
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris: Nemesis
  • Darkest Hour
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • Cities in Motion 2
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Arsenal of Democracy
  • Deus Vult
  • Europa Universalis III
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Hearts of Iron III Collection
  • Heir to the Throne
NOTE: This could be a false positive.

What it means is that somewhere you do a get for the event target other_author. (something like event_target:eek:ther_author = {...}). But never saved the event target in the first place.

However if the place that is setting other_author wasn't validated (because its checkbox was unchecked) then this would be a false positive. You can check everything then run it and see if it still complains.

Thank you, I have searched for this event target, but didn't found it. Wired...
 

alderbane

Sergeant
20 Badges
Oct 30, 2016
95
16
  • Europa Universalis IV
Any idea why the Validator would launch the Notepad++ executable (when given the proper path), but not open the relevant txt file inside it? Every time I click on a checkmark next to an error, Notepad++ opens to a blank tab.
 

Rydelfox

Lt. General
90 Badges
Oct 30, 2016
1.476
12
  • A Game of Dwarves
  • King Arthur II
  • Knights of Pen and Paper +1 Edition
  • Magicka
  • Majesty 2
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Third Rome
  • Sword of the Stars
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • Europa Universalis IV: Mare Nostrum
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Jade Dragon
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Call to arms event
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Hearts of Iron III
  • Crusader Kings II: Sword of Islam
  • Dungeonland
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II: Sunset Invasion
  • Europa Universalis IV: Art of War
  • Crusader Kings II: Conclave
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Cadet
  • Stellaris: Galaxy Edition
  • Stellaris
  • Hearts of Iron IV: No Step Back
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV
I keep getting messages that explicitly referenced titles aren't valid AnyTitles:
--- Error 1 of 1 ---
At <mod>\decisions\conversion_decisions.txt [decisions\renounce_iconoclasm\potential\has_landed_title] (Line 3430, column 4):
"e_byzantium" is not a valid AnyTitle, MaybeEventTargetTitle, or No.

--- Error 1 of 1 ---
At <mod>\decisions\conversion_decisions.txt [decisions\renounce_iconoclasm\effect\activate_title\title] (Line 3501, column 23):
"k_orthodox" is not a valid AnyTitle or MaybeEventTargetTitle.

--- Error 1 of 1 ---
At <mod>\decisions\conversion_decisions.txt [decisions\renounce_iconoclasm\effect\k_papal_state] (Line 3482, column 4):
Invalid node "k_papal_state" in scope DecisionCommand (value is: <a complex type>)

The examples here are from vanilla decisions so they can be easily checked, but it also occurs in code I create as well, so it doesn't seem to be something weird Paradox is doing.

EDIT: Probably related, but the Validator also gives errors when directly scoping to titles:
--- Error 1 of 1 ---
At <mod>\decisions\mythos_dragon_decisions.txt [decisions\make_sapphire_flame_sjaelland\effect\b_lejre] (Line 1120, column 4):
Invalid node "b_lejre" in scope DecisionCommand (value is: <a complex type>)

The actual code works as intended, and this error appears each time I scope directly to a title

EDIT 2: Also getting this error:
--- Error 1 of 1 ---
At <appdir>\..\Extension\Data\Ck2\Localization.pdox [Validator\Validator\ValidBracketCommands\EnumImport] (Line 63, column 4):
Duplicate command in ValidBracketCommands: assassins_debt
 
Last edited:

Jamie550

'
53 Badges
Jan 29, 2007
4.225
197
  • Stellaris: Leviathans Story Pack
  • Victoria 2
  • 200k Club
  • 500k Club
  • Europa Universalis IV: Pre-order
  • Victoria 2 Beta
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris - Path to Destruction bundle
  • Stellaris: Synthetic Dawn
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Stellaris: Megacorp
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Sons of Abraham
  • Deus Vult
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Call to arms event
  • Arsenal of Democracy
  • For the Motherland
  • Galactic Assault
  • Hearts of Iron III
  • Heir to the Throne
  • Europa Universalis III Complete
  • Knights of Pen and Paper +1 Edition
  • Magicka
  • March of the Eagles
  • Europa Universalis III Complete
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Semper Fi
Any idea why the Validator would launch the Notepad++ executable (when given the proper path), but not open the relevant txt file inside it? Every time I click on a checkmark next to an error, Notepad++ opens to a blank tab.

Do you have anything in File -> Options -> Text Editor?

What I use for command line is
Code:
{0} -n{1}
and path is of course the path to the notepad++ exe.

If that doesn't help we would need to look further

I keep getting messages that explicitly referenced titles aren't valid AnyTitles:
--- Error 1 of 1 ---
At <mod>\decisions\conversion_decisions.txt [decisions\renounce_iconoclasm\potential\has_landed_title] (Line 3430, column 4):
"e_byzantium" is not a valid AnyTitle, MaybeEventTargetTitle, or No.

--- Error 1 of 1 ---
At <mod>\decisions\conversion_decisions.txt [decisions\renounce_iconoclasm\effect\activate_title\title] (Line 3501, column 23):
"k_orthodox" is not a valid AnyTitle or MaybeEventTargetTitle.

--- Error 1 of 1 ---
At <mod>\decisions\conversion_decisions.txt [decisions\renounce_iconoclasm\effect\k_papal_state] (Line 3482, column 4):
Invalid node "k_papal_state" in scope DecisionCommand (value is: <a complex type>)

The examples here are from vanilla decisions so they can be easily checked, but it also occurs in code I create as well, so it doesn't seem to be something weird Paradox is doing.

EDIT: Probably related, but the Validator also gives errors when directly scoping to titles:
--- Error 1 of 1 ---
At <mod>\decisions\mythos_dragon_decisions.txt [decisions\make_sapphire_flame_sjaelland\effect\b_lejre] (Line 1120, column 4):
Invalid node "b_lejre" in scope DecisionCommand (value is: <a complex type>)

The actual code works as intended, and this error appears each time I scope directly to a title

Do you see any parse errors for any files in common/landed_titles? You can just copy all errors to a text file and search for "landed_titles". If there are parse errors those need fixing and then these errors should go away.
 

Jamie550

'
53 Badges
Jan 29, 2007
4.225
197
  • Stellaris: Leviathans Story Pack
  • Victoria 2
  • 200k Club
  • 500k Club
  • Europa Universalis IV: Pre-order
  • Victoria 2 Beta
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris - Path to Destruction bundle
  • Stellaris: Synthetic Dawn
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Stellaris: Megacorp
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Sons of Abraham
  • Deus Vult
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Call to arms event
  • Arsenal of Democracy
  • For the Motherland
  • Galactic Assault
  • Hearts of Iron III
  • Heir to the Throne
  • Europa Universalis III Complete
  • Knights of Pen and Paper +1 Edition
  • Magicka
  • March of the Eagles
  • Europa Universalis III Complete
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Semper Fi

Rydelfox

Lt. General
90 Badges
Oct 30, 2016
1.476
12
  • A Game of Dwarves
  • King Arthur II
  • Knights of Pen and Paper +1 Edition
  • Magicka
  • Majesty 2
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Third Rome
  • Sword of the Stars
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • Europa Universalis IV: Mare Nostrum
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Jade Dragon
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Call to arms event
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Hearts of Iron III
  • Crusader Kings II: Sword of Islam
  • Dungeonland
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II: Sunset Invasion
  • Europa Universalis IV: Art of War
  • Crusader Kings II: Conclave
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Cadet
  • Stellaris: Galaxy Edition
  • Stellaris
  • Hearts of Iron IV: No Step Back
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV
Do you see any parse errors for any files in common/landed_titles? You can just copy all errors to a text file and search for "landed_titles". If there are parse errors those need fixing and then these errors should go away.

There's a parse error in in line 19417 of landed_titles.txt, but that's a vanilla file. I'll put in a bug report with Paradox.

EDIT: Looks like it's already been reported: https://forum.paradoxplaza.com/foru...-insidious-typo-in-landed_titles-txt.1058246/
 
Last edited:

alderbane

Sergeant
20 Badges
Oct 30, 2016
95
16
  • Europa Universalis IV
Do you have anything in File -> Options -> Text Editor?

What I use for command line is
Code:
{0} -n{1}
and path is of course the path to the notepad++ exe.

If that doesn't help we would need to look further

I had the correct path, but was missing the command line entry. Thanks.
 

ngppgn

Field Marshal
19 Badges
Jan 29, 2011
3.508
656
  • Crusader Kings III
  • Imperator: Rome
  • Imperator: Rome Deluxe Edition
  • Crusader Kings II: Jade Dragon
  • Europa Universalis IV
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: Cadet
  • Stellaris Sign-up
  • Stellaris
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Res Publica
  • Crusader Kings II
  • Heir to the Throne
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Conquest of Paradise
  • Divine Wind
  • Europa Universalis III: Chronicles
  • Europa Universalis III
  • Crusader Kings II: The Old Gods
@Jamie550 miscellaneous auestion: given the current architecture of the validator: would it be possible to implement an option for the program to output an (informal) grammar of the selected game? Something like that would be really useful for documentation, and I guess also for spotting missing/incorrect rules in the validator itself.
 

Jamie550

'
53 Badges
Jan 29, 2007
4.225
197
  • Stellaris: Leviathans Story Pack
  • Victoria 2
  • 200k Club
  • 500k Club
  • Europa Universalis IV: Pre-order
  • Victoria 2 Beta
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris - Path to Destruction bundle
  • Stellaris: Synthetic Dawn
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Stellaris: Megacorp
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Sons of Abraham
  • Deus Vult
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Call to arms event
  • Arsenal of Democracy
  • For the Motherland
  • Galactic Assault
  • Hearts of Iron III
  • Heir to the Throne
  • Europa Universalis III Complete
  • Knights of Pen and Paper +1 Edition
  • Magicka
  • March of the Eagles
  • Europa Universalis III Complete
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Semper Fi
@Jamie550 miscellaneous auestion: given the current architecture of the validator: would it be possible to implement an option for the program to output an (informal) grammar of the selected game? Something like that would be really useful for documentation, and I guess also for spotting missing/incorrect rules in the validator itself.
A bunch of it is in Extension/Data. Otherwise not really.
 

vukica

Field Marshal
53 Badges
Jul 29, 2015
3.915
1.754
  • Crusader Kings II: Monks and Mystics
  • Cities: Skylines - Campus
  • Imperator: Rome Sign Up
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings II: Holy Fury
  • Cities: Skylines Industries
  • Cities: Skylines - Parklife
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings II: Jade Dragon
  • Cities: Skylines - Green Cities
  • Hearts of Iron IV: Death or Dishonor
  • PDXCon 2017 Awards Winner
  • Surviving Mars
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV
  • Hearts of Iron IV: Together for Victory
  • Cities: Skylines - Natural Disasters
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris Sign-up
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
Religion/culture/group is a valid scope anywhere.

2.8.0 Changelog said:
Now possible to scope to religions, cultures, and their groups. E.G., "norse = {". Note that for the groups, this simply scopes to the first culture/religion in the group, not the actual group itself
 

vukica

Field Marshal
53 Badges
Jul 29, 2015
3.915
1.754
  • Crusader Kings II: Monks and Mystics
  • Cities: Skylines - Campus
  • Imperator: Rome Sign Up
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings II: Holy Fury
  • Cities: Skylines Industries
  • Cities: Skylines - Parklife
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings II: Jade Dragon
  • Cities: Skylines - Green Cities
  • Hearts of Iron IV: Death or Dishonor
  • PDXCon 2017 Awards Winner
  • Surviving Mars
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV
  • Hearts of Iron IV: Together for Victory
  • Cities: Skylines - Natural Disasters
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris Sign-up
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
Please post an error just to make sure I understand things right.

Right, sorry for late reply.

--- Error 1 of 1 ---
At <mod>\common\scripted_effects\00_scripted_effects.txt [event_target_old_religion_from_flag_effect\if\catholic] (Line 8921, column 3):
Invalid node "catholic" in scope CharIfClause (value is: <a complex type>)
* called from <mod>\events\mnm_secret_religious_societies_events.txt [character_event\immediate\event_target_old_religion_from_flag_effect] (Line 3878, column 3)