icon = GFX_district_specialization_industrial
base_buildtime = @zone_buildtime
potential = { # planet scope
	exists = owner
	owner = {
		country_uses_consumer_goods = yes
	}
}

unlock = { # planet scope
	hidden_trigger = {
		exists = owner
		owner = {
			country_uses_consumer_goods = yes
		}
	}
}

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

inline_script = {
	script = jobs/zone_foundry_add
	AMOUNT = $AMOUNT$
	AMOUNT2 = $LARGE_AMOUNT$
}

inline_script = {
	script = jobs/zone_factory_add
	AMOUNT = $AMOUNT$
	AMOUNT2 = $LARGE_AMOUNT$
}

planet_modifier = {
	zone_building_slots_add = @TINYGROX_MAX_BUILDINGS
}

ai_resource_production = {
	alloys = 10
	consumer_goods = 10

	trigger = {
		has_any_industrial_zone = yes
	}
}

ai_weight_coefficient = 1.1
ai_priority = 8

max_buildings = @TINYGROX_MAX_BUILDINGS
