Geskripteter Effekt
event_illustration_poptype_background_effect
Definitionin_game/common/scripted_effects/00_event_illustration_effects.txt:370
371if = {
372limit = {
373exists = $background$
}
375$background$ = {
375save_scope_as = target_pop_type_bckg
}
376if = {
377limit = {
378OR = {
379NOT = {
379scope_type = country
}
380pop_type_population_in_country = {
381pop_type = $background$
382value > 0
}
}
}
386ordered_pop = {
387limit = {
387pop_type = $background$
}
388max = 1
390order_by = pop_size
391save_scope_as = target_pop_bckg
}
}
}