citizenship_protected_drone = {
	potential = {
		has_biogenesis_dlc = yes
		exists = from
		is_disconnected_drone_pop = yes
	}

	allow = {
		custom_tooltip = {
			fail_text = "disconnected_drones_purged_citizenship"
			from = {
				NOT = {
					has_policy_flag = disconnected_drones_purge
				}
			}
		}
		custom_tooltip = {
			fail_text = "SCORCHED_HERALDS_ONLY_INF"
			if = {
				limit = { from = { is_genocidal_infernal = yes } }
				has_trait = trait_infernal
			}
		}
	}

	pop_group_modifier = {
		pop_amenities_usage_mult = -0.50
		pop_housing_usage_mult = -0.50
		pop_political_power = -1
	}

	ai_will_do = {
		factor = 100
		modifier = {
			factor = 0
			from = { values_others = no }
		}
	}
}

citizenship_symbiotic_drone = {
	potential = {
		has_biogenesis_dlc = yes
		exists = from
		is_disconnected_drone_pop = yes
	}

	allow = {
		custom_tooltip = {
			fail_text = "disconnected_drones_purged_citizenship"
			from = {
				NOT = {
					has_policy_flag = disconnected_drones_purge
				}
			}
		}
		custom_tooltip = {
			fail_text = "SCORCHED_HERALDS_ONLY_INF"
			if = {
				limit = { from = { is_genocidal_infernal = yes } }
				has_trait = trait_infernal
			}
		}
		from = {
			is_authoritarian = no
		}
	}

	pop_group_modifier = {
		pop_amenities_usage_mult = -0.30
		pop_housing_usage_mult = -0.30
		pop_bonus_workforce_mult = -0.50
		pop_category_workers_consumer_goods_upkeep_add = @living_standard_symbiotic_drone_consumer_goods
		pop_political_power = -1

	}

	ai_will_do = {
		factor = 100
		modifier = {
			factor = 0.5
			from = { values_others = no }
		}
	}
}

citizenship_exploited_drone = {
	is_slavery = yes

	in_breach_of = {
		{
			key = resolution_greatergood_greater_than_ourselves
		}
		{
			key = resolution_greatergood_balance_in_the_middle
		}
		{
			key = resolution_greatergood_universal_prosperity_mandate
		}
	}

	potential = {
		has_biogenesis_dlc = yes
		exists = from
		is_disconnected_drone_pop = yes
	}

	allow = {
		custom_tooltip = {
			fail_text = "disconnected_drones_purged_citizenship"
			from = {
				NOT = {
					has_policy_flag = disconnected_drones_purge
				}
			}
		}
		custom_tooltip = {
			fail_text = "SCORCHED_HERALDS_ONLY_INF"
			if = {
				limit = { from = { is_genocidal_infernal = yes } }
				has_trait = trait_infernal
			}
		}
		from = {
			NAND = {
				is_egalitarian = yes
				is_xenophobe = no
			}
		}
	}

	pop_group_modifier = {
		pop_amenities_usage_mult = -0.50
		pop_housing_usage_mult = -0.50
		pop_bonus_workforce_mult = -0.10
		pop_political_power = -1
	}

	ai_will_do = {
		factor = 100
		modifier = {
			add = 50
			from = {
				OR = {
					is_authoritarian = yes
					is_xenophobe = yes
				}
			}
		}
		modifier = {
			factor = 0
			from = { values_others = yes }
		}
	}
}
