On ActionsOOn Actionon_government_type_changeEffectsEffectIfHoly Roman Empire existsIs leader of Holy Roman Empire↗From: MonarchyTo: NotMonarchyThenHoly Roman EmpireRemoves 'Emperor' status from RootInternational organization chooses new leader: Holy Roman EmpireIfAt least one ofHas a RulerHas an HeirRuler or heir if regent›Owner: RootThenRuler or heir if regentJoins the Crown EstateEvery close relativewhereOwner: RootDoes NOT belong to Crown EstateJoins the Crown EstateIfIs LowbornTo: NotTheocracyorRepublicThenFounds the DynastyExact scriptConnectionsRequires 4EstatesCrownEffectGovernment TypesMonarchyEffectRepublicEffectTheocracyEffectGrants 1CrownEffectRemoves 1EmperorEffectReferences 1Holy Roman EmpireEffectScripting 1Uses 1Iis_emperorEffectDefinitionin_game/common/on_action/_hardcoded.txt:3675Show the whole script (49 lines)History