#############################
###			Motherly Hive			###
#############################

opinion_WL_lv_motherly_hive = {
	trigger = {
		is_country_type = default
		NOR = {
			has_valid_civic = civic_machine_servitor
		}
		FROM = {
			has_authority = auth_hive_mind
			OR = {
				has_civic = civic_WL_lv_motherly_hive
				has_valid_civic = civic_WL_lv_motherly_hive
				has_origin = origin_WL_lv_motherly_hive
			}
		}
	}

	opinion = {
		base = 0
		
		modifier = {
			add = 140
			has_ethic = "ethic_xenophile"
		}
		modifier = {
			add = 200
			has_ethic = "ethic_fanatic_xenophile"
		}		
			
		modifier = {
			add = 60
			has_ethic = "ethic_pacifist"
		}

		modifier = {
			add = 100
			has_ethic = "ethic_fanatic_pacifist"
		}
		
		modifier = {
			add = 80
			has_authority = auth_hive_mind
		}
			
		modifier = {
			add = 50
			FROM = {
				OR = {
					has_ethic = "ethic_egalitarian"
					has_ethic = "ethic_fanatic_egalitarian"
				}
			}
		}		
	}
}

opinion_WL_lv_motherly_hive_from = {
	trigger = {
		has_authority = auth_hive_mind
		OR = {
			has_civic = civic_WL_lv_motherly_hive
			has_valid_civic = civic_WL_lv_motherly_hive
			has_origin = origin_WL_lv_motherly_hive
		}
		FROM = {
			is_country_type = default
			NOT = { has_valid_civic = civic_machine_servitor }
		}
	}

	opinion = {
		base = 60
		
		modifier = {
			add = 90
			FROM = { has_ethic = "ethic_xenophile" }
		}
		modifier = {
			add = 120
			FROM = { has_ethic = "ethic_fanatic_xenophile" }
		}		
		modifier = {
			add = 60
			FROM = { has_ethic = "ethic_xenophobe" }
		}
		modifier = {
			add = 60
			FROM = { has_ethic = "ethic_fanatic_xenophobe" }
		}
			
		modifier = {
			add = 50
			FROM = { has_ethic = "ethic_pacifist" }
		}
			
		modifier = {
			add = 20
			FROM = {
				OR = {
					has_ethic = "ethic_egalitarian"
					has_ethic = "ethic_fanatic_egalitarian"
				}
			}
		}		
		
		modifier = {
			add = 90
			FROM = { has_ethic = "ethic_fanatic_pacifist" }
		}
		
		modifier = {
			add = 60
			FROM = { has_authority = auth_hive_mind }	
		}	
	}
}

opinion_WL_lv_motherly_hive_cooperate = {
	trigger = {
		is_country_type = default
		OR = {
			has_valid_civic =  civic_machine_servitor
			has_origin = origin_WL_lv_motherly_hive
		}
		FROM = {
			has_authority = auth_hive_mind
			OR = {
				has_civic = civic_WL_lv_motherly_hive
				has_valid_civic = civic_WL_lv_motherly_hive
				has_origin = origin_WL_lv_motherly_hive
			}
		}
	}
	opinion = {
		base = 80
	}
}

opinion_WL_lv_motherly_hive_cooperate_from = {
	trigger = {
		has_authority = auth_hive_mind
		OR = {
			has_civic = civic_WL_lv_motherly_hive
			has_valid_civic = civic_WL_lv_motherly_hive
			has_origin = origin_WL_lv_motherly_hive
		}
		FROM = {
			is_country_type = default
			OR = {
				has_valid_civic = civic_machine_servitor
				has_civic = civic_WL_lv_motherly_hive
				has_origin = origin_WL_lv_motherly_hive
			}
		}
	}
	opinion = {
		base = 300
	}
}
