ideas = {

	cp_education = {
		law = yes

		education_priveleged = {
			available = {
				if = {
					limit = {
						check_variable = { var:global.bhoi_government_limited = 1 }
					}
					has_government = neutrality
				}
			}

			modifier = {
				research_speed_factor = -0.08
				consumer_goods_factor = -0.15
				production_factory_efficiency_gain_factor = -0.1
				production_factory_max_efficiency_factor = -0.1
			}

			cancel_if_invalid = yes
		}

		education_cheap = {
			available = {
			}

			modifier = {
				research_speed_factor = -0.04
				consumer_goods_factor = -0.09
			}

			cancel_if_invalid = yes
		}

		education_religious = {
			available = {
				if = {
					limit = {
						check_variable = { var:global.bhoi_government_limited = 1 }
					}
					OR = {
						NOT = {
							has_government = communism
							has_government = democratic
						}
						tag = MEX
					}
				}
			}

			modifier = {
				political_power_factor = 0.1
				stability_factor = -0.05
				drift_defence_factor = 0.25
				research_speed_factor = -0.04
				consumer_goods_factor = -0.06
			}

			cancel_if_invalid = yes
		}

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

			modifier = {
				political_power_factor = -0.10
				research_speed_factor = -0.04
				offence = 0.05
				defence = 0.05
				army_org_factor = 0.1
				army_morale_factor = 0.1
			}

			ai_will_do = {
				factor = 1
				modifier = {
					has_government = fascism
					factor = 40
				}
			}

			cancel_if_invalid = yes
		}

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

			modifier = {
				political_power_factor = -0.15
				war_support_factor = 0.05
				stability_factor = 0.05
				drift_defence_factor = 0.5
				consumer_goods_factor = 0.09
				conscription = 0.025
			}

			ai_will_do = {
				factor = 1
				modifier = {
					has_government = communism
					factor = 40
				}
			}

			cancel_if_invalid = yes
		}

		education_standard = {
			available = {
			}

			modifier = {
				research_speed_factor = 0.04
			}

			ai_will_do = {
				factor = 40
			}

			cancel_if_invalid = yes
		}

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

			modifier = {
				stability_factor = 0.05
				research_speed_factor = 0.08
				production_factory_max_efficiency_factor = 0.1
				production_factory_efficiency_gain_factor = 0.1
				consumer_goods_factor = 0.15
				drift_defence_factor = -1
			}

			ai_will_do = {
				factor = 1
				modifier = {
					num_of_civilian_factories > 50
					has_government = democratic
					factor = 120
				}
			}

			cancel_if_invalid = yes
		}
	}
}