faction_template_generic = {
	# name = defensive_democratic_faction
	manifest = faction_manifest_strength_in_unity
	can_leader_join_other_factions = yes
	# color = { 179 183 235 } # this should default to faction leader's color
	icon = GFX_faction_logo_generic
	visible = {
		always = no # Fallback template, should not be selectable 
	}
	available = {
		#has_government = democratic
	}

	goals = {
		# Short term goals
		#faction_goal_growing_the_faction
		#faction_goal_military_infrastructure

		# Medium term goals
		#faction_goal_a_military_base

		# Long terms
		#faction_goal_the_atomic_race
	}

	default_rules = {
		joining_rule_neighbors_only
		dismissal_rule_offensive_war
	}
}


faction_template_regional = {
	name = regional_faction
	manifest = faction_manifest_strength_in_unity
	icon = GFX_faction_logo_generic
	# color = { 255 0 255 }
	can_leader_join_other_factions = yes
	visible = {
		always = yes 
	}

	goals = {
		# Short term goals
		#faction_goal_growing_the_faction
		#faction_goal_ensure_military_r_d

		# Medium term goals
		#faction_goal_a_great_fortress

		# Long terms
		#faction_goal_defeating_our_enemies
		
	}

	default_rules = {
		joining_rule_neighbors_only
	}
}


# Industrial Powerhouse
faction_template_industrial_focus = {
	name = industrial_powerhouse_faction
	manifest = faction_manifest_strategic_resource_control
	can_leader_join_other_factions = yes
	visible = {
		always = yes 
	}
	available = {
		
	}

	goals = {
		# Short term
		#faction_goal_military_infrastructure

		# Medium term
		#faction_goal_industrial_expansion
		
		# Long term
	}

	default_rules = {
		joining_rule_same_continent_only
		change_leader_rule_industry
	}
}


faction_template_african_unity = {
	name = african_unity_faction
	manifest = faction_manifest_african_domination
	can_leader_join_other_factions = yes
	visible = {
		capital_scope = {
			is_on_continent = africa
		}
	}
	
	goals = {
		# Short term

		# Medium term
		
		# Long term
	}

	default_rules = {
		joining_rule_africa_only
		generate_wargoal_threat_reduction_20
	}

}


faction_template_pan_american = {
	name = pan_american_faction
	manifest = faction_manifest_pan_americanism
	can_leader_join_other_factions = yes
	visible = {
		capital_scope = {
			OR = {
				is_on_continent = north_america
				is_on_continent = south_america
			}
		}
	}
	
	goals = {
		# Short term

		# Medium term
		
		# Long term
	}

	default_rules = {
		joining_rule_americas_only
		guarantee_threat_reduction_15
	}

}



faction_template_european_unity = {
	name = european_unity_faction
	manifest = faction_manifest_european_dominance
	can_leader_join_other_factions = yes
	visible = {
		capital_scope = {
			is_on_continent = europe
		}
	}
	
	goals = {
		# Short term

		# Medium term
		
		# Long term
	}

	default_rules = {
		joining_rule_same_continent_only
		guarantee_threat_reduction_15
	}

}

faction_template_asian_dominance = {
	name = asian_dominance_faction
	manifest = faction_manifest_asian_dominance
	can_leader_join_other_factions = yes
	visible = {
		capital_scope = {
			is_on_continent = asia
		}
	}
	
	goals = {
		# Short term

		# Medium term
		
		# Long term
	}

	default_rules = {
		joining_rule_same_continent_only
		generate_wargoal_threat_reduction_20
	}

}


faction_template_middle_east_dominance = {
	name = middle_east_dominance_faction
	manifest = faction_manifest_middle_east_dominance
	can_leader_join_other_factions = yes
	visible = {
		capital_scope = {
			is_on_continent = middle_east
		}
	}
	
	goals = {
		# Short term

		# Medium term
		
		# Long term
	}

	default_rules = {
		joining_rule_same_continent_only
		generate_wargoal_threat_reduction_20
	}

}