prospect_for_resources = {

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

	#Congo Belga: Open Kiwu Tungsten Mines
	congo_belga_tungsten_I = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 890
			}
		}

		visible = {
			OR = {
				controls_state = 890
				any_country = {
					is_subject_of = ROOT
					controls_state = 890
				}
				ROOT = {
					has_resources_rights = {
						state = 890
						resources = { tungsten }
					}
				}
			}
			890 = {
				NOT = {
					has_state_flag = congo_belga_tungsten_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					890 = {
						has_resistance = yes
					}
				}
				890 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = congo_belga_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			890 = {
				set_state_flag = congo_belga_tungsten_I_flag
				add_resource = {
					type = tungsten
					amount = 4
				}
			}
		}
	}

	#Congo Belga: Develop [768.GetName] Tungsten Mines
	congo_belga_tungsten_II = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 768
			}
		}

		visible = {
			OR = {
				controls_state = 768
				any_country = {
					is_subject_of = ROOT
					controls_state = 768
				}
				ROOT = {
					has_resources_rights = {
						state = 768
						resources = { tungsten }
					}
				}
			}
			768 = {
				NOT = {
					has_state_flag = congo_belga_tungsten_II_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					768 = {
						has_resistance = yes
					}
				}
				768 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = congo_belga_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			768 = {
				set_state_flag = congo_belga_tungsten_II_flag
				add_resource = {
					type = tungsten
					amount = 12
				}
			}
		}
	}

	#Congo Belga: Open Katanga Vanadium Mines
	congo_belga_tungsten_III = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 889
			}
		}

		visible = {
			OR = {
				controls_state = 889
				any_country = {
					is_subject_of = ROOT
					controls_state = 889
				}
				ROOT = {
					has_resources_rights = {
						state = 889
						resources = { tungsten }
					}
				}
			}
			889 = {
				NOT = {
					has_state_flag = congo_belga_tungsten_III_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					889 = {
						has_resistance = yes
					}
				}
				889 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = congo_belga_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			889 = {
				set_state_flag = congo_belga_tungsten_III_flag
				add_resource = {
					type = tungsten
					amount = 3
				}
			}
		}
	}

	#South Rhodesia: Expand Tshontanda Tungsten Mine
	south_rhodesia_tungsten_I = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 545
			}
		}

		visible = {
			OR = {
				controls_state = 545
				any_country = {
					is_subject_of = ROOT
					controls_state = 545
				}
				ROOT = {
					has_resources_rights = {
						state = 545
						resources = { tungsten }
					}
				}
			}
			545 = {
				NOT = {
					has_state_flag = south_rhodesia_tungsten_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					545 = {
						has_resistance = yes
					}
				}
				545 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = south_rhodesia_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			545 = {
				set_state_flag = south_rhodesia_tungsten_I_flag
				add_resource = {
					type = tungsten
					amount = 9
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = south_rhodesia_tungsten_II
		}
	}

	#South Rhodesia: Develop Tshontanda Tungsten Mine
	south_rhodesia_tungsten_II = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 545
			}
		}

		visible = {
			OR = {
				controls_state = 545
				any_country = {
					is_subject_of = ROOT
					controls_state = 545
				}
				ROOT = {
					has_resources_rights = {
						state = 545
						resources = { tungsten }
					}
				}
			}
			545 = {
				NOT = {
					has_state_flag = south_rhodesia_tungsten_II_flag
				}
				has_state_flag = south_rhodesia_tungsten_I_flag
			}
		}

		available = {
			if = {
				limit = {
					545 = {
						has_resistance = yes
					}
				}
				545 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = south_rhodesia_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			545 = {
				set_state_flag = south_rhodesia_tungsten_II_flag
				add_resource = {
					type = tungsten
					amount = 5
				}
			}
		}
	}

	#Sudáfrica: Expand Namaqualand Tungsten Mines
	sudafrica_tungsten_I = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 681
			}
		}

		visible = {
			OR = {
				controls_state = 681
				any_country = {
					is_subject_of = ROOT
					controls_state = 681
				}
				ROOT = {
					has_resources_rights = {
						state = 681
						resources = { tungsten }
					}
				}
			}
			681 = {
				NOT = {
					has_state_flag = sudafrica_tungsten_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					681 = {
						has_resistance = yes
					}
				}
				681 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = sudafrica_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			681 = {
				set_state_flag = sudafrica_tungsten_I_flag
				add_resource = {
					type = tungsten
					amount = 5
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = sudafrica_tungsten_II
		}
	}

	#Sudáfrica: Develop Namaqualand Tungsten Mines
	sudafrica_tungsten_II = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 681
			}
		}

		visible = {
			OR = {
				controls_state = 681
				any_country = {
					is_subject_of = ROOT
					controls_state = 681
				}
				ROOT = {
					has_resources_rights = {
						state = 681
						resources = { tungsten }
					}
				}
			}
			681 = {
				NOT = {
					has_state_flag = sudafrica_tungsten_II_flag
				}
				has_state_flag = sudafrica_tungsten_I_flag
			}
		}

		available = {
			if = {
				limit = {
					681 = {
						has_resistance = yes
					}
				}
				681 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = sudafrica_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			681 = {
				set_state_flag = sudafrica_tungsten_II_flag
				add_resource = {
					type = tungsten
					amount = 5
				}
			}
		}
	}

	#Sudáfrica: Expand Gravelotte Antimony Mines
	sudafrica_tungsten_IV = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 275
			}
		}

		visible = {
			OR = {
				controls_state = 275
				any_country = {
					is_subject_of = ROOT
					controls_state = 275
				}
				ROOT = {
					has_resources_rights = {
						state = 275
						resources = { tungsten }
					}
				}
			}
			275 = {
				NOT = {
					has_state_flag = sudafrica_tungsten_IV_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					275 = {
						has_resistance = yes
					}
				}
				275 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = sudafrica_tungsten_IV
				}
			}
			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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			275 = {
				set_state_flag = sudafrica_tungsten_IV_flag
				add_resource = {
					type = tungsten
					amount = 5
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = sudafrica_tungsten_V
		}
	}

	#Sudáfrica: Develop Gravelotte Antimony Mines
	sudafrica_tungsten_V = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 275
			}
		}

		visible = {
			OR = {
				controls_state = 275
				any_country = {
					is_subject_of = ROOT
					controls_state = 275
				}
				ROOT = {
					has_resources_rights = {
						state = 275
						resources = { tungsten }
					}
				}
			}
			275 = {
				NOT = {
					has_state_flag = sudafrica_tungsten_V_flag
				}
				has_state_flag = sudafrica_tungsten_IV_flag
			}
		}

		available = {
			if = {
				limit = {
					275 = {
						has_resistance = yes
					}
				}
				275 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = sudafrica_tungsten_V
				}
			}
			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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			275 = {
				set_state_flag = sudafrica_tungsten_V_flag
				add_resource = {
					type = tungsten
					amount = 5
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = sudafrica_tungsten_VI
		}
	}

	#Sudáfrica: Intensify Gravelotte Antimony Mines
	sudafrica_tungsten_VI = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 275
			}
		}

		visible = {
			OR = {
				controls_state = 275
				any_country = {
					is_subject_of = ROOT
					controls_state = 275
				}
				ROOT = {
					has_resources_rights = {
						state = 275
						resources = { tungsten }
					}
				}
			}
			275 = {
				NOT = {
					has_state_flag = sudafrica_tungsten_VI_flag
				}
				has_state_flag = sudafrica_tungsten_V_flag
			}
		}

		available = {
			if = {
				limit = {
					275 = {
						has_resistance = yes
					}
				}
				275 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = sudafrica_tungsten_VI
				}
			}
			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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			275 = {
				set_state_flag = sudafrica_tungsten_VI_flag
				add_resource = {
					type = tungsten
					amount = 12
				}
			}
		}
	}

	#Egipto: Expand Abu Dabbab Tungsten Mine
	egipto_tungsten_I = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 457
			}
		}

		visible = {
			OR = {
				controls_state = 457
				any_country = {
					is_subject_of = ROOT
					controls_state = 457
				}
				ROOT = {
					has_resources_rights = {
						state = 457
						resources = { tungsten }
					}
				}
			}
			457 = {
				NOT = {
					has_state_flag = egipto_tungsten_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					457 = {
						has_resistance = yes
					}
				}
				457 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = egipto_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			457 = {
				set_state_flag = egipto_tungsten_I_flag
				add_resource = {
					type = tungsten
					amount = 8
				}
			}
		}
	}

	#Namibia: Expand Brandberg West Tungsten Mine
	namibia_tungsten_I = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 894
			}
		}

		visible = {
			OR = {
				controls_state = 894
				any_country = {
					is_subject_of = ROOT
					controls_state = 894
				}
				ROOT = {
					has_resources_rights = {
						state = 894
						resources = { tungsten }
					}
				}
			}
			894 = {
				NOT = {
					has_state_flag = namibia_tungsten_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					894 = {
						has_resistance = yes
					}
				}
				894 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = namibia_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			894 = {
				set_state_flag = namibia_tungsten_I_flag
				add_resource = {
					type = tungsten
					amount = 5
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = namibia_tungsten_II
		}
	}

	#Namibia: Develop Brandberg West Tungsten Mine
	namibia_tungsten_II = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 894
			}
		}

		visible = {
			OR = {
				controls_state = 894
				any_country = {
					is_subject_of = ROOT
					controls_state = 894
				}
				ROOT = {
					has_resources_rights = {
						state = 894
						resources = { tungsten }
					}
				}
			}
			894 = {
				NOT = {
					has_state_flag = namibia_tungsten_II_flag
				}
				has_state_flag = namibia_tungsten_I_flag
			}
		}

		available = {
			if = {
				limit = {
					894 = {
						has_resistance = yes
					}
				}
				894 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = namibia_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			894 = {
				set_state_flag = namibia_tungsten_II_flag
				add_resource = {
					type = tungsten
					amount = 9
				}
			}
		}
	}

	#Uganda: Expand Kigezi Tungsten Mines
	uganda_tungsten_I = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 548
			}
		}

		visible = {
			OR = {
				controls_state = 548
				any_country = {
					is_subject_of = ROOT
					controls_state = 548
				}
				ROOT = {
					has_resources_rights = {
						state = 548
						resources = { tungsten }
					}
				}
			}
			548 = {
				NOT = {
					has_state_flag = uganda_tungsten_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					548 = {
						has_resistance = yes
					}
				}
				548 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = uganda_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			548 = {
				set_state_flag = uganda_tungsten_I_flag
				add_resource = {
					type = tungsten
					amount = 4
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = uganda_tungsten_II
		}
	}

	#Uganda: Develop Kigezi Tungsten Mines
	uganda_tungsten_II = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 548
			}
		}

		visible = {
			OR = {
				controls_state = 548
				any_country = {
					is_subject_of = ROOT
					controls_state = 548
				}
				ROOT = {
					has_resources_rights = {
						state = 548
						resources = { tungsten }
					}
				}
			}
			548 = {
				NOT = {
					has_state_flag = uganda_tungsten_II_flag
				}
				has_state_flag = uganda_tungsten_I_flag
			}
		}

		available = {
			if = {
				limit = {
					548 = {
						has_resistance = yes
					}
				}
				548 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = uganda_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			548 = {
				set_state_flag = uganda_tungsten_II_flag
				add_resource = {
					type = tungsten
					amount = 4
				}
			}
		}
	}

	#Tanzania: Expand Karagwe Tungsten Mines
	tanzania_tungsten_I = {

		icon = tungsten
		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 = { tungsten }
					}
				}
			}
			546 = {
				NOT = {
					has_state_flag = tanzania_tungsten_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					546 = {
						has_resistance = yes
					}
				}
				546 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = tanzania_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			546 = {
				set_state_flag = tanzania_tungsten_I_flag
				add_resource = {
					type = tungsten
					amount = 4
				}
			}
		}
	}

	#Nigeria: Open Jos Plateau Tungsten Mines
	nigeria_tungsten_I = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 901
			}
		}

		visible = {
			OR = {
				controls_state = 901
				any_country = {
					is_subject_of = ROOT
					controls_state = 901
				}
				ROOT = {
					has_resources_rights = {
						state = 901
						resources = { tungsten }
					}
				}
			}
			901 = {
				NOT = {
					has_state_flag = nigeria_tungsten_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					901 = {
						has_resistance = yes
					}
				}
				901 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = nigeria_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			901 = {
				set_state_flag = nigeria_tungsten_I_flag
				add_resource = {
					type = tungsten
					amount = 4
				}
			}
		}
	}

	#EEUU: Expand Pine Creek Tungsten Mine
	eeuu_tungsten_I = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 378
			}
		}

		visible = {
			OR = {
				controls_state = 378
				any_country = {
					is_subject_of = ROOT
					controls_state = 378
				}
				ROOT = {
					has_resources_rights = {
						state = 378
						resources = { tungsten }
					}
				}
			}
			378 = {
				NOT = {
					has_state_flag = eeuu_tungsten_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					378 = {
						has_resistance = yes
					}
				}
				378 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = eeuu_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			378 = {
				set_state_flag = eeuu_tungsten_I_flag
				add_resource = {
					type = tungsten
					amount = 10
				}
			}
		}
	}

	#EEUU: Expand [379.GetName] Tungsten Mines
	eeuu_tungsten_II = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 379
			}
		}

		visible = {
			OR = {
				controls_state = 379
				any_country = {
					is_subject_of = ROOT
					controls_state = 379
				}
				ROOT = {
					has_resources_rights = {
						state = 379
						resources = { tungsten }
					}
				}
			}
			379 = {
				NOT = {
					has_state_flag = eeuu_tungsten_II_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					379 = {
						has_resistance = yes
					}
				}
				379 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = eeuu_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			379 = {
				set_state_flag = eeuu_tungsten_II_flag
				add_resource = {
					type = tungsten
					amount = 5
				}
			}
		}
	}

	#EEUU: Develop [382.GetName] Tungsten Mine
	eeuu_tungsten_III = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 382
			}
		}

		visible = {
			OR = {
				controls_state = 382
				any_country = {
					is_subject_of = ROOT
					controls_state = 382
				}
				ROOT = {
					has_resources_rights = {
						state = 382
						resources = { tungsten }
					}
				}
			}
			382 = {
				NOT = {
					has_state_flag = eeuu_tungsten_III_flag
				}
				has_state_flag = eeuu_tungsten_VI_flag
			}
		}

		available = {
			if = {
				limit = {
					382 = {
						has_resistance = yes
					}
				}
				382 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = eeuu_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			382 = {
				set_state_flag = eeuu_tungsten_III_flag
				add_resource = {
					type = tungsten
					amount = 15
				}
			}
		}
	}

	#EEUU: Develop [387.GetName] Tungsten Mine
	eeuu_tungsten_IV = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 387
			}
		}

		visible = {
			OR = {
				controls_state = 387
				any_country = {
					is_subject_of = ROOT
					controls_state = 387
				}
				ROOT = {
					has_resources_rights = {
						state = 387
						resources = { tungsten }
					}
				}
			}
			387 = {
				NOT = {
					has_state_flag = eeuu_tungsten_IV_flag
				}
				has_state_flag = eeuu_tungsten_XI_flag
			}
		}

		available = {
			if = {
				limit = {
					387 = {
						has_resistance = yes
					}
				}
				387 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = eeuu_tungsten_IV
				}
			}
			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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			387 = {
				set_state_flag = eeuu_tungsten_IV_flag
				add_resource = {
					type = tungsten
					amount = 5
				}
			}
		}
	}

	#EEUU: Develop [388.GetName] Tungsten Mine
	eeuu_tungsten_V = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 388
			}
		}

		visible = {
			OR = {
				controls_state = 388
				any_country = {
					is_subject_of = ROOT
					controls_state = 388
				}
				ROOT = {
					has_resources_rights = {
						state = 388
						resources = { tungsten }
					}
				}
			}
			388 = {
				NOT = {
					has_state_flag = eeuu_tungsten_V_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					388 = {
						has_resistance = yes
					}
				}
				388 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = eeuu_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			388 = {
				set_state_flag = eeuu_tungsten_V_flag
				add_resource = {
					type = tungsten
					amount = 5
				}
			}
		}
	}

	#EEUU: Expand Climax Molybdenum Mine + #EEUU: Open Uravan Vanadium Mines
	eeuu_tungsten_VI = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 382
			}
		}

		visible = {
			OR = {
				controls_state = 382
				any_country = {
					is_subject_of = ROOT
					controls_state = 382
				}
				ROOT = {
					has_resources_rights = {
						state = 382
						resources = { tungsten }
					}
				}
			}
			382 = {
				NOT = {
					has_state_flag = eeuu_tungsten_VI_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					382 = {
						has_resistance = yes
					}
				}
				382 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = eeuu_tungsten_VI
				}
			}
			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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			382 = {
				set_state_flag = eeuu_tungsten_VI_flag
				add_resource = {
					type = tungsten
					amount = 15
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = eeuu_tungsten_III
		}
	}

	#EEUU: Expand Yellow Pine Antimony Mines
	eeuu_tungsten_X = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 387
			}
		}

		visible = {
			OR = {
				controls_state = 387
				any_country = {
					is_subject_of = ROOT
					controls_state = 387
				}
				ROOT = {
					has_resources_rights = {
						state = 387
						resources = { tungsten }
					}
				}
			}
			387 = {
				NOT = {
					has_state_flag = eeuu_tungsten_X_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					387 = {
						has_resistance = yes
					}
				}
				387 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = eeuu_tungsten_X
				}
			}
			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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			387 = {
				set_state_flag = eeuu_tungsten_X_flag
				add_resource = {
					type = tungsten
					amount = 4
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = eeuu_tungsten_XI
		}
	}

	#EEUU: Develop Yellow Pine Antimony Mines
	eeuu_tungsten_XI = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 387
			}
		}

		visible = {
			OR = {
				controls_state = 387
				any_country = {
					is_subject_of = ROOT
					controls_state = 387
				}
				ROOT = {
					has_resources_rights = {
						state = 387
						resources = { tungsten }
					}
				}
			}
			387 = {
				NOT = {
					has_state_flag = eeuu_tungsten_XI_flag
				}
				has_state_flag = eeuu_tungsten_X_flag
			}
		}

		available = {
			if = {
				limit = {
					387 = {
						has_resistance = yes
					}
				}
				387 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = eeuu_tungsten_XI
				}
			}
			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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			387 = {
				set_state_flag = eeuu_tungsten_XI_flag
				add_resource = {
					type = tungsten
					amount = 10
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = eeuu_tungsten_IV
		}
	}

	#Bolivia: Develop [302.GetName] Tungsten Mines
	bolivia_tungsten_II = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 302
			}
		}

		visible = {
			OR = {
				controls_state = 302
				any_country = {
					is_subject_of = ROOT
					controls_state = 302
				}
				ROOT = {
					has_resources_rights = {
						state = 302
						resources = { tungsten }
					}
				}
			}
			302 = {
				NOT = {
					has_state_flag = bolivia_tungsten_II_flag
				}
				has_state_flag = bolivia_tungsten_III_flag
			}
		}

		available = {
			if = {
				limit = {
					302 = {
						has_resistance = yes
					}
				}
				302 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = bolivia_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			302 = {
				set_state_flag = bolivia_tungsten_II_flag
				add_resource = {
					type = tungsten
					amount = 10
				}
			}
		}
	}

	#Bolivia: Expand Potosí and Oruro Antimony Mines
	bolivia_tungsten_III = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 302
			}
		}

		visible = {
			OR = {
				controls_state = 302
				any_country = {
					is_subject_of = ROOT
					controls_state = 302
				}
				ROOT = {
					has_resources_rights = {
						state = 302
						resources = { tungsten }
					}
				}
			}
			302 = {
				NOT = {
					has_state_flag = bolivia_tungsten_III_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					302 = {
						has_resistance = yes
					}
				}
				302 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = bolivia_tungsten_III
				}
			}
			has_tech = excavation2
			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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			302 = {
				set_state_flag = bolivia_tungsten_III_flag
				add_resource = {
					type = tungsten
					amount = 32
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = bolivia_tungsten_II
		}
	}

	#Argentina: Expand [958.GetName] Tungsten Mines
	argentina_tungsten_I = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 958
			}
		}

		visible = {
			OR = {
				controls_state = 958
				any_country = {
					is_subject_of = ROOT
					controls_state = 958
				}
				ROOT = {
					has_resources_rights = {
						state = 958
						resources = { tungsten }
					}
				}
			}
			958 = {
				NOT = {
					has_state_flag = argentina_tungsten_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					958 = {
						has_resistance = yes
					}
				}
				958 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = argentina_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			958 = {
				set_state_flag = argentina_tungsten_I_flag
				add_resource = {
					type = tungsten
					amount = 16
				}
			}
		}
	}

	#Argentina: Develop Malargüe Vanadium Mines
	argentina_tungsten_II = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 511
			}
		}

		visible = {
			OR = {
				controls_state = 511
				any_country = {
					is_subject_of = ROOT
					controls_state = 511
				}
				ROOT = {
					has_resources_rights = {
						state = 511
						resources = { tungsten }
					}
				}
			}
			511 = {
				NOT = {
					has_state_flag = argentina_tungsten_II_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					511 = {
						has_resistance = yes
					}
				}
				511 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = argentina_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			511 = {
				set_state_flag = argentina_tungsten_II_flag
				add_resource = {
					type = tungsten
					amount = 2
				}
			}
		}
	}

	#Argentina: Open Quebrada de Humahuaca Antimony Mines
	argentina_tungsten_III = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 959
			}
		}

		visible = {
			OR = {
				controls_state = 959
				any_country = {
					is_subject_of = ROOT
					controls_state = 959
				}
				ROOT = {
					has_resources_rights = {
						state = 959
						resources = { tungsten }
					}
				}
			}
			959 = {
				NOT = {
					has_state_flag = argentina_tungsten_III_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					959 = {
						has_resistance = yes
					}
				}
				959 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = argentina_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			959 = {
				set_state_flag = argentina_tungsten_III_flag
				add_resource = {
					type = tungsten
					amount = 5
				}
			}
		}
	}

	#Brasil: Open Borborema Scheelite Mines
	brasil_tungsten_I = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 936
			}
		}

		visible = {
			OR = {
				controls_state = 936
				any_country = {
					is_subject_of = ROOT
					controls_state = 936
				}
				ROOT = {
					has_resources_rights = {
						state = 936
						resources = { tungsten }
					}
				}
			}
			936 = {
				NOT = {
					has_state_flag = brasil_tungsten_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					936 = {
						has_resistance = yes
					}
				}
				936 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = brasil_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			936 = {
				set_state_flag = brasil_tungsten_I_flag
				add_resource = {
					type = tungsten
					amount = 18
				}
			}
		}
	}

	#Canadá: Open Emerald Tungsten Mine
	canada_tungsten_I = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 473
			}
		}

		visible = {
			OR = {
				controls_state = 473
				any_country = {
					is_subject_of = ROOT
					controls_state = 473
				}
				ROOT = {
					has_resources_rights = {
						state = 473
						resources = { tungsten }
					}
				}
			}
			473 = {
				NOT = {
					has_state_flag = canada_tungsten_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					473 = {
						has_resistance = yes
					}
				}
				473 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = canada_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			473 = {
				set_state_flag = canada_tungsten_I_flag
				add_resource = {
					type = tungsten
					amount = 13
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = canada_tungsten_II
		}
	}

	#Canadá: Expand [473.GetName] Tungsten Mine
	canada_tungsten_II = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 473
			}
		}

		visible = {
			OR = {
				controls_state = 473
				any_country = {
					is_subject_of = ROOT
					controls_state = 473
				}
				ROOT = {
					has_resources_rights = {
						state = 473
						resources = { tungsten }
					}
				}
			}
			473 = {
				NOT = {
					has_state_flag = canada_tungsten_II_flag
				}
				has_state_flag = canada_tungsten_I_flag
			}
		}

		available = {
			if = {
				limit = {
					473 = {
						has_resistance = yes
					}
				}
				473 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = canada_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			473 = {
				set_state_flag = canada_tungsten_II_flag
				add_resource = {
					type = tungsten
					amount = 12
				}
			}
		}
	}

	#Canadá: Expand La Corne Molybdenum Mine
	canada_tungsten_III = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 862
			}
		}

		visible = {
			OR = {
				controls_state = 862
				any_country = {
					is_subject_of = ROOT
					controls_state = 862
				}
				ROOT = {
					has_resources_rights = {
						state = 862
						resources = { tungsten }
					}
				}
			}
			862 = {
				NOT = {
					has_state_flag = canada_tungsten_III_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					862 = {
						has_resistance = yes
					}
				}
				862 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = canada_tungsten_III
				}
			}
			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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			862 = {
				set_state_flag = canada_tungsten_III_flag
				add_resource = {
					type = tungsten
					amount = 5
				}
			}
		}
	}

	#México: Develop Baviacora Tungsten Mines
	mexico_tungsten_I = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 483
			}
		}

		visible = {
			OR = {
				controls_state = 483
				any_country = {
					is_subject_of = ROOT
					controls_state = 483
				}
				ROOT = {
					has_resources_rights = {
						state = 483
						resources = { tungsten }
					}
				}
			}
			483 = {
				NOT = {
					has_state_flag = mexico_tungsten_I_flag
				}
				has_state_flag = mexico_tungsten_II_flag
			}
		}

		available = {
			if = {
				limit = {
					483 = {
						has_resistance = yes
					}
				}
				483 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = mexico_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			483 = {
				set_state_flag = mexico_tungsten_I_flag
				add_resource = {
					type = tungsten
					amount = 10
				}
			}
		}
	}

	#México: Molybdenum By-Product Extraction in [483.GetName]
	mexico_tungsten_II = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 483
			}
		}

		visible = {
			OR = {
				controls_state = 483
				any_country = {
					is_subject_of = ROOT
					controls_state = 483
				}
				ROOT = {
					has_resources_rights = {
						state = 483
						resources = { tungsten }
					}
				}
			}
			483 = {
				NOT = {
					has_state_flag = mexico_tungsten_II_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					483 = {
						has_resistance = yes
					}
				}
				483 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = mexico_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			483 = {
				set_state_flag = mexico_tungsten_II_flag
				add_resource = {
					type = tungsten
					amount = 5
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = mexico_tungsten_I
		}
	}

	#México: Expand [479.GetName] Antimony Mines
	mexico_tungsten_III = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 479
			}
		}

		visible = {
			OR = {
				controls_state = 479
				any_country = {
					is_subject_of = ROOT
					controls_state = 479
				}
				ROOT = {
					has_resources_rights = {
						state = 479
						resources = { tungsten }
					}
				}
			}
			479 = {
				NOT = {
					has_state_flag = mexico_tungsten_III_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					479 = {
						has_resistance = yes
					}
				}
				479 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = mexico_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			479 = {
				set_state_flag = mexico_tungsten_III_flag
				add_resource = {
					type = tungsten
					amount = 6
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = mexico_tungsten_IV
		}
	}

	#México: Develop [479.GetName] Antimony Mines
	mexico_tungsten_IV = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 479
			}
		}

		visible = {
			OR = {
				controls_state = 479
				any_country = {
					is_subject_of = ROOT
					controls_state = 479
				}
				ROOT = {
					has_resources_rights = {
						state = 479
						resources = { tungsten }
					}
				}
			}
			479 = {
				NOT = {
					has_state_flag = mexico_tungsten_IV_flag
				}
				has_state_flag = mexico_tungsten_III_flag
			}
		}

		available = {
			if = {
				limit = {
					479 = {
						has_resistance = yes
					}
				}
				479 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = mexico_tungsten_IV
				}
			}
			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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			479 = {
				set_state_flag = mexico_tungsten_IV_flag
				add_resource = {
					type = tungsten
					amount = 6
				}
			}
		}
	}

	#Perú: Expand Pasto Bueno Tungsten Mine
	peru_tungsten_I = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 303
			}
		}

		visible = {
			OR = {
				controls_state = 303
				any_country = {
					is_subject_of = ROOT
					controls_state = 303
				}
				ROOT = {
					has_resources_rights = {
						state = 303
						resources = { tungsten }
					}
				}
			}
			303 = {
				NOT = {
					has_state_flag = peru_tungsten_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					303 = {
						has_resistance = yes
					}
				}
				303 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = peru_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			303 = {
				set_state_flag = peru_tungsten_I_flag
				add_resource = {
					type = tungsten
					amount = 12
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = peru_tungsten_II
		}
	}

	#Perú: Develop Pasto Bueno Tungsten Mine
	peru_tungsten_II = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 303
			}
		}

		visible = {
			OR = {
				controls_state = 303
				any_country = {
					is_subject_of = ROOT
					controls_state = 303
				}
				ROOT = {
					has_resources_rights = {
						state = 303
						resources = { tungsten }
					}
				}
			}
			303 = {
				NOT = {
					has_state_flag = peru_tungsten_II_flag
				}
				has_state_flag = peru_tungsten_I_flag
			}
		}

		available = {
			if = {
				limit = {
					303 = {
						has_resistance = yes
					}
				}
				303 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = peru_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			303 = {
				set_state_flag = peru_tungsten_II_flag
				add_resource = {
					type = tungsten
					amount = 7
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = peru_tungsten_III
		}
	}

	#Perú: Intensify Pasto Bueno Tungsten Mine
	peru_tungsten_III = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 303
			}
		}

		visible = {
			OR = {
				controls_state = 303
				any_country = {
					is_subject_of = ROOT
					controls_state = 303
				}
				ROOT = {
					has_resources_rights = {
						state = 303
						resources = { tungsten }
					}
				}
			}
			303 = {
				NOT = {
					has_state_flag = peru_tungsten_III_flag
				}
				has_state_flag = peru_tungsten_II_flag
			}
		}

		available = {
			if = {
				limit = {
					303 = {
						has_resistance = yes
					}
				}
				303 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = peru_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			303 = {
				set_state_flag = peru_tungsten_III_flag
				add_resource = {
					type = tungsten
					amount = 6
				}
			}
		}
	}

	#Perú: Open Puno Antimony Mines
	peru_tungsten_VII = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 492
			}
		}

		visible = {
			OR = {
				controls_state = 492
				any_country = {
					is_subject_of = ROOT
					controls_state = 492
				}
				ROOT = {
					has_resources_rights = {
						state = 492
						resources = { tungsten }
					}
				}
			}
			492 = {
				NOT = {
					has_state_flag = peru_tungsten_VII_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					492 = {
						has_resistance = yes
					}
				}
				492 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = peru_tungsten_VII
				}
			}
			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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			492 = {
				set_state_flag = peru_tungsten_VII_flag
				add_resource = {
					type = tungsten
					amount = 9
				}
			}
		}
	}

	#China: Develop [600.GetName] Tungsten Mine
	china_tungsten_I = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 600
			}
		}

		visible = {
			OR = {
				controls_state = 600
				any_country = {
					is_subject_of = ROOT
					controls_state = 600
				}
				ROOT = {
					has_resources_rights = {
						state = 600
						resources = { tungsten }
					}
				}
			}
			600 = {
				NOT = {
					has_state_flag = china_tungsten_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					600 = {
						has_resistance = yes
					}
				}
				600 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = china_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			600 = {
				set_state_flag = china_tungsten_I_flag
				add_resource = {
					type = tungsten
					amount = 12
				}
			}
		}
	}

	#China: Develop Yangjiazhangzi Molybdenum Mine
	china_tungsten_II = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 716
			}
		}

		visible = {
			OR = {
				controls_state = 716
				any_country = {
					is_subject_of = ROOT
					controls_state = 716
				}
				ROOT = {
					has_resources_rights = {
						state = 716
						resources = { tungsten }
					}
				}
			}
			716 = {
				NOT = {
					has_state_flag = china_tungsten_II_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					716 = {
						has_resistance = yes
					}
				}
				716 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = china_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			716 = {
				set_state_flag = china_tungsten_II_flag
				add_resource = {
					type = tungsten
					amount = 4
				}
			}
		}
	}

	#China: Develop Jinduicheng Molybdenum Mine
	china_tungsten_III = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 615
			}
		}

		visible = {
			OR = {
				controls_state = 615
				any_country = {
					is_subject_of = ROOT
					controls_state = 615
				}
				ROOT = {
					has_resources_rights = {
						state = 615
						resources = { tungsten }
					}
				}
			}
			615 = {
				NOT = {
					has_state_flag = china_tungsten_III_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					615 = {
						has_resistance = yes
					}
				}
				615 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = china_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			615 = {
				set_state_flag = china_tungsten_III_flag
				add_resource = {
					type = tungsten
					amount = 6
				}
			}
		}
	}

	#Corea: Open Mannyeon Tungsten Mine
	corea_tungsten_I = {

		icon = tungsten
		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 = { tungsten }
					}
				}
			}
			1028 = {
				NOT = {
					has_state_flag = corea_tungsten_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					1028 = {
						has_resistance = yes
					}
				}
				1028 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = corea_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			1028 = {
				set_state_flag = corea_tungsten_I_flag
				add_resource = {
					type = tungsten
					amount = 8
				}
			}
		}
	}

	#Corea: Expand Sangdong Tungsten Mine
	corea_tungsten_II = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 1029
			}
		}

		visible = {
			OR = {
				controls_state = 1029
				any_country = {
					is_subject_of = ROOT
					controls_state = 1029
				}
				ROOT = {
					has_resources_rights = {
						state = 1029
						resources = { tungsten }
					}
				}
			}
			1029 = {
				NOT = {
					has_state_flag = corea_tungsten_II_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					1029 = {
						has_resistance = yes
					}
				}
				1029 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = corea_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			1029 = {
				set_state_flag = corea_tungsten_II_flag
				add_resource = {
					type = tungsten
					amount = 10
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = corea_tungsten_III
		}
	}

	#Corea: Develop Sangdong Tungsten Mine
	corea_tungsten_III = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 1029
			}
		}

		visible = {
			OR = {
				controls_state = 1029
				any_country = {
					is_subject_of = ROOT
					controls_state = 1029
				}
				ROOT = {
					has_resources_rights = {
						state = 1029
						resources = { tungsten }
					}
				}
			}
			1029 = {
				NOT = {
					has_state_flag = corea_tungsten_III_flag
				}
				has_state_flag = corea_tungsten_II_flag
			}
		}

		available = {
			if = {
				limit = {
					1029 = {
						has_resistance = yes
					}
				}
				1029 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = corea_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			1029 = {
				set_state_flag = corea_tungsten_III_flag
				add_resource = {
					type = tungsten
					amount = 10
				}
			}
		}
	}

	#Corea: Expand Jangsu Molybdenum Mines + Expand Cheonan Antimony Mine
	corea_tungsten_IV = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 1031
			}
		}

		visible = {
			OR = {
				controls_state = 1031
				any_country = {
					is_subject_of = ROOT
					controls_state = 1031
				}
				ROOT = {
					has_resources_rights = {
						state = 1031
						resources = { tungsten }
					}
				}
			}
			1031 = {
				NOT = {
					has_state_flag = corea_tungsten_IV_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					1031 = {
						has_resistance = yes
					}
				}
				1031 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = corea_tungsten_IV
				}
			}
			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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			1031 = {
				set_state_flag = corea_tungsten_IV_flag
				add_resource = {
					type = tungsten
					amount = 10
				}
			}
		}
	}

	#Burma: Expand Mawchi Tungsten Mines
	burma_tungsten_I = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 999
			}
		}

		visible = {
			OR = {
				controls_state = 999
				any_country = {
					is_subject_of = ROOT
					controls_state = 999
				}
				ROOT = {
					has_resources_rights = {
						state = 999
						resources = { tungsten }
					}
				}
			}
			999 = {
				NOT = {
					has_state_flag = burma_tungsten_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					999 = {
						has_resistance = yes
					}
				}
				999 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = burma_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			999 = {
				set_state_flag = burma_tungsten_I_flag
				add_resource = {
					type = tungsten
					amount = 18
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = burma_tungsten_II
		}
	}

	#Burma: Expand [999.GetName] Antimony Mines
	burma_tungsten_II = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 999
			}
		}

		visible = {
			OR = {
				controls_state = 999
				any_country = {
					is_subject_of = ROOT
					controls_state = 999
				}
				ROOT = {
					has_resources_rights = {
						state = 999
						resources = { tungsten }
					}
				}
			}
			999 = {
				NOT = {
					has_state_flag = burma_tungsten_II_flag
				}
				has_state_flag = burma_tungsten_I_flag
			}
		}

		available = {
			if = {
				limit = {
					999 = {
						has_resistance = yes
					}
				}
				999 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = burma_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			999 = {
				set_state_flag = burma_tungsten_II_flag
				add_resource = {
					type = tungsten
					amount = 4
				}
			}
		}
	}

	#Siam: Open Pilok Tungsten Mines
	siam_tungsten_I = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 289
			}
		}

		visible = {
			OR = {
				controls_state = 289
				any_country = {
					is_subject_of = ROOT
					controls_state = 289
				}
				ROOT = {
					has_resources_rights = {
						state = 289
						resources = { tungsten }
					}
				}
			}
			289 = {
				NOT = {
					has_state_flag = siam_tungsten_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					289 = {
						has_resistance = yes
					}
				}
				289 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = siam_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			289 = {
				set_state_flag = siam_tungsten_I_flag
				add_resource = {
					type = tungsten
					amount = 16
				}
			}
		}
	}

	#Siam: Open Phrae Antimony Mines
	siam_tungsten_II = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 869
			}
		}

		visible = {
			OR = {
				controls_state = 869
				any_country = {
					is_subject_of = ROOT
					controls_state = 869
				}
				ROOT = {
					has_resources_rights = {
						state = 869
						resources = { tungsten }
					}
				}
			}
			869 = {
				NOT = {
					has_state_flag = siam_tungsten_II_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					869 = {
						has_resistance = yes
					}
				}
				869 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = siam_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			869 = {
				set_state_flag = siam_tungsten_II_flag
				add_resource = {
					type = tungsten
					amount = 4
				}
			}
		}
	}

	#Japón: Open Otani and Akenobe Tungsten Mines
	japon_tungsten_I = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 531
			}
		}

		visible = {
			OR = {
				controls_state = 531
				any_country = {
					is_subject_of = ROOT
					controls_state = 531
				}
				ROOT = {
					has_resources_rights = {
						state = 531
						resources = { tungsten }
					}
				}
			}
			531 = {
				NOT = {
					has_state_flag = japon_tungsten_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					531 = {
						has_resistance = yes
					}
				}
				531 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = japon_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			531 = {
				set_state_flag = japon_tungsten_I_flag
				add_resource = {
					type = tungsten
					amount = 5
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = japon_tungsten_II
		}
	}

	#Japón: Expand Otani and Akenobe Tungsten Mines
	japon_tungsten_II = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 531
			}
		}

		visible = {
			OR = {
				controls_state = 531
				any_country = {
					is_subject_of = ROOT
					controls_state = 531
				}
				ROOT = {
					has_resources_rights = {
						state = 531
						resources = { tungsten }
					}
				}
			}
			531 = {
				NOT = {
					has_state_flag = japon_tungsten_II_flag
				}
				has_state_flag = japon_tungsten_I_flag
			}
		}

		available = {
			if = {
				limit = {
					531 = {
						has_resistance = yes
					}
				}
				531 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = japon_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			531 = {
				set_state_flag = japon_tungsten_II_flag
				add_resource = {
					type = tungsten
					amount = 8
				}
			}
		}
	}

	#Japón: Develop Hirase Molybdenum Mine
	japon_tungsten_III = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 532
			}
		}

		visible = {
			OR = {
				controls_state = 532
				any_country = {
					is_subject_of = ROOT
					controls_state = 532
				}
				ROOT = {
					has_resources_rights = {
						state = 532
						resources = { tungsten }
					}
				}
			}
			532 = {
				NOT = {
					has_state_flag = japon_tungsten_III_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					532 = {
						has_resistance = yes
					}
				}
				532 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = japon_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			532 = {
				set_state_flag = japon_tungsten_III_flag
				add_resource = {
					type = tungsten
					amount = 5
				}
			}
		}
	}

	#Japón: Expand Shikoku Antimony Mines
	japon_tungsten_IV = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 530
			}
		}

		visible = {
			OR = {
				controls_state = 530
				any_country = {
					is_subject_of = ROOT
					controls_state = 530
				}
				ROOT = {
					has_resources_rights = {
						state = 530
						resources = { tungsten }
					}
				}
			}
			530 = {
				NOT = {
					has_state_flag = japon_tungsten_IV_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					530 = {
						has_resistance = yes
					}
				}
				530 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = japon_tungsten_IV
				}
			}
			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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			530 = {
				set_state_flag = japon_tungsten_IV_flag
				add_resource = {
					type = tungsten
					amount = 7
				}
			}
		}
	}

	#Japón: Open [526.GetName] Antimony Mines
	japon_tungsten_V = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 526
			}
		}

		visible = {
			OR = {
				controls_state = 526
				any_country = {
					is_subject_of = ROOT
					controls_state = 526
				}
				ROOT = {
					has_resources_rights = {
						state = 526
						resources = { tungsten }
					}
				}
			}
			526 = {
				NOT = {
					has_state_flag = japon_tungsten_V_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					526 = {
						has_resistance = yes
					}
				}
				526 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = japon_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			526 = {
				set_state_flag = japon_tungsten_V_flag
				add_resource = {
					type = tungsten
					amount = 4
				}
			}
		}
	}

	#Hong Kong: Open Needle Hill Tungsten Mines
	hong_kong_tungsten_I = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 326
			}
		}

		visible = {
			OR = {
				controls_state = 326
				any_country = {
					is_subject_of = ROOT
					controls_state = 326
				}
				ROOT = {
					has_resources_rights = {
						state = 326
						resources = { tungsten }
					}
				}
			}
			326 = {
				NOT = {
					has_state_flag = hong_kong_tungsten_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					326 = {
						has_resistance = yes
					}
				}
				326 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = hong_kong_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			326 = {
				set_state_flag = hong_kong_tungsten_I_flag
				add_resource = {
					type = tungsten
					amount = 7
				}
			}
		}
	}

	#India: Expand Degana Tungsten Mine
	india_tungsten_I = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 433
			}
		}

		visible = {
			OR = {
				controls_state = 433
				any_country = {
					is_subject_of = ROOT
					controls_state = 433
				}
				ROOT = {
					has_resources_rights = {
						state = 433
						resources = { tungsten }
					}
				}
			}
			433 = {
				NOT = {
					has_state_flag = india_tungsten_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					433 = {
						has_resistance = yes
					}
				}
				433 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = india_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			433 = {
				set_state_flag = india_tungsten_I_flag
				add_resource = {
					type = tungsten
					amount = 5
				}
			}
		}
	}

	#India: Expand [442.GetName] Antimony Mines
	india_tungsten_II = {

		icon = tungsten
		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 = { tungsten }
					}
				}
			}
			442 = {
				NOT = {
					has_state_flag = india_tungsten_II_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					442 = {
						has_resistance = yes
					}
				}
				442 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = india_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			442 = {
				set_state_flag = india_tungsten_II_flag
				add_resource = {
					type = tungsten
					amount = 6
				}
			}
		}
	}

	#Portugal: Expand Panasqueira Tungsten Mine
	portugal_tungsten_I = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 181
			}
		}

		visible = {
			OR = {
				controls_state = 181
				any_country = {
					is_subject_of = ROOT
					controls_state = 181
				}
				ROOT = {
					has_resources_rights = {
						state = 181
						resources = { tungsten }
					}
				}
			}
			181 = {
				NOT = {
					has_state_flag = portugal_tungsten_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					181 = {
						has_resistance = yes
					}
				}
				181 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = portugal_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			181 = {
				set_state_flag = portugal_tungsten_I_flag
				add_resource = {
					type = tungsten
					amount = 19
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = portugal_tungsten_II
		}
	}

	#Portugal: Develop Panasqueira Tungsten Mine
	portugal_tungsten_II = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 181
			}
		}

		visible = {
			OR = {
				controls_state = 181
				any_country = {
					is_subject_of = ROOT
					controls_state = 181
				}
				ROOT = {
					has_resources_rights = {
						state = 181
						resources = { tungsten }
					}
				}
			}
			181 = {
				NOT = {
					has_state_flag = portugal_tungsten_II_flag
				}
				has_state_flag = portugal_tungsten_I_flag
			}
		}

		available = {
			if = {
				limit = {
					181 = {
						has_resistance = yes
					}
				}
				181 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = portugal_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			181 = {
				set_state_flag = portugal_tungsten_II_flag
				add_resource = {
					type = tungsten
					amount = 5
				}
			}
		}
	}

	#Portugal: Expand Gondomar Antimony Mines
	portugal_tungsten_III = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 112
			}
		}

		visible = {
			OR = {
				controls_state = 112
				any_country = {
					is_subject_of = ROOT
					controls_state = 112
				}
				ROOT = {
					has_resources_rights = {
						state = 112
						resources = { tungsten }
					}
				}
			}
			112 = {
				NOT = {
					has_state_flag = portugal_tungsten_III_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					112 = {
						has_resistance = yes
					}
				}
				112 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = portugal_tungsten_III
				}
			}
			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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			112 = {
				set_state_flag = portugal_tungsten_III_flag
				add_resource = {
					type = tungsten
					amount = 4
				}
			}
		}
	}

	#España: Expand [171.GetName] Tungsten Mines
	espana_tungsten_I = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 171
			}
		}

		visible = {
			OR = {
				controls_state = 171
				any_country = {
					is_subject_of = ROOT
					controls_state = 171
				}
				ROOT = {
					has_resources_rights = {
						state = 171
						resources = { tungsten }
					}
				}
			}
			171 = {
				NOT = {
					has_state_flag = espana_tungsten_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					171 = {
						has_resistance = yes
					}
				}
				171 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = espana_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			171 = {
				set_state_flag = espana_tungsten_I_flag
				add_resource = {
					type = tungsten
					amount = 15
				}
			}
		}
	}

	#España: Expand Barruecopardo Tungsten Mine
	espana_tungsten_II = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 788
			}
		}

		visible = {
			OR = {
				controls_state = 788
				any_country = {
					is_subject_of = ROOT
					controls_state = 788
				}
				ROOT = {
					has_resources_rights = {
						state = 788
						resources = { tungsten }
					}
				}
			}
			788 = {
				NOT = {
					has_state_flag = espana_tungsten_II_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					788 = {
						has_resistance = yes
					}
				}
				788 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = espana_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			788 = {
				set_state_flag = espana_tungsten_II_flag
				add_resource = {
					type = tungsten
					amount = 6
				}
			}
		}
	}

	#España: Expand Alburquerque Antimony Mine
	espana_tungsten_III = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 170
			}
		}

		visible = {
			OR = {
				controls_state = 170
				any_country = {
					is_subject_of = ROOT
					controls_state = 170
				}
				ROOT = {
					has_resources_rights = {
						state = 170
						resources = { tungsten }
					}
				}
			}
			170 = {
				NOT = {
					has_state_flag = espana_tungsten_III_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					170 = {
						has_resistance = yes
					}
				}
				170 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = espana_tungsten_III
				}
			}
			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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			170 = {
				set_state_flag = espana_tungsten_III_flag
				add_resource = {
					type = tungsten
					amount = 5
				}
			}
		}
	}

	#URSS: Expand Tyrnyauz Tungsten Mine
	urss_tungsten_I = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 827
			}
		}

		visible = {
			OR = {
				controls_state = 827
				any_country = {
					is_subject_of = ROOT
					controls_state = 827
				}
				ROOT = {
					has_resources_rights = {
						state = 827
						resources = { tungsten }
					}
				}
			}
			827 = {
				NOT = {
					has_state_flag = urss_tungsten_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					827 = {
						has_resistance = yes
					}
				}
				827 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = urss_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			827 = {
				set_state_flag = urss_tungsten_I_flag
				add_resource = {
					type = tungsten
					amount = 7
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = urss_tungsten_IV
		}
	}

	#URSS: Expand Dzhida Tungsten Mine
	urss_tungsten_II = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 564
			}
		}

		visible = {
			OR = {
				controls_state = 564
				any_country = {
					is_subject_of = ROOT
					controls_state = 564
				}
				ROOT = {
					has_resources_rights = {
						state = 564
						resources = { tungsten }
					}
				}
			}
			564 = {
				NOT = {
					has_state_flag = urss_tungsten_II_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					564 = {
						has_resistance = yes
					}
				}
				564 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = urss_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			564 = {
				set_state_flag = urss_tungsten_II_flag
				add_resource = {
					type = tungsten
					amount = 10
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = urss_tungsten_III
		}
	}

	#URSS: Develop Dzhida Tungsten Mine
	urss_tungsten_III = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 564
			}
		}

		visible = {
			OR = {
				controls_state = 564
				any_country = {
					is_subject_of = ROOT
					controls_state = 564
				}
				ROOT = {
					has_resources_rights = {
						state = 564
						resources = { tungsten }
					}
				}
			}
			564 = {
				NOT = {
					has_state_flag = urss_tungsten_III_flag
				}
				has_state_flag = urss_tungsten_II_flag
			}
		}

		available = {
			if = {
				limit = {
					564 = {
						has_resistance = yes
					}
				}
				564 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = urss_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			564 = {
				set_state_flag = urss_tungsten_III_flag
				add_resource = {
					type = tungsten
					amount = 10
				}
			}
		}
	}

	#URSS: Expand Tyrnyauz Molybdenum Mine
	urss_tungsten_IV = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 827
			}
		}

		visible = {
			OR = {
				controls_state = 827
				any_country = {
					is_subject_of = ROOT
					controls_state = 827
				}
				ROOT = {
					has_resources_rights = {
						state = 827
						resources = { tungsten }
					}
				}
			}
			827 = {
				NOT = {
					has_state_flag = urss_tungsten_IV_flag
				}
				has_state_flag = urss_tungsten_I_flag
			}
		}

		available = {
			if = {
				limit = {
					827 = {
						has_resistance = yes
					}
				}
				827 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = urss_tungsten_IV
				}
			}
			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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			827 = {
				set_state_flag = urss_tungsten_IV_flag
				add_resource = {
					type = tungsten
					amount = 5
				}
			}
		}
	}

	#URSS: Develop Sorsk Molybdenum Mine
	urss_tungsten_V = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 569
			}
		}

		visible = {
			OR = {
				controls_state = 569
				any_country = {
					is_subject_of = ROOT
					controls_state = 569
				}
				ROOT = {
					has_resources_rights = {
						state = 569
						resources = { tungsten }
					}
				}
			}
			569 = {
				NOT = {
					has_state_flag = urss_tungsten_V_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					569 = {
						has_resistance = yes
					}
				}
				569 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = urss_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			569 = {
				set_state_flag = urss_tungsten_V_flag
				add_resource = {
					type = tungsten
					amount = 5
				}
			}
		}
	}

	#URSS: Expand Kachkanar Vanadium Mines
	urss_tungsten_VI = {

		icon = tungsten
		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 = { tungsten }
					}
				}
			}
			653 = {
				NOT = {
					has_state_flag = urss_tungsten_VI_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					653 = {
						has_resistance = yes
					}
				}
				653 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = urss_tungsten_VI
				}
			}
			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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			653 = {
				set_state_flag = urss_tungsten_VI_flag
				add_resource = {
					type = tungsten
					amount = 4
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = urss_tungsten_VII
		}
	}

	#URSS: Develop Kachkanar Vanadium Mines
	urss_tungsten_VII = {

		icon = tungsten
		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 = { tungsten }
					}
				}
			}
			653 = {
				NOT = {
					has_state_flag = urss_tungsten_VII_flag
				}
				has_state_flag = urss_tungsten_VI_flag
			}
		}

		available = {
			if = {
				limit = {
					653 = {
						has_resistance = yes
					}
				}
				653 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = urss_tungsten_VII
				}
			}
			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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			653 = {
				set_state_flag = urss_tungsten_VII_flag
				add_resource = {
					type = tungsten
					amount = 6
				}
			}
		}
	}

	#URSS: Expand Kadamjay Antimony Mine
	urss_tungsten_VIII = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 732
			}
		}

		visible = {
			OR = {
				controls_state = 732
				any_country = {
					is_subject_of = ROOT
					controls_state = 732
				}
				ROOT = {
					has_resources_rights = {
						state = 732
						resources = { tungsten }
					}
				}
			}
			732 = {
				NOT = {
					has_state_flag = urss_tungsten_VIII_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					732 = {
						has_resistance = yes
					}
				}
				732 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = urss_tungsten_VIII
				}
			}
			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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			732 = {
				set_state_flag = urss_tungsten_VIII_flag
				add_resource = {
					type = tungsten
					amount = 6
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = urss_tungsten_IX
		}
	}

	#URSS: Develop Kadamjay Antimony Mine
	urss_tungsten_IX = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 732
			}
		}

		visible = {
			OR = {
				controls_state = 732
				any_country = {
					is_subject_of = ROOT
					controls_state = 732
				}
				ROOT = {
					has_resources_rights = {
						state = 732
						resources = { tungsten }
					}
				}
			}
			732 = {
				NOT = {
					has_state_flag = urss_tungsten_IX_flag
				}
				has_state_flag = urss_tungsten_VIII_flag
			}
		}

		available = {
			if = {
				limit = {
					732 = {
						has_resistance = yes
					}
				}
				732 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = urss_tungsten_IX
				}
			}
			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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			732 = {
				set_state_flag = urss_tungsten_IX_flag
				add_resource = {
					type = tungsten
					amount = 6
				}
			}
		}
	}

	#Francia: Open Salau Tungsten Mine
	francia_tungsten_I = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 31
			}
		}

		visible = {
			OR = {
				controls_state = 31
				any_country = {
					is_subject_of = ROOT
					controls_state = 31
				}
				ROOT = {
					has_resources_rights = {
						state = 31
						resources = { tungsten }
					}
				}
			}
			31 = {
				NOT = {
					has_state_flag = francia_tungsten_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					31 = {
						has_resistance = yes
					}
				}
				31 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = francia_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			31 = {
				set_state_flag = francia_tungsten_I_flag
				add_resource = {
					type = tungsten
					amount = 5
				}
			}
		}
	}

	#Francia: Develop Puy-les-Vignes Tungsten Mines
	francia_tungsten_II = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 25
			}
		}

		visible = {
			OR = {
				controls_state = 25
				any_country = {
					is_subject_of = ROOT
					controls_state = 25
				}
				ROOT = {
					has_resources_rights = {
						state = 25
						resources = { tungsten }
					}
				}
			}
			25 = {
				NOT = {
					has_state_flag = francia_tungsten_II_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					25 = {
						has_resistance = yes
					}
				}
				25 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = francia_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			25 = {
				set_state_flag = francia_tungsten_II_flag
				add_resource = {
					type = tungsten
					amount = 10
				}
			}
		}
	}

	#Suecia: Expand Yxsjöberg Tungsten Mine
	suecia_tungsten_I = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 916
			}
		}

		visible = {
			OR = {
				controls_state = 916
				any_country = {
					is_subject_of = ROOT
					controls_state = 916
				}
				ROOT = {
					has_resources_rights = {
						state = 916
						resources = { tungsten }
					}
				}
			}
			916 = {
				NOT = {
					has_state_flag = suecia_tungsten_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					916 = {
						has_resistance = yes
					}
				}
				916 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = suecia_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			916 = {
				set_state_flag = suecia_tungsten_I_flag
				add_resource = {
					type = tungsten
					amount = 5
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = suecia_tungsten_II
		}
	}

	#Suecia: Develop Yxsjöberg Tungsten Mine
	suecia_tungsten_II = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 916
			}
		}

		visible = {
			OR = {
				controls_state = 916
				any_country = {
					is_subject_of = ROOT
					controls_state = 916
				}
				ROOT = {
					has_resources_rights = {
						state = 916
						resources = { tungsten }
					}
				}
			}
			916 = {
				NOT = {
					has_state_flag = suecia_tungsten_II_flag
				}
				has_state_flag = suecia_tungsten_I_flag
			}
		}

		available = {
			if = {
				limit = {
					916 = {
						has_resistance = yes
					}
				}
				916 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = suecia_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			916 = {
				set_state_flag = suecia_tungsten_II_flag
				add_resource = {
					type = tungsten
					amount = 5
				}
			}
		}
	}

	#Reino Unido: Expand [123.GetName] Tungsten Mines
	reino_unido_tungsten_I = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 123
			}
		}

		visible = {
			OR = {
				controls_state = 123
				any_country = {
					is_subject_of = ROOT
					controls_state = 123
				}
				ROOT = {
					has_resources_rights = {
						state = 123
						resources = { tungsten }
					}
				}
			}
			123 = {
				NOT = {
					has_state_flag = reino_unido_tungsten_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					123 = {
						has_resistance = yes
					}
				}
				123 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = reino_unido_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			123 = {
				set_state_flag = reino_unido_tungsten_I_flag
				add_resource = {
					type = tungsten
					amount = 6
				}
			}
		}
	}

	#Noruega: Expand Ørsdalen Tungsten Mine + Open Rogaland Vanadium Mines
	noruega_tungsten_I = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 142
			}
		}

		visible = {
			OR = {
				controls_state = 142
				any_country = {
					is_subject_of = ROOT
					controls_state = 142
				}
				ROOT = {
					has_resources_rights = {
						state = 142
						resources = { tungsten }
					}
				}
			}
			142 = {
				NOT = {
					has_state_flag = noruega_tungsten_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					142 = {
						has_resistance = yes
					}
				}
				142 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = noruega_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			142 = {
				set_state_flag = noruega_tungsten_I_flag
				add_resource = {
					type = tungsten
					amount = 7
				}
			}
		}
	}

	#Noruega: Expand Knaben Molybdenum Mine
	noruega_tungsten_II = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 922
			}
		}

		visible = {
			OR = {
				controls_state = 922
				any_country = {
					is_subject_of = ROOT
					controls_state = 922
				}
				ROOT = {
					has_resources_rights = {
						state = 922
						resources = { tungsten }
					}
				}
			}
			922 = {
				NOT = {
					has_state_flag = noruega_tungsten_II_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					922 = {
						has_resistance = yes
					}
				}
				922 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = noruega_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			922 = {
				set_state_flag = noruega_tungsten_II_flag
				add_resource = {
					type = tungsten
					amount = 3
				}
			}
		}
	}

	#Austria: Open Mittersill Tungsten Mine
	austria_tungsten_I = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 153
			}
		}

		visible = {
			OR = {
				controls_state = 153
				any_country = {
					is_subject_of = ROOT
					controls_state = 153
				}
				ROOT = {
					has_resources_rights = {
						state = 153
						resources = { tungsten }
					}
				}
			}
			153 = {
				NOT = {
					has_state_flag = austria_tungsten_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					153 = {
						has_resistance = yes
					}
				}
				153 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = austria_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			153 = {
				set_state_flag = austria_tungsten_I_flag
				add_resource = {
					type = tungsten
					amount = 12
				}
			}
		}
	}

	#Austria: Develop Stadtschlaining Antimony Mine
	austria_tungsten_III = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 975
			}
		}

		visible = {
			OR = {
				controls_state = 975
				any_country = {
					is_subject_of = ROOT
					controls_state = 975
				}
				ROOT = {
					has_resources_rights = {
						state = 975
						resources = { tungsten }
					}
				}
			}
			975 = {
				NOT = {
					has_state_flag = austria_tungsten_III_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					975 = {
						has_resistance = yes
					}
				}
				975 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = austria_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			975 = {
				set_state_flag = austria_tungsten_III_flag
				add_resource = {
					type = tungsten
					amount = 7
				}
			}
		}
	}

	#Finlandia: Open Ylöjärvi Tungsten Mine
	finlandia_tungsten_I = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 927
			}
		}

		visible = {
			OR = {
				controls_state = 927
				any_country = {
					is_subject_of = ROOT
					controls_state = 927
				}
				ROOT = {
					has_resources_rights = {
						state = 927
						resources = { tungsten }
					}
				}
			}
			927 = {
				NOT = {
					has_state_flag = finlandia_tungsten_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					927 = {
						has_resistance = yes
					}
				}
				927 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = finlandia_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			927 = {
				set_state_flag = finlandia_tungsten_I_flag
				add_resource = {
					type = tungsten
					amount = 8
				}
			}
		}
	}

	#Finlandia: Open Mätäsvaara Molybdenum Mine
	finlandia_tungsten_II = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 150
			}
		}

		visible = {
			OR = {
				controls_state = 150
				any_country = {
					is_subject_of = ROOT
					controls_state = 150
				}
				ROOT = {
					has_resources_rights = {
						state = 150
						resources = { tungsten }
					}
				}
			}
			150 = {
				NOT = {
					has_state_flag = finlandia_tungsten_II_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					150 = {
						has_resistance = yes
					}
				}
				150 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = finlandia_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			150 = {
				set_state_flag = finlandia_tungsten_II_flag
				add_resource = {
					type = tungsten
					amount = 5
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = finlandia_tungsten_III
		}
	}

	#Finlandia: Open Otanmäki Vanadium Mine
	finlandia_tungsten_III = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 150
			}
		}

		visible = {
			OR = {
				controls_state = 150
				any_country = {
					is_subject_of = ROOT
					controls_state = 150
				}
				ROOT = {
					has_resources_rights = {
						state = 150
						resources = { tungsten }
					}
				}
			}
			150 = {
				NOT = {
					has_state_flag = finlandia_tungsten_III_flag
				}
				has_state_flag = finlandia_tungsten_II_flag
			}
		}

		available = {
			if = {
				limit = {
					150 = {
						has_resistance = yes
					}
				}
				150 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = finlandia_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			150 = {
				set_state_flag = finlandia_tungsten_III_flag
				add_resource = {
					type = tungsten
					amount = 6
				}
			}
		}
	}

	#Yugoslavia: Open Blagojev Kamen Tungsten Mine
	yugoslavia_tungsten_I = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 108
			}
		}

		visible = {
			OR = {
				controls_state = 108
				any_country = {
					is_subject_of = ROOT
					controls_state = 108
				}
				ROOT = {
					has_resources_rights = {
						state = 108
						resources = { tungsten }
					}
				}
			}
			108 = {
				NOT = {
					has_state_flag = yugoslavia_tungsten_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					108 = {
						has_resistance = yes
					}
				}
				108 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = yugoslavia_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			108 = {
				set_state_flag = yugoslavia_tungsten_I_flag
				add_resource = {
					type = tungsten
					amount = 7
				}
			}
		}
	}

	#Yugoslavia: Expand Mačkatica Molybdenum Mine
	yugoslavia_tungsten_II = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 803
			}
		}

		visible = {
			OR = {
				controls_state = 803
				any_country = {
					is_subject_of = ROOT
					controls_state = 803
				}
				ROOT = {
					has_resources_rights = {
						state = 803
						resources = { tungsten }
					}
				}
			}
			803 = {
				NOT = {
					has_state_flag = yugoslavia_tungsten_II_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					803 = {
						has_resistance = yes
					}
				}
				803 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = yugoslavia_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			803 = {
				set_state_flag = yugoslavia_tungsten_II_flag
				add_resource = {
					type = tungsten
					amount = 4
				}
			}
		}
	}

	#Yugoslavia: Open Zajača Antimony Mine
	yugoslavia_tungsten_III = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 107
			}
		}

		visible = {
			OR = {
				controls_state = 107
				any_country = {
					is_subject_of = ROOT
					controls_state = 107
				}
				ROOT = {
					has_resources_rights = {
						state = 107
						resources = { tungsten }
					}
				}
			}
			107 = {
				NOT = {
					has_state_flag = yugoslavia_tungsten_III_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					107 = {
						has_resistance = yes
					}
				}
				107 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = yugoslavia_tungsten_III
				}
			}
			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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			107 = {
				set_state_flag = yugoslavia_tungsten_III_flag
				add_resource = {
					type = tungsten
					amount = 12
				}
			}
		}
	}

	#Italia: Develop [39.GetName] Tungsten Mine
	italia_tungsten_I = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 39
			}
		}

		visible = {
			OR = {
				controls_state = 39
				any_country = {
					is_subject_of = ROOT
					controls_state = 39
				}
				ROOT = {
					has_resources_rights = {
						state = 39
						resources = { tungsten }
					}
				}
			}
			39 = {
				NOT = {
					has_state_flag = italia_tungsten_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					39 = {
						has_resistance = yes
					}
				}
				39 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = italia_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			39 = {
				set_state_flag = italia_tungsten_I_flag
				add_resource = {
					type = tungsten
					amount = 4
				}
			}
		}
	}

	#Italia: Open Bivongi Molybdenum Mine
	italia_tungsten_II = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 156
			}
		}

		visible = {
			OR = {
				controls_state = 156
				any_country = {
					is_subject_of = ROOT
					controls_state = 156
				}
				ROOT = {
					has_resources_rights = {
						state = 156
						resources = { tungsten }
					}
				}
			}
			156 = {
				NOT = {
					has_state_flag = italia_tungsten_II_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					156 = {
						has_resistance = yes
					}
				}
				156 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = italia_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			156 = {
				set_state_flag = italia_tungsten_II_flag
				add_resource = {
					type = tungsten
					amount = 2
				}
			}
		}
	}

	#Italia: Expand Villasalto Antimony Mine
	italia_tungsten_III = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 114
			}
		}

		visible = {
			OR = {
				controls_state = 114
				any_country = {
					is_subject_of = ROOT
					controls_state = 114
				}
				ROOT = {
					has_resources_rights = {
						state = 114
						resources = { tungsten }
					}
				}
			}
			114 = {
				NOT = {
					has_state_flag = italia_tungsten_III_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					114 = {
						has_resistance = yes
					}
				}
				114 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = italia_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			114 = {
				set_state_flag = italia_tungsten_III_flag
				add_resource = {
					type = tungsten
					amount = 6
				}
			}
		}
	}

	#Australia: Expand King Island Scheelite Mines
	australia_tungsten_I = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 518
			}
		}

		visible = {
			OR = {
				controls_state = 518
				any_country = {
					is_subject_of = ROOT
					controls_state = 518
				}
				ROOT = {
					has_resources_rights = {
						state = 518
						resources = { tungsten }
					}
				}
			}
			518 = {
				NOT = {
					has_state_flag = australia_tungsten_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					518 = {
						has_resistance = yes
					}
				}
				518 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = australia_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			518 = {
				set_state_flag = australia_tungsten_I_flag
				add_resource = {
					type = tungsten
					amount = 5
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			unlock_decision_tooltip = australia_tungsten_II
		}
	}

	#Australia: Develop King Island Scheelite Mines
	australia_tungsten_II = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 518
			}
		}

		visible = {
			OR = {
				controls_state = 518
				any_country = {
					is_subject_of = ROOT
					controls_state = 518
				}
				ROOT = {
					has_resources_rights = {
						state = 518
						resources = { tungsten }
					}
				}
			}
			518 = {
				NOT = {
					has_state_flag = australia_tungsten_II_flag
				}
				has_state_flag = australia_tungsten_I_flag
			}
		}

		available = {
			if = {
				limit = {
					518 = {
						has_resistance = yes
					}
				}
				518 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = australia_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			518 = {
				set_state_flag = australia_tungsten_II_flag
				add_resource = {
					type = tungsten
					amount = 7
				}
			}
		}
	}

	#Australia: Develop Hatches Creek Tungsten Mine
	australia_tungsten_III = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 520
			}
		}

		visible = {
			OR = {
				controls_state = 520
				any_country = {
					is_subject_of = ROOT
					controls_state = 520
				}
				ROOT = {
					has_resources_rights = {
						state = 520
						resources = { tungsten }
					}
				}
			}
			520 = {
				NOT = {
					has_state_flag = australia_tungsten_III_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					520 = {
						has_resistance = yes
					}
				}
				520 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = australia_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			520 = {
				set_state_flag = australia_tungsten_III_flag
				add_resource = {
					type = tungsten
					amount = 5
				}
			}
		}
	}

	#Australia: Expand Everton Molybdenum Mine
	australia_tungsten_IV = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 517
			}
		}

		visible = {
			OR = {
				controls_state = 517
				any_country = {
					is_subject_of = ROOT
					controls_state = 517
				}
				ROOT = {
					has_resources_rights = {
						state = 517
						resources = { tungsten }
					}
				}
			}
			517 = {
				NOT = {
					has_state_flag = australia_tungsten_IV_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					517 = {
						has_resistance = yes
					}
				}
				517 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = australia_tungsten_IV
				}
			}
			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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			517 = {
				set_state_flag = australia_tungsten_IV_flag
				add_resource = {
					type = tungsten
					amount = 2
				}
			}
		}
	}

	#Australia: Develop Hillgrove Antimony Mine
	australia_tungsten_V = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 285
			}
		}

		visible = {
			OR = {
				controls_state = 285
				any_country = {
					is_subject_of = ROOT
					controls_state = 285
				}
				ROOT = {
					has_resources_rights = {
						state = 285
						resources = { tungsten }
					}
				}
			}
			285 = {
				NOT = {
					has_state_flag = australia_tungsten_V_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					285 = {
						has_resistance = yes
					}
				}
				285 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = australia_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			285 = {
				set_state_flag = australia_tungsten_V_flag
				add_resource = {
					type = tungsten
					amount = 7
				}
			}
		}
	}

	#Nueva Zelanda: Develop Glenorchy Tungsten Mines
	nueva_zelanda_tungsten_I = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 1081
			}
		}

		visible = {
			OR = {
				controls_state = 1081
				any_country = {
					is_subject_of = ROOT
					controls_state = 1081
				}
				ROOT = {
					has_resources_rights = {
						state = 1081
						resources = { tungsten }
					}
				}
			}
			1081 = {
				NOT = {
					has_state_flag = nueva_zelanda_tungsten_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					1081 = {
						has_resistance = yes
					}
				}
				1081 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = nueva_zelanda_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			1081 = {
				set_state_flag = nueva_zelanda_tungsten_I_flag
				add_resource = {
					type = tungsten
					amount = 7
				}
			}
		}
	}

	#Chile: Molybdenum By-Product Extraction in [506.GetName]
	chile_tungsten_I = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 506
			}
		}

		visible = {
			OR = {
				controls_state = 506
				any_country = {
					is_subject_of = ROOT
					controls_state = 506
				}
				ROOT = {
					has_resources_rights = {
						state = 506
						resources = { tungsten }
					}
				}
			}
			506 = {
				NOT = {
					has_state_flag = chile_tungsten_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					506 = {
						has_resistance = yes
					}
				}
				506 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = chile_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			506 = {
				set_state_flag = chile_tungsten_I_flag
				add_resource = {
					type = tungsten
					amount = 4
				}
			}
		}
	}

	#Chile: Molybdenum By-Product Extraction in [279.GetName]
	chile_tungsten_II = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 279
			}
		}

		visible = {
			OR = {
				controls_state = 279
				any_country = {
					is_subject_of = ROOT
					controls_state = 279
				}
				ROOT = {
					has_resources_rights = {
						state = 279
						resources = { tungsten }
					}
				}
			}
			279 = {
				NOT = {
					has_state_flag = chile_tungsten_II_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					279 = {
						has_resistance = yes
					}
				}
				279 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = chile_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			279 = {
				set_state_flag = chile_tungsten_II_flag
				add_resource = {
					type = tungsten
					amount = 4
				}
			}
		}
	}

	#Filipinas: Molybdenum By-Product Extraction in [628.GetName]
	filipinas_tungsten_I = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 628
			}
		}

		visible = {
			OR = {
				controls_state = 628
				any_country = {
					is_subject_of = ROOT
					controls_state = 628
				}
				ROOT = {
					has_resources_rights = {
						state = 628
						resources = { tungsten }
					}
				}
			}
			628 = {
				NOT = {
					has_state_flag = filipinas_tungsten_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					628 = {
						has_resistance = yes
					}
				}
				628 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = filipinas_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			628 = {
				set_state_flag = filipinas_tungsten_I_flag
				add_resource = {
					type = tungsten
					amount = 3
				}
			}
		}
	}

	#Angola: Open Malanje Vanadium Mine
	angola_tungsten_I = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 540
			}
		}

		visible = {
			OR = {
				controls_state = 540
				any_country = {
					is_subject_of = ROOT
					controls_state = 540
				}
				ROOT = {
					has_resources_rights = {
						state = 540
						resources = { tungsten }
					}
				}
			}
			540 = {
				NOT = {
					has_state_flag = angola_tungsten_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					540 = {
						has_resistance = yes
					}
				}
				540 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = angola_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			540 = {
				set_state_flag = angola_tungsten_I_flag
				add_resource = {
					type = tungsten
					amount = 2
				}
			}
		}
	}

	#Algeria: Develop [460.GetName] Antimony Mines
	algeria_tungsten_I = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 460
			}
		}

		visible = {
			OR = {
				controls_state = 460
				any_country = {
					is_subject_of = ROOT
					controls_state = 460
				}
				ROOT = {
					has_resources_rights = {
						state = 460
						resources = { tungsten }
					}
				}
			}
			460 = {
				NOT = {
					has_state_flag = algeria_tungsten_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					460 = {
						has_resistance = yes
					}
				}
				460 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = algeria_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			460 = {
				set_state_flag = algeria_tungsten_I_flag
				add_resource = {
					type = tungsten
					amount = 5
				}
			}
		}
	}

	#Marruecos Francés: Expand Tourza Antimony Mines
	marruecos_frances_tungsten_I = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 462
			}
		}

		visible = {
			OR = {
				controls_state = 462
				any_country = {
					is_subject_of = ROOT
					controls_state = 462
				}
				ROOT = {
					has_resources_rights = {
						state = 462
						resources = { tungsten }
					}
				}
			}
			462 = {
				NOT = {
					has_state_flag = marruecos_frances_tungsten_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					462 = {
						has_resistance = yes
					}
				}
				462 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = marruecos_frances_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			462 = {
				set_state_flag = marruecos_frances_tungsten_I_flag
				add_resource = {
					type = tungsten
					amount = 5
				}
			}
		}
	}

	#Guatemala: Open Ixtahuacán Antimony Mine
	guatemala_tungsten_I = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 313
			}
		}

		visible = {
			OR = {
				controls_state = 313
				any_country = {
					is_subject_of = ROOT
					controls_state = 313
				}
				ROOT = {
					has_resources_rights = {
						state = 313
						resources = { tungsten }
					}
				}
			}
			313 = {
				NOT = {
					has_state_flag = guatemala_tungsten_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					313 = {
						has_resistance = yes
					}
				}
				313 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = guatemala_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			313 = {
				set_state_flag = guatemala_tungsten_I_flag
				add_resource = {
					type = tungsten
					amount = 4
				}
			}
		}
	}

	#Honduras: Expand [312.GetName] Antimony Mines
	honduras_tungsten_I = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 312
			}
		}

		visible = {
			OR = {
				controls_state = 312
				any_country = {
					is_subject_of = ROOT
					controls_state = 312
				}
				ROOT = {
					has_resources_rights = {
						state = 312
						resources = { tungsten }
					}
				}
			}
			312 = {
				NOT = {
					has_state_flag = honduras_tungsten_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					312 = {
						has_resistance = yes
					}
				}
				312 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = honduras_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			312 = {
				set_state_flag = honduras_tungsten_I_flag
				add_resource = {
					type = tungsten
					amount = 2
				}
			}
		}
	}

	#Turquía: Develop Turhal Antimony Mine
	turquia_tungsten_I = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 355
			}
		}

		visible = {
			OR = {
				controls_state = 355
				any_country = {
					is_subject_of = ROOT
					controls_state = 355
				}
				ROOT = {
					has_resources_rights = {
						state = 355
						resources = { tungsten }
					}
				}
			}
			355 = {
				NOT = {
					has_state_flag = turquia_tungsten_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					355 = {
						has_resistance = yes
					}
				}
				355 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = turquia_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			355 = {
				set_state_flag = turquia_tungsten_I_flag
				add_resource = {
					type = tungsten
					amount = 6
				}
			}
		}
	}

	#Irán: Open Dashkasan Antimony Mine
	iran_tungsten_I = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 1001
			}
		}

		visible = {
			OR = {
				controls_state = 1001
				any_country = {
					is_subject_of = ROOT
					controls_state = 1001
				}
				ROOT = {
					has_resources_rights = {
						state = 1001
						resources = { tungsten }
					}
				}
			}
			1001 = {
				NOT = {
					has_state_flag = iran_tungsten_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					1001 = {
						has_resistance = yes
					}
				}
				1001 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = iran_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			1001 = {
				set_state_flag = iran_tungsten_I_flag
				add_resource = {
					type = tungsten
					amount = 6
				}
			}
		}
	}

	#Checos: Develop Dúbrava and Pezinok Antimony Mines
	checos_tungsten_I = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 71
			}
		}

		visible = {
			OR = {
				controls_state = 71
				any_country = {
					is_subject_of = ROOT
					controls_state = 71
				}
				ROOT = {
					has_resources_rights = {
						state = 71
						resources = { tungsten }
					}
				}
			}
			71 = {
				NOT = {
					has_state_flag = checos_tungsten_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					71 = {
						has_resistance = yes
					}
				}
				71 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = checos_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			71 = {
				set_state_flag = checos_tungsten_I_flag
				add_resource = {
					type = tungsten
					amount = 10
				}
			}
		}
	}

	#Checos: Open [69.GetName] Tungsten Mines
	checos_tungsten_II = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 69
			}
		}

		visible = {
			OR = {
				controls_state = 69
				any_country = {
					is_subject_of = ROOT
					controls_state = 69
				}
				ROOT = {
					has_resources_rights = {
						state = 69
						resources = { tungsten }
					}
				}
			}
			69 = {
				NOT = {
					has_state_flag = checos_tungsten_II_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					69 = {
						has_resistance = yes
					}
				}
				69 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = checos_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			69 = {
				set_state_flag = checos_tungsten_II_flag
				add_resource = {
					type = tungsten
					amount = 4
				}
			}
		}
	}

	#Malasia: Reopen [333.GetName] Antimony Mines
	malasia_tungsten_I = {

		icon = tungsten
		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 = { tungsten }
					}
				}
			}
			333 = {
				NOT = {
					has_state_flag = malasia_tungsten_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					333 = {
						has_resistance = yes
					}
				}
				333 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = malasia_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			333 = {
				set_state_flag = malasia_tungsten_I_flag
				add_resource = {
					type = tungsten
					amount = 3
				}
			}
		}
	}

	#Zambia: Expand Broken Hill Vanadium Mines
	zambia_tungsten_I = {

		icon = tungsten
		fire_only_once = yes

		highlight_states = {
			highlight_state_targets = {
				state = 771
			}
		}

		visible = {
			OR = {
				controls_state = 771
				any_country = {
					is_subject_of = ROOT
					controls_state = 771
				}
				ROOT = {
					has_resources_rights = {
						state = 771
						resources = { tungsten }
					}
				}
			}
			771 = {
				NOT = {
					has_state_flag = zambia_tungsten_I_flag
				}
			}
		}

		available = {
			if = {
				limit = {
					771 = {
						has_resistance = yes
					}
				}
				771 = {
					resistance < 15
					compliance > 40
				}
			}
			NOT = {
				any_country = {
					has_decision = zambia_tungsten_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 = tungsten
					amount < 1
				}
			}
		}

		remove_effect = {
			771 = {
				set_state_flag = zambia_tungsten_I_flag
				add_resource = {
					type = tungsten
					amount = 5
				}
			}
		}
	}
}