prospect_for_resources = {

	#####    ####   ##  ##  ##  ##  ######  ######  ######
	##  ##  ##  ##  ##  ##   ####     ##      ##    ##
	#####   ######  ##  ##    ##      ##      ##    ####
	##  ##  ##  ##  ##  ##   ####     ##      ##    ##
	##  ##  ##  ##  ##  ##  ##  ##    ##      ##    ##
	#####   ##  ##   ####   ##  ##  ######    ##    ######

	#Guinea: Expand Îles de Los Bauxite Mines
	guinea_bauxite_I = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 780
			}
		}

		visible = {
			OR = {
				controls_state = 780
				any_country = {
					is_subject_of = ROOT
					controls_state = 780
				}
				ROOT = {
					has_resources_rights = {
						state = 780
						resources = { aluminium }
					}
				}
			}
			780 = {
				NOT = {
					has_state_flag = guinea_bauxite_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					780 = {
						has_resistance = yes
					}
				}
				780 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = guinea_bauxite_I
				}
			}
			has_tech = excavation3
			num_of_civilian_factories_available_for_projects > 1
		}

		cost = 15
		days_remove = 30

		modifier = {
			civilian_factory_use = 2
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = steel
					amount < 1
				}
			}
		}

		remove_effect = {
			780 = {
				set_state_flag = guinea_bauxite_I_flag
				add_resource = {
					type = aluminium 
					amount = 10
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = guinea_bauxite_II
		}
	}

	#Guinea: Develop Bauxite Mines in [780.GetName]
	guinea_bauxite_II = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 780
			}
		}

		visible = {
			OR = {
				controls_state = 780
				any_country = {
					is_subject_of = ROOT
					controls_state = 780
				}
				ROOT = {
					has_resources_rights = {
						state = 780
						resources = { aluminium }
					}
				}
			}
			780 = {
				NOT = {
					has_state_flag = guinea_bauxite_II_flag
				}
				has_state_flag = guinea_bauxite_I_flag
			}
		}

		available = {
			if = {
				limit = {
					780 = {
						has_resistance = yes
					}
				}
				780 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = guinea_bauxite_II
				}
			}
			has_tech = excavation4
			num_of_civilian_factories_available_for_projects > 5
		}

		cost = 45
		days_remove = 90

		modifier = {
			civilian_factory_use = 6
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			780 = {
				set_state_flag = guinea_bauxite_II_flag
				add_resource = {
					type = aluminium
					amount = 30
				}
			}
		}
	}

	#Ghana: Expand Awaso Bauxite Mine
	ghana_bauxite_I = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 274
			}
		}

		visible = {
			OR = {
				controls_state = 274
				any_country = {
					is_subject_of = ROOT
					controls_state = 274
				}
				ROOT = {
					has_resources_rights = {
						state = 274
						resources = { aluminium }
					}
				}
			}
			274 = {
				NOT = {
					has_state_flag = ghana_bauxite_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					274 = {
						has_resistance = yes
					}
				}
				274 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = ghana_bauxite_I
				}
			}
			has_tech = excavation2
			num_of_civilian_factories_available_for_projects > 1
		}

		cost = 15
		days_remove = 30

		modifier = {
			civilian_factory_use = 2
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			274 = {
				set_state_flag = ghana_bauxite_I_flag
				add_resource = {
					type = aluminium
					amount = 10
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = ghana_bauxite_II
		}
	}

	#Ghana: Develop Bauxite MInes Around Volta River
	ghana_bauxite_II = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 274
			}
		}

		visible = {
			OR = {
				controls_state = 274
				any_country = {
					is_subject_of = ROOT
					controls_state = 274
				}
				ROOT = {
					has_resources_rights = {
						state = 274
						resources = { aluminium }
					}
				}
			}
			274 = {
				NOT = {
					has_state_flag = ghana_bauxite_II_flag
				}
				has_state_flag = ghana_bauxite_I_flag
			}
		}

		available = {
			if = {
				limit = {
					274 = {
						has_resistance = yes
					}
				}
				274 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = ghana_bauxite_II
				}
			}
			has_tech = excavation4
			num_of_civilian_factories_available_for_projects > 1
		}

		cost = 15
		days_remove = 30

		modifier = {
			civilian_factory_use = 2
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			274 = {
				set_state_flag = ghana_bauxite_II_flag
				add_resource = {
					type = aluminium
					amount = 10
				}
			}
		}
	}

	#Mozambique: Develop Manica Bauxite Mines
	mozambique_bauxite_I = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 896
			}
		}

		visible = {
			OR = {
				controls_state = 896
				any_country = {
					is_subject_of = ROOT
					controls_state = 896
				}
				ROOT = {
					has_resources_rights = {
						state = 896
						resources = { aluminium }
					}
				}
			}
			896 = {
				NOT = {
					has_state_flag = mozambique_bauxite_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					896 = {
						has_resistance = yes
					}
				}
				896 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = mozambique_bauxite_I
				}
			}
			has_tech = excavation3
			num_of_civilian_factories_available_for_projects > 1
		}

		cost = 15
		days_remove = 30

		modifier = {
			civilian_factory_use = 2
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			896 = {
				set_state_flag = mozambique_bauxite_I_flag
				add_resource = {
					type = aluminium
					amount = 5
				}
			}
		}
	}

	#Malawi: Survey Mulanje Bauxite Massif 
	malawi_bauxite_I = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 770
			}
		}

		visible = {
			OR = {
				controls_state = 770
				any_country = {
					is_subject_of = ROOT
					controls_state = 770
				}
				ROOT = {
					has_resources_rights = {
						state = 770
						resources = { aluminium }
					}
				}
			}
			770 = {
				NOT = {
					has_state_flag = malawi_bauxite_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					770 = {
						has_resistance = yes
					}
				}
				770 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = malawi_bauxite_I
				}
			}
			has_tech = excavation4
			num_of_civilian_factories_available_for_projects > 1
		}

		cost = 15
		days_remove = 30

		modifier = {
			civilian_factory_use = 2
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			770 = {
				set_state_flag = malawi_bauxite_I_flag
				add_resource = {
					type = aluminium
					amount = 5
				}
			}
		}
	}

	#Camerún: Discover Bauxite Deposits in [773.GetName] 
	camerun_bauxite_I = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 773
			}
		}

		visible = {
			OR = {
				controls_state = 773
				any_country = {
					is_subject_of = ROOT
					controls_state = 773
				}
				ROOT = {
					has_resources_rights = {
						state = 773
						resources = { aluminium }
					}
				}
			}
			773 = {
				NOT = {
					has_state_flag = camerun_bauxite_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					773 = {
						has_resistance = yes
					}
				}
				773 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = camerun_bauxite_I
				}
			}
			has_tech = excavation4
			num_of_civilian_factories_available_for_projects > 1
		}

		cost = 15
		days_remove = 30

		modifier = {
			civilian_factory_use = 2
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			773 = {
				set_state_flag = camerun_bauxite_I_flag
				add_resource = {
					type = aluminium
					amount = 5
				}
			}
		}
	}

	#Sierra Leona: Discover Bauxite Deposits in [700.GetName]
	sierra_leona_bauxite_I = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 700
			}
		}

		visible = {
			OR = {
				controls_state = 700
				any_country = {
					is_subject_of = ROOT
					controls_state = 700
				}
				ROOT = {
					has_resources_rights = {
						state = 700
						resources = { aluminium }
					}
				}
			}
			700 = {
				NOT = {
					has_state_flag = sierra_leona_bauxite_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					700 = {
						has_resistance = yes
					}
				}
				700 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = sierra_leona_bauxite_I
				}
			}
			has_tech = excavation4
			num_of_civilian_factories_available_for_projects > 1
		}

		cost = 15
		days_remove = 30

		modifier = {
			civilian_factory_use = 2
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			700 = {
				set_state_flag = sierra_leona_bauxite_I_flag
				add_resource = {
					type = aluminium
					amount = 5
				}
			}
		}
	}

	#Guinea Bissau: Open Boé Bauxite Mines
	guinea_bissau_bauxite_I = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 296
			}
		}

		visible = {
			OR = {
				controls_state = 296
				any_country = {
					is_subject_of = ROOT
					controls_state = 296
				}
				ROOT = {
					has_resources_rights = {
						state = 296
						resources = { aluminium }
					}
				}
			}
			296 = {
				NOT = {
					has_state_flag = guinea_bissau_bauxite_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					296 = {
						has_resistance = yes
					}
				}
				296 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = guinea_bissau_bauxite_I
				}
			}
			has_tech = excavation4
			num_of_civilian_factories_available_for_projects > 1
		}

		cost = 20
		days_remove = 30

		modifier = {
			civilian_factory_use = 2
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			296 = {
				set_state_flag = guinea_bissau_bauxite_I_flag
				add_resource = {
					type = aluminium
					amount = 5
				}
			}
		}
	}

	#Estados Unidos: Expand [372.GetName] Bauxite Mines
	estados_unidos_bauxite_I = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 372
			}
		}

		visible = {
			OR = {
				controls_state = 372
				any_country = {
					is_subject_of = ROOT
					controls_state = 372
				}
				ROOT = {
					has_resources_rights = {
						state = 372
						resources = { aluminium }
					}
				}
			}
			372 = {
				NOT = {
					has_state_flag = estados_unidos_bauxite_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					372 = {
						has_resistance = yes
					}
				}
				372 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = estados_unidos_bauxite_I
				}
			}
			has_tech = excavation2
			num_of_civilian_factories_available_for_projects > 1
		}

		cost = 15
		days_remove = 30

		modifier = {
			civilian_factory_use = 2
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			372 = {
				set_state_flag = estados_unidos_bauxite_I_flag
				add_resource = {
					type = aluminium
					amount = 10
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = estados_unidos_bauxite_IV
		}
	}

	#Estados Unidos: Expand [367.GetName] Bauxite Mines
	estados_unidos_bauxite_II = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 367
			}
		}

		visible = {
			OR = {
				controls_state = 367
				any_country = {
					is_subject_of = ROOT
					controls_state = 367
				}
				ROOT = {
					has_resources_rights = {
						state = 367
						resources = { aluminium }
					}
				}
			}
			367 = {
				NOT = {
					has_state_flag = estados_unidos_bauxite_II_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					367 = {
						has_resistance = yes
					}
				}
				367 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = estados_unidos_bauxite_II
				}
			}
			has_tech = excavation2
			num_of_civilian_factories_available_for_projects > 1
		}

		cost = 15
		days_remove = 30

		modifier = {
			civilian_factory_use = 2
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			367 = {
				set_state_flag = estados_unidos_bauxite_II_flag
				add_resource = {
					type = aluminium
					amount = 10
				}
			}
		}
	}

	#Estados Unidos: Expand [365.GetName] Bauxite Mines
	estados_unidos_bauxite_III = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 365
			}
		}

		visible = {
			OR = {
				controls_state = 365
				any_country = {
					is_subject_of = ROOT
					controls_state = 365
				}
				ROOT = {
					has_resources_rights = {
						state = 365
						resources = { aluminium }
					}
				}
			}
			365 = {
				NOT = {
					has_state_flag = estados_unidos_bauxite_III_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					365 = {
						has_resistance = yes
					}
				}
				365 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = estados_unidos_bauxite_III
				}
			}
			has_tech = excavation2
			num_of_civilian_factories_available_for_projects > 1
		}

		cost = 15
		days_remove = 30

		modifier = {
			civilian_factory_use = 2
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			365 = {
				set_state_flag = estados_unidos_bauxite_III_flag
				add_resource = {
					type = aluminium
					amount = 10
				}
			}
		}
	}

	#Estados Unidos: Develop [372.GetName] Bauxite Mines
	estados_unidos_bauxite_IV = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 372
			}
		}

		visible = {
			OR = {
				controls_state = 372
				any_country = {
					is_subject_of = ROOT
					controls_state = 372
				}
				ROOT = {
					has_resources_rights = {
						state = 372
						resources = { aluminium }
					}
				}
			}
			372 = {
				NOT = {
					has_state_flag = estados_unidos_bauxite_IV_flag
				}
				has_state_flag = estados_unidos_bauxite_I_flag
			}
		}

		available = {
			if = {
				limit = {
					372 = {
						has_resistance = yes
					}
				}
				372 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = estados_unidos_bauxite_IV
				}
			}
			has_tech = excavation3
			num_of_civilian_factories_available_for_projects > 5
		}

		cost = 45
		days_remove = 90

		modifier = {
			civilian_factory_use = 6
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			372 = {
				set_state_flag = estados_unidos_bauxite_IV_flag
				add_resource = {
					type = aluminium
					amount = 25
				}
			}
		}
	}

	#Estados Unidos: Develop [368.GetName] Bauxite Mines
	estados_unidos_bauxite_V = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 368
			}
		}

		visible = {
			OR = {
				controls_state = 368
				any_country = {
					is_subject_of = ROOT
					controls_state = 368
				}
				ROOT = {
					has_resources_rights = {
						state = 368
						resources = { aluminium }
					}
				}
			}
			368 = {
				NOT = {
					has_state_flag = estados_unidos_bauxite_V_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					368 = {
						has_resistance = yes
					}
				}
				368 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = estados_unidos_bauxite_V
				}
			}
			has_tech = excavation3
			num_of_civilian_factories_available_for_projects > 3
		}

		cost = 30
		days_remove = 60

		modifier = {
			civilian_factory_use = 4
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			368 = {
				set_state_flag = estados_unidos_bauxite_V_flag
				add_resource = {
					type = aluminium
					amount = 15
				}
			}
		}
	}

	#Estados Unidos: Open Marysvale Alunite Mine
	estados_unidos_bauxite_VI = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 380
			}
		}

		visible = {
			OR = {
				controls_state = 380
				any_country = {
					is_subject_of = ROOT
					controls_state = 380
				}
				ROOT = {
					has_resources_rights = {
						state = 380
						resources = { aluminium }
					}
				}
			}
			380 = {
				NOT = {
					has_state_flag = estados_unidos_bauxite_VI_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					380 = {
						has_resistance = yes
					}
				}
				380 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = estados_unidos_bauxite_VI
				}
			}
			has_tech = excavation3
			num_of_civilian_factories_available_for_projects > 1
		}

		cost = 15
		days_remove = 30

		modifier = {
			civilian_factory_use = 2
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			380 = {
				set_state_flag = estados_unidos_bauxite_VI_flag
				add_resource = {
					type = aluminium
					amount = 5
				}
			}
		}
	}

	#Suriname: Expand Moengo and Paranam Bauxite Mines
	suriname_bauxite_I = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 309
			}
		}

		visible = {
			OR = {
				controls_state = 309
				any_country = {
					is_subject_of = ROOT
					controls_state = 309
				}
				ROOT = {
					has_resources_rights = {
						state = 309
						resources = { aluminium }
					}
				}
			}
			309 = {
				NOT = {
					has_state_flag = suriname_bauxite_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					309 = {
						has_resistance = yes
					}
				}
				309 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = suriname_bauxite_I
				}
			}
			has_tech = excavation2
			num_of_civilian_factories_available_for_projects > 3
		}

		cost = 30
		days_remove = 60

		modifier = {
			civilian_factory_use = 4
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			309 = {
				set_state_flag = suriname_bauxite_I_flag
				add_resource = {
					type = aluminium
					amount = 15
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = suriname_bauxite_II
		}
	}

	#Suriname: Develop Moengo and Paranam Bauxite Mines
	suriname_bauxite_II = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 309
			}
		}

		visible = {
			OR = {
				controls_state = 309
				any_country = {
					is_subject_of = ROOT
					controls_state = 309
				}
				ROOT = {
					has_resources_rights = {
						state = 309
						resources = { aluminium }
					}
				}
			}
			309 = {
				NOT = {
					has_state_flag = suriname_bauxite_II_flag
				}
				has_state_flag = suriname_bauxite_I_flag
			}
		}

		available = {
			if = {
				limit = {
					309 = {
						has_resistance = yes
					}
				}
				309 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = suriname_bauxite_II
				}
			}
			has_tech = excavation3
			num_of_civilian_factories_available_for_projects > 3
		}

		cost = 30
		days_remove = 60

		modifier = {
			civilian_factory_use = 4
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			309 = {
				set_state_flag = suriname_bauxite_II_flag
				add_resource = {
					type = aluminium
					amount = 15
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = suriname_bauxite_III
		}
	}

	#Suriname: Intensify Moengo and Paranam Bauxite Mines
	suriname_bauxite_III = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 309
			}
		}

		visible = {
			OR = {
				controls_state = 309
				any_country = {
					is_subject_of = ROOT
					controls_state = 309
				}
				ROOT = {
					has_resources_rights = {
						state = 309
						resources = { aluminium }
					}
				}
			}
			309 = {
				NOT = {
					has_state_flag = suriname_bauxite_III_flag
				}
				has_state_flag = suriname_bauxite_II_flag
			}
		}

		available = {
			if = {
				limit = {
					309 = {
						has_resistance = yes
					}
				}
				309 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = suriname_bauxite_III
				}
			}
			has_tech = excavation4
			num_of_civilian_factories_available_for_projects > 3
		}

		cost = 30
		days_remove = 60

		modifier = {
			civilian_factory_use = 4
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			309 = {
				set_state_flag = suriname_bauxite_III_flag
				add_resource = {
					type = aluminium
					amount = 20
				}
			}
		}
	}

	#Guyana: Expand Mackenzie Bauxite Mines
	guyana_bauxite_I = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 687
			}
		}

		visible = {
			OR = {
				controls_state = 687
				any_country = {
					is_subject_of = ROOT
					controls_state = 687
				}
				ROOT = {
					has_resources_rights = {
						state = 687
						resources = { aluminium }
					}
				}
			}
			687 = {
				NOT = {
					has_state_flag = guyana_bauxite_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					687 = {
						has_resistance = yes
					}
				}
				687 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = guyana_bauxite_I
				}
			}
			has_tech = excavation2
			num_of_civilian_factories_available_for_projects > 3
		}

		cost = 30
		days_remove = 60

		modifier = {
			civilian_factory_use = 4
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			687 = {
				set_state_flag = guyana_bauxite_I_flag
				add_resource = {
					type = aluminium
					amount = 15
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = guyana_bauxite_II
		}
	}

	#Guyana: Develop Mackenzie Bauxite Mines
	guyana_bauxite_II = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 687
			}
		}

		visible = {
			OR = {
				controls_state = 687
				any_country = {
					is_subject_of = ROOT
					controls_state = 687
				}
				ROOT = {
					has_resources_rights = {
						state = 687
						resources = { aluminium }
					}
				}
			}
			687 = {
				NOT = {
					has_state_flag = guyana_bauxite_II_flag
				}
				has_state_flag = guyana_bauxite_I_flag
			}
		}

		available = {
			if = {
				limit = {
					687 = {
						has_resistance = yes
					}
				}
				687 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = guyana_bauxite_II
				}
			}
			has_tech = excavation3
			num_of_civilian_factories_available_for_projects > 3
		}

		cost = 30
		days_remove = 60

		modifier = {
			civilian_factory_use = 4
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			687 = {
				set_state_flag = guyana_bauxite_II_flag
				add_resource = {
					type = aluminium
					amount = 15
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = guyana_bauxite_III
		}
	}

	#Guyana: Intensify Mackenzie Bauxite Mines
	guyana_bauxite_III = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 687
			}
		}

		visible = {
			OR = {
				controls_state = 687
				any_country = {
					is_subject_of = ROOT
					controls_state = 687
				}
				ROOT = {
					has_resources_rights = {
						state = 687
						resources = { aluminium }
					}
				}
			}
			687 = {
				NOT = {
					has_state_flag = guyana_bauxite_III_flag
				}
				has_state_flag = guyana_bauxite_II_flag
			}
		}

		available = {
			if = {
				limit = {
					687 = {
						has_resistance = yes
					}
				}
				687 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = guyana_bauxite_III
				}
			}
			has_tech = excavation4
			num_of_civilian_factories_available_for_projects > 3
		}

		cost = 30
		days_remove = 60

		modifier = {
			civilian_factory_use = 4
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			687 = {
				set_state_flag = guyana_bauxite_III_flag
				add_resource = {
					type = aluminium
					amount = 15
				}
			}
		}
	}

	#Jamaica: Open Bauxite Mines in [689.GetName]
	jamaica_bauxite_I = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 689
			}
		}

		visible = {
			OR = {
				controls_state = 689
				any_country = {
					is_subject_of = ROOT
					controls_state = 689
				}
				ROOT = {
					has_resources_rights = {
						state = 689
						resources = { aluminium }
					}
				}
			}
			689 = {
				NOT = {
					has_state_flag = jamaica_bauxite_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					689 = {
						has_resistance = yes
					}
				}
				689 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = jamaica_bauxite_I
				}
			}
			has_tech = excavation3
			num_of_civilian_factories_available_for_projects > 3
		}

		cost = 30
		days_remove = 60

		modifier = {
			civilian_factory_use = 4
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			689 = {
				set_state_flag = jamaica_bauxite_I_flag
				add_resource = {
					type = aluminium
					amount = 20
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = jamaica_bauxite_II
		}
	}

	#Jamaica: Develop Bauxite Mines in [689.GetName]
	jamaica_bauxite_II = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 689
			}
		}

		visible = {
			OR = {
				controls_state = 689
				any_country = {
					is_subject_of = ROOT
					controls_state = 689
				}
				ROOT = {
					has_resources_rights = {
						state = 689
						resources = { aluminium }
					}
				}
			}
			689 = {
				NOT = {
					has_state_flag = jamaica_bauxite_II_flag
				}
				has_state_flag = jamaica_bauxite_I_flag
			}
		}

		available = {
			if = {
				limit = {
					689 = {
						has_resistance = yes
					}
				}
				689 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = jamaica_bauxite_II
				}
			}
			has_tech = excavation4
			num_of_civilian_factories_available_for_projects > 7
		}

		cost = 60
		days_remove = 90

		modifier = {
			civilian_factory_use = 8
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			689 = {
				set_state_flag = jamaica_bauxite_II_flag
				add_resource = {
					type = aluminium
					amount = 40
				}
			}
		}
	}

	#República Dominicana: Open Cabo Rojo Bauxite Mine
	republica_dominicana_bauxite_I = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 319
			}
		}

		visible = {
			OR = {
				controls_state = 319
				any_country = {
					is_subject_of = ROOT
					controls_state = 319
				}
				ROOT = {
					has_resources_rights = {
						state = 319
						resources = { aluminium }
					}
				}
			}
			319 = {
				NOT = {
					has_state_flag = republica_dominicana_bauxite_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					319 = {
						has_resistance = yes
					}
				}
				319 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = republica_dominicana_bauxite_I
				}
			}
			has_tech = excavation3
			num_of_civilian_factories_available_for_projects > 1
		}

		cost = 15
		days_remove = 30

		modifier = {
			civilian_factory_use = 2
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			319 = {
				set_state_flag = republica_dominicana_bauxite_I_flag
				add_resource = {
					type = aluminium
					amount = 10
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = republica_dominicana_bauxite_II
		}
	}

	#República Dominicana: Expand Cabo Rojo Bauxite Mine
	republica_dominicana_bauxite_II = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 319
			}
		}

		visible = {
			OR = {
				controls_state = 319
				any_country = {
					is_subject_of = ROOT
					controls_state = 319
				}
				ROOT = {
					has_resources_rights = {
						state = 319
						resources = { aluminium }
					}
				}
			}
			319 = {
				NOT = {
					has_state_flag = republica_dominicana_bauxite_II_flag
				}
				has_state_flag = republica_dominicana_bauxite_I_flag
			}
		}

		available = {
			if = {
				limit = {
					319 = {
						has_resistance = yes
					}
				}
				319 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = republica_dominicana_bauxite_II
				}
			}
			has_tech = excavation4
			num_of_civilian_factories_available_for_projects > 3
		}

		cost = 30
		days_remove = 60

		modifier = {
			civilian_factory_use = 4
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			319 = {
				set_state_flag = republica_dominicana_bauxite_II_flag
				add_resource = {
					type = aluminium
					amount = 15
				}
			}
		}
	}

	#Haití: Expand Miragoâne Bauxite Mine
	haiti_bauxite_I = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 318
			}
		}

		visible = {
			OR = {
				controls_state = 318
				any_country = {
					is_subject_of = ROOT
					controls_state = 318
				}
				ROOT = {
					has_resources_rights = {
						state = 318
						resources = { aluminium }
					}
				}
			}
			318 = {
				NOT = {
					has_state_flag = haiti_bauxite_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					318 = {
						has_resistance = yes
					}
				}
				318 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = haiti_bauxite_I
				}
			}
			has_tech = excavation4
			num_of_civilian_factories_available_for_projects > 1
		}

		cost = 15
		days_remove = 30

		modifier = {
			civilian_factory_use = 2
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			318 = {
				set_state_flag = haiti_bauxite_I_flag
				add_resource = {
					type = aluminium
					amount = 10
				}
			}
		}
	}

	#Brasil: Expand Poços de Caldas Bauxite Mines
	brasil_bauxite_I = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 496
			}
		}

		visible = {
			OR = {
				controls_state = 496
				any_country = {
					is_subject_of = ROOT
					controls_state = 496
				}
				ROOT = {
					has_resources_rights = {
						state = 496
						resources = { aluminium }
					}
				}
			}
			496 = {
				NOT = {
					has_state_flag = brasil_bauxite_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					496 = {
						has_resistance = yes
					}
				}
				496 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = brasil_bauxite_I
				}
			}
			has_tech = excavation3
			num_of_civilian_factories_available_for_projects > 1
		}

		cost = 15
		days_remove = 30

		modifier = {
			civilian_factory_use = 2
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			496 = {
				set_state_flag = brasil_bauxite_I_flag
				add_resource = {
					type = aluminium
					amount = 10
				}
			}
		}
	}

	#Japón: Expand Ngardmau Bauxite Mine
	japon_bauxite_I = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 647
			}
		}

		visible = {
			OR = {
				controls_state = 647
				any_country = {
					is_subject_of = ROOT
					controls_state = 647
				}
				ROOT = {
					has_resources_rights = {
						state = 647
						resources = { aluminium }
					}
				}
			}
			647 = {
				NOT = {
					has_state_flag = japon_bauxite_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					647 = {
						has_resistance = yes
					}
				}
				647 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = japon_bauxite_I
				}
			}
			has_tech = excavation3
			num_of_civilian_factories_available_for_projects > 1
		}

		cost = 15
		days_remove = 30

		modifier = {
			civilian_factory_use = 2
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			647 = {
				set_state_flag = japon_bauxite_I_flag
				add_resource = {
					type = aluminium
					amount = 10
				}
			}
		}
	}

	#Indonesia: Develop Bintan Bauxite Mines
	indonesia_bauxite_I = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 1049
			}
		}

		visible = {
			OR = {
				controls_state = 1049
				any_country = {
					is_subject_of = ROOT
					controls_state = 1049
				}
				ROOT = {
					has_resources_rights = {
						state = 1049
						resources = { aluminium }
					}
				}
			}
			1049 = {
				NOT = {
					has_state_flag = indonesia_bauxite_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					1049 = {
						has_resistance = yes
					}
				}
				1049 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = indonesia_bauxite_I
				}
			}
			has_tech = excavation2
			num_of_civilian_factories_available_for_projects > 1
		}

		cost = 15
		days_remove = 30

		modifier = {
			civilian_factory_use = 2
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			1049 = {
				set_state_flag = indonesia_bauxite_I_flag
				add_resource = {
					type = aluminium
					amount = 10
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = indonesia_bauxite_II
		}
	}

	#Indonesia: Expand Bintan Bauxite Mines
	indonesia_bauxite_II = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 1049
			}
		}

		visible = {
			OR = {
				controls_state = 1049
				any_country = {
					is_subject_of = ROOT
					controls_state = 1049
				}
				ROOT = {
					has_resources_rights = {
						state = 1049
						resources = { aluminium }
					}
				}
			}
			1049 = {
				NOT = {
					has_state_flag = indonesia_bauxite_II_flag
				}
				has_state_flag = indonesia_bauxite_I_flag
			}
		}

		available = {
			if = {
				limit = {
					1049 = {
						has_resistance = yes
					}
				}
				1049 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = indonesia_bauxite_II
				}
			}
			has_tech = excavation3
			num_of_civilian_factories_available_for_projects > 1
		}

		cost = 15
		days_remove = 30

		modifier = {
			civilian_factory_use = 2
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			1049 = {
				set_state_flag = indonesia_bauxite_II_flag
				add_resource = {
					type = aluminium
					amount = 10
				}
			}
		}
	}

	#Malasia: Develop Johor Bauxite Mines
	malasia_bauxite_I = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 1060
			}
		}

		visible = {
			OR = {
				controls_state = 1060
				any_country = {
					is_subject_of = ROOT
					controls_state = 1060
				}
				ROOT = {
					has_resources_rights = {
						state = 1060
						resources = { aluminium }
					}
				}
			}
			1060 = {
				NOT = {
					has_state_flag = malasia_bauxite_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					1060 = {
						has_resistance = yes
					}
				}
				1060 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = malasia_bauxite_I
				}
			}
			has_tech = excavation2
			num_of_civilian_factories_available_for_projects > 1
		}

		cost = 15
		days_remove = 30

		modifier = {
			civilian_factory_use = 2
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			1060 = {
				set_state_flag = malasia_bauxite_I_flag
				add_resource = {
					type = aluminium
					amount = 10
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = malasia_bauxite_II
		}
	}

	#Malasia: Expand Johor Bauxite Mines
	malasia_bauxite_II = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 1060
			}
		}

		visible = {
			OR = {
				controls_state = 1060
				any_country = {
					is_subject_of = ROOT
					controls_state = 1060
				}
				ROOT = {
					has_resources_rights = {
						state = 1060
						resources = { aluminium }
					}
				}
			}
			1060 = {
				NOT = {
					has_state_flag = malasia_bauxite_II_flag
				}
				has_state_flag = malasia_bauxite_I_flag
			}
		}

		available = {
			if = {
				limit = {
					1060 = {
						has_resistance = yes
					}
				}
				1060 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = malasia_bauxite_II
				}
			}
			has_tech = excavation4
			num_of_civilian_factories_available_for_projects > 1
		}

		cost = 15
		days_remove = 30

		modifier = {
			civilian_factory_use = 2
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			1060 = {
				set_state_flag = malasia_bauxite_II_flag
				add_resource = {
					type = aluminium
					amount = 10
				}
			}
		}
	}

	#Malasia: Open Sematan Bauxite Mine
	malasia_bauxite_III = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 333
			}
		}

		visible = {
			OR = {
				controls_state = 333
				any_country = {
					is_subject_of = ROOT
					controls_state = 333
				}
				ROOT = {
					has_resources_rights = {
						state = 333
						resources = { aluminium }
					}
				}
			}
			333 = {
				NOT = {
					has_state_flag = malasia_bauxite_III_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					333 = {
						has_resistance = yes
					}
				}
				333 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = malasia_bauxite_III
				}
			}
			has_tech = excavation4
			num_of_civilian_factories_available_for_projects > 1
		}

		cost = 15
		days_remove = 30

		modifier = {
			civilian_factory_use = 2
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			333 = {
				set_state_flag = malasia_bauxite_III_flag
				add_resource = {
					type = aluminium
					amount = 10
				}
			}
		}
	}

	#India: Develop [436.GetName] Bauxite Mines
	india_bauxite_I = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 436
			}
		}

		visible = {
			OR = {
				controls_state = 436
				any_country = {
					is_subject_of = ROOT
					controls_state = 436
				}
				ROOT = {
					has_resources_rights = {
						state = 436
						resources = { aluminium }
					}
				}
			}
			436 = {
				NOT = {
					has_state_flag = india_bauxite_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					436 = {
						has_resistance = yes
					}
				}
				436 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = india_bauxite_I
				}
			}
			has_tech = excavation4
			num_of_civilian_factories_available_for_projects > 3
		}

		cost = 30
		days_remove = 60

		modifier = {
			civilian_factory_use = 4
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			436 = {
				set_state_flag = india_bauxite_I_flag
				add_resource = {
					type = aluminium
					amount = 20
				}
			}
		}
	}

	#China: Expand [597.GetName] Bauxite Mines
	china_bauxite_I = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 597
			}
		}

		visible = {
			OR = {
				controls_state = 597
				any_country = {
					is_subject_of = ROOT
					controls_state = 597
				}
				ROOT = {
					has_resources_rights = {
						state = 597
						resources = { aluminium }
					}
				}
			}
			597 = {
				NOT = {
					has_state_flag = china_bauxite_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					597 = {
						has_resistance = yes
					}
				}
				597 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = china_bauxite_I
				}
			}
			has_tech = excavation3
			num_of_civilian_factories_available_for_projects > 3
		}

		cost = 30
		days_remove = 60

		modifier = {
			civilian_factory_use = 4
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			597 = {
				set_state_flag = china_bauxite_I_flag
				add_resource = {
					type = aluminium
					amount = 15
				}
			}
		}
	}

	#China: Develop [325.GetName] Bauxite Mines
	china_bauxite_II = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 325
			}
		}

		visible = {
			OR = {
				controls_state = 325
				any_country = {
					is_subject_of = ROOT
					controls_state = 325
				}
				ROOT = {
					has_resources_rights = {
						state = 325
						resources = { aluminium }
					}
				}
			}
			325 = {
				NOT = {
					has_state_flag = china_bauxite_II_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					325 = {
						has_resistance = yes
					}
				}
				325 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = china_bauxite_II
				}
			}
			has_tech = excavation4
			num_of_civilian_factories_available_for_projects > 3
		}

		cost = 30
		days_remove = 60

		modifier = {
			civilian_factory_use = 4
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			325 = {
				set_state_flag = china_bauxite_II_flag
				add_resource = {
					type = aluminium
					amount = 20
				}
			}
		}
	}

	#China: Develop Fanshan Alunite Mine
	china_bauxite_III = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 596
			}
		}

		visible = {
			OR = {
				controls_state = 596
				any_country = {
					is_subject_of = ROOT
					controls_state = 596
				}
				ROOT = {
					has_resources_rights = {
						state = 596
						resources = { aluminium }
					}
				}
			}
			596 = {
				NOT = {
					has_state_flag = china_bauxite_III_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					596 = {
						has_resistance = yes
					}
				}
				596 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = china_bauxite_III
				}
			}
			has_tech = excavation4
			num_of_civilian_factories_available_for_projects > 1
		}

		cost = 15
		days_remove = 30

		modifier = {
			civilian_factory_use = 2
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			596 = {
				set_state_flag = china_bauxite_III_flag
				add_resource = {
					type = aluminium
					amount = 10
				}
			}
		}
	}

	#Pakistan: Open [442.GetName] Bauxite Mines
	pakistan_bauxite_I = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 442
			}
		}

		visible = {
			OR = {
				controls_state = 442
				any_country = {
					is_subject_of = ROOT
					controls_state = 442
				}
				ROOT = {
					has_resources_rights = {
						state = 442
						resources = { aluminium }
					}
				}
			}
			442 = {
				NOT = {
					has_state_flag = pakistan_bauxite_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					442 = {
						has_resistance = yes
					}
				}
				442 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = pakistan_bauxite_I
				}
			}
			has_tech = excavation4
			num_of_civilian_factories_available_for_projects > 1
		}

		cost = 15
		days_remove = 30

		modifier = {
			civilian_factory_use = 2
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			442 = {
				set_state_flag = pakistan_bauxite_I_flag
				add_resource = {
					type = aluminium
					amount = 5
				}
			}
		}
	}

	#Hungría: Expand Mount Bakonybél Bauxite Mines
	hungria_bauxite_I = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 155
			}
		}

		visible = {
			OR = {
				controls_state = 155
				any_country = {
					is_subject_of = ROOT
					controls_state = 155
				}
				ROOT = {
					has_resources_rights = {
						state = 155
						resources = { aluminium }
					}
				}
			}
			155 = {
				NOT = {
					has_state_flag = hungria_bauxite_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					155 = {
						has_resistance = yes
					}
				}
				155 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = hungria_bauxite_I
				}
			}
			has_tech = excavation3
			num_of_civilian_factories_available_for_projects > 3
		}

		cost = 30
		days_remove = 60

		modifier = {
			civilian_factory_use = 4
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			155 = {
				set_state_flag = hungria_bauxite_I_flag
				add_resource = {
					type = aluminium
					amount = 15
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = hungria_bauxite_II
		}
	}

	#Hungría: Develop Mount Bakonybél Bauxite Mines
	hungria_bauxite_II = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 155
			}
		}

		visible = {
			OR = {
				controls_state = 155
				any_country = {
					is_subject_of = ROOT
					controls_state = 155
				}
				ROOT = {
					has_resources_rights = {
						state = 155
						resources = { aluminium }
					}
				}
			}
			155 = {
				NOT = {
					has_state_flag = hungria_bauxite_II_flag
				}
				has_state_flag = hungria_bauxite_I_flag
			}
		}

		available = {
			if = {
				limit = {
					155 = {
						has_resistance = yes
					}
				}
				155 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = hungria_bauxite_II
				}
			}
			has_tech = excavation4
			num_of_civilian_factories_available_for_projects > 3
		}

		cost = 30
		days_remove = 60

		modifier = {
			civilian_factory_use = 4
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			155 = {
				set_state_flag = hungria_bauxite_II_flag
				add_resource = {
					type = aluminium
					amount = 15
				}
			}
		}
	}

	#Grecia: Expand Mount Parnaso Bauxite Mines
	grecia_bauxite_I = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 47
			}
		}

		visible = {
			OR = {
				controls_state = 47
				any_country = {
					is_subject_of = ROOT
					controls_state = 47
				}
				ROOT = {
					has_resources_rights = {
						state = 47
						resources = { aluminium }
					}
				}
			}
			47 = {
				NOT = {
					has_state_flag = grecia_bauxite_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					47 = {
						has_resistance = yes
					}
				}
				47 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = grecia_bauxite_I
				}
			}
			has_tech = excavation4
			num_of_civilian_factories_available_for_projects > 3
		}

		cost = 30
		days_remove = 60

		modifier = {
			civilian_factory_use = 4
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			47 = {
				set_state_flag = grecia_bauxite_I_flag
				add_resource = {
					type = aluminium
					amount = 15
				}
			}
		}
	}

	#Grecia: Develop Bauxite Mines in [187.GetName]
	grecia_bauxite_II = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 187
			}
		}

		visible = {
			OR = {
				controls_state = 187
				any_country = {
					is_subject_of = ROOT
					controls_state = 187
				}
				ROOT = {
					has_resources_rights = {
						state = 187
						resources = { aluminium }
					}
				}
			}
			187 = {
				NOT = {
					has_state_flag = grecia_bauxite_II_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					187 = {
						has_resistance = yes
					}
				}
				187 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = grecia_bauxite_II
				}
			}
			has_tech = excavation4
			num_of_civilian_factories_available_for_projects > 1
		}

		cost = 15
		days_remove = 30

		modifier = {
			civilian_factory_use = 2
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			187 = {
				set_state_flag = grecia_bauxite_II_flag
				add_resource = {
					type = aluminium
					amount = 10
				}
			}
		}
	}

	#Francia: Expand [851.GetName] Bauxite Mines
	francia_bauxite_I = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 851
			}
		}

		visible = {
			OR = {
				controls_state = 851
				any_country = {
					is_subject_of = ROOT
					controls_state = 851
				}
				ROOT = {
					has_resources_rights = {
						state = 851
						resources = { aluminium }
					}
				}
			}
			851 = {
				NOT = {
					has_state_flag = francia_bauxite_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					851 = {
						has_resistance = yes
					}
				}
				851 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = francia_bauxite_I
				}
			}
			has_tech = excavation3
			num_of_civilian_factories_available_for_projects > 1
		}

		cost = 15
		days_remove = 30

		modifier = {
			civilian_factory_use = 2
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			851 = {
				set_state_flag = francia_bauxite_I_flag
				add_resource = {
					type = aluminium
					amount = 10
				}
			}
		}
	}

	#Francia: Develop Provenza Bauxite Mines
	francia_bauxite_II = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 21
			}
		}

		visible = {
			OR = {
				controls_state = 21
				any_country = {
					is_subject_of = ROOT
					controls_state = 21
				}
				ROOT = {
					has_resources_rights = {
						state = 21
						resources = { aluminium }
					}
				}
			}
			21 = {
				NOT = {
					has_state_flag = francia_bauxite_II_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					21 = {
						has_resistance = yes
					}
				}
				21 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = francia_bauxite_II
				}
			}
			has_tech = excavation4
			num_of_civilian_factories_available_for_projects > 1
		}

		cost = 15
		days_remove = 30

		modifier = {
			civilian_factory_use = 2
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			21 = {
				set_state_flag = francia_bauxite_II_flag
				add_resource = {
					type = aluminium
					amount = 10
				}
			}
		}
	}

	#Francia: Develop Languedoc Bauxite Mines
	francia_bauxite_III = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 22
			}
		}

		visible = {
			OR = {
				controls_state = 22
				any_country = {
					is_subject_of = ROOT
					controls_state = 22
				}
				ROOT = {
					has_resources_rights = {
						state = 22
						resources = { aluminium }
					}
				}
			}
			22 = {
				NOT = {
					has_state_flag = francia_bauxite_II_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					22 = {
						has_resistance = yes
					}
				}
				22 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = francia_bauxite_III
				}
			}
			has_tech = excavation4
			num_of_civilian_factories_available_for_projects > 1
		}

		cost = 15
		days_remove = 30

		modifier = {
			civilian_factory_use = 2
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			22 = {
				add_resource = {
					type = aluminium
					amount = 10
				}
			}
		}
	}

	#Yugoslavia: Expand [804.GetName] Bauxite Mines
	yugoslavia_bauxite_I = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 804
			}
		}

		visible = {
			OR = {
				controls_state = 804
				any_country = {
					is_subject_of = ROOT
					controls_state = 804
				}
				ROOT = {
					has_resources_rights = {
						state = 804
						resources = { aluminium }
					}
				}
			}
			804 = {
				NOT = {
					has_state_flag = yugoslavia_bauxite_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					804 = {
						has_resistance = yes
					}
				}
				804 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = yugoslavia_bauxite_I
				}
			}
			has_tech = excavation2
			num_of_civilian_factories_available_for_projects > 1
		}

		cost = 15
		days_remove = 30

		modifier = {
			civilian_factory_use = 2
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			804 = {
				set_state_flag = yugoslavia_bauxite_I_flag
				add_resource = {
					type = aluminium
					amount = 10
				}
			}
		}
	}

	#Yugoslavia: Develop Nikšić Bauxite Mine
	yugoslavia_bauxite_II = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 105
			}
		}

		visible = {
			OR = {
				controls_state = 105
				any_country = {
					is_subject_of = ROOT
					controls_state = 105
				}
				ROOT = {
					has_resources_rights = {
						state = 105
						resources = { aluminium }
					}
				}
			}
			105 = {
				NOT = {
					has_state_flag = yugoslavia_bauxite_II_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					105 = {
						has_resistance = yes
					}
				}
				105 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = yugoslavia_bauxite_II
				}
			}
			has_tech = excavation4
			num_of_civilian_factories_available_for_projects > 3
		}

		cost = 30
		days_remove = 60

		modifier = {
			civilian_factory_use = 4
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			105 = {
				set_state_flag = yugoslavia_bauxite_II_flag
				add_resource = {
					type = aluminium
					amount = 15
				}
			}
		}
	}

	#Reino Unido: Expand Antrim Bauxite Mines
	reino_unido_bauxite_I = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 119
			}
		}

		visible = {
			OR = {
				controls_state = 119
				any_country = {
					is_subject_of = ROOT
					controls_state = 119
				}
				ROOT = {
					has_resources_rights = {
						state = 119
						resources = { aluminium }
					}
				}
			}
			119 = {
				NOT = {
					has_state_flag = reino_unido_bauxite_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					119 = {
						has_resistance = yes
					}
				}
				119 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = reino_unido_bauxite_I
				}
			}
			has_tech = excavation2
			num_of_civilian_factories_available_for_projects > 1
		}

		cost = 15
		days_remove = 30

		modifier = {
			civilian_factory_use = 2
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			119 = {
				set_state_flag = reino_unido_bauxite_I_flag
				add_resource = {
					type = aluminium
					amount = 5
				}
			}
		}
	}

	#Rumanía: Expand Bihor Bauxite Mines
	rumania_bauxite_I = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 76
			}
		}

		visible = {
			OR = {
				controls_state = 76
				any_country = {
					is_subject_of = ROOT
					controls_state = 76
				}
				ROOT = {
					has_resources_rights = {
						state = 76
						resources = { aluminium }
					}
				}
			}
			76 = {
				NOT = {
					has_state_flag = rumania_bauxite_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					76 = {
						has_resistance = yes
					}
				}
				76 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = rumania_bauxite_I
				}
			}
			has_tech = excavation4
			num_of_civilian_factories_available_for_projects > 1
		}

		cost = 15
		days_remove = 30

		modifier = {
			civilian_factory_use = 2
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			76 = {
				set_state_flag = rumania_bauxite_I_flag
				add_resource = {
					type = aluminium
					amount = 10
				}
			}
		}
	}

	#Austria: Open Unterlaussa Bauxite Mine
	austria_bauxite_I = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 152
			}
		}

		visible = {
			OR = {
				controls_state = 152
				any_country = {
					is_subject_of = ROOT
					controls_state = 152
				}
				ROOT = {
					has_resources_rights = {
						state = 152
						resources = { aluminium }
					}
				}
			}
			152 = {
				NOT = {
					has_state_flag = austria_bauxite_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					152 = {
						has_resistance = yes
					}
				}
				152 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = austria_bauxite_I
				}
			}
			has_tech = excavation3
			num_of_civilian_factories_available_for_projects > 1
		}

		cost = 15
		days_remove = 30

		modifier = {
			civilian_factory_use = 2
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			152 = {
				set_state_flag = austria_bauxite_I_flag
				add_resource = {
					type = aluminium
					amount = 5
				}
			}
		}
	}

	#España: Expand [165.GetName] Bauxite Mines
	espana_bauxite_I = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 165
			}
		}

		visible = {
			OR = {
				controls_state = 165
				any_country = {
					is_subject_of = ROOT
					controls_state = 165
				}
				ROOT = {
					has_resources_rights = {
						state = 165
						resources = { aluminium }
					}
				}
			}
			165 = {
				NOT = {
					has_state_flag = espana_bauxite_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					165 = {
						has_resistance = yes
					}
				}
				165 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = espana_bauxite_I
				}
			}
			has_tech = excavation3
			num_of_civilian_factories_available_for_projects > 1
		}

		cost = 15
		days_remove = 30

		modifier = {
			civilian_factory_use = 2
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			165 = {
				set_state_flag = espana_bauxite_I_flag
				add_resource = {
					type = aluminium
					amount = 5
				}
			}
		}
	}

	#España: Expand Rodalquilar Alunite Mine
	espana_bauxite_II = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 173
			}
		}

		visible = {
			OR = {
				controls_state = 173
				any_country = {
					is_subject_of = ROOT
					controls_state = 173
				}
				ROOT = {
					has_resources_rights = {
						state = 173
						resources = { aluminium }
					}
				}
			}
			173 = {
				NOT = {
					has_state_flag = espana_bauxite_II_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					173 = {
						has_resistance = yes
					}
				}
				173 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = espana_bauxite_II
				}
			}
			has_tech = excavation3
			num_of_civilian_factories_available_for_projects > 1
		}

		cost = 15
		days_remove = 30

		modifier = {
			civilian_factory_use = 2
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			173 = {
				set_state_flag = espana_bauxite_II_flag
				add_resource = {
					type = aluminium
					amount = 3
				}
			}
		}
	}

	#URSS: Expand Tikhvin Bauxite Mine
	urss_bauxite_I = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 244
			}
		}

		visible = {
			OR = {
				controls_state = 244
				any_country = {
					is_subject_of = ROOT
					controls_state = 244
				}
				ROOT = {
					has_resources_rights = {
						state = 244
						resources = { aluminium }
					}
				}
			}
			244 = {
				NOT = {
					has_state_flag = urss_bauxite_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					244 = {
						has_resistance = yes
					}
				}
				244 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = urss_bauxite_I
				}
			}
			has_tech = excavation2
			num_of_civilian_factories_available_for_projects > 1
		}

		cost = 15
		days_remove = 30

		modifier = {
			civilian_factory_use = 2
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			244 = {
				set_state_flag = urss_bauxite_I_flag
				add_resource = {
					type = aluminium
					amount = 10
				}
			}
		}
	}

	#URSS: Expand [653.GetName] Bauxite Mines
	urss_bauxite_II = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 653
			}
		}

		visible = {
			OR = {
				controls_state = 653
				any_country = {
					is_subject_of = ROOT
					controls_state = 653
				}
				ROOT = {
					has_resources_rights = {
						state = 653
						resources = { aluminium }
					}
				}
			}
			653 = {
				NOT = {
					has_state_flag = urss_bauxite_II_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					653 = {
						has_resistance = yes
					}
				}
				653 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = urss_bauxite_II
				}
			}
			has_tech = excavation3
			num_of_civilian_factories_available_for_projects > 3
		}

		cost = 30
		days_remove = 60

		modifier = {
			civilian_factory_use = 4
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			653 = {
				set_state_flag = urss_bauxite_II_flag
				add_resource = {
					type = aluminium
					amount = 15
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = urss_bauxite_III
		}
	}

	#URSS: Develop [653.GetName] Bauxite Mines
	urss_bauxite_III = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 653
			}
		}

		visible = {
			OR = {
				controls_state = 653
				any_country = {
					is_subject_of = ROOT
					controls_state = 653
				}
				ROOT = {
					has_resources_rights = {
						state = 653
						resources = { aluminium }
					}
				}
			}
			653 = {
				NOT = {
					has_state_flag = urss_bauxite_III_flag
				}
				has_state_flag = urss_bauxite_II_flag
			}
		}

		available = {
			if = {
				limit = {
					653 = {
						has_resistance = yes
					}
				}
				653 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = urss_bauxite_III
				}
			}
			has_tech = excavation4
			num_of_civilian_factories_available_for_projects > 3
		}

		cost = 30
		days_remove = 60

		modifier = {
			civilian_factory_use = 4
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			653 = {
				set_state_flag = urss_bauxite_III_flag
				add_resource = {
					type = aluminium
					amount = 15
				}
			}
		}
	}

	#URSS: Open Arkalyk Bauxite Mines
	urss_bauxite_IV = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 583
			}
		}

		visible = {
			OR = {
				controls_state = 583
				any_country = {
					is_subject_of = ROOT
					controls_state = 583
				}
				ROOT = {
					has_resources_rights = {
						state = 583
						resources = { aluminium }
					}
				}
			}
			583 = {
				NOT = {
					has_state_flag = urss_bauxite_IV_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					583 = {
						has_resistance = yes
					}
				}
				583 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = urss_bauxite_IV
				}
			}
			has_tech = excavation4
			num_of_civilian_factories_available_for_projects > 3
		}

		cost = 30
		days_remove = 60

		modifier = {
			civilian_factory_use = 4
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			583 = {
				set_state_flag = urss_bauxite_IV_flag
				add_resource = {
					type = aluminium
					amount = 15
				}
			}
		}
	}

	#URSS: Develop Zaglik Alunite Mine
	urss_bauxite_V = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 229
			}
		}

		visible = {
			OR = {
				controls_state = 229
				any_country = {
					is_subject_of = ROOT
					controls_state = 229
				}
				ROOT = {
					has_resources_rights = {
						state = 229
						resources = { aluminium }
					}
				}
			}
			229 = {
				NOT = {
					has_state_flag = urss_bauxite_V_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					229 = {
						has_resistance = yes
					}
				}
				229 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = urss_bauxite_V
				}
			}
			has_tech = excavation4
			num_of_civilian_factories_available_for_projects > 1
		}

		cost = 15
		days_remove = 30

		modifier = {
			civilian_factory_use = 2
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			229 = {
				set_state_flag = urss_bauxite_V_flag
				add_resource = {
					type = aluminium
					amount = 10
				}
			}
		}
	}

	#Australia: Open Weipa Bauxite Mine
	australia_bauxite_I = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 872
			}
		}

		visible = {
			OR = {
				controls_state = 872
				any_country = {
					is_subject_of = ROOT
					controls_state = 872
				}
				ROOT = {
					has_resources_rights = {
						state = 872
						resources = { aluminium }
					}
				}
			}
			872 = {
				NOT = {
					has_state_flag = australia_bauxite_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					872 = {
						has_resistance = yes
					}
				}
				872 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = australia_bauxite_I
				}
			}
			has_tech = excavation4
			num_of_civilian_factories_available_for_projects > 1
		}

		cost = 15
		days_remove = 30

		modifier = {
			civilian_factory_use = 2
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			872 = {
				set_state_flag = australia_bauxite_I_flag
				add_resource = {
					type = aluminium
					amount = 10
				}
			}
		}
	}

	#Australia: Open Darling Range Bauxite Mine
	australia_bauxite_II = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 522
			}
		}

		visible = {
			OR = {
				controls_state = 522
				any_country = {
					is_subject_of = ROOT
					controls_state = 522
				}
				ROOT = {
					has_resources_rights = {
						state = 522
						resources = { aluminium }
					}
				}
			}
			522 = {
				NOT = {
					has_state_flag = australia_bauxite_II_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					522 = {
						has_resistance = yes
					}
				}
				522 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = australia_bauxite_II
				}
			}
			has_tech = excavation4
			num_of_civilian_factories_available_for_projects > 1
		}

		cost = 15
		days_remove = 30

		modifier = {
			civilian_factory_use = 2
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			522 = {
				set_state_flag = australia_bauxite_II_flag
				add_resource = {
					type = aluminium
					amount = 10
				}
			}
		}
	}

	#Venezuela: Open Los Pijiguaos Bauxite Mine
	venezuela_bauxite_I = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 488
			}
		}

		visible = {
			OR = {
				controls_state = 488
				any_country = {
					is_subject_of = ROOT
					controls_state = 488
				}
				ROOT = {
					has_resources_rights = {
						state = 488
						resources = { aluminium }
					}
				}
			}
			488 = {
				NOT = {
					has_state_flag = venezuela_bauxite_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					488 = {
						has_resistance = yes
					}
				}
				488 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = venezuela_bauxite_I
				}
			}
			has_tech = excavation5
			num_of_civilian_factories_available_for_projects > 1
		}

		cost = 15
		days_remove = 30

		modifier = {
			civilian_factory_use = 2
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			488 = {
				set_state_flag = venezuela_bauxite_I_flag
				add_resource = {
					type = aluminium
					amount = 5
				}
			}
		}
	}

	#Mali: Open [899.GetName] Bauxite Mines
	mali_bauxite_I = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 899
			}
		}

		visible = {
			OR = {
				controls_state = 899
				any_country = {
					is_subject_of = ROOT
					controls_state = 899
				}
				ROOT = {
					has_resources_rights = {
						state = 899
						resources = { aluminium }
					}
				}
			}
			899 = {
				NOT = {
					has_state_flag = mali_bauxite_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					899 = {
						has_resistance = yes
					}
				}
				899 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = mali_bauxite_I
				}
			}
			has_tech = excavation5
			num_of_civilian_factories_available_for_projects > 1
		}

		cost = 15
		days_remove = 30

		modifier = {
			civilian_factory_use = 2
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			899 = {
				set_state_flag = mali_bauxite_I_flag
				add_resource = {
					type = aluminium
					amount = 5
				}
			}
		}
	}

	#Tanzania: Open Bauxite Mines in [546.GetName]
	tanzania_bauxite_I = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 546
			}
		}

		visible = {
			OR = {
				controls_state = 546
				any_country = {
					is_subject_of = ROOT
					controls_state = 546
				}
				ROOT = {
					has_resources_rights = {
						state = 546
						resources = { aluminium }
					}
				}
			}
			546 = {
				NOT = {
					has_state_flag = tanzania_bauxite_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					546 = {
						has_resistance = yes
					}
				}
				546 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = tanzania_bauxite_I
				}
			}
			has_tech = excavation4
			num_of_civilian_factories_available_for_projects > 1
		}

		cost = 15
		days_remove = 30

		modifier = {
			civilian_factory_use = 2
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			546 = {
				set_state_flag = tanzania_bauxite_I_flag
				add_resource = {
					type = aluminium
					amount = 2
				}
			}
		}
	}

	#Irán: Open Jajarn Bauxite Mine
	iran_bauxite_I = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 1004
			}
		}

		visible = {
			OR = {
				controls_state = 1004
				any_country = {
					is_subject_of = ROOT
					controls_state = 1004
				}
				ROOT = {
					has_resources_rights = {
						state = 1004
						resources = { aluminium }
					}
				}
			}
			1004 = {
				NOT = {
					has_state_flag = iran_bauxite_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					1004 = {
						has_resistance = yes
					}
				}
				1004 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = iran_bauxite_I
				}
			}
			has_tech = excavation5
			num_of_civilian_factories_available_for_projects > 1
		}

		cost = 15
		days_remove = 30

		modifier = {
			civilian_factory_use = 2
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			1004 = {
				set_state_flag = iran_bauxite_I_flag
				add_resource = {
					type = aluminium
					amount = 5
				}
			}
		}
	}

	#Groenlandia: Expand Ivigtut Cryolite Mine
	groenlandia_bauxite_I = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 101
			}
		}

		visible = {
			OR = {
				controls_state = 101
				any_country = {
					is_subject_of = ROOT
					controls_state = 101
				}
				ROOT = {
					has_resources_rights = {
						state = 101
						resources = { aluminium }
					}
				}
			}
			101 = {
				NOT = {
					has_state_flag = groenlandia_bauxite_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					101 = {
						has_resistance = yes
					}
				}
				101 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = groenlandia_bauxite_I
				}
			}
			has_tech = excavation2
			num_of_civilian_factories_available_for_projects > 1
		}

		cost = 15
		days_remove = 30

		modifier = {
			civilian_factory_use = 2
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			101 = {
				set_state_flag = groenlandia_bauxite_I_flag
				add_resource = {
					type = aluminium
					amount = 5
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = groenlandia_bauxite_II
		}
	}

	#Groenlandia: Develop Ivigtut Cryolite Mine
	groenlandia_bauxite_II = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 101
			}
		}

		visible = {
			OR = {
				controls_state = 101
				any_country = {
					is_subject_of = ROOT
					controls_state = 101
				}
				ROOT = {
					has_resources_rights = {
						state = 101
						resources = { aluminium }
					}
				}
			}
			101 = {
				NOT = {
					has_state_flag = groenlandia_bauxite_II_flag
				}
				has_state_flag = groenlandia_bauxite_I_flag
			}
		}

		available = {
			if = {
				limit = {
					101 = {
						has_resistance = yes
					}
				}
				101 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = groenlandia_bauxite_II
				}
			}
			has_tech = excavation3
			num_of_civilian_factories_available_for_projects > 1
		}

		cost = 15
		days_remove = 30

		modifier = {
			civilian_factory_use = 2
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			101 = {
				set_state_flag = groenlandia_bauxite_II_flag
				add_resource = {
					type = aluminium
					amount = 10
				}
			}
		}
	}

	#Corea: Expand Jeollanam-do Alunite Mine
	corea_bauxite_I = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 1028
			}
		}

		visible = {
			OR = {
				controls_state = 1028
				any_country = {
					is_subject_of = ROOT
					controls_state = 1028
				}
				ROOT = {
					has_resources_rights = {
						state = 1028
						resources = { aluminium }
					}
				}
			}
			1028 = {
				NOT = {
					has_state_flag = corea_bauxite_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					1028 = {
						has_resistance = yes
					}
				}
				1028 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = corea_bauxite_I
				}
			}
			has_tech = excavation3
			num_of_civilian_factories_available_for_projects > 1
		}

		cost = 15
		days_remove = 30

		modifier = {
			civilian_factory_use = 2
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			1028 = {
				set_state_flag = corea_bauxite_I_flag
				add_resource = {
					type = aluminium
					amount = 5
				}
			}
		}
	}

	#Italia: Expand Tolfa Alunite Mines
	italia_bauxite_I = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 2
			}
		}

		visible = {
			OR = {
				controls_state = 2
				any_country = {
					is_subject_of = ROOT
					controls_state = 2
				}
				ROOT = {
					has_resources_rights = {
						state = 2
						resources = { aluminium }
					}
				}
			}
			2 = {
				NOT = {
					has_state_flag = italia_bauxite_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					2 = {
						has_resistance = yes
					}
				}
				2 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = italia_bauxite_I
				}
			}
			has_tech = excavation3
			num_of_civilian_factories_available_for_projects > 1
		}

		cost = 15
		days_remove = 30

		modifier = {
			civilian_factory_use = 2
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			2 = {
				set_state_flag = italia_bauxite_I_flag
				add_resource = {
					type = aluminium
					amount = 3
				}
			}
		}
	}

	#Turquía: Develop Şaphane Alunite Mine
	turquia_bauxite_I = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 343
			}
		}

		visible = {
			OR = {
				controls_state = 343
				any_country = {
					is_subject_of = ROOT
					controls_state = 343
				}
				ROOT = {
					has_resources_rights = {
						state = 343
						resources = { aluminium }
					}
				}
			}
			343 = {
				NOT = {
					has_state_flag = turquia_bauxite_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					343 = {
						has_resistance = yes
					}
				}
				343 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = turquia_bauxite_I
				}
			}
			has_tech = excavation4
			num_of_civilian_factories_available_for_projects > 1
		}

		cost = 15
		days_remove = 30

		modifier = {
			civilian_factory_use = 2
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			343 = {
				set_state_flag = turquia_bauxite_I_flag
				add_resource = {
					type = aluminium
					amount = 5
				}
			}
		}
	}

	#México: Open Guanajuato Alunite Mines
	mexico_bauxite_I = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 277
			}
		}

		visible = {
			OR = {
				controls_state = 277
				any_country = {
					is_subject_of = ROOT
					controls_state = 277
				}
				ROOT = {
					has_resources_rights = {
						state = 277
						resources = { aluminium }
					}
				}
			}
			277 = {
				NOT = {
					has_state_flag = mexico_bauxite_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					277 = {
						has_resistance = yes
					}
				}
				277 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = mexico_bauxite_I
				}
			}
			has_tech = excavation4
			num_of_civilian_factories_available_for_projects > 1
		}

		cost = 15
		days_remove = 30

		modifier = {
			civilian_factory_use = 2
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			277 = {
				set_state_flag = mexico_bauxite_I_flag
				add_resource = {
					type = aluminium
					amount = 2
				}
			}
		}
	}

	#Argentina: Open Camarones Alunite Mines
	argentina_bauxite_I = {

		icon = aluminium
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 955
			}
		}

		visible = {
			OR = {
				controls_state = 955
				any_country = {
					is_subject_of = ROOT
					controls_state = 955
				}
				ROOT = {
					has_resources_rights = {
						state = 955
						resources = { aluminium }
					}
				}
			}
			955 = {
				NOT = {
					has_state_flag = argentina_bauxite_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					955 = {
						has_resistance = yes
					}
				}
				955 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = argentina_bauxite_I
				}
			}
			has_tech = excavation4
			num_of_civilian_factories_available_for_projects > 1
		}

		cost = 15
		days_remove = 30

		modifier = {
			civilian_factory_use = 2
		}

		ai_will_do = {
			base = 1
			modifier = {
				factor = 0.5
				has_political_power < 80
			}
			modifier = {
				factor = 5
				has_political_power > 200
			}
			modifier = {
				factor = 10
				has_resources_in_country = {
					resource = aluminium
					amount < 1
				}
			}
		}

		remove_effect = {
			955 = {
				set_state_flag = argentina_bauxite_I_flag
				add_resource = {
					type = aluminium
					amount = 2
				}
			}
		}
	}
}