icon = GFX_district_specialization_volatile_motes
base_buildtime = @zone_buildtime

potential = { # planet scope
	has_volatile_motes_deposit = yes
}

unlock = { # planet scope
	hidden_trigger = {
		has_volatile_motes_deposit = yes
		exists = owner
	}
	owner = {
		has_technology = tech_mine_volatile_motes
	}
}

resources = {
	category = planet_zones
	inline_script = {
		script = buildings/nomadic_cost_switcher
		REGULAR_RESOURCE = minerals
		NOMADIC_RESOURCE = alloys
		COST = @zone_cost
		NOMADIC_COST_MULT = 0.5
	}
}

included_building_sets = {
	generator
	generator_automation
	fallen_empire_generator
}

convert_to = {
	zone_volatile_motes
	zone_volatile_motes_nexus
	zone_volatile_motes_hive
}

inline_script = {
	script = jobs/zone_technicians_add
	AMOUNT = $AMOUNT$
}

planet_modifier = {
	zone_building_slots_add = @TINYGROX_MAX_BUILDINGS
	planet_technician_volatile_motes_produces_add = 0.75
	planet_technician_energy_produces_add = -3
}

ai_priority = 10

triggered_desc = {
	text = technician_is_mote_harvester_tt
	trigger = {
		exists = owner
		owner = { is_gestalt = no }
	}
}
triggered_desc = {
	text = technician_drone_is_mote_harvester_tt
	trigger = {
		exists = owner
		owner = { is_gestalt = yes }
	}
}

max_buildings = @TINYGROX_MAX_BUILDINGS
