Scripted Effect
event_illustration_estate_background_effect
If
- background exists
- At least one of
- Scope type: Notcountry
- Has the background Estate
ThenOrdered pop (up to 1, highest
pop_size first)whereEstate type: background
Exact script
Script that calls it fills these in, as each caller in Connections shows.
$background$
Used by 95
Events
Minister Resignsbackground = estate_type:nobles_estateAs soon as it happens
Cardinal-Nephewbackground = estate_type:nobles_estateAs soon as it happens
A Cardinal Seat for Actorcatholic_flavor.1000background = estate_type:clergy_estateAs soon as it happens
A Cardinal Seat for Actorcatholic_flavor.1001background = estate_type:clergy_estateAs soon as it happens
A Cardinal Seat for Actorcatholic_flavor.1002background = estate_type:clergy_estateAs soon as it happens
A Candidate for Sainthoodbackground = estate_type:clergy_estateAs soon as it happens
A Rejected Petitionbackground = estate_type:clergy_estateAs soon as it happens
A Cardinal-Nephew from the Rome Ruler Titlebackground = estate_type:clergy_estateAs soon as it happens
Accepted Cardinal-Nephewbackground = estate_type:clergy_estateAs soon as it happens
Refused Cardinal-Nephewbackground = estate_type:clergy_estateAs soon as it happens
Scripting 2
References 1
Used by 1
- event_illustration_estate_effectbackground = $background$If
if = {
limit = {
exists = $background$
OR = {
NOT = {
scope_type = country
}
country_has_estate = $background$
}
}
ordered_pop = {
limit = {
estate_type = $background$
}
max = 1
order_by = pop_size
save_scope_as = target_pop_bckg
}
}