barbarian_tribe = {
	monarchy = yes
	tribal = yes
	
	valid_for_new_country = yes
	allow_convert = no
	valid_for_nation_designer = yes
	nation_designer_cost = 10
	nation_designer_trigger = {
		technology_group = barbarian
	}
	
	ai_will_do = {
		factor = 0
	}

	rank = {
		1 = {
			land_forcelimit_modifier = 1.0
			global_manpower_modifier = 0.75
 			global_manpower = 1
			global_regiment_cost = -0.4	

			technology_cost = 0.5
			global_prov_trade_power_modifier = -1.0
		}
		2 = {
			land_forcelimit_modifier = 1.0
			global_manpower_modifier = 0.75
 			global_manpower = 1
			global_regiment_cost = -0.4	

			technology_cost = 0.5
			global_prov_trade_power_modifier = -1.0
		}
		3 = {
			land_forcelimit_modifier = 1.0
			global_manpower_modifier = 0.75
 			global_manpower = 1
			global_regiment_cost = -0.4	

			technology_cost = 0.5
			global_prov_trade_power_modifier = -1.0
		}
	}
	
}

principality = {
	monarchy = yes
	
	valid_for_new_country = yes
	valid_for_nation_designer = yes
	nation_designer_cost = 0
	
	ai_will_do = {
		factor = 0
	}

	#bonus
	rank = {
		1 = {
			global_manpower_modifier = 0.1	
			army_tradition = 0.01
		}
		2 = {
			global_manpower_modifier = 0.1	
			army_tradition = 0.01
		}
		3 = {
			global_manpower_modifier = 0.1	
			army_tradition = 0.01
		}
	}
}

parliamentary_republic = {
	republic = yes

	duration = 4

	ai_will_do = {
		factor = 1
		modifier = {
			factor = 0
			NOT = { government = presidental_republic }
		}
	}
	
	republican_name = yes
	royal_marriage = no

	valid_for_new_country = yes
	valid_for_nation_designer = yes
	nation_designer_cost = 40

	has_parliament = yes
	
	rank = {
		1 = {
			tolerance_heathen = 1
			stability_cost_modifier = -0.10
			global_autonomy = -0.10
		}
		2 = {
			tolerance_heathen = 1
			stability_cost_modifier = -0.10
			global_autonomy = -0.15
		}
		3 = {
			tolerance_heathen = 1
			stability_cost_modifier = -0.10
			global_autonomy = -0.20
		}
	}

	faction = conservative_party
	faction = communist_party
	faction = liberal_party
	faction = social_democratic_party
	faction = nationalist_party
	faction = national_socialist_party
}

presidental_republic = {
	republic = yes

	duration = 4

	ai_will_do = {
		factor = 1
		modifier = {
			factor = 0
			NOT = { government = parliamentary_republic }
		}
	}
	
	republican_name = yes
	royal_marriage = no

	valid_for_new_country = yes
	valid_for_nation_designer = yes
	nation_designer_cost = 40

	has_parliament = yes
	
	rank = {
		1 = {
			tolerance_heathen = 1
			stability_cost_modifier = -0.10
			global_autonomy = -0.10
		}
		2 = {
			tolerance_heathen = 1
			stability_cost_modifier = -0.10
			global_autonomy = -0.15
		}
		3 = {
			tolerance_heathen = 1
			stability_cost_modifier = -0.10
			global_autonomy = -0.20
		}
	}

	faction = conservative_party
	faction = communist_party
	faction = liberal_party
	faction = social_democratic_party
	faction = nationalist_party
	faction = national_socialist_party
}

parliamentary_monarchy = {
	monarchy = yes
	
	valid_for_new_country = yes
	
	ai_will_do = {
		factor = 1
	}
	ai_importance = 4

	valid_for_new_country = yes
	valid_for_nation_designer = yes
	nation_designer_cost = 40

	has_parliament = yes

	rank = {
		1 = {
			legitimacy = 1
			years_of_nationalism = -5
			global_autonomy = -0.10
		}
		2 = {
			legitimacy = 1
			years_of_nationalism = -5
			global_autonomy = -0.15
		}
		3 = {
			legitimacy = 1
			years_of_nationalism = -5
			global_autonomy = -0.20
		}
	}

	faction = conservative_party
	faction = communist_party
	faction = liberal_party
	faction = social_democratic_party
	faction = nationalist_party
	faction = national_socialist_party
}

communist_dictatorship = {
	dictatorship = yes

	duration = 0

	republican_name = yes
	royal_marriage = no

	valid_for_new_country = yes
	valid_for_nation_designer = yes
	nation_designer_cost = 30

	ai_will_do = {
		factor = 0
	}
	
	rank = {
		1 = {
			global_regiment_cost = -0.25
			army_tradition = 0.02
			global_manpower_modifier = 0.25

			tolerance_heretic = -1
			tolerance_heathen = -1
		}
		2 = {
			global_regiment_cost = -0.25
			army_tradition = 0.02
			global_manpower_modifier = 0.25

			tolerance_heretic = -1
			tolerance_heathen = -1
		}
		3 = {
			global_regiment_cost = -0.25
			army_tradition = 0.02
			global_manpower_modifier = 0.25

			tolerance_heretic = -1
			tolerance_heathen = -1
		}
	}

}

socialist_republic = {
	republic = yes

	duration = 6

	republican_name = yes
	royal_marriage = no

	valid_for_new_country = yes
	valid_for_nation_designer = yes
	nation_designer_cost = 30

	ai_will_do = {
		factor = 0
	}

	rank = {
		1 = {
			global_regiment_cost = -0.2
			global_manpower_modifier = 0.2
		}
		2 = {
			global_regiment_cost = -0.2
			global_manpower_modifier = 0.2
		}
		3 = {
			global_regiment_cost = -0.2
			global_manpower_modifier = 0.2
		}
	}

}

fascist_dictatorship = {
	dictatorship = yes

	duration = 0
	
	republican_name = yes
	royal_marriage = no

	valid_for_new_country = yes
	valid_for_nation_designer = yes
	nation_designer_cost = 30

	ai_will_do = {
		factor = 0
	}
	
	#bonus
	rank = {
		3 = {
			land_forcelimit_modifier = 1.0
			global_regiment_cost = -0.25
			army_tradition = 0.02
			global_manpower_modifier = 0.25
			global_unrest = -1

			tolerance_heretic = -2
			tolerance_heathen = -2
			unjustified_demands = 0.2
		}
	}
	fixed_rank = 3
}

military_junta = {
	dictatorship = yes

	duration = 4

	republican_name = yes
	royal_marriage = no

	valid_for_new_country = yes
	valid_for_nation_designer = yes
	nation_designer_cost = 30

	ai_will_do = {
		factor = 0
	}

	rank = {
		1 = {
			global_regiment_cost = -0.2
			global_manpower_modifier = 0.2
			army_tradition = 0.02
		}
		2 = {
			global_regiment_cost = -0.2
			global_manpower_modifier = 0.2
			army_tradition = 0.02
		}
		3 = {
			global_regiment_cost = -0.2
			global_manpower_modifier = 0.2
			army_tradition = 0.02
		}
	}
}

caliphate = {
	monarchy = yes

	valid_for_new_country = no
	allow_convert = no

	valid_for_nation_designer = yes
	nation_designer_cost = 30	
	nation_designer_trigger = {
		religion_group = muslim
	}
	
	rank = {
		3 = {
			land_morale = 0.05
			discipline = 0.05
			global_missionary_strength = 0.02
		}
	}
	fixed_rank = 3
}

imperial_roman_republic = {
	monarchy = yes

	valid_for_new_country = no
	allow_convert = no

	valid_for_nation_designer = yes
	nation_designer_cost = 30

	rank = {
		3 = {
			land_morale = 0.05
			global_autonomy = -0.1
		}
	}
	fixed_rank = 3

	faction = imperials
	faction = senators
	faction = generals
}

margraviate = {
	monarchy = yes
	
	valid_for_new_country = no
	allow_convert = no
	valid_for_nation_designer = yes
	nation_designer_cost = 10
	nation_designer_trigger = {
		is_part_of_hre = yes
	}
	
	rank = {
		1 = {
			land_forcelimit_modifier = 0.15
			global_manpower_modifier = 0.15
		}
	}
	fixed_rank = 1
}