stz_tech_caerulenite_manufacturing = {
	cost = @tier5cost2
	area = physics
	tier = 5
	category = { categories_stz_caerulenite }
	weight = @tier5weight1
	prerequisites = { "tech_mine_dark_matter" }

	gateway = caerulenite
	
	ai_weight = {
		factor = 2
	}
}

stz_tech_caerulenite_transmuter = {
	cost = @tier5cost2
	area = physics
	tier = 5
	category = { categories_stz_caerulenite }
	weight = @tier5weight1
	prerequisites = { "stz_tech_caerulenite_manufacturing" }

	potential = {
		NOT = {
			has_global_flag = stz_buildings_and_districts_disabled
		}
	}

	ai_weight = {
		factor = 2
	}
}

stz_tech_caerulenite_manufactorum = {
	cost = @tier5cost2
	area = engineering
	tier = 5
	category = { categories_stz_caerulenite }
	weight = @tier5weight1
	prerequisites = { "stz_tech_caerulenite_manufacturing" }

	potential = {
		NOT = {
			has_global_flag = stz_buildings_and_districts_disabled
		}
	}

	ai_weight = {
		factor = 2
	}
}

stz_tech_caerulenite_prospectorum = {
	cost = @tier5cost2
	area = engineering
	tier = 5
	category = { categories_stz_caerulenite }
	weight = @tier5weight1
	prerequisites = { "stz_tech_caerulenite_manufacturing" }

	potential = {
		NOT = {
			has_global_flag = stz_buildings_and_districts_disabled
		}
	}

	ai_weight = {
		factor = 2
	}
}

stz_tech_viridisium_synthesizing = {
	cost = @tier5cost3
	area = physics
	tier = 5
	category = { categories_stz_viridisium }
	weight = @tier5weight1
	prerequisites = { "stz_tech_caerulenite_manufacturing" }

	gateway = viridisium

	potential = {
		has_country_flag = stz_can_research_viridisium
	}

	ai_weight = {
		factor = 2
	}
}

stz_tech_viridian_lab = {
	cost = @tier5cost3
	area = physics
	tier = 5
	category = { categories_stz_viridisium }
	weight = @tier5weight1
	prerequisites = { "stz_tech_viridisium_synthesizing" }
	
	potential = {
		NOT = {
			has_global_flag = stz_buildings_and_districts_disabled
		}
	}
	
	ai_weight = {
		factor = 2
	}
}

stz_tech_advanced_viridian_lab = {
	cost = @tier5cost3
	area = physics
	tier = 5
	category = { categories_stz_viridisium }
	weight = @tier5weight1
	prerequisites = { "stz_tech_viridian_lab" }
	
	potential = {
		NOT = {
			has_global_flag = stz_buildings_and_districts_disabled
		}
	}
	
	ai_weight = {
		factor = 2
	}
}

stz_tech_viridian_transmuter = {
	cost = @tier5cost3
	area = physics
	tier = 5
	category = { categories_stz_viridisium }
	weight = @tier5weight1
	prerequisites = { "stz_tech_viridisium_synthesizing" }
	
	potential = {
		NOT = {
			has_global_flag = stz_buildings_and_districts_disabled
		}
	}
	
	ai_weight = {
		factor = 2
	}
}

#stz_viridisium_upgrade = {
#	cost = @tier5cost3
#	area = society
#	tier = 5
#	category = { categories_stz_viridisium }
#	weight = @tier5weight1
#	prerequisites = { "stz_tech_viridisium_synthesizing" }
#
#	potential = {
#		NOT = {
#			has_global_flag = stz_buildings_and_districts_disabled
#		}
#	}
#
#	prereqfor_desc = {
#		custom = {
#			title = "STZ_TECH_VIRIDISIUM_UPGRADE_TITLE"
#			desc = "STZ_TECH_VIRIDISIUM_UPGRADE_DESC"
#		}
#	}
#
#	ai_weight = {
#		factor = 2
#	}
#}

stz_tech_viridian_unity_1 = {
	cost = @tier5cost3
	area = society
	tier = 5
	category = { categories_stz_viridisium }
	weight = @tier5weight1
	prerequisites = { "stz_tech_viridisium_synthesizing" "tech_galactic_bureaucracy" }
	
	potential = {
		NOT = {
			has_global_flag = stz_buildings_and_districts_disabled
		}
	}
	
	ai_weight = {
		factor = 2
	}
}

stz_tech_viridian_unity_2 = {
	cost = @tier5cost3
	area = society
	tier = 5
	category = { categories_stz_viridisium }
	weight = @tier5weight2
	prerequisites = { "stz_tech_viridian_unity_1" }
	
	potential = {
		NOT = {
			has_global_flag = stz_buildings_and_districts_disabled
		}
	}
	
	ai_weight = {
		factor = 2
	}
}

stz_tech_viridian_manufactorum = {
	cost = @tier5cost3
	area = engineering
	tier = 5
	category = { categories_stz_viridisium }
	weight = @tier5weight1
	prerequisites = { "stz_tech_viridisium_synthesizing" "stz_tech_caerulenite_manufactorum" }

	potential = {
		NOT = {
			has_global_flag = stz_buildings_and_districts_disabled
		}
	}

	ai_weight = {
		factor = 2
	}
}

stz_tech_viridian_prospectorum = {
	cost = @tier5cost3
	area = engineering
	tier = 5
	category = { categories_stz_viridisium }
	weight = @tier5weight1
	prerequisites = { "stz_tech_viridisium_synthesizing" "stz_tech_caerulenite_prospectorum" }

	potential = {
		NOT = {
			has_global_flag = stz_buildings_and_districts_disabled
		}
	}

	ai_weight = {
		factor = 2
	}
}

stz_tech_viridian_alloys = {
	cost = @tier5cost3
	area = engineering
	tier = 5
	category = { categories_stz_viridisium }
	weight = @tier5weight1
	prerequisites = { "stz_tech_viridisium_synthesizing" "tech_alloys_2" }
	
	potential = {
		always = no
		NOT = {
			has_global_flag = stz_buildings_and_districts_disabled
		}
	}
	
	ai_weight = {
		factor = 2
	}
}

stz_tech_viridian_consumer_goods = {
	cost = @tier5cost3
	area = engineering
	tier = 5
	category = { categories_stz_viridisium }
	weight = @tier5weight1
	prerequisites = { "stz_tech_viridisium_synthesizing" "tech_luxuries_2" }
	
	potential = {
		always = no
		NOT = {
			has_global_flag = stz_buildings_and_districts_disabled
		}
	}

	ai_weight = {
		factor = 2
	}
}

stz_tech_viridian_energy_nexus = {
	cost = @tier5cost3
	area = physics
	tier = 5
	category = { categories_stz_viridisium }
	weight = @tier5weight1
	prerequisites = { "stz_tech_viridisium_synthesizing" "tech_power_hub_2" }
	
	potential = {
		always = no
		NOT = {
			has_global_flag = stz_buildings_and_districts_disabled
		}
	}

	ai_weight = {
		factor = 2
	}
}

stz_tech_viridian_food_processing_center = {
	cost = @tier5cost3
	area = society
	tier = 5
	category = { categories_stz_viridisium }
	weight = @tier5weight1
	prerequisites = { "stz_tech_viridisium_synthesizing" "tech_food_processing_2" }

	potential = {
		always = no
		NOT = {
			has_global_flag = stz_buildings_and_districts_disabled
		}
	}
	
	ai_weight = {
		factor = 2
	}
}

stz_tech_viridian_mineral_purification_hub = {
	cost = @tier5cost3
	area = engineering
	tier = 5
	category = { categories_stz_viridisium }
	weight = @tier5weight1
	prerequisites = { "stz_tech_viridisium_synthesizing" "tech_mineral_purification_2" }
	
	potential = {
		always = no
		NOT = {
			has_global_flag = stz_buildings_and_districts_disabled
		}
	}

	ai_weight = {
		factor = 2
	}
}

stz_tech_megalogistics_hub = {
	cost = @tier5cost3
	area = engineering
	tier = 5
	category = { industry }
	weight = @tier5weight1
	is_rare = yes
	prerequisites = { "tech_mega_engineering" }
	
	potential = {
		NOT = {
			has_global_flag = stz_buildings_and_districts_disabled
		}
	}

	ai_weight = {
		factor = 2
	}
}

stz_tech_caerulenite_megalogistics_hub = {
	cost = @tier5cost3
	area = engineering
	tier = 5
	category = { categories_stz_caerulenite }
	weight = @tier5weight1
	is_rare = yes
	prerequisites = { "stz_tech_caerulenite_manufacturing" "stz_tech_megalogistics_hub" }
	
	potential = {
		NOT = {
			has_global_flag = stz_buildings_and_districts_disabled
		}
	}

	ai_weight = {
		factor = 2
	}
}

stz_tech_viridian_megalogistics_hub = {
	cost = @tier5cost3
	area = engineering
	tier = 5
	category = { categories_stz_viridisium }
	weight = @tier5weight1
	is_rare = yes
	prerequisites = { "stz_tech_viridisium_synthesizing" "stz_tech_caerulenite_megalogistics_hub" }
	
	potential = {
		NOT = {
			has_global_flag = stz_buildings_and_districts_disabled
		}
	}

	ai_weight = {
		factor = 2
	}
}

stz_tech_viridian_stronghold = {
	cost = @tier5cost3
	area = society
	tier = 5
	category = { categories_stz_viridisium }
	weight = @tier5weight1
	prerequisites = { "stz_tech_viridisium_synthesizing" "tech_global_defense_grid" }
	
	potential = {
		NOT = {
			has_global_flag = stz_buildings_and_districts_disabled
		}
	}
	
	ai_weight = {
		factor = 2
	}
}

stz_tech_viridian_fortress = {
	cost = @tier5cost3
	area = society
	tier = 5
	category = { categories_stz_viridisium }
	weight = @tier5weight2
	prerequisites = { "stz_tech_viridian_stronghold" }
	
	potential = {
		NOT = {
			has_global_flag = stz_buildings_and_districts_disabled
		}
	}
	
	ai_weight = {
		factor = 2
	}
}

stz_tech_caerulenite_macro_refinery = {
    cost = @tier5cost3
    area = engineering
    tier = 5
    category = { categories_stz_caerulenite }
    weight = @tier5weight1
    prerequisites = { "stz_tech_caerulenite_manufacturing" }

    potential = {
        NOT = {
            has_global_flag = stz_buildings_and_districts_disabled
        }
    }

    ai_weight = {
        factor = 2
    }
}

stz_tech_viridian_macro_refinery = {
    cost = @tier5cost3
    area = engineering
    tier = 5
    category = { categories_stz_viridisium }
    weight = @tier5weight1
    prerequisites = { "stz_tech_viridisium_synthesizing" "stz_tech_caerulenite_macro_refinery" }

    potential = {
        NOT = {
            has_global_flag = stz_buildings_and_districts_disabled
        }
    }

    ai_weight = {
        factor = 2
    }
}