icon = GFX_district_specialization_spawning
base_buildtime = @zone_buildtime
potential = { # planet scope
	is_planet_class = pc_hive
	owner = {
		is_hive_empire = yes
		has_ascension_perk = ap_hive_worlds
	}
}

unlock = { # planet scope
	hidden_trigger = {
		exists = owner
		owner = {
			is_hive_empire = yes
		}
	}
	owner = {
		has_ascension_perk = ap_hive_worlds
	}
}

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 = {
	urban
	urban_automation
}

triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = { is_hive_empire = yes }
	}
	job_spawning_drone_add = $AMOUNT$
}

max_buildings = @TINYGROX_MAX_BUILDINGS

planet_modifier = {
	zone_building_slots_add = @TINYGROX_MAX_BUILDINGS
}

ai_priority = 12
