On actionCambiado en esta versión

on_international_organization_changed_leader

on_international_organization_changed_leaderin_game/common/on_action/_hardcoded.txt:4719

root = new_ruler. target = org. scope:old_ruler = previous leader

RequiereSuperioridad religiosaCasus bellieffectAustriaPaíseffectPatriarcado autocéfaloOrganización internacionaleffectLa Liga CatólicaOrganización internacionaleffectGibelinosOrganización internacionaleffectSacro Imperio RomanoOrganización internacionaleffectImperio MedioOrganización internacionaleffectLa Unión ProtestanteOrganización internacionaleffectPríncipe electorEstatus especialeffectCiudad imperial libreEstatus especialeffectBula de OroLeyeffectExclusión del electoradoTipo de modificadoreffect

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

4720effect = {
4721save_scope_as = new_ruler
4723if = {
4724limit = {
4725scope:target = {
4725international_organization_type = international_organization_type:hre
}
}
4729if = {
4730limit = {
4731exists = scope:old_ruler
4732scope:old_ruler = ROOT
4733has_ruler = yes
}
4735trigger_event_non_silently = hre.900
}
4737if = {
4738limit = {
4739OR = {
4740work_of_art = work_of_art:imperial_crown_hre
4740country = root
4740international_organization = scope:target
}
4741work_of_art = work_of_art:imperial_orb_hre
4741country = root
4741international_organization = scope:target
}
4742work_of_art = work_of_art:saint_stephans_purse
4742country = root
4742international_organization = scope:target
}
4743work_of_art = work_of_art:coronation_gospel_hre
4743country = root
4743international_organization = scope:target
}
}
}
4746trigger_event_non_silently = hre.800
}
4749if = {
4750limit = {
4751OR = {
4752NOT = {
4752exists = scope:old_ruler
}
4753AND = {
4754exists = scope:old_ruler
4755NOT = {
4755scope:old_ruler = ROOT
}
}
}
}
4759if = {
4760limit = {
4760exists = scope:old_ruler
}
4762scope:old_ruler = {
4762remove_variable = hre_current_emperor_flg
}
4763set_variable = {
4763value = 1
}
}
4765if = {
4766limit = {
4767exists = scope:old_ruler
4768scope:old_ruler = {
4769is_member_of_international_organization = international_organization:ghibellines_io
4770NOT = {
4770has_presence_in = region:italy_region
}
}
}
4774remove_country_from_international_organization = scope:old_ruler
}
}
4777if = {
4778limit = {
}
4779if = {
4780limit = {
4780NOT = {
4780is_member_of_international_organization = international_organization:ghibellines_io
}
}
4781add_country_to_international_organization = ROOT
}
}
4783trigger_event_silently = guelphs_and_ghibellines.100
}
}
4786if = {
4787limit = {
4788exists = scope:old_ruler
4789NOT = {
4789scope:old_ruler = root
}
4790scope:old_ruler = {
4791num_subjects > 0
4792any_subject = {
4793OR = {
4794is_subject_type = imperial_free_city
4795is_subject_type = direct_imperial_free_city
}
}
}
}
4800scope:old_ruler ?= {
4801every_subject = {
4802limit = {
4803OR = {
4804is_subject_type = imperial_free_city
4805is_subject_type = direct_imperial_free_city
}
}
4808overlord = {
4808cancel_subject = prev
}
}
}
4811if = {
4812limit = {
4813exists = scope:new_ruler
4814scope:target = {
}
}
4821scope:target = {
4822every_international_organization_member = {
4823limit = {
4824has_special_status_in_international_organization = {
4826international_organization = scope:target
}
4828NOT = {
4828this = scope:new_ruler
}
}
4830if = {
4831limit = {
4831scope:target = {
}
}
4832make_subject_of = {
4833target = scope:new_ruler
}
}
4837else = {
4838make_subject_of = {
4839target = scope:new_ruler
}
}
}
}
}
}
4847if = {
4848limit = {
4849OR = {
4850scope:target = {
4851OR = {
4852international_organization_has_policy = policy:expanded_electors_policy
4853international_organization_has_policy = policy:elector_council_policy
}
}
}
4858has_special_status_in_international_organization = {
4860international_organization = international_organization:hre
}
}
4863scope:target = {
4864international_organization_remove_special_status = {
4866country = root
}
}
}
4870if = {
4871limit = {
4872tag = HAB
4873is_leader_of_international_organization = international_organization:hre
4875international_organization_has_law = law:golden_bull
}
}
4878trigger_event_non_silently = flavor_hab.37
}
4881if = {
4882limit = {
4883scope:target = {
4883circles_are_active = yes
}
4884is_imperial_circle_leader = yes
}
4886trigger_event_non_silently = imperial_circles.80
}
}
4890if = {
4891limit = {
4892scope:target = {
4893OR = {
4894international_organization_type = international_organization_type:catholic_league
4895international_organization_type = international_organization_type:protestant_union
}
}
4898exists = scope:old_ruler
}
4900scope:old_ruler ?= {
4901if = {
4902limit = {
4903any_casus_belli_target = {
4904scope:old_ruler = {
4905has_casus_belli_of_type_on = {
4905target = prev
}
}
}
}
4909random_casus_belli_target = {
4910limit = {
4911scope:old_ruler = {
4912has_casus_belli_of_type_on = {
4912target = prev
}
}
}
4915save_scope_as = current_religious_enemy_leader
}
}
}
4919if = {
4920limit = {
4920exists = scope:current_religious_enemy_leader
}
4921scope:current_religious_enemy_leader = {
4922if = {
4923limit = {
4923exists = scope:old_ruler
}
4925target = scope:old_ruler
}
}
4929if = {
4930limit = {
4930scope:current_religious_enemy_leader != root
}
}
}
}
}
4940if = {
4941limit = {
4942scope:target = {
4942international_organization_type = international_organization_type:middle_kingdom
}
4944exists = scope:old_ruler
}
4946scope:old_ruler = {
4947every_subject = {
4948limit = {
4949OR = {
4950is_subject_type = tributary
4951is_subject_type = tusi
}
4953subject_loyalty < MIN_SUBJECT_LOYALTY_FOR_ACTION (50)
}
4955subject_type = {
4956save_scope_as = type
}
4958scope:old_ruler = {
4958cancel_subject = prev
}
4959make_subject_of = {
4960target = scope:new_ruler
4961type = scope:type
}
}
}
}
4967if = {
4968limit = {
4969scope:target = {
}
}
4971scope:target = {
4972var:patriarch ?= {
4972remove_variable = is_patriarch
}
4973set_up_patriarch = {
4973organization = scope:target
4973leader = root
}
}
}
}
© 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