脚本效果
event_illustration_estate_background_effect
如果
- background存在
- 至少满足以下其一
- Scope type: 非country
- 拥有background阶层
则Ordered pop (最多1个,
pop_size最高者优先)条件Estate type: background
完整脚本
调用它的脚本会填入这些值,各调用处见“关联”。
$background$
被使用于 95
事件
大臣辞职background = estate_type:nobles_estate发生时立即
侄子枢机background = estate_type:nobles_estate发生时立即
Actor的枢机座堂catholic_flavor.1000background = estate_type:clergy_estate发生时立即
Actor的枢机座堂catholic_flavor.1001background = estate_type:clergy_estate发生时立即
Actor的枢机座堂catholic_flavor.1002background = estate_type:clergy_estate发生时立即
封圣候选人background = estate_type:clergy_estate发生时立即
请愿被拒background = estate_type:clergy_estate发生时立即
罗马 Ruler Title派来的侄子枢机background = estate_type:clergy_estate发生时立即
侄子枢机被接受background = estate_type:clergy_estate发生时立即
侄子枢机被拒绝background = estate_type:clergy_estate发生时立即
脚本 2
引用 1
被使用于 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
}
}