﻿

ideology_orleanist = {
	icon = "gfx/interface/icons/ideology_icons/ideology_leader/ideology_leader_orleanist.dds"
	
	character_ideology = yes

	lawgroup_governance_principles = {
		law_orleanist_monarchy = strongly_approve
		law_presidential_republic = neutral
		law_parliamentary_republic = neutral
		law_bonapartist_monarchy = disapprove
		law_legitimist_monarchy = disapprove
		law_theocracy = disapprove
		law_council_republic = strongly_disapprove
	}
	
	possible = {
		exists = c:FRA
		owner = { c:FRA = THIS }
		# no monarchists in countries with strong republican tradition
		owner = {
			NOR = {
				any_interest_group = {
					has_ideology = ideology_republican_paternalistic
				}
				has_variable = monarchy_stamped_out_var
			}
		}
		scope:interest_group = {
			OR = {
				is_interest_group_type = ig_rural_folk
				is_interest_group_type = ig_petty_bourgeoisie
				is_interest_group_type = ig_armed_forces
				is_interest_group_type = ig_industrialists
			}
		}
		scope:interest_group = {
			NOR = {
				has_variable = communist_ig_var
				has_variable = chose_vanguardism
				has_variable = chose_fascism
				has_variable = chose_conservatism
				has_variable = chose_ethno_nationalism
			}
		}
	}
	
	leader_weight = {
		value = 100
		if = {
			limit = {
				scope:interest_group = {
					is_interest_group_type = ig_industrialists
				}
				owner = { 
					ruler = { has_variable = is_orleanist }
				}
			}
			add = 150
		}
		if = {
			limit = {
				scope:interest_group = {
					is_interest_group_type = ig_armed_forces
				}
				owner = { 
					ruler = { has_variable = is_orleanist }
				}
			}
			add = 50
		}
		if = {
			limit = {
				owner = {
					has_law = law_type:law_theocracy
				}
			}
			add = -75
		}
		if = {
			limit = {
				owner = {
					NOT = { has_law = law_type:law_legitimist_monarchy has_law = law_type:law_orleanist_monarchy has_law = law_type:law_bonapartist_monarchy }
				}
				scope:interest_group = {
					ig_approval > 0
				}
			}
			add = -100
		}
		if = {
			limit = {
				owner = {
					OR = { has_law = law_type:law_legitimist_monarchy has_law = law_type:law_orleanist_monarchy has_law = law_type:law_bonapartist_monarchy }
				}
				scope:interest_group = {
					ig_approval > 5
				}
			}
			add = 50
		}
	}
}

ideology_legitimist = {
	icon = "gfx/interface/icons/ideology_icons/ideology_leader/ideology_leader_legitimist.dds"
	
	character_ideology = yes

	lawgroup_governance_principles = {
		law_legitimist_monarchy = strongly_approve
		law_presidential_republic = neutral
		law_parliamentary_republic = neutral
		law_bonapartist_monarchy = disapprove
		law_orleanist_monarchy = disapprove
		law_theocracy = disapprove
		law_council_republic = strongly_disapprove
	}
	
	possible = {
		exists = c:FRA
		owner = { c:FRA = THIS }
		# no monarchists in countries with strong republican tradition
		owner = {
			NOR = {
				any_interest_group = {
					has_ideology = ideology_republican_paternalistic
				}
				has_variable = monarchy_stamped_out_var
			}
		}
		scope:interest_group = {
			OR = {
				is_interest_group_type = ig_devout
				is_interest_group_type = ig_landowners
				is_interest_group_type = ig_rural_folk
				is_interest_group_type = ig_petty_bourgeoisie
			}
		}
		scope:interest_group = {
			NOR = {
				has_variable = communist_ig_var
				has_variable = chose_vanguardism
				has_variable = chose_fascism
				has_variable = chose_conservatism
				has_variable = chose_ethno_nationalism
			}
		}
	}
	
	leader_weight = {
		value = 100
		if = {
			limit = {
				scope:interest_group = {
					is_interest_group_type = ig_landowners
				}
			}
			add = 150
		}
		if = {
			limit = {
				scope:interest_group = {
					is_interest_group_type = ig_devout
				}
			}
			add = 50
		}
		if = {
			limit = {
				owner = {
					has_law = law_type:law_theocracy
				}
			}
			add = -75
		}
		if = {
			limit = {
				owner = {
					NOT = { has_law = law_type:law_legitimist_monarchy has_law = law_type:law_orleanist_monarchy has_law = law_type:law_bonapartist_monarchy }
				}
				scope:interest_group = {
					ig_approval > 0
				}
			}
			add = -100
		}
		if = {
			limit = {
				owner = {
					OR = { has_law = law_type:law_legitimist_monarchy has_law = law_type:law_orleanist_monarchy has_law = law_type:law_bonapartist_monarchy }
				}
				scope:interest_group = {
					ig_approval > 5
				}
			}
			add = 50
		}
	}
}

ideology_bonapartist = {
	icon = "gfx/interface/icons/ideology_icons/ideology_leader/ideology_leader_bonapartist.dds"
	
	character_ideology = yes

	lawgroup_governance_principles = {
		law_bonapartist_monarchy = strongly_approve
		law_presidential_republic = neutral
		law_parliamentary_republic = neutral
		law_legitimist_monarchy = disapprove
		law_orleanist_monarchy = disapprove
		law_theocracy = disapprove
		law_council_republic = strongly_disapprove
	}
	
	possible = {
		exists = c:FRA
		owner = { c:FRA = THIS }
		# no monarchists in countries with strong republican tradition
		owner = {
			NOR = {
				any_interest_group = {
					has_ideology = ideology_republican_paternalistic
				}
				has_variable = monarchy_stamped_out_var
			}
		}
		scope:interest_group = {
			OR = {
				is_interest_group_type = ig_rural_folk
				is_interest_group_type = ig_petty_bourgeoisie
				is_interest_group_type = ig_armed_forces
				is_interest_group_type = ig_industrialists
			}
		}
		scope:interest_group = {
			NOR = {
				has_variable = communist_ig_var
				has_variable = chose_vanguardism
				has_variable = chose_fascism
				has_variable = chose_conservatism
				has_variable = chose_ethno_nationalism
			}
		}
	}
	
	leader_weight = {
		value = 100
		if = {
			limit = {
				scope:interest_group = {
					is_interest_group_type = ig_armed_forces
				}
				owner = { 
					ruler = { has_variable = is_bonapartist }
				}
			}
			add = 150
		}
		if = {
			limit = {
				scope:interest_group = {
					is_interest_group_type = ig_rural_folk
				}
				owner = { 
					ruler = { has_variable = is_bonapartist }
				}
			}
			add = 50
		}
		if = {
			limit = {
				owner = {
					has_law = law_type:law_theocracy
				}
			}
			add = -75
		}
		if = {
			limit = {
				owner = {
					NOT = { has_law = law_type:law_legitimist_monarchy has_law = law_type:law_orleanist_monarchy has_law = law_type:law_bonapartist_monarchy }
				}
				scope:interest_group = {
					ig_approval > 0
				}
			}
			add = -100
		}
		if = {
			limit = {
				owner = {
					OR = { has_law = law_type:law_legitimist_monarchy has_law = law_type:law_orleanist_monarchy has_law = law_type:law_bonapartist_monarchy }
				}
				scope:interest_group = {
					ig_approval > 5
				}
			}
			add = 50
		}
	}
}