#root = planet

# Mother´s Sanctuary
col_WL_lv_motherly_sanctuary = {
	icon = GFX_colony_type_farm

	potential = {
		exists = owner_or_space_owner
		is_capital = no
		owner = {
			OR = {
				has_civic = civic_WL_lv_motherly_hive	
				has_country_flag =  init_flag_motherly_hive
			}
		}
		NOR = {
			is_planet_class = pc_city
			is_planet_class = pc_ringworld_habitable
			is_planet_class = pc_cybrex
			is_planet_class = pc_machine
			is_planet_class = pc_hive
			is_planet_class = pc_nuked
		}
	}

	planet_modifier = {
		planet_stability_add = 5
		pop_growth_speed = 0.10
		pop_happiness = 0.25
		planet_crime_add = -12
		planet_district_farming_build_speed_mult = 0.5
		planet_farmers_produces_mult = 0.5
		planet_miners_produces_mult = -0.35
		planet_technician_produces_mult = -0.35
		planet_district_mining_build_speed_mult = -0.5
		planet_district_generator_build_speed_mult = -0.5
	}

	weight_modifier = {
		base = 1
		modifier = {
			factor = 20000
			OR = {
				is_planet_class = pc_gaia
				has_modifier = resort_colony
				owner = { 
					has_monthly_income = { resource = minerals value > 10 } 
					has_monthly_income = { resource = energy value > 10 } 
				}
			}
			OR = {
				has_building = building_WL_lv_hive_mating_sanctuary_upgraded
				has_building = building_WL_lv_hive_mating_sanctuary
			}
#			any_owned_pop_group = {
#				is_being_purged = no
#				is_being_assimilated = no
#				OR = {
#					has_job_type = WL_lv_hive_xeno_breeding_pop
#					has_job_type = WL_lv_hive_livestock_breeding_pop
#					has_job_type = WL_lv_hive_xeno_special_pop
#				}
#			}
		}
	}
}