Keep getting errors when I try to run it:
One possible issue: Are you updated to 1.06?
Keep getting errors when I try to run it:
I am, yes.
RC10 had the same issue, but not consistently (didn't try 11): all versions before that worked fine for me.
# Audax Validator "." Ignore_XXXX
it reports check_variable, change_variable and set_variable as invalid nodes in province scopes, but in-game all of those definitely work.
also, thanks for the awesome tool.![]()
yeah, in province scope they set variables on the province, and same for characters & character scope. As far as I'm aware there are no global variables.
13 still had the same issue: managed to find the cause, though. As long as there's one bracket out of place in landed_titles, it seems it to just stop. Intentional?Okay. I will be releasing #13 shortly; see if that works for you (as I changed a few things). Also to confirm, the folder "common\landed_titles" exists?
13 still had the same issue: managed to find the cause, though. As long as there's one bracket out of place in landed_titles, it seems it to just stop. Intentional?
is_liege_or_above seems to be valid in province scope.
Your validator is reporting that FROM is invalid inthe gain_effect and allow sections of a title definition.
--- Error 1 of 1 ---
At <mod>\common\landed_titles\KATitles.txt [k_holland\gain_effect\any_demesne_title\limit\OR\FROM] (Line 11, Column 6):
Invalid use of 'FROM': This is not a valid place to use FROM.
--- Error 1 of 1 ---
At <mod>\common\landed_titles\KATitles.txt [k_holland\gain_effect\any_demesne_title\hidden_tooltip\FROM] (Line 15, Column 23):
Invalid use of 'FROM': This is not a valid place to use FROM.
k_holland = {
color = { 235 80 30 }
color2 = { 255 255 255 }
capital = 80
gain_effect = {
any_demesne_title = {
limit = {
tier = DUKE
OR = {
k_holland = { is_titular = yes }
FROM = { has_character_flag = creating_title_loop }
}
}
de_jure_liege = k_holland
hidden_tooltip = { FROM = { set_character_flag = creating_title_loop } }
}
hidden_tooltip = { clr_character_flag = creating_title_loop }
}
allow = {
OR = {
FROM = {
culture_group = west_germanic
religion_group = christian
primary_title = { title = d_holland }
num_of_duke_titles = 4
}
k_holland = {
is_titular = no
}
}
}
}
Apologies, I mis-read and there was no error in the allows section, only in the gain_effect section. In both cases, FROM is pointing to the character creating the title.
The two errors:
Code:--- Error 1 of 1 --- At <mod>\common\landed_titles\KATitles.txt [k_holland\gain_effect\any_demesne_title\limit\OR\FROM] (Line 11, Column 6): Invalid use of 'FROM': This is not a valid place to use FROM. --- Error 1 of 1 --- At <mod>\common\landed_titles\KATitles.txt [k_holland\gain_effect\any_demesne_title\hidden_tooltip\FROM] (Line 15, Column 23): Invalid use of 'FROM': This is not a valid place to use FROM.
And the title itself:
Code:k_holland = { color = { 235 80 30 } color2 = { 255 255 255 } capital = 80 gain_effect = { any_demesne_title = { limit = { tier = DUKE OR = { k_holland = { is_titular = yes } FROM = { has_character_flag = creating_title_loop } } } de_jure_liege = k_holland hidden_tooltip = { FROM = { set_character_flag = creating_title_loop } } } hidden_tooltip = { clr_character_flag = creating_title_loop } } allow = { OR = { FROM = { culture_group = west_germanic religion_group = christian primary_title = { title = d_holland } num_of_duke_titles = 4 } k_holland = { is_titular = no } } } }