bm_industry_efficiency_project = {
	specialization = specialization_land
	icon = GFX_sp_industry_efficiency

	breakthrough_cost = {
		specialization_land = {
			base = 1
			modifier = {
				add = -1
				has_tech = construction2
				OR = {
					has_tech = concentrated_industry2
					has_tech = dispersed_industry2
				}
			}
		}
	}

	resource_cost = {
		resources = {
			steel = 4
		}
	}

	ai_will_do = {
		base = 1
	}

	prototype_time = sp_time.prototype.short
	complexity = sp_complexity.medium

	available = {
		FROM = {
			has_tech = basic_machine_tools
		}
	}

	generic_prototype_rewards = {
		bm_progress_reward_low
		bm_progress_reward_medium
		bm_progress_loss_low
		bm_progress_loss_medium
		bm_land_breakthrough_reward_low
		bm_land_breakthrough_reward_medium
		bm_land_breakthrough_reward_high
		bm_land_scientist_xp_reward_low
		bm_land_scientist_xp_reward_medium
	}

	project_output = {
		country_effects = {
			if = {
				limit = {
					has_country_flag = bm_industry_efficiency_project_civ_flag
				}
				custom_effect_tooltip = {
					localization_key = bm_industry_efficiency_project_option_civ_option_tt
					NAME = bm_industry_efficiency_civ_dynamic_modifier
					DESC = bm_industry_efficiency_civ_dynamic_modifier_desc
					ICON = GFX_bm_civ_icon
				}
				custom_effect_tooltip = bm_divider_2
				add_dynamic_modifier = {
					modifier = bm_industry_efficiency_civ_dynamic_modifier
					days = 260
				}
			}
			else = {
				if = {
					limit = {
						has_country_flag = bm_industry_efficiency_project_mil_flag
					}
					custom_effect_tooltip = {
						localization_key = bm_industry_efficiency_project_option_mil_option_tt
						NAME = bm_industry_efficiency_mil_dynamic_modifier
						DESC = bm_industry_efficiency_mil_dynamic_modifier_desc
						ICON = GFX_bm_mil_icon
					}
					custom_effect_tooltip = bm_divider_2
					add_dynamic_modifier = {
						modifier = bm_industry_efficiency_mil_dynamic_modifier
						days = 260
					}
				}
				else = {
					custom_effect_tooltip = bm_industry_efficiency_project_tt
					custom_effect_tooltip = {
						localization_key = bm_industry_efficiency_project_option_civ_option_tt
						NAME = bm_industry_efficiency_civ_dynamic_modifier
						DESC = bm_industry_efficiency_civ_dynamic_modifier_desc
						ICON = GFX_bm_civ_icon
					}
					custom_effect_tooltip = bm_divider_2
					effect_tooltip = {
						add_dynamic_modifier = {
							modifier = bm_industry_efficiency_civ_dynamic_modifier
							days = 260
						}						
					}
					custom_effect_tooltip = bm_divider
					custom_effect_tooltip = {
						localization_key = bm_industry_efficiency_project_option_mil_option_tt
						NAME = bm_industry_efficiency_mil_dynamic_modifier
						DESC = bm_industry_efficiency_mil_dynamic_modifier_desc
						ICON = GFX_bm_mil_icon
					}
					custom_effect_tooltip = bm_divider_2
					effect_tooltip = {
						add_dynamic_modifier = {
							modifier = bm_industry_efficiency_mil_dynamic_modifier
							days = 260
						}					
					}
					custom_effect_tooltip = bm_divider_2
					custom_effect_tooltip = {
						localization_key = bm_industry_efficiency_project_tip_tt
						TECH_1 = construction2 
						TECH_2 = concentrated_industry2
						TECH_3 = dispersed_industry2
					}
				}
			}
		}
	}

	unique_prototype_rewards = {
		bm_industry_efficiency_project_rewards = {
			fire_only_once = yes
			force_reward_if_available = yes

			threshold = {
				min = 20
				max = 100
			}

			weight = {
				base = 1000
			}

			option = {
				token = bm_industry_efficiency_project_option_civ_option

				iteration_output = {
					country_effects = {
						set_country_flag = bm_industry_efficiency_project_civ_flag
						custom_effect_tooltip = {
							localization_key = bm_industry_efficiency_project_option_civ_option_tt
							NAME = bm_industry_efficiency_civ_dynamic_modifier
							DESC = bm_industry_efficiency_civ_dynamic_modifier_desc
							ICON = GFX_bm_civ_icon
						}
						custom_effect_tooltip = bm_divider_2
						effect_tooltip = {
							add_dynamic_modifier = {
								modifier = bm_industry_efficiency_civ_dynamic_modifier
								days = 260
							}							
						}
					}
				}
			}
			option = {
				token = bm_industry_efficiency_project_option_mil_option

				iteration_output = {
					country_effects = {
						set_country_flag = bm_industry_efficiency_project_mil_flag
						custom_effect_tooltip = {
							localization_key = bm_industry_efficiency_project_option_mil_option_tt
							NAME = bm_industry_efficiency_mil_dynamic_modifier
							DESC = bm_industry_efficiency_mil_dynamic_modifier_desc
							ICON = GFX_bm_mil_icon
						}
						custom_effect_tooltip = bm_divider_2
						effect_tooltip = {
							add_dynamic_modifier = {
								modifier = bm_industry_efficiency_mil_dynamic_modifier
								days = 260
							}							
						}
					}
				}
			}
		}
	}
}