prospect_for_resources = {
	vrm_develop_random_deposits = {
		
		icon = generic_industry


		available = {
		    has_tech = excavation1
			surrender_progress < 0.1
			num_of_civilian_factories_available_for_projects > 4
			capital_scope = { is_fully_controlled_by = ROOT }
			num_of_factories > 15
		}

		visible = {
		}

		fire_only_once = no

		cost = 50
		days_remove = 30
		days_re_enable = 90

		modifier = {
			civilian_factory_use = 5
			consumer_goods_expected_value = 0.05
		}

		ai_will_do = {
			factor = 0
		}
		
		remove_effect = { 
			every_owned_state = {
					limit = {
						OR = { has_state_category = rural has_state_category = pastoral has_state_category = town has_state_category = large_town has_state_category = wasteland }
						is_island_state = no
						}
				random_list = {
				8 = {
						add_resource = {
					          type = steel
					          amount = 1
				        }
				}
				6 = {
						add_resource = {
					          type = tungsten
					          amount = 1
				        }
				}
				6 = {
						add_resource = {
					          type = chromium
					          amount = 1
				        }
				}
				16 = { }
			}
        }
			every_owned_state = {
					limit = {
						OR = { has_state_category = city has_state_category = large_city }
						is_island_state = no
						}
				random_list = {
				4 = {
						add_resource = {
					          type = aluminium
					          amount = 1
				        }
				}
				13 = { }
			}
        }
		}
    }	
}