脚本触发器
country_rank_is_what
检查内容
如果
- Character存在
- 至少满足以下其一
- 没有统治者
- 统治者: 非Character
- Character
rule_end_date(root)存在
则Country rank on date (
scope:character.rule_end_date(root)): target rank否则
国家等级: target rank
调用它的脚本会填入这些值,各调用处见“关联”。
$target_rank$
脚本 4
被使用于 4
脚本触发器
- country_rank_is_countytarget_rank = country_rank:rank_countyCountry rank is what
- country_rank_is_duchytarget_rank = country_rank:rank_duchyCountry rank is what
- country_rank_is_empiretarget_rank = country_rank:rank_empireCountry rank is what
- country_rank_is_kingdomtarget_rank = country_rank:rank_kingdomCountry rank is what
trigger_if = {
limit = {
exists = scope:character
or = {
has_ruler = no
not = {
ruler = scope:character
}
}
scope:character ?= {
exists = "rule_end_date(root)"
}
}
country_rank_on_date(scope:character.rule_end_date(root)) ?= $target_rank$
}
trigger_else = {
country_rank ?= $target_rank$
}