Event
Heirless

Since Target Ruler has been unable to provide our Flavor Rank with a suitable Heir Title, speculation over the future course of the nation is running rampant. These debates threaten to undermine our position. Target Ruler could adopt Target Character as his/her own son/daughter and Heir Title, but doing so might be perceived as a sign of weakness.
NobilityEstateoption 2Definitionin_game/events/culture/culture_japan.txt:85
86type = country_event
87title = culture_japan.3.title Heirless
88desc = culture_japan.3.desc Since Target Ruler has been unable to provide our Flavor Rank with a suitable Heir Title, speculation over the future course of the nation is running rampant. These debates threaten to undermine our position. Target Ruler could adopt Target Character as his/her own son/daughter and Heir Title, but doing so might be perceived as a sign of weakness.
89outcome = neutral
91trigger = {
94ruler ?= {
95NOT = {
95any_child = {
95is_alive = yes
}
}
}
97has_heir = no
98any_character = {
99has_dynasty = no
100NOT = {
100exists = father
}
101is_female = no
102age_in_years < {
103value = root.ruler.age_in_years
104subtract = 10
}
106is_artist = no
}
}
110illustration_tags = {
11110 = regular
11210 = interior
}
115immediate = {
}
117random_character = {
118limit = {
119has_dynasty = no
120NOT = {
120exists = father
}
121is_female = no
122age_in_years < {
123value = root.ruler.age_in_years
124subtract = 10
}
126is_artist = no
}
128save_scope_as = target_character
}
130ruler ?= {
130save_scope_as = target_ruler
}
}