On actionCambiado en esta versión

on_ruler_death

on_ruler_deathin_game/common/on_action/_hardcoded.txt:3446

root = country; scope:old_ruler is the one who died

RequiereTerritorio germiyánidaPaíseffectHolandaPaíseffectHorda de la estepaTipo gubernamentaleffectSucesión de unión de coronasLey sucesoriaeffectCambio 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_regionVariableeffect

Definiciónin_game/common/on_action/_hardcoded.txt:3446

3464effect = {
3465if = {
3466limit = {
3466scope:old_ruler = character:maj_hayam_wuruk
}
3467set_variable = {
3469years = 10
}
}
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
}
}
}
3502trigger_event_non_silently = {
}
}
3506if = {
3507limit = {
3507tag = HOL
}
3508trigger_event_silently = {
3510days = 5
}
}
3515if = {
3516limit = {
3517has_variable = rot_has_selected_core_region
3518OR = {
3519has_ruler = no
3520ruler ?= {
3521NOT = {
3521has_character_modifier = timmy_wants_to_play
}
}
}
}
3526every_location_in_region = {
3527limit = {
3527has_location_modifier = rot_timurs_core_region
}
3528remove_location_modifier = rot_timurs_core_region
}
}
}
3532if = {
3533limit = {
3534tag = GRM
3535scope:old_ruler = character:grm_yakub_i
}
3537trigger_event_non_silently = flavor_grm.1
}
3539if = {
3540limit = {
}
3544add_horde_unity = root.modifier:horde_unity_hit_at_ruler_death
}
3546c:BYZ ?= {
3547set_global_variable = {
}
}
3552if = {
3553limit = {
3554is_in_union = yes
3555union ?= {
3556international_organization_has_leader = yes
3557leader_country ?= {
3557this = root
}
}
}
3560union = {
3561every_international_organization_member = {
3562trigger_event_silently = unionevents.98
}
}
}
3566if = {
3567limit = {
3568has_variable = mam_ruler_invested_in_cairo
}
3570remove_variable = mam_ruler_invested_in_cairo
}
3573if = {
3574limit = {
3576OR = {
3577has_variable = hre_current_emperor_flg
3578is_emperor = yes
}
}
3583every_international_organization_member = {
3584limit = {
3585NOT = {
3585THIS = ROOT
}
3586is_ai = no
}
3588trigger_event_non_silently = hre.801
}
}
}
}
© 2026 Soft Santa Cruz, S.L.U.. Todos los derechos reservados. Proyecto no oficial de fans, sin afiliación con Paradox Interactive. Contenido del juego © Paradox Interactive. Acerca de · Privacidad · Aviso legal