On actionCambiado en esta versión
on_ruler_death
root = country; scope:old_ruler is the one who died
Territorio germiyánidaPaíseffect
HolandaPaíseffect
Horda de la estepaTipo gubernamentaleffect
Sucesión de unión de coronasLey sucesoriaeffect
Cambio en unidad de la horda al morir gobernanteTipo de modificadoreffectRegión nuclearModificador estáticoeffectEl azote de Asia CentralModificador estáticoeffecthre_current_emperor_flgVariableeffectmam_ruler_invested_in_cairoVariableeffectrot_has_selected_core_regionVariableeffectDefiniciónin_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
}
}
}
}
}