is_hive_world = {
	OR = {
		is_planet_class = pc_hive
	}
}

can_take_servant_job = {
	OR = {
		is_domestic_robot = yes
		is_domestic_servant = yes
		is_slave_complex_possible = yes
	}
}

is_slave_complex_possible = {
	is_domestic_robot = no	
	is_enslaved = yes
	owner = { has_ascension_perk = ap_plentiful_traditions_slave_complex }	
	NOT = { has_slavery_type = { type = slavery_livestock } }
	NOT = { has_slavery_type = { type = slavery_matrix } }	
}

is_pt_slaver = {
	has_ascension_perk = ap_plentiful_traditions_slave_nation
}

specialist_job_check_trigger = {
	custom_tooltip = SPECIALIST_JOB_TRIGGER
	hidden_trigger = {
		exists = owner
		OR = {
			is_enslaved = no
			is_slave_complex_possible = yes
			has_slavery_type = { type = slavery_indentured }
		}
		is_being_purged = no
		is_being_assimilated = no
		NOT = { has_trait = trait_syncretic_proles }
		NOT = { has_trait = trait_nerve_stapled }
		OR = {
			NOT = { has_trait = trait_mechanical }
			owner = { has_technology = tech_droid_workers }
		}
		NOT = { has_citizenship_type = { type = citizenship_organic_trophy } }
	}
}