construction_slot_category = {

	small_slot_expansion = {
		icon = generic_factory
		allowed = { always = yes }
		fire_only_once = no
		days_remove = 180
		days_re_enable = 30

		custom_cost_trigger = {
			check_variable = { treasury > 3.9 }
		}

		custom_cost_text = cost_4_0

		complete_effect = {
			set_temp_variable = { treasury_change = -4 }
			modify_treasury_effect = yes
		}

		available = {
			NOT = { has_decision = small_slot_expansion }
			NOT = { has_decision = medium_slot_expansion }
			NOT = { has_decision = huge_slot_expansion }
		}

		remove_effect = {
			random_owned_state = {
				limit = {
					state_population_k > 50
				}
				add_extra_state_shared_building_slots = 1
			}
		}
	}

	medium_slot_expansion = {
		icon = generic_factory
		allowed = { always = yes }
		fire_only_once = no
		days_remove = 180
		days_re_enable = 30

		custom_cost_trigger = {
			check_variable = { treasury > 7.9 }
		}

		custom_cost_text = cost_8_0

		complete_effect = {
			set_temp_variable = { treasury_change = -8 }
			modify_treasury_effect = yes
		}

		available = {
			NOT = { has_decision = small_slot_expansion }
			NOT = { has_decision = medium_slot_expansion }
			NOT = { has_decision = huge_slot_expansion }
		}

		remove_effect = {
			random_owned_state = {
				limit = {
					state_population_k > 50
				}
				add_extra_state_shared_building_slots = 1
			}
			random_owned_state = {
				limit = {
					state_population_k > 50
				}
				add_extra_state_shared_building_slots = 1
			}
		}
	}

	huge_slot_expansion = {
		icon = generic_factory
		allowed = { always = yes }
		fire_only_once = no
		days_remove = 180
		days_re_enable = 30

		custom_cost_trigger = {
			check_variable = { treasury > 11.9 }
		}

		custom_cost_text = cost_12_0

		complete_effect = {
			set_temp_variable = { treasury_change = -12 }
			modify_treasury_effect = yes
		}

		available = {
			NOT = { has_decision = small_slot_expansion }
			NOT = { has_decision = medium_slot_expansion }
			NOT = { has_decision = huge_slot_expansion }
		}

		remove_effect = {
			random_owned_state = {
				limit = {
					state_population_k > 50
				}
				add_extra_state_shared_building_slots = 1
			}
			random_owned_state = {
				limit = {
					state_population_k > 50
				}
				add_extra_state_shared_building_slots = 1
			}
			random_owned_state = {
				limit = {
					state_population_k > 50
				}
				add_extra_state_shared_building_slots = 1
			}
		}
	}
	
	industry_integration = {
		icon = generic_factory
		allowed = { always = yes }
		fire_only_once = no
		days_remove = 180
		days_re_enable = 60

		cost = 150

		remove_effect = {
			random_owned_state = {
				limit = {
					state_population_k > 50
				}
				add_extra_state_shared_building_slots = 1
			}
		}
	}
}
