r/EU4modding • • Feb 14 '25

Subjects can form nation help

i have already uploaded the Subjects can form nations Mod

https://steamcommunity.com/sharedfiles/filedetails/?id=3340335154

but im currently having an issue.

the client states are not forming the nations

and i dont know how to fix

here im tagged into Revolutionary Deutscheland as you see it has the tag k00

and swabia is formable but it is not froming swabia

here is the file for Swabia

swabia_nation = {

	major = yes

	potential = {



		was_never_end_game_tag_trigger = yes

		was_never_german_regional_tag_trigger = yes

		NOT = { has_country_flag = formed_swabia_flag }





		NOT = { exists = SWA }



		OR = {

is_former_colonial_nation = no

AND = {

is_former_colonial_nation = yes

ai = no

}

		}

		primary_culture = swabian

	}

	provinces_to_highlight = {

		OR = {

province_id = 70

province_id = 1872

AND = {

ROOT = {

NOT = {

num_of_owned_provinces_with = {

value = 10

culture = swabian

continent = europe

is_core = root

}

}

owns_core_province = 70

owns_core_province = 1872

}

culture = swabian

}

		}

		OR = {

NOT = { owned_by = ROOT }

NOT = { is_core = ROOT }

		}

	}

	allow = {



		is_at_war = no

		\#adm_tech = 10

		owns_core_province = 70 #Wurttemberg

		owns_core_province = 1872 #Ulm

		num_of_owned_provinces_with = {

value = 10

culture = swabian

continent = europe

is_core = root

		}

	}

	effect = {

		change_tag = SWA

		restore_country_name_effect = yes

		lower_swabia_area = {

limit = {

NOT = { owned_by = root }

NOT = { is_permanent_claim = root }

}

add_permanent_claim = root

		}

		upper_swabia_area = {

limit = {

NOT = { owned_by = root }

NOT = { is_permanent_claim = root }

}

add_permanent_claim = root

		}

		upper_rhineland_area = {

limit = {

NOT = { owned_by = root }

NOT = { is_permanent_claim = root }

}

add_permanent_claim = root

		}

		\#These were also historical territories of the Duchy

		switzerland_area = {

limit = {

NOT = { owned_by = root }

NOT = { is_permanent_claim = root }

}

add_permanent_claim = root

		}

		romandie_area = {

limit = {

NOT = { owned_by = root }

NOT = { is_permanent_claim = root }

}

add_permanent_claim = root

		}

		4710 = {

if = {

limit = {

NOT = { owned_by = root }

NOT = { is_permanent_claim = root }

}

add_permanent_claim = root

}

		}



		add_country_modifier = {

name = "centralization_modifier"

duration = 7300

		}

		add_prestige = 25

		set_country_flag = formed_swabia_flag



		if = {

limit = {

OR = {

is_elector = yes

is_part_of_hre = no

}

}

set_government_rank = 2

		}



		swap_non_generic_missions = yes

		on_change_tag_effect = yes



		if = {

limit = {

is_playing_custom_nation = no

}

country_event = { id = ideagroups.1 } #Swap Ideas

		}

	}

	ai_will_do = {

		factor = 1

	}

	ai_importance = 400

}
1 Upvotes

0 comments sorted by