Scripted EffectChanged this version
rtr_prepare_biggest_culture_warlord
CityLocation Rankif
MegalopolisLocation Rankif
TownLocation Rankifrtr_country_additional_releaser_counterVariableifDefinitionin_game/events/situations/red_turban_rebellions.txt:266
267if = {
269ordered_pop = {
270limit = {
271NOT = {
271culture = root.culture
}
}
274max = 1
275order_by = pop_size
276culture = {
276save_scope_as = target_culture
}
}
278if = {
279limit = {
279exists = scope:target_culture
}
280ordered_owned_location = {
281limit = {
282NOT = {
282dominant_culture = root.culture
}
283dominant_culture = scope:target_culture
284province != root.capital.province
}
286order_by = {
287value = population
292if = {
293limit = {
}
294multiply = 10
}
}
297check_range_bounds = no
298max = 1
299save_scope_as = target_location
300create_country_from_location = {
301save_scope_as = target_country
303create_character = {
304min_age = 25
305save_scope_as = target_character
}
307set_new_ruler = scope:target_character
308set_capital = scope:target_location
}
}
}
}