ideas = {

	gp_equality = {

		law = yes

		equality_all = {
			available = {
				if = {
					limit = {
						check_variable = { var:global.bhoi_government_limited = 1 }
					}
					NOT = {
						has_government = fascism
					}
				}
			}

			modifier = {
				stability_factor = 0.1
				political_power_factor = -0.1
				resistance_damage_to_garrison = 0.25
				conscription_factor = 0.15
			}

			ai_will_do = {
				factor = 20
				modifier = {
					OR = {
						has_government = communism
						has_government = democratic
					}
					factor = 40

				}
			}

			cancel_if_invalid = yes
		}

		equality_segregation = {
			available = {
				if = {
					limit = {
						check_variable = { var:global.bhoi_government_limited = 1 }
					}
					has_government = communism
				}
			}

			modifier = {
				stability_factor = -0.10
				political_power_factor = 0.1
				resistance_damage_to_garrison = -0.25
				conscription_factor = -0.15
			}

			cancel_if_invalid = yes

			ai_will_do = {
				factor = 20

				modifier = {
					OR = {
						has_government = fascism
						has_government = neutrality
					}
					factor = 20

				}
				modifier = {
					OR = {
						has_government = fascism
					}
					factor = 20

				}
			}
		}

		equality_genocide = {

			available = {
				if = {
					limit = {
						check_variable = { var:global.bhoi_government_limited = 1 }
					}
					NOT = { has_government = democratic }
				}
			}

			modifier = {
				resistance_damage_to_garrison = -0.5
				political_power_factor = 0.2
				stability_factor = -0.15
				conscription_factor = -0.30
			}
			cancel_if_invalid = yes

			ai_will_do = {
				factor = 20

				modifier = {
					if = {
						GER = {has_government = fascism}
						tag = GER
					}
					factor = 20
				}
			}
		}

		equality_minority = {
			available = {}

			modifier = {
				resistance_damage_to_garrison = -0.125
				political_power_factor = 0.05
				stability_factor = -0.05
				conscription_factor = -0.05
			}

			ai_will_do = {
				factor = 0.5

				modifier = {
					has_government = neutrality
					factor = 0.5
				}
			}

			cancel_if_invalid = yes
		}
	}
}