온 액션이번 버전 변경
on_ruler_death
root = country; scope:old_ruler is the one who died
게르미얀국가effect
홀란트국가effect
스텝 지대 유목민정부 유형effect
왕실 동군연합 계승계승 법칙effect
통치자 사망 시 유목민 통일성 변동량보정치 유형effect핵심 지역정적 보정치effect중앙아시아에서 온 재앙정적 보정치effecthre_current_emperor_flg변수effectmam_ruler_invested_in_cairo변수effectrot_has_selected_core_region변수effect정의in_game/common/on_action/_hardcoded.txt:3446
3447events = {
}
3458on_actions = {
}
3464effect = {
3465if = {
3466limit = {
3466scope:old_ruler = character:maj_hayam_wuruk
}
}
3472if = {
3473limit = {
3474has_heir = no
3475OR = {
3476scope:old_ruler = {
3476has_dynasty = no
}
3477ruler ?= {
3478OR = {
3479has_dynasty = no
3480NOT = {
3480dynasty = scope:old_ruler.dynasty
}
}
}
3483AND = {
3484has_regent = yes
3485OR = {
3486has_heir = no
3487heir ?= {
3488OR = {
3489has_dynasty = no
3490NOT = {
3490dynasty = scope:old_ruler.dynasty
}
}
}
}
}
}
3497any_known_country = {
3499has_mutual_scripted_relation = {
3499target = prev
3499type = relation_type:union_of_crowns_pact
}
}
}
}
3506if = {
}
3515if = {
3516limit = {
3518OR = {
3519has_ruler = no
}
}
3526every_location_in_region = {
}
}
}
3532if = {
}
3539if = {
3540limit = {
}
3544add_horde_unity = root.modifier:horde_unity_hit_at_ruler_death
}
}
3552if = {
3553limit = {
3555union ?= {
3556international_organization_has_leader = yes
3557leader_country ?= {
3557this = root
}
}
}
3560union = {
}
}
3566if = {
}
3573if = {
3583every_international_organization_member = {
3584limit = {
3585NOT = {
3585THIS = ROOT
}
3586is_ai = no
}
}
}
}
}