china_Resource_development_decisions = {


	#####################################################
	#######################石油########################## 
	#####################################################


	# 原版决议扩展

	## 大庆油田 4+8+ 52*5 = 272

	develop_daqing_deposits_3 = { #714

		icon = oil

	

		highlight_states = {
			highlight_state_targets = {
				state = 714
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 11
			owns_state = 714
			controls_state = 714
			has_tech = excavation4
		}

		visible = {
			owns_state = 714
			controls_state = 714
			714 = {
				has_state_flag = daqing_oil_developed_2
				NOT = {
					has_state_flag = {
						flag = daqing_oil_developed_3
						value = 5
					}
				}
			}
			has_tech = excavation4
		}

		cost = 25
		days_remove = 60

		modifier = {
			civilian_factory_use = 12
		}


		remove_effect = {
			custom_effect_tooltip = repeatable_decision_tt
			add_to_variable = { var = daqing_oil_developed_3 value = 30 }
			714 = {
				if = {
					limit = {
						NOT = {
							has_state_flag = daqing_oil_developed_3
						}
					}
					set_state_flag = {
						flag = daqing_oil_developed_3
						value = 1
					}
				}
				else = {
					modify_state_flag = {
						flag = daqing_oil_developed_3
						value = 1
					}
				}
			}
			714 = {
				add_resource = {
					type = oil
					amount = 52
				}
			}
		}
		complete_effect = {
			if = {
				limit = {
					check_variable = { var = daqing_oil_developed_3 value = 30 compare = less_than }
				}
				set_variable = { var = daqing_oil_developed_3 value = 30 }
			}
		}

	}


 	# 新决议追加

	## 长庆油田 25+ 20*5 = 125

	develop_changqing_o_deposits = { #744

		icon = oil

	

		highlight_states = {
			highlight_state_targets = {
				state = 744
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 744
			controls_state = 744
			has_tech = excavation3
		}

		visible = {
			owns_state = 744
			controls_state = 744
			has_tech = excavation3
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			744 = {set_state_flag = develop_changqing_o_deposits_flag }
			744 = {
				add_resource = {
					type = oil
					amount = 25
				}
			}
		}

		
	}

	develop_changqing_o_deposits_1 = { #744

		icon = oil

	

		highlight_states = {
			highlight_state_targets = {
				state = 744
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 11
			owns_state = 744
			controls_state = 744
			has_tech = excavation4
		}

		visible = {
			owns_state = 744
			controls_state = 744
			744 = {
				has_state_flag = develop_changqing_o_deposits_flag
				NOT = {
					has_state_flag = {
						flag = develop_changqing_o_deposits_flag_1
						value = 5
					}
				}
			}
			has_tech = excavation4
		}

		cost = 25
		days_remove = 60

		modifier = {
			civilian_factory_use = 12
		}


		remove_effect = {
			custom_effect_tooltip = repeatable_decision_tt
			add_to_variable = { var = develop_changqing_o_deposits_flag_1 value = 30 }
			744 = {
				if = {
					limit = {
						NOT = {
							has_state_flag = develop_changqing_o_deposits_flag_1
						}
					}
					set_state_flag = {
						flag = develop_changqing_o_deposits_flag_1
						value = 1
					}
				}
				else = {
					modify_state_flag = {
						flag = develop_changqing_o_deposits_flag_1
						value = 1
					}
				}
			}
			744 = {
				add_resource = {
					type = oil
					amount = 20
				}
			}
		}
		complete_effect = {
			if = {
				limit = {
					check_variable = { var = develop_changqing_o_deposits_flag_1 value = 30 compare = less_than }
				}
				set_variable = { var = develop_changqing_o_deposits_flag_1 value = 30 }
			}
		}

	}

	## 塔里木油田 18+ 10*2 = 38

	develop_talimu_o_deposits = { #287

		icon = oil

	

		highlight_states = {
			highlight_state_targets = {
				state = 287
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 287
			controls_state = 287
			has_tech = excavation3
		}

		visible = {
			owns_state = 287
			controls_state = 287
			has_tech = excavation3
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			287 = {set_state_flag = develop_talimu_o_deposits_flag }
			287 = {
				add_resource = {
					type = oil
					amount = 18
				}
			}
		}

		
	}

	develop_talimu_o_deposits_1 = { #287

		icon = oil

	

		highlight_states = {
			highlight_state_targets = {
				state = 287
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 11
			owns_state = 287
			controls_state = 287
			has_tech = excavation4
		}

		visible = {
			owns_state = 287
			controls_state = 287
			287 = {
				has_state_flag = develop_talimu_o_deposits_flag
				NOT = {
					has_state_flag = {
						flag = develop_talimu_o_deposits_flag_1
						value = 2
					}
				}
			}
			has_tech = excavation4
		}

		cost = 25
		days_remove = 60

		modifier = {
			civilian_factory_use = 12
		}


		remove_effect = {
			custom_effect_tooltip = repeatable_decision_tt
			add_to_variable = { var = develop_talimu_o_deposits_flag_1 value = 30 }
			287 = {
				if = {
					limit = {
						NOT = {
							has_state_flag = develop_talimu_o_deposits_flag_1
						}
					}
					set_state_flag = {
						flag = develop_talimu_o_deposits_flag_1
						value = 1
					}
				}
				else = {
					modify_state_flag = {
						flag = develop_talimu_o_deposits_flag_1
						value = 1
					}
				}
			}
			287 = {
				add_resource = {
					type = oil
					amount = 10
				}
			}
		}
		complete_effect = {
			if = {
				limit = {
					check_variable = { var = develop_talimu_o_deposits_flag_1 value = 30 compare = less_than }
				}
				set_variable = { var = develop_talimu_o_deposits_flag_1 value = 30 }
			}
		}

	}

	## 胜利油田 48+ 24*5 = 168

	develop_shengli_o_deposits = { #597

		icon = oil

	

		highlight_states = {
			highlight_state_targets = {
				state = 597
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 597
			controls_state = 597
			has_tech = excavation3
		}

		visible = {
			owns_state = 597
			controls_state = 597
			has_tech = excavation3
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			597 = {set_state_flag = develop_shengli_o_deposits_flag }
			597 = {
				add_resource = {
					type = oil
					amount = 48
				}
			}
		}

		
	}

	develop_shengli_o_deposits_1 = { #597

		icon = oil

	

		highlight_states = {
			highlight_state_targets = {
				state = 597
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 11
			owns_state = 597
			controls_state = 597
			has_tech = excavation4
		}

		visible = {
			owns_state = 597
			controls_state = 597
			597 = {
				has_state_flag = develop_shengli_o_deposits_flag
				NOT = {
					has_state_flag = {
						flag = develop_shengli_o_deposits_flag_1
						value = 5
					}
				}
			}
			has_tech = excavation4
		}

		cost = 25
		days_remove = 60

		modifier = {
			civilian_factory_use = 12
		}


		remove_effect = {
			custom_effect_tooltip = repeatable_decision_tt
			add_to_variable = { var = develop_shengli_o_deposits_flag_1 value = 30 }
			597 = {
				if = {
					limit = {
						NOT = {
							has_state_flag = develop_shengli_o_deposits_flag_1
						}
					}
					set_state_flag = {
						flag = develop_shengli_o_deposits_flag_1
						value = 1
					}
				}
				else = {
					modify_state_flag = {
						flag = develop_shengli_o_deposits_flag_1
						value = 1
					}
				}
			}
			597 = {
				add_resource = {
					type = oil
					amount = 24
				}
			}
		}
		complete_effect = {
			if = {
				limit = {
					check_variable = { var = develop_shengli_o_deposits_flag_1 value = 30 compare = less_than }
				}
				set_variable = { var = develop_shengli_o_deposits_flag_1 value = 30 }
			}
		}

	}

	## 延长油田 24+ 20*2 = 64

	develop_yanchang_o_deposits = { #1032

		icon = oil

	

		highlight_states = {
			highlight_state_targets = {
				state = 1032
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 1032
			controls_state = 1032
			has_tech = excavation3
		}

		visible = {
			owns_state = 1032
			controls_state = 1032
			has_tech = excavation3
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			1032 = {set_state_flag = develop_yanchang_o_deposits_flag }
			1032 = {
				add_resource = {
					type = oil
					amount = 24
				}
			}
		}

		
	}

	develop_yanchang_o_deposits_1 = { #1032

		icon = oil

	

		highlight_states = {
			highlight_state_targets = {
				state = 1032
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 11
			owns_state = 1032
			controls_state = 1032
			has_tech = excavation3
		}

		visible = {
			owns_state = 1032
			controls_state = 1032
			1032 = {
				has_state_flag = develop_yanchang_o_deposits_flag
				NOT = {
					has_state_flag = {
						flag = develop_yanchang_o_deposits_flag_1
						value = 2
					}
				}
			}
			has_tech = excavation3
		}

		cost = 25
		days_remove = 60

		modifier = {
			civilian_factory_use = 12
		}


		remove_effect = {
			custom_effect_tooltip = repeatable_decision_tt
			add_to_variable = { var = develop_yanchang_o_deposits_flag_1 value = 30 }
			1032 = {
				if = {
					limit = {
						NOT = {
							has_state_flag = develop_yanchang_o_deposits_flag_1
						}
					}
					set_state_flag = {
						flag = develop_yanchang_o_deposits_flag_1
						value = 1
					}
				}
				else = {
					modify_state_flag = {
						flag = develop_yanchang_o_deposits_flag_1
						value = 1
					}
				}
			}
			1032 = {
				add_resource = {
					type = oil
					amount = 20
				}
			}
		}
		complete_effect = {
			if = {
				limit = {
					check_variable = { var = develop_yanchang_o_deposits_flag_1 value = 30 compare = less_than }
				}
				set_variable = { var = develop_yanchang_o_deposits_flag_1 value = 30 }
			}
		}

	}

	## 克拉玛依油田 13+ 20*3 = 73

	develop_klmy_o_deposits = { #618

		icon = oil

	

		highlight_states = {
			highlight_state_targets = {
				state = 618
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 618
			controls_state = 618
			has_tech = excavation3
		}

		visible = {
			owns_state = 618
			controls_state = 618
			has_tech = excavation3
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			618 = {set_state_flag = develop_klmy_o_deposits_flag }
			618 = {
				add_resource = {
					type = oil
					amount = 13
				}
			}
		}

		
	}
	
	develop_klmy_o_deposits_1 = { #618

		icon = oil

	

		highlight_states = {
			highlight_state_targets = {
				state = 618
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 11
			owns_state = 618
			controls_state = 618
			has_tech = excavation4
		}

		visible = {
			owns_state = 618
			controls_state = 618
			618 = {
				has_state_flag = develop_klmy_o_deposits_flag
				NOT = {
					has_state_flag = {
						flag = develop_klmy_o_deposits_flag_1
						value = 3
					}
				}
			}
			has_tech = excavation4
		}

		cost = 25
		days_remove = 60

		modifier = {
			civilian_factory_use = 12
		}


		remove_effect = {
			custom_effect_tooltip = repeatable_decision_tt
			add_to_variable = { var = develop_klmy_o_deposits_flag_1 value = 30 }
			618 = {
				if = {
					limit = {
						NOT = {
							has_state_flag = develop_klmy_o_deposits_flag_1
						}
					}
					set_state_flag = {
						flag = develop_klmy_o_deposits_flag_1
						value = 1
					}
				}
				else = {
					modify_state_flag = {
						flag = develop_klmy_o_deposits_flag_1
						value = 1
					}
				}
			}
			618 = {
				add_resource = {
					type = oil
					amount = 20
				}
			}
		}
		complete_effect = {
			if = {
				limit = {
					check_variable = { var = develop_klmy_o_deposits_flag_1 value = 30 compare = less_than }
				}
				set_variable = { var = develop_klmy_o_deposits_flag_1 value = 30 }
			}
		}

	}

	## 塔河油田 16+ 10*2 = 36

	develop_tahe_o_deposits = { #617

		icon = oil

	

		highlight_states = {
			highlight_state_targets = {
				state = 617
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 617
			controls_state = 617
			has_tech = excavation5
		}

		visible = {
			owns_state = 617
			controls_state = 617
			has_tech = excavation5
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			617 = {set_state_flag = develop_tahe_o_deposits_flag }
			617 = {
				add_resource = {
					type = oil
					amount = 16
				}
			}
		}

		
	}

	develop_tahe_o_deposits_1 = { #617

		icon = oil

	

		highlight_states = {
			highlight_state_targets = {
				state = 617
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 11
			owns_state = 617
			controls_state = 617
			has_tech = excavation5
		}

		visible = {
			owns_state = 617
			controls_state = 617
			617 = {
				has_state_flag = develop_tahe_o_deposits_flag
				NOT = {
					has_state_flag = {
						flag = develop_tahe_o_deposits_flag_1
						value = 2
					}
				}
			}
			has_tech = excavation5
		}

		cost = 25
		days_remove = 60

		modifier = {
			civilian_factory_use = 12
		}


		remove_effect = {
			custom_effect_tooltip = repeatable_decision_tt
			add_to_variable = { var = develop_tahe_o_deposits_flag_1 value = 30 }
			617 = {
				if = {
					limit = {
						NOT = {
							has_state_flag = develop_tahe_o_deposits_flag_1
						}
					}
					set_state_flag = {
						flag = develop_tahe_o_deposits_flag_1
						value = 1
					}
				}
				else = {
					modify_state_flag = {
						flag = develop_tahe_o_deposits_flag_1
						value = 1
					}
				}
			}
			617 = {
				add_resource = {
					type = oil
					amount = 10
				}
			}
		}
		complete_effect = {
			if = {
				limit = {
					check_variable = { var = develop_tahe_o_deposits_flag_1 value = 30 compare = less_than }
				}
				set_variable = { var = develop_tahe_o_deposits_flag_1 value = 30 }
			}
		}

	}

 	## 大港油田 14+10 = 24

	develop_dagang_o_deposits = { #608

		icon = oil

	

		highlight_states = {
			highlight_state_targets = {
				state = 608
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 608
			controls_state = 608
			has_tech = excavation4
		}

		visible = {
			owns_state = 608
			controls_state = 608
			has_tech = excavation4
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			608 = {set_state_flag = develop_dagang_o_deposits_flag }
			608 = {
				add_resource = {
					type = oil
					amount = 14
				}
			}
		}

		
	}

	develop_dagang_o_deposits_1 = { #608

		icon = oil

	

		highlight_states = {
			highlight_state_targets = {
				state = 608
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 8
			owns_state = 608
			controls_state = 608
			has_tech = excavation4
		}

		visible = {
			owns_state = 608
			controls_state = 608
			608 = {
				has_state_flag = develop_dagang_o_deposits_flag
			}
			has_tech = excavation4
		}

		fire_only_once = yes
		cost = 25
		days_remove = 45

		modifier = {
			civilian_factory_use = 9
		}


		remove_effect = {
			608 = {
				add_resource = {
					type = oil
					amount = 10
				}
			}
		}

		
	}

	## 辽河油田 18+ 20*3 = 78

	develop_liaohe_o_deposits = { #716

		icon = oil

	

		highlight_states = {
			highlight_state_targets = {
				state = 716
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 716
			controls_state = 716
			has_tech = excavation3
		}

		visible = {
			owns_state = 716
			controls_state = 716
			has_tech = excavation3
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			716 = {set_state_flag = develop_liaohe_o_deposits_flag }
			716 = {
				add_resource = {
					type = oil
					amount = 18
				}
			}
		}

		
	}

	develop_liaohe_o_deposits_1 = { #716

		icon = oil

	

		highlight_states = {
			highlight_state_targets = {
				state = 716
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 11
			owns_state = 716
			controls_state = 716
			has_tech = excavation4
		}

		visible = {
			owns_state = 716
			controls_state = 716
			716 = {
				has_state_flag = develop_liaohe_o_deposits_flag
				NOT = {
					has_state_flag = {
						flag = develop_liaohe_o_deposits_flag_1
						value = 3
					}
				}
			}
			has_tech = excavation4
		}

		cost = 25
		days_remove = 60

		modifier = {
			civilian_factory_use = 12
		}


		remove_effect = {
			custom_effect_tooltip = repeatable_decision_tt
			add_to_variable = { var = develop_liaohe_o_deposits_flag_1 value = 30 }
			716 = {
				if = {
					limit = {
						NOT = {
							has_state_flag = develop_liaohe_o_deposits_flag_1
						}
					}
					set_state_flag = {
						flag = develop_liaohe_o_deposits_flag_1
						value = 1
					}
				}
				else = {
					modify_state_flag = {
						flag = develop_liaohe_o_deposits_flag_1
						value = 1
					}
				}
			}
			716 = {
				add_resource = {
					type = oil
					amount = 20
				}
			}
		}
		complete_effect = {
			if = {
				limit = {
					check_variable = { var = develop_liaohe_o_deposits_flag_1 value = 30 compare = less_than }
				}
				set_variable = { var = develop_liaohe_o_deposits_flag_1 value = 30 }
			}
		}

	}

	## 吐哈油田 15

	develop_tuha_o_deposits = { #760

		icon = oil

	

		highlight_states = {
			highlight_state_targets = {
				state = 760
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 760
			controls_state = 760
			has_tech = excavation5
		}

		visible = {
			owns_state = 760
			controls_state = 760
			has_tech = excavation5
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			760 = {
				add_resource = {
					type = oil
					amount = 15
				}
			}
		}

		
	}

	## 河南油田 13

	develop_henan_o_deposits = { #607

		icon = oil

	

		highlight_states = {
			highlight_state_targets = {
				state = 607
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 607
			controls_state = 607
			has_tech = excavation4
		}

		visible = {
			owns_state = 607
			controls_state = 607
			has_tech = excavation4
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			607 = {
				add_resource = {
					type = oil
					amount = 13
				}
			}
		}

		
	}

	## 玉门油田 8

	develop_yumen_o_deposits = { #756

		icon = oil

	

		highlight_states = {
			highlight_state_targets = {
				state = 756
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 756
			controls_state = 756
			has_tech = excavation2
		}

		visible = {
			owns_state = 756
			controls_state = 756
			has_tech = excavation2
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			756 = {
				add_resource = {
					type = oil
					amount = 8
				}
			}
		}

		
	}

	## 尕斯库勒油田 12

	develop_gskl_o_deposits = { #755

		icon = oil

	

		highlight_states = {
			highlight_state_targets = {
				state = 755
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 755
			controls_state = 755
			has_tech = excavation4
		}

		visible = {
			owns_state = 755
			controls_state = 755
			has_tech = excavation4
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			755 = {
				add_resource = {
					type = oil
					amount = 12
				}
			}
		}

		
	}

	## 冷湖油田 15

	develop_lenhu_o_deposits = { #755

		icon = oil

	

		highlight_states = {
			highlight_state_targets = {
				state = 755
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 755
			controls_state = 755
			has_tech = excavation2
		}

		visible = {
			owns_state = 755
			controls_state = 755
			has_tech = excavation2
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			755 = {
				add_resource = {
					type = oil
					amount = 15
				}
			}
		}

		
	}

	## 中原油田 37

	develop_zhongyuan_o_deposits = { #607

		icon = oil

	

		highlight_states = {
			highlight_state_targets = {
				state = 607
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 607
			controls_state = 607
			has_tech = excavation4
		}

		visible = {
			owns_state = 607
			controls_state = 607
			has_tech = excavation4
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			607 = {
				add_resource = {
					type = oil
					amount = 37
				}
			}
		}

		
	}	

	## 任丘油田 27+ 20*3 = 87

	develop_renqiu_o_deposits = { #614

		icon = oil

	

		highlight_states = {
			highlight_state_targets = {
				state = 614
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 614
			controls_state = 614
			has_tech = excavation3
		}

		visible = {
			owns_state = 614
			controls_state = 614
			has_tech = excavation3
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			614 = {set_state_flag = develop_renqiu_o_deposits_flag }
			614 = {
				add_resource = {
					type = oil
					amount = 27
				}
			}
		}

		
	}

	develop_renqiu_o_deposits_1 = { #614

		icon = oil

	

		highlight_states = {
			highlight_state_targets = {
				state = 614
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 11
			owns_state = 614
			controls_state = 614
			has_tech = excavation4
		}

		visible = {
			owns_state = 614
			controls_state = 614
			614 = {
				has_state_flag = develop_renqiu_o_deposits_flag
				NOT = {
					has_state_flag = {
						flag = develop_renqiu_o_deposits_flag_1
						value = 3
					}
				}
			}
			has_tech = excavation4
		}

		cost = 25
		days_remove = 60

		modifier = {
			civilian_factory_use = 12
		}


		remove_effect = {
			custom_effect_tooltip = repeatable_decision_tt
			add_to_variable = { var = develop_renqiu_o_deposits_flag_1 value = 30 }
			614 = {
				if = {
					limit = {
						NOT = {
							has_state_flag = develop_renqiu_o_deposits_flag_1
						}
					}
					set_state_flag = {
						flag = develop_renqiu_o_deposits_flag_1
						value = 1
					}
				}
				else = {
					modify_state_flag = {
						flag = develop_renqiu_o_deposits_flag_1
						value = 1
					}
				}
			}
			614 = {
				add_resource = {
					type = oil
					amount = 20
				}
			}
		}
		complete_effect = {
			if = {
				limit = {
					check_variable = { var = develop_renqiu_o_deposits_flag_1 value = 30 compare = less_than }
				}
				set_variable = { var = develop_renqiu_o_deposits_flag_1 value = 30 }
			}
		}

	}

 	## 吉林油田 35

	develop_jilin_o_deposits = { #328

		icon = oil

	

		highlight_states = {
			highlight_state_targets = {
				state = 328
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 328
			controls_state = 328
			has_tech = excavation2
		}

		visible = {
			owns_state = 328
			controls_state = 328
			has_tech = excavation2
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			328 = {
				add_resource = {
					type = oil
					amount = 35
				}
			}
		}

		
	}

 	## 江苏油田 9

	develop_jiangsu_o_deposits = { #598

		icon = oil

	

		highlight_states = {
			highlight_state_targets = {
				state = 598
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 598
			controls_state = 598
			has_tech = excavation4
		}

		visible = {
			owns_state = 598
			controls_state = 598
			has_tech = excavation4
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			598 = {
				add_resource = {
					type = oil
					amount = 9
				}
			}
		}

		
	}

	## 江汉油田 10

	develop_jianghan_o_deposits = { #620

		icon = oil

	

		highlight_states = {
			highlight_state_targets = {
				state = 620
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 620
			controls_state = 620
			has_tech = excavation2
		}

		visible = {
			owns_state = 620
			controls_state = 620
			has_tech = excavation2
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			620 = {
				add_resource = {
					type = oil
					amount = 10
				}
			}
		}

		
	}

 	## 冀东油田 10
	
	develop_jidon_o_deposits = { #609

		icon = oil

	

		highlight_states = {
			highlight_state_targets = {
				state = 609
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 609
			controls_state = 609
			has_tech = excavation4
		}

		visible = {
			owns_state = 609
			controls_state = 609
			has_tech = excavation4
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			609 = {
				add_resource = {
					type = oil
					amount = 10
				}
			}
		}

		
	}


	#####################################################
	#######################铬矿########################## 
	#####################################################


	# 新决议追加

	## 罗布莎铬铁矿 9 3

	develop_Luobusa_cr_fe_deposits = { #757

		icon = chromium

	

		highlight_states = {
			highlight_state_targets = {
				state = 757
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 757
			controls_state = 757
			has_tech = excavation4
		}

		visible = {
			owns_state = 757
			controls_state = 757
			has_tech = excavation4
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			757 = {
				add_resource = {
					type = chromium
					amount = 9
				}
				add_resource = {
					type = steel
					amount = 3
				}
				
			}
		}

		
	}
	
 	## 那曲铬铁矿 6 2

	develop_Naqu_cr_fe_deposits = { #322

		icon = chromium

	

		highlight_states = {
			highlight_state_targets = {
				state = 322
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 322
			controls_state = 322
			has_tech = excavation4
		}

		visible = {
			owns_state = 322
			controls_state = 322
			has_tech = excavation4
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			322 = {
				add_resource = {
					type = chromium
					amount = 6
				}
				add_resource = {
					type = steel
					amount = 2
				}
				
			}
		}

		
	}

	## 萨尔托海铬铁矿 6 2

	develop_seth_cr_fe_deposits = { #618

		icon = chromium

	

		highlight_states = {
			highlight_state_targets = {
				state = 618
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 618
			controls_state = 618
			has_tech = excavation4
		}

		visible = {
			owns_state = 618
			controls_state = 618
			has_tech = excavation4
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			618 = {
				add_resource = {
					type = chromium
					amount = 6
				}
				add_resource = {
					type = steel
					amount = 2
				}
				
			}
		}

		
	}

 	## 大道尔吉铬铁矿 6 2

	develop_ddej_cr_fe_deposits = { #756

		icon = chromium

	

		highlight_states = {
			highlight_state_targets = {
				state = 756
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 756
			controls_state = 756
			has_tech = excavation3
		}

		visible = {
			owns_state = 756
			controls_state = 756
			has_tech = excavation3
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			756 = {
				add_resource = {
					type = chromium
					amount = 6
				}
				add_resource = {
					type = steel
					amount = 2
				}
				
			}
		}

		
	}

 	## 贺根山——索伦山铬铁矿 3 1 3 1

	develop_hgysl_cr_fe_deposits = { #621and612

		icon = chromium

	

		highlight_states = {
			highlight_state_targets = {
				state = 621
				state = 612
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 621
			controls_state = 621
			owns_state = 612
			controls_state = 612			
			has_tech = excavation2
		}

		visible = {
			owns_state = 621
			controls_state = 621
			owns_state = 612
			controls_state = 612
			has_tech = excavation2
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			621 = {
				add_resource = {
					type = chromium
					amount = 3
				}
				add_resource = {
					type = steel
					amount = 1
				}
				
			}
			612 = {
				add_resource = {
					type = chromium
					amount = 3
				}
				add_resource = {
					type = steel
					amount = 1
				}
				
			}		
		}

		
	}

 	## 玉石沟铬铁矿 1

	develop_ysg_cr_fe_deposits = { #755

		icon = chromium

	

		highlight_states = {
			highlight_state_targets = {
				state = 755
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 755
			controls_state = 755
			has_tech = excavation2
		}

		visible = {
			owns_state = 755
			controls_state = 755
			has_tech = excavation2
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			755 = {
				add_resource = {
					type = chromium
					amount = 1
				}				
			}
		}

		
	}


	#####################################################
	#######################钨矿##########################
	#####################################################


	# 新决议追加

 	## 江西钨矿 132+ 240*5 = 1332

	develop_jx_w_deposits = { #600

		icon = tungsten

	

		highlight_states = {
			highlight_state_targets = {
				state = 600
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 11
			owns_state = 600
			controls_state = 600
			has_tech = excavation2
			##
		}

		visible = {
			owns_state = 600
			controls_state = 600
			600 = {
				has_state_flag = develop_jx_w_deposits_flag
				NOT = {
					has_state_flag = {
						flag = develop_jx_w_deposits_flag_1
						value = 5
					}
				}
			}
			##
			has_tech = excavation2
		}

		cost = 25
		days_remove = 60

		modifier = {
			civilian_factory_use = 12
		}


		remove_effect = {
			custom_effect_tooltip = repeatable_decision_tt
			add_to_variable = { var = develop_jx_w_deposits_flag_1 value = 30 }
			600 = {
				if = {
					limit = {
						NOT = {
							has_state_flag = develop_jx_w_deposits_flag_1
						}
					}
					set_state_flag = {
						flag = develop_jx_w_deposits_flag_1
						value = 1
					}
				}
				else = {
					modify_state_flag = {
						flag = develop_jx_w_deposits_flag_1
						value = 1
					}
				}
			}
			600 = {
				add_resource = {
					type = tungsten
					amount = 240
				}
			}
		}
		complete_effect = {
			if = {
				limit = {
					check_variable = { var = develop_jx_w_deposits_flag_1 value = 30 compare = less_than }
				}
				set_variable = { var = develop_jx_w_deposits_flag_1 value = 30 }
			}
		}

	}

 	## 湖南钨矿 73+ 180*5 = 973

	develop_hunan_w_deposits = { #602

		icon = tungsten

	

		highlight_states = {
			highlight_state_targets = {
				state = 602
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 11
			owns_state = 602
			controls_state = 602
			has_tech = excavation2
			##
		}

		visible = {
			owns_state = 602
			controls_state = 602
			602 = {
				has_state_flag = develop_hunan_w_deposits_flag
				NOT = {
					has_state_flag = {
						flag = develop_hunan_w_deposits_flag_1
						value = 5
					}
				}
			}
			##
			has_tech = excavation2
		}

		cost = 25
		days_remove = 60

		modifier = {
			civilian_factory_use = 12
		}


		remove_effect = {
			custom_effect_tooltip = repeatable_decision_tt
			add_to_variable = { var = develop_hunan_w_deposits_flag_1 value = 30 }
			602 = {
				if = {
					limit = {
						NOT = {
							has_state_flag = develop_hunan_w_deposits_flag_1
						}
					}
					set_state_flag = {
						flag = develop_hunan_w_deposits_flag_1
						value = 1
					}
				}
				else = {
					modify_state_flag = {
						flag = develop_hunan_w_deposits_flag_1
						value = 1
					}
				}
			}
			602 = {
				add_resource = {
					type = tungsten
					amount = 180
				}
			}
		}
		complete_effect = {
			if = {
				limit = {
					check_variable = { var = develop_hunan_w_deposits_flag_1 value = 30 compare = less_than }
				}
				set_variable = { var = develop_hunan_w_deposits_flag_1 value = 30 }
			}
		}

	}

 	## 河南钨矿 63+ 95*4 = 443

	develop_henan_w_deposits = { #607

		icon = tungsten

	

		highlight_states = {
			highlight_state_targets = {
				state = 607
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 11
			owns_state = 607
			controls_state = 607
			has_tech = excavation2
			##
		}

		visible = {
			owns_state = 607
			controls_state = 607
			607 = {
				has_state_flag = develop_henan_w_deposits_flag
				NOT = {
					has_state_flag = {
						flag = develop_henan_w_deposits_flag_1
						value = 4
					}
				}
			}
			##
			has_tech = excavation2
		}

		cost = 25
		days_remove = 60

		modifier = {
			civilian_factory_use = 12
		}


		remove_effect = {
			custom_effect_tooltip = repeatable_decision_tt
			add_to_variable = { var = develop_henan_w_deposits_flag_1 value = 30 }
			607 = {
				if = {
					limit = {
						NOT = {
							has_state_flag = develop_henan_w_deposits_flag_1
						}
					}
					set_state_flag = {
						flag = develop_henan_w_deposits_flag_1
						value = 1
					}
				}
				else = {
					modify_state_flag = {
						flag = develop_henan_w_deposits_flag_1
						value = 1
					}
				}
			}
			607 = {
				add_resource = {
					type = tungsten
					amount = 95
				}
			}
		}
		complete_effect = {
			if = {
				limit = {
					check_variable = { var = develop_henan_w_deposits_flag_1 value = 30 compare = less_than }
				}
				set_variable = { var = develop_henan_w_deposits_flag_1 value = 30 }
			}
		}

	}

 	## 广东钨矿 65+ 100*2 = 265

	develop_guangdon_w_deposits = { #593

		icon = tungsten

	

		highlight_states = {
			highlight_state_targets = {
				state = 593
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 11
			owns_state = 593
			controls_state = 593
			has_tech = excavation2
			##
		}

		visible = {
			owns_state = 593
			controls_state = 593
			593 = {
				has_state_flag = develop_guangdon_w_deposits_flag
				NOT = {
					has_state_flag = {
						flag = develop_guangdon_w_deposits_flag_1
						value = 2
					}
				}
			}
			##
			has_tech = excavation2
		}

		cost = 25
		days_remove = 60

		modifier = {
			civilian_factory_use = 12
		}


		remove_effect = {
			custom_effect_tooltip = repeatable_decision_tt
			add_to_variable = { var = develop_guangdon_w_deposits_flag_1 value = 30 }
			593 = {
				if = {
					limit = {
						NOT = {
							has_state_flag = develop_guangdon_w_deposits_flag_1
						}
					}
					set_state_flag = {
						flag = develop_guangdon_w_deposits_flag_1
						value = 1
					}
				}
				else = {
					modify_state_flag = {
						flag = develop_guangdon_w_deposits_flag_1
						value = 1
					}
				}
			}
			593 = {
				add_resource = {
					type = tungsten
					amount = 100
				}
			}
		}
		complete_effect = {
			if = {
				limit = {
					check_variable = { var = develop_guangdon_w_deposits_flag_1 value = 30 compare = less_than }
				}
				set_variable = { var = develop_guangdon_w_deposits_flag_1 value = 30 }
			}
		}

	}

 	## 麻栗坡——南秧田钨矿 55+ 75*2 = 205

	develop_mlpnyt_w_deposits = { #325

		icon = tungsten

	

		highlight_states = {
			highlight_state_targets = {
				state = 325
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 325
			controls_state = 325
			has_tech = excavation3
			##
		}

		visible = {
			owns_state = 325
			controls_state = 325
			has_tech = excavation3
			##
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			325 = {set_state_flag = develop_mlpnyt_w_deposits_flag }
			325 = {
				add_resource = {
					type = tungsten
					amount = 55
				}
			}
		}

		
	}

	develop_mlpnyt_w_deposits_1 = { #325

		icon = tungsten

	

		highlight_states = {
			highlight_state_targets = {
				state = 325
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 11
			owns_state = 325
			controls_state = 325
			has_tech = excavation4
			##
		}

		visible = {
			owns_state = 325
			controls_state = 325
			325 = {
				has_state_flag = develop_mlpnyt_w_deposits_flag
				NOT = {
					has_state_flag = {
						flag = develop_mlpnyt_w_deposits_flag_1
						value = 2
					}
				}
			}
			##
			has_tech = excavation4
		}

		cost = 25
		days_remove = 60

		modifier = {
			civilian_factory_use = 12
		}


		remove_effect = {
			custom_effect_tooltip = repeatable_decision_tt
			add_to_variable = { var = develop_mlpnyt_w_deposits_flag_1 value = 30 }
			325 = {
				if = {
					limit = {
						NOT = {
							has_state_flag = develop_mlpnyt_w_deposits_flag_1
						}
					}
					set_state_flag = {
						flag = develop_mlpnyt_w_deposits_flag_1
						value = 1
					}
				}
				else = {
					modify_state_flag = {
						flag = develop_mlpnyt_w_deposits_flag_1
						value = 1
					}
				}
			}
			325 = {
				add_resource = {
					type = tungsten
					amount = 75
				}
			}
		}
		complete_effect = {
			if = {
				limit = {
					check_variable = { var = develop_mlpnyt_w_deposits_flag_1 value = 30 compare = less_than }
				}
				set_variable = { var = develop_mlpnyt_w_deposits_flag_1 value = 30 }
			}
		}

	}

 	## 个旧钨矿 43

	develop_gejiu_w_deposits = { #325

		icon = tungsten

	

		highlight_states = {
			highlight_state_targets = {
				state = 325
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 325
			controls_state = 325
			has_tech = excavation4
			##
		}

		visible = {
			owns_state = 325
			controls_state = 325
			has_tech = excavation4
			##
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			325 = {
				add_resource = {
					type = tungsten
					amount = 43
				}
			}
		}

		
	}

	## 行洛坑钨矿 58+ 80*2 = 218

	develop_xlk_w_deposits = { #595

		icon = tungsten

	

		highlight_states = {
			highlight_state_targets = {
				state = 595
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 595
			controls_state = 595
			has_tech = excavation3
			##
		}

		visible = {
			owns_state = 595
			controls_state = 595
			has_tech = excavation3
			##
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			595 = {set_state_flag = develop_xlk_w_deposits_flag }
			595 = {
				add_resource = {
					type = tungsten
					amount = 58
				}
			}
		}

		
	}

	develop_xlk_w_deposits_1 = { #595

		icon = tungsten

	

		highlight_states = {
			highlight_state_targets = {
				state = 595
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 11
			owns_state = 595
			controls_state = 595
			has_tech = excavation3
			##
		}

		visible = {
			owns_state = 595
			controls_state = 595
			595 = {
				has_state_flag = develop_xlk_w_deposits_flag
				NOT = {
					has_state_flag = {
						flag = develop_xlk_w_deposits_flag_1
						value = 2
					}
				}
			}
			##
			has_tech = excavation3
		}

		cost = 25
		days_remove = 60

		modifier = {
			civilian_factory_use = 12
		}


		remove_effect = {
			custom_effect_tooltip = repeatable_decision_tt
			add_to_variable = { var = develop_xlk_w_deposits_flag_1 value = 30 }
			595 = {
				if = {
					limit = {
						NOT = {
							has_state_flag = develop_xlk_w_deposits_flag_1
						}
					}
					set_state_flag = {
						flag = develop_xlk_w_deposits_flag_1
						value = 1
					}
				}
				else = {
					modify_state_flag = {
						flag = develop_xlk_w_deposits_flag_1
						value = 1
					}
				}
			}
			595 = {
				add_resource = {
					type = tungsten
					amount = 80
				}
			}
		}
		complete_effect = {
			if = {
				limit = {
					check_variable = { var = develop_xlk_w_deposits_flag_1 value = 30 compare = less_than }
				}
				set_variable = { var = develop_xlk_w_deposits_flag_1 value = 30 }
			}
		}

	}

	## 栗木钨矿 30+ 40*2 = 110

	develop_limu_w_deposits = { #599

		icon = tungsten

	

		highlight_states = {
			highlight_state_targets = {
				state = 599
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 599
			controls_state = 599
			has_tech = excavation4
			##
		}

		visible = {
			owns_state = 599
			controls_state = 599
			has_tech = excavation4
			##
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			599 = {set_state_flag = develop_limu_w_deposits_flag }
			599 = {
				add_resource = {
					type = tungsten
					amount = 30
				}
			}
		}

		
	}

	develop_limu_w_deposits_1 = { #599

		icon = tungsten

	

		highlight_states = {
			highlight_state_targets = {
				state = 599
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 11
			owns_state = 599
			controls_state = 599
			has_tech = excavation4
			##
		}

		visible = {
			owns_state = 599
			controls_state = 599
			599 = {
				has_state_flag = develop_limu_w_deposits_flag
				NOT = {
					has_state_flag = {
						flag = develop_limu_w_deposits_flag_1
						value = 2
					}
				}
			}
			##
			has_tech = excavation4
		}

		cost = 25
		days_remove = 60

		modifier = {
			civilian_factory_use = 12
		}


		remove_effect = {
			custom_effect_tooltip = repeatable_decision_tt
			add_to_variable = { var = develop_limu_w_deposits_flag_1 value = 30 }
			599 = {
				if = {
					limit = {
						NOT = {
							has_state_flag = develop_limu_w_deposits_flag_1
						}
					}
					set_state_flag = {
						flag = develop_limu_w_deposits_flag_1
						value = 1
					}
				}
				else = {
					modify_state_flag = {
						flag = develop_limu_w_deposits_flag_1
						value = 1
					}
				}
			}
			599 = {
				add_resource = {
					type = tungsten
					amount = 40
				}
			}
		}
		complete_effect = {
			if = {
				limit = {
					check_variable = { var = develop_limu_w_deposits_flag_1 value = 30 compare = less_than }
				}
				set_variable = { var = develop_limu_w_deposits_flag_1 value = 30 }
			}
		}

	}

 	## 油麻坡钨矿 52

	develop_youmapo_w_deposits = { #594

		icon = tungsten

	

		highlight_states = {
			highlight_state_targets = {
				state = 594
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 594
			controls_state = 594
			has_tech = excavation4
			##
		}

		visible = {
			owns_state = 594
			controls_state = 594
			has_tech = excavation4
			##
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			594 = {
				add_resource = {
					type = tungsten
					amount = 52
				}
			}
		}

		
	}

 	## 全州县钨矿 43

	develop_quanzhoxian_w_deposits = { #599

		icon = tungsten

	

		highlight_states = {
			highlight_state_targets = {
				state = 599
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 599
			controls_state = 599
			has_tech = excavation4
			##
		}

		visible = {
			owns_state = 599
			controls_state = 599
			has_tech = excavation4
			##
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			599 = {
				add_resource = {
					type = tungsten
					amount = 43
				}
			}
		}

		
	}

	## 阿尔泰山钨矿 18

	develop_aertaishan_w_deposits = { #618

		icon = tungsten

	

		highlight_states = {
			highlight_state_targets = {
				state = 618
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 618
			controls_state = 618
			has_tech = excavation5
			##
		}

		visible = {
			owns_state = 618
			controls_state = 618
			has_tech = excavation5
			##
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			618 = {
				add_resource = {
					type = tungsten
					amount = 18
				}
			}
		}

		
	}

	## 沙麦钨矿 19

	develop_shamai_w_deposits = { #612

		icon = tungsten

	

		highlight_states = {
			highlight_state_targets = {
				state = 612
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 612
			controls_state = 612
			has_tech = excavation5
			##
		}

		visible = {
			owns_state = 612
			controls_state = 612
			has_tech = excavation5
			##
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			612 = {
				add_resource = {
					type = tungsten
					amount = 19
				}
			}
		}

		
	}

	## 额济纳旗七一山钨矿 16

	develop_ejnqqys_w_deposits = { #1040

		icon = tungsten

	

		highlight_states = {
			highlight_state_targets = {
				state = 1040
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 1040
			controls_state = 1040
			has_tech = excavation4
			##
		}

		visible = {
			owns_state = 1040
			controls_state = 1040
			has_tech = excavation4
			##
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			1040 = {
				add_resource = {
					type = tungsten
					amount = 16
				}
			}
		}

		
	}

 	## 洛南钨矿 17

	develop_luonan_w_deposits = { #1032

		icon = tungsten

	

		highlight_states = {
			highlight_state_targets = {
				state = 1032
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 1032
			controls_state = 1032
			has_tech = excavation4
			##
		}

		visible = {
			owns_state = 1032
			controls_state = 1032
			has_tech = excavation4
			##
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			1032 = {
				add_resource = {
					type = tungsten
					amount = 17
				}
			}
		}

		
	}	

 	## 东阳钨矿 15

	develop_donyang_w_deposits = { #744

		icon = tungsten

	

		highlight_states = {
			highlight_state_targets = {
				state = 744
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 744
			controls_state = 744
			has_tech = excavation4
			##
		}

		visible = {
			owns_state = 744
			controls_state = 744
			has_tech = excavation4
			##
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			744 = {
				add_resource = {
					type = tungsten
					amount = 15
				}
			}
		}

		
	}

 	## 茶籽岭钨矿 18

	develop_chaziling_w_deposits = { #749

		icon = tungsten

	

		highlight_states = {
			highlight_state_targets = {
				state = 749
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 749
			controls_state = 749
			has_tech = excavation4
			##
		}

		visible = {
			owns_state = 749
			controls_state = 749
			has_tech = excavation4
			##
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			749 = {
				add_resource = {
					type = tungsten
					amount = 18
				}
			}
		}

		
	}

 	## 岭脚钨矿 20

	develop_lingjiao_w_deposits = { #749

		icon = tungsten

	

		highlight_states = {
			highlight_state_targets = {
				state = 749
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 749
			controls_state = 749
			has_tech = excavation5
			##
		}

		visible = {
			owns_state = 749
			controls_state = 749
			has_tech = excavation5
			##
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			749 = {
				add_resource = {
					type = tungsten
					amount = 20
				}
			}
		}

		
	}

 	## 小柳沟钨矿 16

	develop_xiaoliugo_w_deposits = { #756

		icon = tungsten

	

		highlight_states = {
			highlight_state_targets = {
				state = 756
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 756
			controls_state = 756
			has_tech = excavation4
			##
		}

		visible = {
			owns_state = 756
			controls_state = 756
			has_tech = excavation4
			##
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			756 = {
				add_resource = {
					type = tungsten
					amount = 16
				}
			}
		}

		
	}

 	## 赫德钨矿 14

	develop_hede_w_deposits = { #752

		icon = tungsten

	

		highlight_states = {
			highlight_state_targets = {
				state = 752
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 752
			controls_state = 752
			has_tech = excavation5
			##
		}

		visible = {
			owns_state = 752
			controls_state = 752
			has_tech = excavation5
			##
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			752 = {
				add_resource = {
					type = tungsten
					amount = 14
				}
			}
		}

		
	}

 	## 哈海岗钨矿 10

	develop_hahaigang_w_deposits = { #757

		icon = tungsten

	

		highlight_states = {
			highlight_state_targets = {
				state = 757
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 757
			controls_state = 757
			has_tech = excavation5
			##
		}

		visible = {
			owns_state = 757
			controls_state = 757
			has_tech = excavation5
			##
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			757 = {
				add_resource = {
					type = tungsten
					amount = 10
				}
			}
		}

		
	}	


	#####################################################
	#######################橡胶########################## 
	#####################################################


	# 新决议追加

 	## 海南橡胶种植园 10+ 10*5 = 60

	develop_hn_xj_deposits = { #591

		icon = rubber

	

		highlight_states = {
			highlight_state_targets = {
				state = 591
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 11
			owns_state = 591
			controls_state = 591
			has_tech = excavation3
			##
		}

		visible = {
			owns_state = 591
			controls_state = 591
			591 = {
				has_state_flag = develop_hn_xj_deposits_flag
				NOT = {
					has_state_flag = {
						flag = develop_hn_xj_deposits_flag_1
						value = 5
					}
				}
			}
			has_tech = excavation3
			##
		}

		cost = 25
		days_remove = 60

		modifier = {
			civilian_factory_use = 12
		}


		remove_effect = {
			custom_effect_tooltip = repeatable_decision_tt
			add_to_variable = { var = develop_hn_xj_deposits_flag_1 value = 30 }
			591 = {
				if = {
					limit = {
						NOT = {
							has_state_flag = develop_hn_xj_deposits_flag_1
						}
					}
					set_state_flag = {
						flag = develop_hn_xj_deposits_flag_1
						value = 1
					}
				}
				else = {
					modify_state_flag = {
						flag = develop_hn_xj_deposits_flag_1
						value = 1
					}
				}
			}
			591 = {
				add_resource = {
					type = rubber
					amount = 10
				}
			}
		}
		complete_effect = {
			if = {
				limit = {
					check_variable = { var = develop_hn_xj_deposits_flag_1 value = 30 compare = less_than }
				}
				set_variable = { var = develop_hn_xj_deposits_flag_1 value = 30 }
			}
		}

	}

 	## 云南橡胶种植园 10+ 10 = 20

	develop_yn_xj_deposits = { #325

		icon = rubber

	

		highlight_states = {
			highlight_state_targets = {
				state = 325
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 325
			controls_state = 325
			has_tech = excavation3
			##
		}

		visible = {
			owns_state = 325
			controls_state = 325
			591 = {
				has_state_flag = develop_hn_xj_deposits_flag
			}			
			has_tech = excavation3
			##
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			325 = {
				add_resource = {
					type = rubber
					amount = 10
				}
			}
		}

		
	}


	#####################################################
	#######################铝矿########################## 
	#####################################################

	
	# 新决议追加

 	## 孝义——交口铝土矿 40+ 30*3 = 130

	develop_xyjk_al_deposits = { #615

		icon = aluminium

	

		highlight_states = {
			highlight_state_targets = {
				state = 615
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 615
			controls_state = 615
			has_tech = excavation3
		}

		visible = {
			owns_state = 615
			controls_state = 615
			has_tech = excavation3
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			615 = {set_state_flag = develop_xyjk_al_deposits_flag }
			615 = {
				add_resource = {
					type = aluminium
					amount = 40
				}
			}
		}

		
	}
	
	develop_xyjk_al_deposits_1 = { #615

		icon = aluminium

	

		highlight_states = {
			highlight_state_targets = {
				state = 615
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 11
			owns_state = 615
			controls_state = 615
			has_tech = excavation4
		}

		visible = {
			owns_state = 615
			controls_state = 615
			615 = {
				has_state_flag = develop_xyjk_al_deposits_flag
				NOT = {
					has_state_flag = {
						flag = develop_xyjk_al_deposits_flag_1
						value = 3
					}
				}
			}
			has_tech = excavation4
		}

		cost = 25
		days_remove = 60

		modifier = {
			civilian_factory_use = 12
		}


		remove_effect = {
			custom_effect_tooltip = repeatable_decision_tt
			add_to_variable = { var = develop_xyjk_al_deposits_flag_1 value = 30 }
			615 = {
				if = {
					limit = {
						NOT = {
							has_state_flag = develop_xyjk_al_deposits_flag_1
						}
					}
					set_state_flag = {
						flag = develop_xyjk_al_deposits_flag_1
						value = 1
					}
				}
				else = {
					modify_state_flag = {
						flag = develop_xyjk_al_deposits_flag_1
						value = 1
					}
				}
			}
			615 = {
				add_resource = {
					type = aluminium
					amount = 30
				}
			}
		}
		complete_effect = {
			if = {
				limit = {
					check_variable = { var = develop_xyjk_al_deposits_flag_1 value = 30 compare = less_than }
				}
				set_variable = { var = develop_xyjk_al_deposits_flag_1 value = 30 }
			}
		}

	}

 	## 平陆铝土矿 13+ 20*2 = 53

	develop_pinglu_al_deposits = { #615

		icon = aluminium

	

		highlight_states = {
			highlight_state_targets = {
				state = 615
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 615
			controls_state = 615
			has_tech = excavation3
		}

		visible = {
			owns_state = 615
			controls_state = 615
			has_tech = excavation3
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			615 = {set_state_flag = develop_pinglu_al_deposits_flag }
			615 = {
				add_resource = {
					type = aluminium
					amount = 13
				}
			}
		}

		
	}
	
	develop_pinglu_al_deposits_1 = { #615

		icon = aluminium

	

		highlight_states = {
			highlight_state_targets = {
				state = 615
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 11
			owns_state = 615
			controls_state = 615
			has_tech = excavation4
		}

		visible = {
			owns_state = 615
			controls_state = 615
			615 = {
				has_state_flag = develop_pinglu_al_deposits_flag
				NOT = {
					has_state_flag = {
						flag = develop_pinglu_al_deposits_flag_1
						value = 2
					}
				}
			}
			has_tech = excavation4
		}

		cost = 25
		days_remove = 60

		modifier = {
			civilian_factory_use = 12
		}


		remove_effect = {
			custom_effect_tooltip = repeatable_decision_tt
			add_to_variable = { var = develop_pinglu_al_deposits_flag_1 value = 30 }
			615 = {
				if = {
					limit = {
						NOT = {
							has_state_flag = develop_pinglu_al_deposits_flag_1
						}
					}
					set_state_flag = {
						flag = develop_pinglu_al_deposits_flag_1
						value = 1
					}
				}
				else = {
					modify_state_flag = {
						flag = develop_pinglu_al_deposits_flag_1
						value = 1
					}
				}
			}
			615 = {
				add_resource = {
					type = aluminium
					amount = 20
				}
			}
		}
		complete_effect = {
			if = {
				limit = {
					check_variable = { var = develop_pinglu_al_deposits_flag_1 value = 30 compare = less_than }
				}
				set_variable = { var = develop_pinglu_al_deposits_flag_1 value = 30 }
			}
		}

	}

 	## 沁源铝土矿 16+ 15*2 = 46

	develop_qinyuan_al_deposits = { #615

		icon = aluminium

	

		highlight_states = {
			highlight_state_targets = {
				state = 615
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 615
			controls_state = 615
			has_tech = excavation3
		}

		visible = {
			owns_state = 615
			controls_state = 615
			has_tech = excavation3
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			615 = {set_state_flag = develop_qinyuan_al_deposits_flag }
			615 = {
				add_resource = {
					type = aluminium
					amount = 16
				}
			}
		}

		
	}
	
	develop_qinyuan_al_deposits_1 = { #615

		icon = aluminium

	

		highlight_states = {
			highlight_state_targets = {
				state = 615
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 11
			owns_state = 615
			controls_state = 615
			has_tech = excavation4
		}

		visible = {
			owns_state = 615
			controls_state = 615
			615 = {
				has_state_flag = develop_qinyuan_al_deposits_flag
				NOT = {
					has_state_flag = {
						flag = develop_qinyuan_al_deposits_flag_1
						value = 2
					}
				}
			}
			has_tech = excavation4
		}

		cost = 25
		days_remove = 60

		modifier = {
			civilian_factory_use = 12
		}


		remove_effect = {
			custom_effect_tooltip = repeatable_decision_tt
			add_to_variable = { var = develop_qinyuan_al_deposits_flag_1 value = 30 }
			615 = {
				if = {
					limit = {
						NOT = {
							has_state_flag = develop_qinyuan_al_deposits_flag_1
						}
					}
					set_state_flag = {
						flag = develop_qinyuan_al_deposits_flag_1
						value = 1
					}
				}
				else = {
					modify_state_flag = {
						flag = develop_qinyuan_al_deposits_flag_1
						value = 1
					}
				}
			}
			615 = {
				add_resource = {
					type = aluminium
					amount = 15
				}
			}
		}
		complete_effect = {
			if = {
				limit = {
					check_variable = { var = develop_qinyuan_al_deposits_flag_1 value = 30 compare = less_than }
				}
				set_variable = { var = develop_qinyuan_al_deposits_flag_1 value = 30 }
			}
		}

	}	

 	## 晋城铝土矿 25+ 20*2 = 65

	develop_jincheng_al_deposits = { #615

		icon = aluminium

	

		highlight_states = {
			highlight_state_targets = {
				state = 615
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 615
			controls_state = 615
			has_tech = excavation3
		}

		visible = {
			owns_state = 615
			controls_state = 615
			has_tech = excavation3
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			615 = {set_state_flag = develop_jincheng_al_deposits_flag }
			615 = {
				add_resource = {
					type = aluminium
					amount = 25
				}
			}
		}

		
	}
	
	develop_jincheng_al_deposits_1 = { #615

		icon = aluminium

	

		highlight_states = {
			highlight_state_targets = {
				state = 615
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 11
			owns_state = 615
			controls_state = 615
			has_tech = excavation4
		}

		visible = {
			owns_state = 615
			controls_state = 615
			615 = {
				has_state_flag = develop_jincheng_al_deposits_flag
				NOT = {
					has_state_flag = {
						flag = develop_jincheng_al_deposits_flag_1
						value = 2
					}
				}
			}
			has_tech = excavation4
		}

		cost = 25
		days_remove = 60

		modifier = {
			civilian_factory_use = 12
		}


		remove_effect = {
			custom_effect_tooltip = repeatable_decision_tt
			add_to_variable = { var = develop_jincheng_al_deposits_flag_1 value = 30 }
			615 = {
				if = {
					limit = {
						NOT = {
							has_state_flag = develop_jincheng_al_deposits_flag_1
						}
					}
					set_state_flag = {
						flag = develop_jincheng_al_deposits_flag_1
						value = 1
					}
				}
				else = {
					modify_state_flag = {
						flag = develop_jincheng_al_deposits_flag_1
						value = 1
					}
				}
			}
			615 = {
				add_resource = {
					type = aluminium
					amount = 20
				}
			}
		}
		complete_effect = {
			if = {
				limit = {
					check_variable = { var = develop_jincheng_al_deposits_flag_1 value = 30 compare = less_than }
				}
				set_variable = { var = develop_jincheng_al_deposits_flag_1 value = 30 }
			}
		}

	}

 	## 阳泉太湖石铝土矿 20

	develop_taihushi_al_deposits = { #615

		icon = aluminium

	

		highlight_states = {
			highlight_state_targets = {
				state = 615
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 615
			controls_state = 615
			has_tech = excavation2
		}

		visible = {
			owns_state = 615
			controls_state = 615
			has_tech = excavation2
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			615 = {
				add_resource = {
					type = aluminium
					amount = 20
				}
			}
		}

		
	}

 	## 宁武宽草坪铝土矿 22

	develop_kuancaoping_al_deposits = { #615

		icon = aluminium

	

		highlight_states = {
			highlight_state_targets = {
				state = 615
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 615
			controls_state = 615
			has_tech = excavation2
		}

		visible = {
			owns_state = 615
			controls_state = 615
			has_tech = excavation2
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


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

		
	}

	## 渑池铝土矿 35+ 25*2 = 85

	develop_mianchi_al_deposits = { #607

		icon = aluminium

	

		highlight_states = {
			highlight_state_targets = {
				state = 607
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 607
			controls_state = 607
			has_tech = excavation3
		}

		visible = {
			owns_state = 607
			controls_state = 607
			has_tech = excavation3
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			607 = {set_state_flag = develop_mianchi_al_deposits_flag }
			607 = {
				add_resource = {
					type = aluminium
					amount = 35
				}
			}
		}

		
	}

	develop_mianchi_al_deposits_1 = { #607

		icon = aluminium

	

		highlight_states = {
			highlight_state_targets = {
				state = 607
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 11
			owns_state = 607
			controls_state = 607
			has_tech = excavation4
		}

		visible = {
			owns_state = 607
			controls_state = 607
			607 = {
				has_state_flag = develop_mianchi_al_deposits_flag
				NOT = {
					has_state_flag = {
						flag = develop_mianchi_al_deposits_flag_1
						value = 2
					}
				}
			}
			has_tech = excavation4
		}

		cost = 25
		days_remove = 60

		modifier = {
			civilian_factory_use = 12
		}


		remove_effect = {
			custom_effect_tooltip = repeatable_decision_tt
			add_to_variable = { var = develop_mianchi_al_deposits_flag_1 value = 30 }
			607 = {
				if = {
					limit = {
						NOT = {
							has_state_flag = develop_mianchi_al_deposits_flag_1
						}
					}
					set_state_flag = {
						flag = develop_mianchi_al_deposits_flag_1
						value = 1
					}
				}
				else = {
					modify_state_flag = {
						flag = develop_mianchi_al_deposits_flag_1
						value = 1
					}
				}
			}
			607 = {
				add_resource = {
					type = aluminium
					amount = 25
				}
			}
		}
		complete_effect = {
			if = {
				limit = {
					check_variable = { var = develop_mianchi_al_deposits_flag_1 value = 30 compare = less_than }
				}
				set_variable = { var = develop_mianchi_al_deposits_flag_1 value = 30 }
			}
		}

	}

 	## 新安——偃师铝土矿 33+ 25*2 = 83

	develop_xays_al_deposits = { #607

		icon = aluminium

	

		highlight_states = {
			highlight_state_targets = {
				state = 607
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 607
			controls_state = 607
			has_tech = excavation2
		}

		visible = {
			owns_state = 607
			controls_state = 607
			has_tech = excavation2
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			607 = {set_state_flag = develop_xays_al_deposits_flag }
			607 = {
				add_resource = {
					type = aluminium
					amount = 33
				}
			}
		}

		
	}

	develop_xays_al_deposits_1 = { #607

		icon = aluminium

	

		highlight_states = {
			highlight_state_targets = {
				state = 607
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 11
			owns_state = 607
			controls_state = 607
			has_tech = excavation3
		}

		visible = {
			owns_state = 607
			controls_state = 607
			607 = {
				has_state_flag = develop_xays_al_deposits_flag
				NOT = {
					has_state_flag = {
						flag = develop_xays_al_deposits_flag_1
						value = 2
					}
				}
			}
			has_tech = excavation3
		}

		cost = 25
		days_remove = 60

		modifier = {
			civilian_factory_use = 12
		}


		remove_effect = {
			custom_effect_tooltip = repeatable_decision_tt
			add_to_variable = { var = develop_xays_al_deposits_flag_1 value = 30 }
			607 = {
				if = {
					limit = {
						NOT = {
							has_state_flag = develop_xays_al_deposits_flag_1
						}
					}
					set_state_flag = {
						flag = develop_xays_al_deposits_flag_1
						value = 1
					}
				}
				else = {
					modify_state_flag = {
						flag = develop_xays_al_deposits_flag_1
						value = 1
					}
				}
			}
			607 = {
				add_resource = {
					type = aluminium
					amount = 25
				}
			}
		}
		complete_effect = {
			if = {
				limit = {
					check_variable = { var = develop_xays_al_deposits_flag_1 value = 30 compare = less_than }
				}
				set_variable = { var = develop_xays_al_deposits_flag_1 value = 30 }
			}
		}

	}

 	## 宝丰——唐沟铝土矿 38+ 25*2 = 88

	develop_bftg_al_deposits = { #607

		icon = aluminium

	

		highlight_states = {
			highlight_state_targets = {
				state = 607
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 607
			controls_state = 607
			has_tech = excavation3
		}

		visible = {
			owns_state = 607
			controls_state = 607
			has_tech = excavation3
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			607 = {set_state_flag = develop_bftg_al_deposits_flag }
			607 = {
				add_resource = {
					type = aluminium
					amount = 38
				}
			}
		}

		
	}
	
	develop_bftg_al_deposits_1 = { #607

		icon = aluminium

	

		highlight_states = {
			highlight_state_targets = {
				state = 607
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 11
			owns_state = 607
			controls_state = 607
			has_tech = excavation4
		}

		visible = {
			owns_state = 607
			controls_state = 607
			607 = {
				has_state_flag = develop_bftg_al_deposits_flag
				NOT = {
					has_state_flag = {
						flag = develop_bftg_al_deposits_flag_1
						value = 2
					}
				}
			}
			has_tech = excavation4
		}

		cost = 25
		days_remove = 60

		modifier = {
			civilian_factory_use = 12
		}


		remove_effect = {
			custom_effect_tooltip = repeatable_decision_tt
			add_to_variable = { var = develop_bftg_al_deposits_flag_1 value = 30 }
			607 = {
				if = {
					limit = {
						NOT = {
							has_state_flag = develop_bftg_al_deposits_flag_1
						}
					}
					set_state_flag = {
						flag = develop_bftg_al_deposits_flag_1
						value = 1
					}
				}
				else = {
					modify_state_flag = {
						flag = develop_bftg_al_deposits_flag_1
						value = 1
					}
				}
			}
			607 = {
				add_resource = {
					type = aluminium
					amount = 25
				}
			}
		}
		complete_effect = {
			if = {
				limit = {
					check_variable = { var = develop_bftg_al_deposits_flag_1 value = 30 compare = less_than }
				}
				set_variable = { var = develop_bftg_al_deposits_flag_1 value = 30 }
			}
		}

	}

	## 修文——清镇铝土矿 25+ 20*4 = 125

	develop_xwqz_al_deposits = { #603

		icon = aluminium

	

		highlight_states = {
			highlight_state_targets = {
				state = 603
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 603
			controls_state = 603
			has_tech = excavation4
		}

		visible = {
			owns_state = 603
			controls_state = 603
			has_tech = excavation4
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			603 = {set_state_flag = develop_xwqz_al_deposits_flag }
			603 = {
				add_resource = {
					type = aluminium
					amount = 25
				}
			}
		}

		
	}
	
	develop_xwqz_al_deposits_1 = { #603

		icon = aluminium

	

		highlight_states = {
			highlight_state_targets = {
				state = 603
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 11
			owns_state = 603
			controls_state = 603
			has_tech = excavation5
		}

		visible = {
			owns_state = 603
			controls_state = 603
			603 = {
				has_state_flag = develop_xwqz_al_deposits_flag
				NOT = {
					has_state_flag = {
						flag = develop_xwqz_al_deposits_flag_1
						value = 4
					}
				}
			}
			has_tech = excavation5
		}

		cost = 25
		days_remove = 60

		modifier = {
			civilian_factory_use = 12
		}


		remove_effect = {
			custom_effect_tooltip = repeatable_decision_tt
			add_to_variable = { var = develop_xwqz_al_deposits_flag_1 value = 30 }
			603 = {
				if = {
					limit = {
						NOT = {
							has_state_flag = develop_xwqz_al_deposits_flag_1
						}
					}
					set_state_flag = {
						flag = develop_xwqz_al_deposits_flag_1
						value = 1
					}
				}
				else = {
					modify_state_flag = {
						flag = develop_xwqz_al_deposits_flag_1
						value = 1
					}
				}
			}
			603 = {
				add_resource = {
					type = aluminium
					amount = 20
				}
			}
		}
		complete_effect = {
			if = {
				limit = {
					check_variable = { var = develop_xwqz_al_deposits_flag_1 value = 30 compare = less_than }
				}
				set_variable = { var = develop_xwqz_al_deposits_flag_1 value = 30 }
			}
		}

	}

 	## 大竹园——播州铝土矿 15+ 15*4 = 75

	develop_dzybz_al_deposits = { #748

		icon = aluminium

	

		highlight_states = {
			highlight_state_targets = {
				state = 748
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 748
			controls_state = 748
			has_tech = excavation4
		}

		visible = {
			owns_state = 748
			controls_state = 748
			has_tech = excavation4
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			748 = {set_state_flag = develop_dzybz_al_deposits_flag }
			748 = {
				add_resource = {
					type = aluminium
					amount = 15
				}
			}
		}

		
	}
	
	develop_dzybz_al_deposits_1 = { #748

		icon = aluminium

	

		highlight_states = {
			highlight_state_targets = {
				state = 748
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 11
			owns_state = 748
			controls_state = 748
			has_tech = excavation5
		}

		visible = {
			owns_state = 748
			controls_state = 748
			748 = {
				has_state_flag = develop_dzybz_al_deposits_flag
				NOT = {
					has_state_flag = {
						flag = develop_dzybz_al_deposits_flag_1
						value = 4
					}
				}
			}
			has_tech = excavation5
		}

		cost = 25
		days_remove = 60

		modifier = {
			civilian_factory_use = 12
		}


		remove_effect = {
			custom_effect_tooltip = repeatable_decision_tt
			add_to_variable = { var = develop_dzybz_al_deposits_flag_1 value = 30 }
			748 = {
				if = {
					limit = {
						NOT = {
							has_state_flag = develop_dzybz_al_deposits_flag_1
						}
					}
					set_state_flag = {
						flag = develop_dzybz_al_deposits_flag_1
						value = 1
					}
				}
				else = {
					modify_state_flag = {
						flag = develop_dzybz_al_deposits_flag_1
						value = 1
					}
				}
			}
			748 = {
				add_resource = {
					type = aluminium
					amount = 15
				}
			}
		}
		complete_effect = {
			if = {
				limit = {
					check_variable = { var = develop_dzybz_al_deposits_flag_1 value = 30 compare = less_than }
				}
				set_variable = { var = develop_dzybz_al_deposits_flag_1 value = 30 }
			}
		}

	}

 	## 百色铝土矿 50+ 42*5 = 260

	develop_baise_al_deposits = { #594

		icon = aluminium

	

		highlight_states = {
			highlight_state_targets = {
				state = 594
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 594
			controls_state = 594
			has_tech = excavation4
		}

		visible = {
			owns_state = 594
			controls_state = 594
			has_tech = excavation4
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			594 = {set_state_flag = develop_baise_al_deposits_flag }
			594 = {
				add_resource = {
					type = aluminium
					amount = 50
				}
			}
		}

		
	}
	
	develop_baise_al_deposits_1 = { #594

		icon = aluminium

	

		highlight_states = {
			highlight_state_targets = {
				state = 594
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 11
			owns_state = 594
			controls_state = 594
			has_tech = excavation5
		}

		visible = {
			owns_state = 594
			controls_state = 594
			594 = {
				has_state_flag = develop_baise_al_deposits_flag
				NOT = {
					has_state_flag = {
						flag = develop_baise_al_deposits_flag_1
						value = 5
					}
				}
			}
			has_tech = excavation5
		}

		cost = 25
		days_remove = 60

		modifier = {
			civilian_factory_use = 12
		}


		remove_effect = {
			custom_effect_tooltip = repeatable_decision_tt
			add_to_variable = { var = develop_baise_al_deposits_flag_1 value = 30 }
			594 = {
				if = {
					limit = {
						NOT = {
							has_state_flag = develop_baise_al_deposits_flag_1
						}
					}
					set_state_flag = {
						flag = develop_baise_al_deposits_flag_1
						value = 1
					}
				}
				else = {
					modify_state_flag = {
						flag = develop_baise_al_deposits_flag_1
						value = 1
					}
				}
			}
			594 = {
				add_resource = {
					type = aluminium
					amount = 42
				}
			}
		}
		complete_effect = {
			if = {
				limit = {
					check_variable = { var = develop_baise_al_deposits_flag_1 value = 30 compare = less_than }
				}
				set_variable = { var = develop_baise_al_deposits_flag_1 value = 30 }
			}
		}

	}

 	## 文山州铝土矿 25+ 20*2 = 65

	develop_wsz_al_deposits = { #325

		icon = aluminium

	

		highlight_states = {
			highlight_state_targets = {
				state = 325
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 325
			controls_state = 325
			has_tech = excavation4
		}

		visible = {
			owns_state = 325
			controls_state = 325
			has_tech = excavation4
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			325 = {set_state_flag = develop_wsz_al_deposits_flag }
			325 = {
				add_resource = {
					type = aluminium
					amount = 25
				}
			}
		}

		
	}

	develop_wsz_al_deposits_1 = { #325

		icon = aluminium

	

		highlight_states = {
			highlight_state_targets = {
				state = 325
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 11
			owns_state = 325
			controls_state = 325
			has_tech = excavation4
		}

		visible = {
			owns_state = 325
			controls_state = 325
			325 = {
				has_state_flag = develop_wsz_al_deposits_flag
				NOT = {
					has_state_flag = {
						flag = develop_wsz_al_deposits_flag_1
						value = 2
					}
				}
			}
			has_tech = excavation4
		}

		cost = 25
		days_remove = 60

		modifier = {
			civilian_factory_use = 12
		}


		remove_effect = {
			custom_effect_tooltip = repeatable_decision_tt
			add_to_variable = { var = develop_wsz_al_deposits_flag_1 value = 30 }
			325 = {
				if = {
					limit = {
						NOT = {
							has_state_flag = develop_wsz_al_deposits_flag_1
						}
					}
					set_state_flag = {
						flag = develop_wsz_al_deposits_flag_1
						value = 1
					}
				}
				else = {
					modify_state_flag = {
						flag = develop_wsz_al_deposits_flag_1
						value = 1
					}
				}
			}
			325 = {
				add_resource = {
					type = aluminium
					amount = 25
				}
			}
		}
		complete_effect = {
			if = {
				limit = {
					check_variable = { var = develop_wsz_al_deposits_flag_1 value = 30 compare = less_than }
				}
				set_variable = { var = develop_wsz_al_deposits_flag_1 value = 30 }
			}
		}

	}

 	## 昭通铝土矿 32

	develop_zhaot_al_deposits = { #325

		icon = aluminium

	

		highlight_states = {
			highlight_state_targets = {
				state = 325
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 325
			controls_state = 325
			has_tech = excavation3
		}

		visible = {
			owns_state = 325
			controls_state = 325
			has_tech = excavation3
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			325 = {
				add_resource = {
					type = aluminium
					amount = 32
				}
			}
		}

		
	}

 	## 吉地坪——大黑山铝土矿 18

	develop_jdtdhs_al_deposits = { #747

		icon = aluminium

	

		highlight_states = {
			highlight_state_targets = {
				state = 747
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 747
			controls_state = 747
			has_tech = excavation2
		}

		visible = {
			owns_state = 747
			controls_state = 747
			has_tech = excavation2
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			747 = {
				add_resource = {
					type = aluminium
					amount = 18
				}
			}
		}

		
	}

 	## 重庆铝土矿 16+ 15*2 = 46 

	develop_chongqing_al_deposits = { #1037

		icon = aluminium

	

		highlight_states = {
			highlight_state_targets = {
				state = 1037
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 1037
			controls_state = 1037
			has_tech = excavation3
		}

		visible = {
			owns_state = 1037
			controls_state = 1037
			has_tech = excavation3
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			1037 = {set_state_flag = develop_chongqing_al_deposits_flag }
			1037 = {
				add_resource = {
					type = aluminium
					amount = 16
				}
			}
		}

		
	}

	develop_chongqing_al_deposits_1 = { #1037

		icon = aluminium

	

		highlight_states = {
			highlight_state_targets = {
				state = 1037
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 11
			owns_state = 1037
			controls_state = 1037
			has_tech = excavation4
		}

		visible = {
			owns_state = 1037
			controls_state = 1037
			1037 = {
				has_state_flag = develop_chongqing_al_deposits_flag
				NOT = {
					has_state_flag = {
						flag = develop_chongqing_al_deposits_flag_1
						value = 2
					}
				}
			}
			has_tech = excavation4
		}

		cost = 25
		days_remove = 60

		modifier = {
			civilian_factory_use = 12
		}


		remove_effect = {
			custom_effect_tooltip = repeatable_decision_tt
			add_to_variable = { var = develop_chongqing_al_deposits_flag_1 value = 30 }
			1037 = {
				if = {
					limit = {
						NOT = {
							has_state_flag = develop_chongqing_al_deposits_flag_1
						}
					}
					set_state_flag = {
						flag = develop_chongqing_al_deposits_flag_1
						value = 1
					}
				}
				else = {
					modify_state_flag = {
						flag = develop_chongqing_al_deposits_flag_1
						value = 1
					}
				}
			}
			1037 = {
				add_resource = {
					type = aluminium
					amount = 15
				}
			}
		}
		complete_effect = {
			if = {
				limit = {
					check_variable = { var = develop_chongqing_al_deposits_flag_1 value = 30 compare = less_than }
				}
				set_variable = { var = develop_chongqing_al_deposits_flag_1 value = 30 }
			}
		}

	}

 	## 淄博——枣庄铝土矿 24+ 20*2 = 64 

	develop_zbzz_al_deposits = { #1038

		icon = aluminium

	

		highlight_states = {
			highlight_state_targets = {
				state = 1038
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 1038
			controls_state = 1038
			has_tech = excavation3
		}

		visible = {
			owns_state = 1038
			controls_state = 1038
			has_tech = excavation3
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			1038 = {set_state_flag = develop_zbzz_al_deposits_flag }
			1038 = {
				add_resource = {
					type = aluminium
					amount = 24
				}
			}
		}

		
	}

	develop_zbzz_al_deposits_1 = { #1038

		icon = aluminium

	

		highlight_states = {
			highlight_state_targets = {
				state = 1038
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 11
			owns_state = 1038
			controls_state = 1038
			has_tech = excavation4
		}

		visible = {
			owns_state = 1038
			controls_state = 1038
			1038 = {
				has_state_flag = develop_zbzz_al_deposits_flag
				NOT = {
					has_state_flag = {
						flag = develop_zbzz_al_deposits_flag_1
						value = 2
					}
				}
			}
			has_tech = excavation4
		}

		cost = 25
		days_remove = 60

		modifier = {
			civilian_factory_use = 12
		}


		remove_effect = {
			custom_effect_tooltip = repeatable_decision_tt
			add_to_variable = { var = develop_zbzz_al_deposits_flag_1 value = 30 }
			1038 = {
				if = {
					limit = {
						NOT = {
							has_state_flag = develop_zbzz_al_deposits_flag_1
						}
					}
					set_state_flag = {
						flag = develop_zbzz_al_deposits_flag_1
						value = 1
					}
				}
				else = {
					modify_state_flag = {
						flag = develop_zbzz_al_deposits_flag_1
						value = 1
					}
				}
			}
			1038 = {
				add_resource = {
					type = aluminium
					amount = 20
				}
			}
		}
		complete_effect = {
			if = {
				limit = {
					check_variable = { var = develop_zbzz_al_deposits_flag_1 value = 30 compare = less_than }
				}
				set_variable = { var = develop_zbzz_al_deposits_flag_1 value = 30 }
			}
		}

	}

 	## 蓬莱铝土矿 14 

	develop_penglai_al_deposits = { #591

		icon = aluminium

	

		highlight_states = {
			highlight_state_targets = {
				state = 591
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 591
			controls_state = 591
			has_tech = excavation2
		}

		visible = {
			owns_state = 591
			controls_state = 591
			has_tech = excavation2
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			591 = {
				add_resource = {
					type = aluminium
					amount = 14
				}
			}
		}

		
	}


	#####################################################
	#######################煤矿########################## 
	#####################################################


	## 山西煤矿 26+ 185*5 = 951

	develop_shanxi_c_deposits = { #615

		icon = coal

	

		highlight_states = {
			highlight_state_targets = {
				state = 615
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 615
			controls_state = 615
			has_tech = excavation2
		}

		visible = {
			owns_state = 615
			controls_state = 615
			has_tech = excavation2
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			615 = {set_state_flag = develop_shanxi_c_deposits_flag }
			615 = {
				add_resource = {
					type = coal
					amount = 26
				}
			}
		}

		
	}

	develop_shanxi_c_deposits_1 = { #615

		icon = coal

	

		highlight_states = {
			highlight_state_targets = {
				state = 615
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 11
			owns_state = 615
			controls_state = 615
			has_tech = excavation3
		}

		visible = {
			owns_state = 615
			controls_state = 615
			615 = {
				has_state_flag = develop_shanxi_c_deposits_flag
				NOT = {
					has_state_flag = {
						flag = develop_shanxi_c_deposits_flag_1
						value = 5
					}
				}
			}
			has_tech = excavation3
		}

		cost = 25
		days_remove = 60

		modifier = {
			civilian_factory_use = 12
		}


		remove_effect = {
			custom_effect_tooltip = repeatable_decision_tt
			add_to_variable = { var = develop_shanxi_c_deposits_flag_1 value = 30 }
			615 = {
				if = {
					limit = {
						NOT = {
							has_state_flag = develop_shanxi_c_deposits_flag_1
						}
					}
					set_state_flag = {
						flag = develop_shanxi_c_deposits_flag_1
						value = 1
					}
				}
				else = {
					modify_state_flag = {
						flag = develop_shanxi_c_deposits_flag_1
						value = 1
					}
				}
			}
			615 = {
				add_resource = {
					type = coal
					amount = 185
				}
			}
		}
		complete_effect = {
			if = {
				limit = {
					check_variable = { var = develop_shanxi_c_deposits_flag_1 value = 30 compare = less_than }
				}
				set_variable = { var = develop_shanxi_c_deposits_flag_1 value = 30 }
			}
		}

	}

 	## 辽宁煤矿 23+ 55*2 = 133

	develop_liaoning_c_deposits = { #716

		icon = coal

	

		highlight_states = {
			highlight_state_targets = {
				state = 716
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 716
			controls_state = 716
			has_tech = excavation2
		}

		visible = {
			owns_state = 716
			controls_state = 716
			has_tech = excavation2
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			716 = {set_state_flag = develop_liaoning_c_deposits_flag }
			716 = {
				add_resource = {
					type = coal
					amount = 23
				}
			}
		}

		
	}
	
	develop_liaoning_c_deposits_1 = { #716

		icon = coal

	

		highlight_states = {
			highlight_state_targets = {
				state = 716
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 11
			owns_state = 716
			controls_state = 716
			has_tech = excavation3
		}

		visible = {
			owns_state = 716
			controls_state = 716
			716 = {
				has_state_flag = develop_liaoning_c_deposits_flag
				NOT = {
					has_state_flag = {
						flag = develop_liaoning_c_deposits_flag_1
						value = 2
					}
				}
			}
			has_tech = excavation3
		}

		cost = 25
		days_remove = 60

		modifier = {
			civilian_factory_use = 12
		}


		remove_effect = {
			custom_effect_tooltip = repeatable_decision_tt
			add_to_variable = { var = develop_liaoning_c_deposits_flag_1 value = 30 }
			716 = {
				if = {
					limit = {
						NOT = {
							has_state_flag = develop_liaoning_c_deposits_flag_1
						}
					}
					set_state_flag = {
						flag = develop_liaoning_c_deposits_flag_1
						value = 1
					}
				}
				else = {
					modify_state_flag = {
						flag = develop_liaoning_c_deposits_flag_1
						value = 1
					}
				}
			}
			716 = {
				add_resource = {
					type = coal
					amount = 55
				}
			}
		}
		complete_effect = {
			if = {
				limit = {
					check_variable = { var = develop_liaoning_c_deposits_flag_1 value = 30 compare = less_than }
				}
				set_variable = { var = develop_liaoning_c_deposits_flag_1 value = 30 }
			}
		}

	}

 	## 河南煤矿 22+ 50*2 = 122

	develop_henan_c_deposits = { #607

		icon = coal

	

		highlight_states = {
			highlight_state_targets = {
				state = 607
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 607
			controls_state = 607
			has_tech = excavation3
		}

		visible = {
			owns_state = 607
			controls_state = 607
			has_tech = excavation3
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			607 = {set_state_flag = develop_henan_c_deposits_flag }
			607 = {
				add_resource = {
					type = coal
					amount = 22
				}
			}
		}

		
	}

	develop_henan_c_deposits_1 = { #607

		icon = coal

	

		highlight_states = {
			highlight_state_targets = {
				state = 607
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 11
			owns_state = 607
			controls_state = 607
			has_tech = excavation4
		}

		visible = {
			owns_state = 607
			controls_state = 607
			607 = {
				has_state_flag = develop_henan_c_deposits_flag
				NOT = {
					has_state_flag = {
						flag = develop_henan_c_deposits_flag_1
						value = 2
					}
				}
			}
			has_tech = excavation4
		}

		cost = 25
		days_remove = 60

		modifier = {
			civilian_factory_use = 12
		}


		remove_effect = {
			custom_effect_tooltip = repeatable_decision_tt
			add_to_variable = { var = develop_henan_c_deposits_flag_1 value = 30 }
			607 = {
				if = {
					limit = {
						NOT = {
							has_state_flag = develop_henan_c_deposits_flag_1
						}
					}
					set_state_flag = {
						flag = develop_henan_c_deposits_flag_1
						value = 1
					}
				}
				else = {
					modify_state_flag = {
						flag = develop_henan_c_deposits_flag_1
						value = 1
					}
				}
			}
			607 = {
				add_resource = {
					type = coal
					amount = 50
				}
			}
		}
		complete_effect = {
			if = {
				limit = {
					check_variable = { var = develop_henan_c_deposits_flag_1 value = 30 compare = less_than }
				}
				set_variable = { var = develop_henan_c_deposits_flag_1 value = 30 }
			}
		}

	}

 	## 双鸭山——鸡西煤矿 8+ 35*2 = 78

	develop_sysjx_c_deposits = { #717

		icon = coal

	

		highlight_states = {
			highlight_state_targets = {
				state = 717
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 717
			controls_state = 717
			has_tech = excavation3
		}

		visible = {
			owns_state = 717
			controls_state = 717
			has_tech = excavation3
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			717 = {set_state_flag = develop_sysjx_c_deposits_flag }
			717 = {
				add_resource = {
					type = coal
					amount = 8
				}
			}
		}

		
	}

	develop_sysjx_c_deposits_1 = { #717

		icon = coal

	

		highlight_states = {
			highlight_state_targets = {
				state = 717
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 11
			owns_state = 717
			controls_state = 717
			has_tech = excavation3
		}

		visible = {
			owns_state = 717
			controls_state = 717
			717 = {
				has_state_flag = develop_sysjx_c_deposits_flag
				NOT = {
					has_state_flag = {
						flag = develop_sysjx_c_deposits_flag_1
						value = 2
					}
				}
			}
			has_tech = excavation3
		}

		cost = 25
		days_remove = 60

		modifier = {
			civilian_factory_use = 12
		}


		remove_effect = {
			custom_effect_tooltip = repeatable_decision_tt
			add_to_variable = { var = develop_sysjx_c_deposits_flag_1 value = 30 }
			717 = {
				if = {
					limit = {
						NOT = {
							has_state_flag = develop_sysjx_c_deposits_flag_1
						}
					}
					set_state_flag = {
						flag = develop_sysjx_c_deposits_flag_1
						value = 1
					}
				}
				else = {
					modify_state_flag = {
						flag = develop_sysjx_c_deposits_flag_1
						value = 1
					}
				}
			}
			717 = {
				add_resource = {
					type = coal
					amount = 35
				}
			}
		}
		complete_effect = {
			if = {
				limit = {
					check_variable = { var = develop_sysjx_c_deposits_flag_1 value = 30 compare = less_than }
				}
				set_variable = { var = develop_sysjx_c_deposits_flag_1 value = 30 }
			}
		}

	}

 	## 鹤岗煤矿 31

	develop_hegang_c_deposits = { #714

		icon = coal

	

		highlight_states = {
			highlight_state_targets = {
				state = 714
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 714
			controls_state = 714
			has_tech = excavation2
		}

		visible = {
			owns_state = 714
			controls_state = 714
			has_tech = excavation2
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			714 = {
				add_resource = {
					type = coal
					amount = 31
				}
			}
		}

		
	}

 	## 新汶煤矿 30

	develop_xwen_c_deposits = { #1038

		icon = coal

	

		highlight_states = {
			highlight_state_targets = {
				state = 1038
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 1038
			controls_state = 1038
			has_tech = excavation5
		}

		visible = {
			owns_state = 1038
			controls_state = 1038
			has_tech = excavation5
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			1038 = {
				add_resource = {
					type = coal
					amount = 30
				}
			}
		}

		
	}

 	## 枣庄煤矿 25

	develop_zaoz_c_deposits = { #1038

		icon = coal

	

		highlight_states = {
			highlight_state_targets = {
				state = 1038
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 1038
			controls_state = 1038
			has_tech = excavation3
		}

		visible = {
			owns_state = 1038
			controls_state = 1038
			has_tech = excavation3
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			1038 = {
				add_resource = {
					type = coal
					amount = 25
				}
			}
		}

		
	}

 	## 淄博煤矿 25

	develop_zib_c_deposits = { #1038

		icon = coal

	

		highlight_states = {
			highlight_state_targets = {
				state = 1038
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 1038
			controls_state = 1038
			has_tech = excavation3
		}

		visible = {
			owns_state = 1038
			controls_state = 1038
			has_tech = excavation3
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			1038 = {
				add_resource = {
					type = coal
					amount = 25
				}
			}
		}

		
	}

 	## 唐山煤矿 40

	develop_tangshan_c_deposits = { #609

		icon = coal

	

		highlight_states = {
			highlight_state_targets = {
				state = 609
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 609
			controls_state = 609
			has_tech = excavation2
		}

		visible = {
			owns_state = 609
			controls_state = 609
			has_tech = excavation2
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			609 = {
				add_resource = {
					type = coal
					amount = 40
				}
			}
		}

		
	}

 	## 邯郸煤矿 31

	develop_tandan_c_deposits = { #607

		icon = coal

	

		highlight_states = {
			highlight_state_targets = {
				state = 607
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 607
			controls_state = 607
			has_tech = excavation4
		}

		visible = {
			owns_state = 607
			controls_state = 607
			has_tech = excavation4
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			607 = {
				add_resource = {
					type = coal
					amount = 31
				}
			}
		}

		
	}

 	## 重庆煤矿 35

	develop_cq_c_deposits = { #1037

		icon = coal

	

		highlight_states = {
			highlight_state_targets = {
				state = 1037
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 1037
			controls_state = 1037
			has_tech = excavation4
		}

		visible = {
			owns_state = 1037
			controls_state = 1037
			has_tech = excavation4
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			1037 = {
				add_resource = {
					type = coal
					amount = 35
				}
			}
		}

		
	}

 	## 铜川煤矿 30

	develop_tchuan_c_deposits = { #744

		icon = coal

	

		highlight_states = {
			highlight_state_targets = {
				state = 744
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 744
			controls_state = 744
			has_tech = excavation4
		}

		visible = {
			owns_state = 744
			controls_state = 744
			has_tech = excavation4
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			744 = {
				add_resource = {
					type = coal
					amount = 30
				}
			}
		}

		
	}

 	## 宁夏煤矿 30

	develop_nxia_c_deposits = { #616

		icon = coal

	

		highlight_states = {
			highlight_state_targets = {
				state = 616
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 616
			controls_state = 616
			has_tech = excavation5
		}

		visible = {
			owns_state = 616
			controls_state = 616
			has_tech = excavation5
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			616 = {
				add_resource = {
					type = coal
					amount = 30
				}
			}
		}

		
	}

 	## 江西煤矿 20

	develop_jiangxi_c_deposits = { #600

		icon = coal

	

		highlight_states = {
			highlight_state_targets = {
				state = 600
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 600
			controls_state = 600
			has_tech = excavation3
		}

		visible = {
			owns_state = 600
			controls_state = 600
			has_tech = excavation3
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			600 = {
				add_resource = {
					type = coal
					amount = 20
				}
			}
		}

		
	}

 	## 鄂尔多斯煤矿 18+ 120*5 = 618

	develop_eerduosi_c_deposits = { #746

		icon = coal

	

		highlight_states = {
			highlight_state_targets = {
				state = 746
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 746
			controls_state = 746
			has_tech = excavation4
		}

		visible = {
			owns_state = 746
			controls_state = 746
			has_tech = excavation4
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			746 = {set_state_flag = develop_eerduosi_c_deposits_flag }
			746 = {
				add_resource = {
					type = coal
					amount = 18
				}
			}
		}

		
	}
	
	develop_eerduosi_c_deposits_1 = { #746

		icon = coal

	

		highlight_states = {
			highlight_state_targets = {
				state = 746
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 11
			owns_state = 746
			controls_state = 746
			has_tech = excavation5
		}

		visible = {
			owns_state = 746
			controls_state = 746
			746 = {
				has_state_flag = develop_eerduosi_c_deposits_flag
				NOT = {
					has_state_flag = {
						flag = develop_eerduosi_c_deposits_flag_1
						value = 5
					}
				}
			}
			has_tech = excavation5
		}

		cost = 25
		days_remove = 60

		modifier = {
			civilian_factory_use = 12
		}


		remove_effect = {
			custom_effect_tooltip = repeatable_decision_tt
			add_to_variable = { var = develop_eerduosi_c_deposits_flag_1 value = 30 }
			746 = {
				if = {
					limit = {
						NOT = {
							has_state_flag = develop_eerduosi_c_deposits_flag_1
						}
					}
					set_state_flag = {
						flag = develop_eerduosi_c_deposits_flag_1
						value = 1
					}
				}
				else = {
					modify_state_flag = {
						flag = develop_eerduosi_c_deposits_flag_1
						value = 1
					}
				}
			}
			746 = {
				add_resource = {
					type = coal
					amount = 120
				}
			}
		}
		complete_effect = {
			if = {
				limit = {
					check_variable = { var = develop_eerduosi_c_deposits_flag_1 value = 30 compare = less_than }
				}
				set_variable = { var = develop_eerduosi_c_deposits_flag_1 value = 30 }
			}
		}

	}

 	## 呼伦贝尔煤矿 14+ 38*5 = 204

	develop_hlber_c_deposits = { #761

		icon = coal

	

		highlight_states = {
			highlight_state_targets = {
				state = 761
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 761
			controls_state = 761
			has_tech = excavation3
		}

		visible = {
			owns_state = 761
			controls_state = 761
			has_tech = excavation3
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			761 = {set_state_flag = develop_hlber_c_deposits_flag }
			761 = {
				add_resource = {
					type = coal
					amount = 14
				}
			}
		}

		
	}
	
	develop_hlber_c_deposits_1 = { #761

		icon = coal

	

		highlight_states = {
			highlight_state_targets = {
				state = 761
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 11
			owns_state = 761
			controls_state = 761
			has_tech = excavation4
		}

		visible = {
			owns_state = 761
			controls_state = 761
			761 = {
				has_state_flag = develop_hlber_c_deposits_flag
				NOT = {
					has_state_flag = {
						flag = develop_hlber_c_deposits_flag_1
						value = 5
					}
				}
			}
			has_tech = excavation4
		}

		cost = 25
		days_remove = 60

		modifier = {
			civilian_factory_use = 12
		}


		remove_effect = {
			custom_effect_tooltip = repeatable_decision_tt
			add_to_variable = { var = develop_hlber_c_deposits_flag_1 value = 30 }
			761 = {
				if = {
					limit = {
						NOT = {
							has_state_flag = develop_hlber_c_deposits_flag_1
						}
					}
					set_state_flag = {
						flag = develop_hlber_c_deposits_flag_1
						value = 1
					}
				}
				else = {
					modify_state_flag = {
						flag = develop_hlber_c_deposits_flag_1
						value = 1
					}
				}
			}
			761 = {
				add_resource = {
					type = coal
					amount = 38
				}
			}
		}
		complete_effect = {
			if = {
				limit = {
					check_variable = { var = develop_hlber_c_deposits_flag_1 value = 30 compare = less_than }
				}
				set_variable = { var = develop_hlber_c_deposits_flag_1 value = 30 }
			}
		}

	}

 	## 榆林煤矿 24+ 94*5 = 494

	develop_yulin_c_deposits = { #1046

		icon = coal

	

		highlight_states = {
			highlight_state_targets = {
				state = 1046
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 1046
			controls_state = 1046
			has_tech = excavation4
		}

		visible = {
			owns_state = 1046
			controls_state = 1046
			has_tech = excavation4
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			1046 = {set_state_flag = develop_yulin_c_deposits_flag }
			1046 = {
				add_resource = {
					type = coal
					amount = 24
				}
			}
		}

		
	}

	develop_yulin_c_deposits_1 = { #1046

		icon = coal

	

		highlight_states = {
			highlight_state_targets = {
				state = 1046
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 11
			owns_state = 1046
			controls_state = 1046
			has_tech = excavation5
		}

		visible = {
			owns_state = 1046
			controls_state = 1046
			1046 = {
				has_state_flag = develop_yulin_c_deposits_flag
				NOT = {
					has_state_flag = {
						flag = develop_yulin_c_deposits_flag_1
						value = 5
					}
				}
			}
			has_tech = excavation5
		}

		cost = 25
		days_remove = 60

		modifier = {
			civilian_factory_use = 12
		}


		remove_effect = {
			custom_effect_tooltip = repeatable_decision_tt
			add_to_variable = { var = develop_yulin_c_deposits_flag_1 value = 30 }
			1046 = {
				if = {
					limit = {
						NOT = {
							has_state_flag = develop_yulin_c_deposits_flag_1
						}
					}
					set_state_flag = {
						flag = develop_yulin_c_deposits_flag_1
						value = 1
					}
				}
				else = {
					modify_state_flag = {
						flag = develop_yulin_c_deposits_flag_1
						value = 1
					}
				}
			}
			1046 = {
				add_resource = {
					type = coal
					amount = 94
				}
			}
		}
		complete_effect = {
			if = {
				limit = {
					check_variable = { var = develop_yulin_c_deposits_flag_1 value = 30 compare = less_than }
				}
				set_variable = { var = develop_yulin_c_deposits_flag_1 value = 30 }
			}
		}

	}

 	## 昌吉州煤矿 37+ 60*5 = 337

	develop_cjz_c_deposits = { #617

		icon = coal

	

		highlight_states = {
			highlight_state_targets = {
				state = 617
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 617
			controls_state = 617
			has_tech = excavation5
		}

		visible = {
			owns_state = 617
			controls_state = 617
			has_tech = excavation5
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			617 = {set_state_flag = develop_cjz_c_deposits_flag }
			617 = {
				add_resource = {
					type = coal
					amount = 37
				}
			}
		}

		
	}

	develop_cjz_c_deposits_1 = { #617

		icon = coal

	

		highlight_states = {
			highlight_state_targets = {
				state = 617
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 11
			owns_state = 617
			controls_state = 617
			has_tech = excavation5
		}

		visible = {
			owns_state = 617
			controls_state = 617
			617 = {
				has_state_flag = develop_cjz_c_deposits_flag
				NOT = {
					has_state_flag = {
						flag = develop_cjz_c_deposits_flag_1
						value = 5
					}
				}
			}
			has_tech = excavation5
		}

		cost = 25
		days_remove = 60

		modifier = {
			civilian_factory_use = 12
		}


		remove_effect = {
			custom_effect_tooltip = repeatable_decision_tt
			add_to_variable = { var = develop_cjz_c_deposits_flag_1 value = 30 }
			617 = {
				if = {
					limit = {
						NOT = {
							has_state_flag = develop_cjz_c_deposits_flag_1
						}
					}
					set_state_flag = {
						flag = develop_cjz_c_deposits_flag_1
						value = 1
					}
				}
				else = {
					modify_state_flag = {
						flag = develop_cjz_c_deposits_flag_1
						value = 1
					}
				}
			}
			617 = {
				add_resource = {
					type = coal
					amount = 60
				}
			}
		}
		complete_effect = {
			if = {
				limit = {
					check_variable = { var = develop_cjz_c_deposits_flag_1 value = 30 compare = less_than }
				}
				set_variable = { var = develop_cjz_c_deposits_flag_1 value = 30 }
			}
		}

	}


	#####################################################
	#######################钢铁########################## 
	#####################################################


 	## 鞍山铁矿 24+ 48*5 = 264

	develop_anshan_fe_deposits = { #716

		icon = steel

	

		highlight_states = {
			highlight_state_targets = {
				state = 716
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 716
			controls_state = 716
			has_tech = excavation2
		}

		visible = {
			owns_state = 716
			controls_state = 716
			has_tech = excavation2
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			716 = {set_state_flag = develop_anshan_fe_deposits_flag }
			716 = {
				add_resource = {
					type = steel
					amount = 24
				}
			}
		}

		
	}
	
	develop_anshan_fe_deposits_1 = { #716

		icon = steel

	

		highlight_states = {
			highlight_state_targets = {
				state = 716
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 11
			owns_state = 716
			controls_state = 716
			has_tech = excavation3
		}

		visible = {
			owns_state = 716
			controls_state = 716
			716 = {
				has_state_flag = develop_anshan_fe_deposits_flag
				NOT = {
					has_state_flag = {
						flag = develop_anshan_fe_deposits_flag_1
						value = 5
					}
				}
			}
			has_tech = excavation3
		}

		cost = 25
		days_remove = 60

		modifier = {
			civilian_factory_use = 12
		}


		remove_effect = {
			custom_effect_tooltip = repeatable_decision_tt
			add_to_variable = { var = develop_anshan_fe_deposits_flag_1 value = 30 }
			716 = {
				if = {
					limit = {
						NOT = {
							has_state_flag = develop_anshan_fe_deposits_flag_1
						}
					}
					set_state_flag = {
						flag = develop_anshan_fe_deposits_flag_1
						value = 1
					}
				}
				else = {
					modify_state_flag = {
						flag = develop_anshan_fe_deposits_flag_1
						value = 1
					}
				}
			}
			716 = {
				add_resource = {
					type = steel
					amount = 48
				}
			}
		}
		complete_effect = {
			if = {
				limit = {
					check_variable = { var = develop_anshan_fe_deposits_flag_1 value = 30 compare = less_than }
				}
				set_variable = { var = develop_anshan_fe_deposits_flag_1 value = 30 }
			}
		}

	}

 	## 本溪铁矿 12+ 24*5 = 132

	develop_benxi_fe_deposits = { #716

		icon = steel

	

		highlight_states = {
			highlight_state_targets = {
				state = 716
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 716
			controls_state = 716
			has_tech = excavation2
		}

		visible = {
			owns_state = 716
			controls_state = 716
			has_tech = excavation2
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			716 = {set_state_flag = develop_benxi_fe_deposits_flag }
			716 = {
				add_resource = {
					type = steel
					amount = 12
				}
			}
		}

		
	}
	
	develop_benxi_fe_deposits_1 = { #716

		icon = steel

	

		highlight_states = {
			highlight_state_targets = {
				state = 716
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 11
			owns_state = 716
			controls_state = 716
			has_tech = excavation3
		}

		visible = {
			owns_state = 716
			controls_state = 716
			716 = {
				has_state_flag = develop_benxi_fe_deposits_flag
				NOT = {
					has_state_flag = {
						flag = develop_benxi_fe_deposits_flag_1
						value = 5
					}
				}
			}
			has_tech = excavation3
		}

		cost = 25
		days_remove = 60

		modifier = {
			civilian_factory_use = 12
		}


		remove_effect = {
			custom_effect_tooltip = repeatable_decision_tt
			add_to_variable = { var = develop_benxi_fe_deposits_flag_1 value = 30 }
			716 = {
				if = {
					limit = {
						NOT = {
							has_state_flag = develop_benxi_fe_deposits_flag_1
						}
					}
					set_state_flag = {
						flag = develop_benxi_fe_deposits_flag_1
						value = 1
					}
				}
				else = {
					modify_state_flag = {
						flag = develop_benxi_fe_deposits_flag_1
						value = 1
					}
				}
			}
			716 = {
				add_resource = {
					type = steel
					amount = 24
				}
			}
		}
		complete_effect = {
			if = {
				limit = {
					check_variable = { var = develop_benxi_fe_deposits_flag_1 value = 30 compare = less_than }
				}
				set_variable = { var = develop_benxi_fe_deposits_flag_1 value = 30 }
			}
		}

	}

 	## 大孤山铁矿 6+ 20*5 = 106

	develop_dags_fe_deposits = { #716

		icon = steel

	

		highlight_states = {
			highlight_state_targets = {
				state = 716
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 716
			controls_state = 716
			has_tech = excavation2
		}

		visible = {
			owns_state = 716
			controls_state = 716
			has_tech = excavation2
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			716 = {set_state_flag = develop_dags_fe_deposits_flag }
			716 = {
				add_resource = {
					type = steel
					amount = 6
				}
			}
		}

		
	}

	develop_dags_fe_deposits_1 = { #716

		icon = steel

	

		highlight_states = {
			highlight_state_targets = {
				state = 716
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 11
			owns_state = 716
			controls_state = 716
			has_tech = excavation3
		}

		visible = {
			owns_state = 716
			controls_state = 716
			716 = {
				has_state_flag = develop_dags_fe_deposits_flag
				NOT = {
					has_state_flag = {
						flag = develop_dags_fe_deposits_flag_1
						value = 5
					}
				}
			}
			has_tech = excavation3
		}

		cost = 25
		days_remove = 60

		modifier = {
			civilian_factory_use = 12
		}


		remove_effect = {
			custom_effect_tooltip = repeatable_decision_tt
			add_to_variable = { var = develop_dags_fe_deposits_flag_1 value = 30 }
			716 = {
				if = {
					limit = {
						NOT = {
							has_state_flag = develop_dags_fe_deposits_flag_1
						}
					}
					set_state_flag = {
						flag = develop_dags_fe_deposits_flag_1
						value = 1
					}
				}
				else = {
					modify_state_flag = {
						flag = develop_dags_fe_deposits_flag_1
						value = 1
					}
				}
			}
			716 = {
				add_resource = {
					type = steel
					amount = 20
				}
			}
		}
		complete_effect = {
			if = {
				limit = {
					check_variable = { var = develop_dags_fe_deposits_flag_1 value = 30 compare = less_than }
				}
				set_variable = { var = develop_dags_fe_deposits_flag_1 value = 30 }
			}
		}

	}

 	## 齐大山铁矿 8+ 24*3 = 80

	develop_qdas_fe_deposits = { #716

		icon = steel

	

		highlight_states = {
			highlight_state_targets = {
				state = 716
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 716
			controls_state = 716
			has_tech = excavation4
		}

		visible = {
			owns_state = 716
			controls_state = 716
			has_tech = excavation4
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			716 = {set_state_flag = develop_qdas_fe_deposits_flag }
			716 = {
				add_resource = {
					type = steel
					amount = 8
				}
			}
		}

		
	}

	develop_qdas_fe_deposits_1 = { #716

		icon = steel

	

		highlight_states = {
			highlight_state_targets = {
				state = 716
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 11
			owns_state = 716
			controls_state = 716
			has_tech = excavation4
		}

		visible = {
			owns_state = 716
			controls_state = 716
			716 = {
				has_state_flag = develop_qdas_fe_deposits_flag
				NOT = {
					has_state_flag = {
						flag = develop_qdas_fe_deposits_flag_1
						value = 3
					}
				}
			}
			has_tech = excavation4
		}

		cost = 25
		days_remove = 60

		modifier = {
			civilian_factory_use = 12
		}


		remove_effect = {
			custom_effect_tooltip = repeatable_decision_tt
			add_to_variable = { var = develop_qdas_fe_deposits_flag_1 value = 30 }
			716 = {
				if = {
					limit = {
						NOT = {
							has_state_flag = develop_qdas_fe_deposits_flag_1
						}
					}
					set_state_flag = {
						flag = develop_qdas_fe_deposits_flag_1
						value = 1
					}
				}
				else = {
					modify_state_flag = {
						flag = develop_qdas_fe_deposits_flag_1
						value = 1
					}
				}
			}
			716 = {
				add_resource = {
					type = steel
					amount = 24
				}
			}
		}
		complete_effect = {
			if = {
				limit = {
					check_variable = { var = develop_qdas_fe_deposits_flag_1 value = 30 compare = less_than }
				}
				set_variable = { var = develop_qdas_fe_deposits_flag_1 value = 30 }
			}
		}

	}

 	## 白云鄂博铁矿 6+ 20*5 = 106

	develop_byeb_fe_deposits = { #621

		icon = steel

	

		highlight_states = {
			highlight_state_targets = {
				state = 621
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 621
			controls_state = 621
			has_tech = excavation3
		}

		visible = {
			owns_state = 621
			controls_state = 621
			has_tech = excavation3
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			621 = {set_state_flag = develop_byeb_fe_deposits_flag }
			621 = {
				add_resource = {
					type = steel
					amount = 6
				}
			}
		}

		
	}

	develop_byeb_fe_deposits_1 = { #621

		icon = steel

	

		highlight_states = {
			highlight_state_targets = {
				state = 621
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 11
			owns_state = 621
			controls_state = 621
			has_tech = excavation4
		}

		visible = {
			owns_state = 621
			controls_state = 621
			621 = {
				has_state_flag = develop_byeb_fe_deposits_flag
				NOT = {
					has_state_flag = {
						flag = develop_byeb_fe_deposits_flag_1
						value = 5
					}
				}
			}
			has_tech = excavation4
		}

		cost = 25
		days_remove = 60

		modifier = {
			civilian_factory_use = 12
		}


		remove_effect = {
			custom_effect_tooltip = repeatable_decision_tt
			add_to_variable = { var = develop_byeb_fe_deposits_flag_1 value = 30 }
			621 = {
				if = {
					limit = {
						NOT = {
							has_state_flag = develop_byeb_fe_deposits_flag_1
						}
					}
					set_state_flag = {
						flag = develop_byeb_fe_deposits_flag_1
						value = 1
					}
				}
				else = {
					modify_state_flag = {
						flag = develop_byeb_fe_deposits_flag_1
						value = 1
					}
				}
			}
			621 = {
				add_resource = {
					type = steel
					amount = 20
				}
			}
		}
		complete_effect = {
			if = {
				limit = {
					check_variable = { var = develop_byeb_fe_deposits_flag_1 value = 30 compare = less_than }
				}
				set_variable = { var = develop_byeb_fe_deposits_flag_1 value = 30 }
			}
		}

	}

 	## 龙烟铁矿 20

	develop_lyan_fe_deposits = { #1039

		icon = steel

	

		highlight_states = {
			highlight_state_targets = {
				state = 1039
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 1039
			controls_state = 1039
			has_tech = excavation2
		}

		visible = {
			owns_state = 1039
			controls_state = 1039
			has_tech = excavation2
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			1039 = {
				add_resource = {
					type = steel
					amount = 20
				}
			}
		}

		
	}

 	## 磁山铁矿 14

	develop_cis_fe_deposits = { #607

		icon = steel

	

		highlight_states = {
			highlight_state_targets = {
				state = 607
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 607
			controls_state = 607
			has_tech = excavation4
		}

		visible = {
			owns_state = 607
			controls_state = 607
			has_tech = excavation4
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			607 = {
				add_resource = {
					type = steel
					amount = 14
				}
			}
		}

		
	}

 	## 符山铁矿 11

	develop_fus_fe_deposits = { #607

		icon = steel

	

		highlight_states = {
			highlight_state_targets = {
				state = 607
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 607
			controls_state = 607
			has_tech = excavation4
		}

		visible = {
			owns_state = 607
			controls_state = 607
			has_tech = excavation4
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			607 = {
				add_resource = {
					type = steel
					amount = 11
				}
			}
		}

		
	}

 	## 大冶铁矿 17+ 25*2 = 67

	develop_daye_fe_deposits = { #1036

		icon = steel

	

		highlight_states = {
			highlight_state_targets = {
				state = 1036
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 1036
			controls_state = 1036
			has_tech = excavation3
		}

		visible = {
			owns_state = 1036
			controls_state = 1036
			has_tech = excavation3
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			1036 = {set_state_flag = develop_daye_fe_deposits_flag }
			1036 = {
				add_resource = {
					type = steel
					amount = 17
				}
			}
		}

		
	}

	develop_daye_fe_deposits_1 = { #1036

		icon = steel

	

		highlight_states = {
			highlight_state_targets = {
				state = 1036
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 11
			owns_state = 1036
			controls_state = 1036
			has_tech = excavation3
		}

		visible = {
			owns_state = 1036
			controls_state = 1036
			1036 = {
				has_state_flag = develop_daye_fe_deposits_flag
				NOT = {
					has_state_flag = {
						flag = develop_daye_fe_deposits_flag_1
						value = 2
					}
				}
			}
			has_tech = excavation3
		}

		cost = 25
		days_remove = 60

		modifier = {
			civilian_factory_use = 12
		}


		remove_effect = {
			custom_effect_tooltip = repeatable_decision_tt
			add_to_variable = { var = develop_daye_fe_deposits_flag_1 value = 30 }
			1036 = {
				if = {
					limit = {
						NOT = {
							has_state_flag = develop_daye_fe_deposits_flag_1
						}
					}
					set_state_flag = {
						flag = develop_daye_fe_deposits_flag_1
						value = 1
					}
				}
				else = {
					modify_state_flag = {
						flag = develop_daye_fe_deposits_flag_1
						value = 1
					}
				}
			}
			1036 = {
				add_resource = {
					type = steel
					amount = 25
				}
			}
		}
		complete_effect = {
			if = {
				limit = {
					check_variable = { var = develop_daye_fe_deposits_flag_1 value = 30 compare = less_than }
				}
				set_variable = { var = develop_daye_fe_deposits_flag_1 value = 30 }
			}
		}

	}

 	## 程潮铁矿 27

	develop_cchao_fe_deposits = { #1036

		icon = steel

	

		highlight_states = {
			highlight_state_targets = {
				state = 1036
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 1036
			controls_state = 1036
			has_tech = excavation4
		}

		visible = {
			owns_state = 1036
			controls_state = 1036
			has_tech = excavation4
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			1036 = {
				add_resource = {
					type = steel
					amount = 27
				}
			}
		}

		
	}

 	## 攀枝花铁矿 24+ 114*5 = 594

	develop_pzhua_fe_deposits = { #751

		icon = steel

	

		highlight_states = {
			highlight_state_targets = {
				state = 751
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 751
			controls_state = 751
			has_tech = excavation4
		}

		visible = {
			owns_state = 751
			controls_state = 751
			has_tech = excavation4
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			751 = {set_state_flag = develop_pzhua_fe_deposits_flag }
			751 = {
				add_resource = {
					type = steel
					amount = 24
				}
			}
		}

		
	}

	develop_pzhua_fe_deposits_1 = { #751

		icon = steel

	

		highlight_states = {
			highlight_state_targets = {
				state = 751
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 11
			owns_state = 751
			controls_state = 751
			has_tech = excavation4
		}

		visible = {
			owns_state = 751
			controls_state = 751
			751 = {
				has_state_flag = develop_pzhua_fe_deposits_flag
				NOT = {
					has_state_flag = {
						flag = develop_pzhua_fe_deposits_flag_1
						value = 5
					}
				}
			}
			has_tech = excavation4
		}

		cost = 25
		days_remove = 60

		modifier = {
			civilian_factory_use = 12
		}


		remove_effect = {
			custom_effect_tooltip = repeatable_decision_tt
			add_to_variable = { var = develop_pzhua_fe_deposits_flag_1 value = 30 }
			751 = {
				if = {
					limit = {
						NOT = {
							has_state_flag = develop_pzhua_fe_deposits_flag_1
						}
					}
					set_state_flag = {
						flag = develop_pzhua_fe_deposits_flag_1
						value = 1
					}
				}
				else = {
					modify_state_flag = {
						flag = develop_pzhua_fe_deposits_flag_1
						value = 1
					}
				}
			}
			751 = {
				add_resource = {
					type = steel
					amount = 114
				}
			}
		}
		complete_effect = {
			if = {
				limit = {
					check_variable = { var = develop_pzhua_fe_deposits_flag_1 value = 30 compare = less_than }
				}
				set_variable = { var = develop_pzhua_fe_deposits_flag_1 value = 30 }
			}
		}

	}

 	## 南山铁矿 8+ 24*3 = 80

	develop_nshan_fe_deposits = { #1035

		icon = steel

	

		highlight_states = {
			highlight_state_targets = {
				state = 1035
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 1035
			controls_state = 1035
			has_tech = excavation4
		}

		visible = {
			owns_state = 1035
			controls_state = 1035
			has_tech = excavation4
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			1035 = {set_state_flag = develop_nshan_fe_deposits_flag }
			1035 = {
				add_resource = {
					type = steel
					amount = 8
				}
			}
		}

		
	}

	develop_nshan_fe_deposits_1 = { #1035

		icon = steel

	

		highlight_states = {
			highlight_state_targets = {
				state = 1035
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 11
			owns_state = 1035
			controls_state = 1035
			has_tech = excavation4
		}

		visible = {
			owns_state = 1035
			controls_state = 1035
			1035 = {
				has_state_flag = develop_nshan_fe_deposits_flag
				NOT = {
					has_state_flag = {
						flag = develop_nshan_fe_deposits_flag_1
						value = 3
					}
				}
			}
			has_tech = excavation4
		}

		cost = 25
		days_remove = 60

		modifier = {
			civilian_factory_use = 12
		}


		remove_effect = {
			custom_effect_tooltip = repeatable_decision_tt
			add_to_variable = { var = develop_nshan_fe_deposits_flag_1 value = 30 }
			1035 = {
				if = {
					limit = {
						NOT = {
							has_state_flag = develop_nshan_fe_deposits_flag_1
						}
					}
					set_state_flag = {
						flag = develop_nshan_fe_deposits_flag_1
						value = 1
					}
				}
				else = {
					modify_state_flag = {
						flag = develop_nshan_fe_deposits_flag_1
						value = 1
					}
				}
			}
			1035 = {
				add_resource = {
					type = steel
					amount = 24
				}
			}
		}
		complete_effect = {
			if = {
				limit = {
					check_variable = { var = develop_nshan_fe_deposits_flag_1 value = 30 compare = less_than }
				}
				set_variable = { var = develop_nshan_fe_deposits_flag_1 value = 30 }
			}
		}

	}

	## 镜铁山铁矿 13+ 20*2 = 53

	develop_jtshan_fe_deposits = { #756

		icon = steel

	

		highlight_states = {
			highlight_state_targets = {
				state = 756
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 756
			controls_state = 756
			has_tech = excavation4
		}

		visible = {
			owns_state = 756
			controls_state = 756
			has_tech = excavation4
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			756 = {set_state_flag = develop_jtshan_fe_deposits_flag }
			756 = {
				add_resource = {
					type = steel
					amount = 13
				}
			}
		}

		
	}
		
	develop_jtshan_fe_deposits_1 = { #756

		icon = steel

	

		highlight_states = {
			highlight_state_targets = {
				state = 756
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 11
			owns_state = 756
			controls_state = 756
			has_tech = excavation4
		}

		visible = {
			owns_state = 756
			controls_state = 756
			756 = {
				has_state_flag = develop_jtshan_fe_deposits_flag
				NOT = {
					has_state_flag = {
						flag = develop_jtshan_fe_deposits_flag_1
						value = 2
					}
				}
			}
			has_tech = excavation4
		}

		cost = 25
		days_remove = 60

		modifier = {
			civilian_factory_use = 12
		}


		remove_effect = {
			custom_effect_tooltip = repeatable_decision_tt
			add_to_variable = { var = develop_jtshan_fe_deposits_flag_1 value = 30 }
			756 = {
				if = {
					limit = {
						NOT = {
							has_state_flag = develop_jtshan_fe_deposits_flag_1
						}
					}
					set_state_flag = {
						flag = develop_jtshan_fe_deposits_flag_1
						value = 1
					}
				}
				else = {
					modify_state_flag = {
						flag = develop_jtshan_fe_deposits_flag_1
						value = 1
					}
				}
			}
			756 = {
				add_resource = {
					type = steel
					amount = 20
				}
			}
		}
		complete_effect = {
			if = {
				limit = {
					check_variable = { var = develop_jtshan_fe_deposits_flag_1 value = 30 compare = less_than }
				}
				set_variable = { var = develop_jtshan_fe_deposits_flag_1 value = 30 }
			}
		}

	}

 	## 张家洼铁矿 16

	develop_zjiaw_fe_deposits = { #1038

		icon = steel

	

		highlight_states = {
			highlight_state_targets = {
				state = 1038
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 1038
			controls_state = 1038
			has_tech = excavation5
		}

		visible = {
			owns_state = 1038
			controls_state = 1038
			has_tech = excavation5
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			1038 = {
				add_resource = {
					type = steel
					amount = 16
				}
			}
		}

		
	}

 	## 利国铁矿 8

	develop_lguo_fe_deposits = { #598

		icon = steel

	

		highlight_states = {
			highlight_state_targets = {
				state = 598
			}
		}

		available = {
			num_of_civilian_factories_available_for_projects > 5
			owns_state = 598
			controls_state = 598
			has_tech = excavation3
		}

		visible = {
			owns_state = 598
			controls_state = 598
			has_tech = excavation3
		}

		fire_only_once = yes
		cost = 25
		days_remove = 30

		modifier = {
			civilian_factory_use = 6
		}


		remove_effect = {
			598 = {
				add_resource = {
					type = steel
					amount = 8
				}
			}
		}

		
	}









}
