스크립트 효과
event_illustration_estate_in_location_effect
location = { event_illustration_estate_in_location_effect = { estate_type = estate_type:burghers_estate } }
정의in_game/common/scripted_effects/00_event_illustration_effects.txt:461
462if = {
463limit = {
464OR = {
465AND = {
466scope_type = location
467owner ?= {
467is_ai = no
}
}
469AND = {
470scope_type = country
471is_ai = no
}
}
}
475ordered_pop = {
476limit = {
476estate_type = $estate_type$
}
477max = 1
478order_by = pop_size
480order_by = {
481value = 0
482add = {
483if = {
483limit = {
483location = prev
}
}
484value = 1
}
}
487save_scope_as = target_pop
488save_scope_as = target_pop_bckg
}
}