############################
#Exotic Fauna Jobs
############################

WL_lv_exotic_pet_seller = {
	category = specialist
	condition_string = SPECIALIST_JOB_TRIGGER
	building_icon = building_WL_lv_exotic_pet_shop
	clothes_texture_index = 3

	possible_pre_triggers = {
		has_owner = yes
		is_being_purged = no
		is_being_assimilated = no
		is_enslaved = no
	}
	
	possible = {
		hidden_trigger = { exists = owner }
		complex_specialist_job_check_trigger = yes
		owner = {
			is_gestalt = no
			is_fallen_empire_spiritualist = no
		}
	}

	resources = {
		category = planet_jobs
		produces = {
			energy = 15
			society_research = 2
		}
		upkeep = {
			trigger = {
				exists = owner
				owner = { is_lithoid_or_infernal_empire = no }
			}
			food = @living_standard_food_normal
			consumer_goods = 2
		}
		upkeep = {
			trigger = { 
				exists = owner
				owner = { is_lithoid_or_infernal_empire = yes }
			}
			minerals = @living_standard_food_normal
			consumer_goods = 2
		}
	}	
	
	weight = {
		weight = @specialist_job_weight
		modifier = {
			factor = 3
			OR = {
				has_trait = trait_intelligent
				has_trait = trait_ingenious
			}
		}
	}

	promotion = {
		time = @standard_promotion_time
		effect = {
			pop_amount_change_category = {
				CATEGORY = specialist
				AMOUNT = local_pop_amount
			}
		}
	}
}

WL_lv_exotic_fauna_expert = {
	category = specialist
	condition_string = SPECIALIST_JOB_TRIGGER
	building_icon = building_WL_lv_exotic_zoo
	clothes_texture_index = 3

	possible_pre_triggers = {
		has_owner = yes
		is_being_purged = no
		is_being_assimilated = no
		is_enslaved = no
	}
	
	possible = {
		hidden_trigger = { exists = owner }
		complex_specialist_job_check_trigger = yes
		owner = {
			is_gestalt = no
			is_fallen_empire_spiritualist = no
		}
	}

	resources = {
		category = planet_jobs
		produces = {
			unity = 4
			society_research = 8
		}
		upkeep = {
			trigger = { 
				exists = owner
				owner = { is_lithoid_or_infernal_empire = no }
			}
			food = @living_standard_food_normal
			consumer_goods = 2
		}
		upkeep = {
			trigger = {
				exists = owner
				owner = { is_lithoid_or_infernal_empire = yes }
			}
			minerals = @living_standard_food_normal
			consumer_goods = 2
		}
	}	
	
	weight = {
		weight = @specialist_job_weight
	}

	promotion = {
		time = @standard_promotion_time
		effect = {
			pop_amount_change_category = {
				CATEGORY = specialist
				AMOUNT = local_pop_amount
			}
		}
	}
}

#Breeder
WL_lv_exotic_fauna_breeder = {
	category = specialist
	condition_string = SPECIALIST_JOB_TRIGGER
	building_icon = building_WL_lv_wild_pleasure_reserve
	clothes_texture_index = 3

	possible_pre_triggers = {
		has_owner = yes
		is_being_purged = no
		is_being_assimilated = no
		is_enslaved = no
	}
	
	possible = {
		hidden_trigger = { exists = owner }
		complex_specialist_job_check_trigger = yes
		owner = {
			is_gestalt = no
			is_fallen_empire_spiritualist = no
		}
	}

	resources = {
		category = planet_jobs
		produces = {
			unity = 4
			society_research = 4
		}
		upkeep = {
			trigger = { 
				exists = owner
				owner = { is_lithoid_or_infernal_empire = no }
			}
			food = @living_standard_food_normal
			consumer_goods = 2
		}
		upkeep = {
			trigger = {
				exists = owner
				owner = { is_lithoid_or_infernal_empire = yes }
			}
			minerals = @living_standard_food_normal
			consumer_goods = 2
		}
	}	
	
	weight = {
		weight = @specialist_job_weight
	}

	promotion = {
		time = @standard_promotion_time
		effect = {
			pop_amount_change_category = {
				CATEGORY = specialist
				AMOUNT = local_pop_amount
			}
		}
	}
}

WL_lv_exotic_fauna_entertainer = {
	category = worker
	condition_string = WORKER_JOB_TRIGGER
	building_icon = building_WL_lv_wild_pleasure_reserve
	clothes_texture_index = 3

	possible_pre_triggers = {
		has_owner = yes
		is_being_purged = no
		is_being_assimilated = no
	}
	
	possible = {
		hidden_trigger = { exists = owner }
		complex_worker_job_check_trigger = yes
		owner = { 
			is_gestalt = no
			is_fallen_empire_spiritualist = no
		}
	}
		
	planet_modifier = {
		pop_happiness = 0.01
	}

	resources = {
		category = planet_jobs
		produces = {
			unity = 3
			society_research = 3
		}
		upkeep = {
			trigger = { 
				exists = owner
				owner = { is_lithoid_or_infernal_empire = no }
			}
			food = @living_standard_food_normal
			consumer_goods = 2
		}
		upkeep = {
			trigger = {
				exists = owner
				owner = { is_lithoid_or_infernal_empire = yes }
			}
			minerals = @living_standard_food_normal
			consumer_goods = 2
		}
	}	
	
	weight = {
		weight = @specialist_job_weight
	}

	promotion = {
		time = @standard_promotion_time
		effect = {
			pop_amount_change_category = {
				CATEGORY = specialist
				AMOUNT = local_pop_amount
			}
		}
	}
}


############################
#Exotic Fauna Job for Gestalt
############################

WL_lv_exotic_fauna_gestalt_entertainer = {
	category = simple_drone
	condition_string = DRONE_JOB_TRIGGER
	building_icon = building_WL_lv_wild_pleasure_reserve
	clothes_texture_index = 3

	possible_pre_triggers = {
		has_owner = yes
		is_being_purged = no
		is_being_assimilated = no
		is_enslaved = no
	}
	
	possible = {
		hidden_trigger = { exists = owner }
		drone_job_check_trigger = yes
		owner = { 
			is_gestalt = yes
		}
	}
		
	planet_modifier = {
		pop_happiness = 0.01
	}

	resources = {
		category = planet_jobs
		produces = {
			unity = 3
			society_research = 3
		}
		upkeep = {
			food = 1
		}
	}	
	
	weight = {
		weight = @specialist_job_weight
	}

	promotion = {
		time = @standard_promotion_time
		effect = {
			pop_amount_change_category = {
				CATEGORY = specialist
				AMOUNT = local_pop_amount
			}
		}
	}
}