﻿ideology_pacifist = {
	icon = "gfx/interface/icons/ideology_icons/ideology_leader/ideology_leader_pacifist.dds"
	
	character_ideology = yes

	lawgroup_army_model = {
		law_national_militia = approve
		law_professional_army = disapprove
		law_peasant_levies = disapprove
		law_mass_conscription = disapprove
	}

	lawgroup_colonization = {		
		law_no_colonial_affairs = approve
		law_colonial_resettlement = strongly_disapprove
		law_colonial_exploitation = strongly_disapprove
		law_harsh_colonial_exploitation = strongly_disapprove
		law_merciless_colonial_exploitation = strongly_disapprove
	}
	
	possible = {
		scope:interest_group = {
			NOR = {
				is_interest_group_type = ig_armed_forces
				is_interest_group_type = ig_armed_forces
			}
		}
		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
		# emerges to counter powerful armed forces
		if = {
			limit = {
				owner = {
					ig:ig_armed_forces = {
						is_powerful = yes
					}
				}
			}
			add = 50
		}
		# less likely if issues are not relevant
		if = {
			limit = {
				owner = {
					NOR = {
						has_law = law_type:law_colonial_resettlement
						has_law = law_type:law_colonial_exploitation
						has_law = law_type:law_harsh_colonial_exploitation
						has_law = law_type:law_merciless_colonial_exploitation
						has_law = law_type:law_peasant_levies
						has_law = law_type:law_mass_conscription
					}
				}
			}
			add = -75
		}
		# more likely if a war you started isn't going well
		if = {
			limit = {
				owner = {
					is_at_war = yes
					any_scope_war = {
						attacker_warleader = { this = ROOT.owner }
						has_war_support = {
							target = root.owner
							value < 0
						}
					}
				}
			}
			add = 100
		}
		# more likely with devastation in incorporated states
		if = {
			limit = {
				owner = {
					any_scope_state = {
						is_incorporated = yes
						devastation > 20
					}
				}
			}
			add = 50
		}
	}
}

ideology_jingoist_leader = {
	icon = "gfx/interface/icons/ideology_icons/ideology_leader/ideology_leader_jingoist.dds"
	
	character_ideology = yes
	
	lawgroup_army_model = {
		law_mass_conscription = strongly_approve
		law_professional_army = approve
		law_national_militia = neutral
		law_peasant_levies = disapprove
	}

	lawgroup_colonization = {		
		law_no_colonial_affairs = neutral
		law_colonial_resettlement = approve
		law_colonial_exploitation = strongly_approve
		law_harsh_colonial_exploitation = strongly_approve
		law_merciless_colonial_exploitation = strongly_approve
	}
	
	possible = {
		scope:interest_group = {
			NOR = {
				is_interest_group_type = ig_armed_forces
				is_interest_group_type = ig_rural_folk
			}
		}
		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
		# less likely if issues are not relevant
		if = {
			limit = {
				owner = {
					has_law = law_type:law_colonial_exploitation
					has_law = law_type:law_harsh_colonial_exploitation
					has_law = law_type:law_merciless_colonial_exploitation
					has_law = law_type:law_mass_conscription
				}
			}
			add = -75
		}
		# more likely if there's something to colonize nearby
		if = {
			limit = {
				any_country = {
					is_country_type = decentralized
					has_overlapping_interests = ROOT.owner
				}
			}
			add = 75
		}
		# more likely if you border a rival
		if = {
			limit = {
				owner = {
					any_rival_country = {
						any_neighbouring_state = {
							owner = root.owner
						}
					}
				}
			}
			add = 50
		}
		# more likely if you're the defender in a war
		if = {
			limit = {
				owner = {
					is_at_war = yes
					any_scope_war = {
						defender_warleader = { this = ROOT.owner }
					}
				}
			}
			add = 50
		}
	}
}