On Action
on_government_type_change
root = country; scope:from = old type; scope:to = new type
CrownEstateeffect
MonarchyGovernment Typeeffect
RepublicGovernment Typeeffect
TheocracyGovernment TypeeffectDefinitionin_game/common/on_action/_hardcoded.txt:3198
3200effect = {
3201if = {
3202limit = {
}
3208international_organization_remove_special_status = {
3210country = root
}
}
}
3215if = {
3216limit = {
3217OR = {
3218has_ruler = yes
3219has_heir = yes
}
3221ruler_or_heir_if_regent = {
3221owner ?= root
}
}
3223ruler_or_heir_if_regent ?= {
3225every_close_relative = {
}
3232if = {
3233limit = {
3234has_dynasty = no
}
3238found_dynasty = random
}
}
}
}
3243events = {
}