On Action
on_released_country
root = released country, scope:overlord = overlord
Holy Roman EmpireInternational OrganizationeffectDefinitionin_game/common/on_action/_hardcoded.txt:4671
4672effect = {
4673if = {
4674limit = {
4676exists = capital
}
4683add_country_to_international_organization_no_update = root
}
}
4686if = {
4687limit = {
4691is_subject = no
}
4693save_scope_as = released_country
}
4700if = {
4701limit = {
4702NOT = {
4703is_target_in_global_variable_list = {
4704name = eligible_beylik_list
4705target = root
}
}
4708has_reform = government_reform:anatolian_beylik
}
4710add_to_global_variable_list = {
4711name = eligible_beylik_list
4712target = root
}
}
}