Hi All,
I need to call in the big guns on this one, the trigger has got me beat.
The first "country" part of the trigger fires ok as I can see its green in the consol, but the second "any_character" part (in italics) does not fire.
Basically I want it to run for anyone with either the eurypontid title or agiad title and who:
- has the agoge1_paides title; and
- doesnt have the tis_edu_agoge1 flag
Can anyone tell me what is going on, I must be missing something here ?
Are the character_events only designed to fire for the ruler in the first instance ?
I need to call in the big guns on this one, the trigger has got me beat.
The first "country" part of the trigger fires ok as I can see its green in the consol, but the second "any_character" part (in italics) does not fire.
Code:
character_event = {
id = 180010
trigger = {
country = {
tag = SPA
has_law = rhetra_agoge_law
any_character = {
or = {
has_title = title_agiad_family
has_title = title_eurypontid_family
}
has_title = title_agoge1_paides
not = { has_character_flag = tis_edu_agoge1 }
age = 8 # 12
NOT = { age = 18 }
}
}
[I]any_character = {
or = {
has_title = title_agiad_family
has_title = title_eurypontid_family
}
has_title = title_agoge1_paides
not = { has_character_flag = tis_edu_agoge1 }
age = 8 # 12
NOT = { age = 18 }
}[/I]
}
mean_time_to_happen = {
days = 1 # months = 3
}
title = "Agoge Paides"
desc = "When a boy reached his seventh birthday, he was enrolled in the agoge under the authority of the paidonómos or "boy-herder", a magistrate charged with supervising education."
option = {
name = "Focus on self control and discipline."
random_child = {
limit = {
age = 8 # 12
has_title = title_agoge1_paides
not = { has_character_flag = tis_edu_agoge1 }
}
set_character_flag = tis_edu_agoge1
set_character_flag = tis_edu_agoge1A
}
}
option = {
name = "Break the boys spirit."
random_child = {
limit = {
age = 8 # 12
has_title = title_agoge1_paides
not = { has_character_flag = tis_edu_agoge1 }
}
set_character_flag = tis_edu_agoge1
set_character_flag = tis_edu_agoge1B
}
}
}
Basically I want it to run for anyone with either the eurypontid title or agiad title and who:
- has the agoge1_paides title; and
- doesnt have the tis_edu_agoge1 flag
Can anyone tell me what is going on, I must be missing something here ?
Are the character_events only designed to fire for the ruler in the first instance ?