## General Reference
## Uranium Mines level 6 (nuclear pump):


####################
################# IMPROVEMENT ON VANILLA
######################

pm_nuclear_pump_building_coal_mine = {
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/nuclear_pump.jpg"
	pollution_generation = 15

	unlocking_technologies = {
		atomic_powered_mining_machine
	}
	
	building_modifiers = {
		workforce_scaled = {
			# input goods
			building_input_nuclear_fuel_add = 11
			building_input_nuclear_engines_add = 4
			building_input_tools_add = 10

			# total cost: $1,190
			
			# output goods
			building_output_coal_add = 120
			# Output: 100*30 = $3,600
			# Profit: $2,400
		}

		level_scaled = {
			building_employment_laborers_add = 2000
			building_employment_machinists_add = 1500
			building_employment_engineers_add = 500
		}
	}
}

pm_automated_mining_machine_building_coal_mine = {
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/wetwire_assisted_mining_machine.jpg"
	pollution_generation = 15

	unlocking_technologies = {
		consumer_electronics
	}
	
	building_modifiers = {
		workforce_scaled = {
			# input goods
			building_input_nuclear_fuel_add = 12 #$600
			building_input_nuclear_engines_add = 6 #$360
			building_input_radios_add = 4 #320
			# total $1,280
			
			# output goods
			building_output_coal_add = 135
			# Output: 135*30 = $4,050
			# Profit: $2,770
		}

		level_scaled = {
			building_employment_laborers_add = 2000
			building_employment_machinists_add = 1500
			building_employment_engineers_add = 500
		}

		unscaled = {
			building_laborers_mortality_mult = 0.05
			building_machinists_mortality_mult = 0.025
			building_engineers_mortality_mult = 0.01
		}
	}
}

pm_nuclear_dynamite_coal_mine = {
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/nuclear_dynamite.jpg"
	pollution_generation = 30

	unlocking_technologies = {
		nuclear_dynamite_for_mining
	}
	
	building_modifiers = {
		workforce_scaled = {
			building_input_explosives_add = 15
			building_input_nuclear_fuel_add = 1
			# cost: $800
			
			# output goods
			building_output_coal_add = 40
			# gain: $1,200
		}

		level_scaled = {
			building_employment_machinists_add = 100
			building_employment_engineers_add = 200
		}
	}
}

############# IRON MINE

pm_nuclear_pump_building_iron_mine = {
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/nuclear_pump.jpg"
	pollution_generation = 15

	unlocking_technologies = {
		atomic_powered_mining_machine
	}
	
	building_modifiers = {
		workforce_scaled = {
			# input goods
			building_input_nuclear_fuel_add = 11
			building_input_nuclear_engines_add = 4
			building_input_tools_add = 10

			# total cost: $1,190
			
			# output goods
			building_output_iron_add = 90
			# Output: 90*40 = $3,600
			# Profit: $2,400
		}

		level_scaled = {
			building_employment_laborers_add = 2000
			building_employment_machinists_add = 1500
			building_employment_engineers_add = 500
		}
	}
}

pm_automated_mining_machine_building_iron_mine = {
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/wetwire_assisted_mining_machine.jpg"
	pollution_generation = 15

	unlocking_technologies = {
		consumer_electronics
	}
	
	building_modifiers = {
		workforce_scaled = {
			# input goods
			building_input_nuclear_fuel_add = 12 #$600
			building_input_nuclear_engines_add = 6 #$360
			building_input_radios_add = 4 #$320
			# total $1,280
			
			# output goods
			building_output_iron_add = 100
			# Output: 100*40 = $4,000
			# Profit: $2,720
		}

		level_scaled = {
			building_employment_laborers_add = 2000
			building_employment_machinists_add = 1500
			building_employment_engineers_add = 500
		}

		unscaled = {
			building_laborers_mortality_mult = 0.05
			building_machinists_mortality_mult = 0.025
			building_engineers_mortality_mult = 0.01
		}
	}
}

pm_nuclear_dynamite_iron_mine = {
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/nuclear_dynamite.jpg"
	pollution_generation = 30

	unlocking_technologies = {
		nuclear_dynamite_for_mining
	}
	
	building_modifiers = {
		workforce_scaled = {
			building_input_explosives_add = 15
			building_input_nuclear_fuel_add = 1
			# cost: $800
			
			# output goods
			building_output_iron_add = 30
			# gain: $1,200
		}

		level_scaled = {
			building_employment_machinists_add = 100
			building_employment_engineers_add = 200
		}
	}
}


############# Lead Mine

pm_nuclear_pump_building_lead_mine = {
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/nuclear_pump.jpg"
	pollution_generation = 15

	unlocking_technologies = {
		atomic_powered_mining_machine
	}
	
	building_modifiers = {
		workforce_scaled = {
			# input goods
			building_input_nuclear_fuel_add = 11
			building_input_nuclear_engines_add = 4
			building_input_tools_add = 10

			# total cost: $1,190
			
			# output goods
			building_output_lead_add = 90
			# Output: 90*40 = $3,600
			# Profit: $2,400
		}

		level_scaled = {
			building_employment_laborers_add = 2000
			building_employment_machinists_add = 1500
			building_employment_engineers_add = 500
		}
	}
}

pm_automated_mining_machine_building_lead_mine = {
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/wetwire_assisted_mining_machine.jpg"
	pollution_generation = 15

	unlocking_technologies = {
		consumer_electronics
	}
	
	building_modifiers = {
				workforce_scaled = {
			# input goods
			building_input_nuclear_fuel_add = 12 #$600
			building_input_nuclear_engines_add = 6 #$360
			building_input_radios_add = 4 #$320
			# total $1,280
			
			# output goods
			building_output_lead_add = 100
			# Output: 100*40 = $4,000
			# Profit: $2,740
		}

		level_scaled = {
			building_employment_laborers_add = 2000
			building_employment_machinists_add = 1500
			building_employment_engineers_add = 500
		}

		unscaled = {
			building_laborers_mortality_mult = 0.05
			building_machinists_mortality_mult = 0.025
			building_engineers_mortality_mult = 0.01
		}
	}
}

pm_nuclear_dynamite_lead_mine = {
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/nuclear_dynamite.jpg"
	pollution_generation = 30

	unlocking_technologies = {
		nuclear_dynamite_for_mining
	}
	
	building_modifiers = {
		workforce_scaled = {
			building_input_explosives_add = 15
			building_input_nuclear_fuel_add = 1
			# cost: $800
			
			# output goods
			building_output_lead_add = 30
			# gain: $1,200
		}

		level_scaled = {
			building_employment_machinists_add = 100
			building_employment_engineers_add = 200
		}
	}
}

########## SULFUR MINE

pm_nuclear_pump_building_sulfur_mine = {
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/nuclear_pump.jpg"
	pollution_generation = 15

	unlocking_technologies = {
		atomic_powered_mining_machine
	}
	
	building_modifiers = {
		workforce_scaled = {
			# input goods
			building_input_nuclear_fuel_add = 11
			building_input_nuclear_engines_add = 4
			building_input_tools_add = 10

			# total cost: $1,190
			
			# output goods
			building_output_sulfur_add = 90
			# Output: 90*40 = $3,600
			# Profit: $2,400
		}

		level_scaled = {
			building_employment_laborers_add = 2000
			building_employment_machinists_add = 1500
			building_employment_engineers_add = 500
		}
	}
}

pm_automated_mining_machine_building_sulfur_mine = {
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/wetwire_assisted_mining_machine.jpg"
	pollution_generation = 15

	unlocking_technologies = {
		consumer_electronics
	}
	
	building_modifiers = {
		workforce_scaled = {
			# input goods
			building_input_nuclear_fuel_add = 12 #$600
			building_input_nuclear_engines_add = 6 #$360
			building_input_radios_add = 4 #$320
			# total $1,280
			
			# output goods
			building_output_sulfur_add = 100
			# Output: 100*40 = $4,000
			# Profit: $2,720
		}

		level_scaled = {
			building_employment_laborers_add = 2000
			building_employment_machinists_add = 1500
			building_employment_engineers_add = 500
		}

		unscaled = {
			building_laborers_mortality_mult = 0.05
			building_machinists_mortality_mult = 0.025
			building_engineers_mortality_mult = 0.01
		}
	}
}

pm_nuclear_dynamite_sulfur_mine = {
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/nuclear_dynamite.jpg"
	pollution_generation = 30

	unlocking_technologies = {
		nuclear_dynamite_for_mining
	}
	
	building_modifiers = {
		workforce_scaled = {
			building_input_explosives_add = 15
			building_input_nuclear_fuel_add = 1
			# cost: $800
			
			# output goods
			building_output_sulfur_add = 25
			# gain: $1,200
		}

		level_scaled = {
			building_employment_machinists_add = 100
			building_employment_engineers_add = 200
		}
	}
}



########## GOLD MINE

pm_nuclear_pump_building_gold_mine = {
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/nuclear_pump.jpg"
	pollution_generation = 15

	unlocking_technologies = {
		atomic_powered_mining_machine
	}
	
	building_modifiers = {
		workforce_scaled = {
			# input goods
			building_input_nuclear_fuel_add = 11
			building_input_nuclear_engines_add = 4
			building_input_tools_add = 10

			# total cost: $1,190
			
			# output goods
			building_output_gold_add = 40
			# Output: 4000
		}

		level_scaled = {
			building_employment_laborers_add = 2000
			building_employment_machinists_add = 1500
			building_employment_engineers_add = 500
		}
	}

	country_modifiers = {
		workforce_scaled = {
			country_minting_add = 2000
		}
	}
}

pm_automated_mining_machine_building_gold_mine = {
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/wetwire_assisted_mining_machine.jpg"
	pollution_generation = 15

	unlocking_technologies = {
		consumer_electronics
	}
	
	building_modifiers = {
		workforce_scaled = {
			# input goods
			building_input_nuclear_fuel_add = 12 #$600
			building_input_nuclear_engines_add = 6 #$360
			building_input_radios_add = 4 #$320
			# total $1,280
			
			# output goods
			building_output_gold_add = 42
		}

		level_scaled = {
			building_employment_laborers_add = 2000
			building_employment_machinists_add = 1500
			building_employment_engineers_add = 500
		}

		unscaled = {
			building_laborers_mortality_mult = 0.05
			building_machinists_mortality_mult = 0.025
			building_engineers_mortality_mult = 0.01
		}
	}

	country_modifiers = {
		workforce_scaled = {
			country_minting_add = 2100
		}
	}

}

pm_nuclear_dynamite_gold_mine = {
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/nuclear_dynamite.jpg"
	pollution_generation = 30

	unlocking_technologies = {
		nuclear_dynamite_for_mining
	}
	
	building_modifiers = {
		workforce_scaled = {
			building_input_explosives_add = 15
			building_input_nuclear_fuel_add = 1
			# cost: $800
			
			# output goods
			building_output_gold_add = 12
			# gain: $1,200
		}

		level_scaled = {
			building_employment_machinists_add = 100
			building_employment_engineers_add = 200
		}
	}

	country_modifiers = {
		workforce_scaled = {
			country_minting_add = 600
		}
	}
}


#### GOLD FIELDS
pm_powered_exoskeleton_building_gold_fields = {
	texture = "gfx/interface/icons/production_method_icons/gold_mining.dds"
	
	building_modifiers = {
		workforce_scaled = {
			building_input_nuclear_fuel_add = 8 #$400
			building_input_nuclear_engines_add = 6 #$300

			building_output_gold_add = 30
		}
		level_scaled = {
			building_employment_shopkeepers_add = 500
			building_employment_laborers_add = 3500
		}
		unscaled = {
			building_shopkeepers_shares_add = 3
			building_laborers_shares_add = 1
		}
	}
	
	country_modifiers = {
		workforce_scaled = {
			country_minting_add = 1000
		}
	}
}



############### Ownership Methods Modding
pm_privately_owned_building_coal_mine = {
	texture = "gfx/interface/icons/production_method_icons/privately_owned.dds"

	unlocking_production_methods = {
		pm_atmospheric_engine_pump_building_coal_mine
		pm_condensing_engine_pump_building_coal_mine
		pm_diesel_pump_building_coal_mine	
		pm_nuclear_pump_building_coal_mine
		pm_automated_mining_machine_building_coal_mine
	}

	disallowing_laws = {
		law_command_economy
		law_cooperative_ownership
	}

	building_modifiers = {
		level_scaled = {
			building_employment_capitalists_add = 100
		}
		unscaled = {
			building_capitalists_shares_add = 10
		}
	}
}


pm_publicly_traded_building_coal_mine = {
	texture = "gfx/interface/icons/production_method_icons/publicly_traded.dds"

	unlocking_production_methods = {
		pm_atmospheric_engine_pump_building_coal_mine
		pm_condensing_engine_pump_building_coal_mine
		pm_diesel_pump_building_coal_mine
		pm_nuclear_pump_building_coal_mine
		pm_automated_mining_machine_building_coal_mine
	}
	
	disallowing_laws = {
		law_command_economy
		law_cooperative_ownership
	}

	unlocking_technologies = {
		mutual_funds
	}

	building_modifiers = {
		level_scaled = {
			building_employment_capitalists_add = 150
		}
		unscaled = {
			building_capitalists_shares_add = 10
		}
	}
}


pm_worker_cooperative_building_coal_mine = {
	texture = "gfx/interface/icons/production_method_icons/worker_cooperative.dds"

	unlocking_production_methods = {
		pm_atmospheric_engine_pump_building_coal_mine
		pm_condensing_engine_pump_building_coal_mine
		pm_diesel_pump_building_coal_mine
		pm_nuclear_pump_building_coal_mine
		pm_automated_mining_machine_building_coal_mine
	}

	unlocking_laws = {
		law_cooperative_ownership
	}

	building_modifiers = {
		level_scaled = {
			building_employment_shopkeepers_add = 250
		}
		unscaled = {
			building_workforce_shares_add = 1
		}
	}
}

pm_privately_owned_building_iron_mine = {
	texture = "gfx/interface/icons/production_method_icons/privately_owned.dds"

	unlocking_production_methods = {
		pm_atmospheric_engine_pump_building_iron_mine
		pm_condensing_engine_pump_building_iron_mine
		pm_diesel_pump_building_iron_mine
		pm_nuclear_pump_building_iron_mine
		pm_automated_mining_machine_building_iron_mine
	}

	disallowing_laws = {
		law_command_economy
		law_cooperative_ownership
	}

	building_modifiers = {
		level_scaled = {
			building_employment_capitalists_add = 100
		}
		unscaled = {
			building_capitalists_shares_add = 10
		}
	}
}

pm_publicly_traded_building_iron_mine = {
	texture = "gfx/interface/icons/production_method_icons/publicly_traded.dds"

	unlocking_production_methods = {
		pm_atmospheric_engine_pump_building_iron_mine
		pm_condensing_engine_pump_building_iron_mine
		pm_diesel_pump_building_iron_mine
		pm_nuclear_pump_building_iron_mine
		pm_automated_mining_machine_building_iron_mine
	}

	disallowing_laws = {
		law_command_economy
		law_cooperative_ownership
	}

	unlocking_technologies = {
		mutual_funds
	}

	building_modifiers = {
		level_scaled = {
			building_employment_capitalists_add = 150
		}
		unscaled = {
			building_capitalists_shares_add = 10
		}
	}
}

pm_worker_cooperative_building_iron_mine = {
	texture = "gfx/interface/icons/production_method_icons/worker_cooperative.dds"

	unlocking_production_methods = {
		pm_atmospheric_engine_pump_building_iron_mine
		pm_condensing_engine_pump_building_iron_mine
		pm_diesel_pump_building_iron_mine
		pm_nuclear_pump_building_iron_mine
		pm_automated_mining_machine_building_iron_mine
	}

	unlocking_laws = {
		law_cooperative_ownership
	}

	building_modifiers = {
		level_scaled = {
			building_employment_shopkeepers_add = 250
		}
		unscaled = {
			building_workforce_shares_add = 1
		}
	}
}

pm_privately_owned_building_lead_mine = {
	texture = "gfx/interface/icons/production_method_icons/privately_owned.dds"

	unlocking_production_methods = {
		pm_atmospheric_engine_pump_building_lead_mine
		pm_condensing_engine_pump_building_lead_mine
		pm_diesel_pump_building_lead_mine
		pm_nuclear_pump_building_lead_mine
		pm_automated_mining_machine_building_lead_mine
	}

	disallowing_laws = {
		law_command_economy
		law_cooperative_ownership
	}

	building_modifiers = {
		level_scaled = {
			building_employment_capitalists_add = 100
		}
		unscaled = {
			building_capitalists_shares_add = 10
		}
	}
}

pm_publicly_traded_building_lead_mine = {
	texture = "gfx/interface/icons/production_method_icons/publicly_traded.dds"

	unlocking_production_methods = {
		pm_atmospheric_engine_pump_building_lead_mine
		pm_condensing_engine_pump_building_lead_mine
		pm_diesel_pump_building_lead_mine
		pm_nuclear_pump_building_lead_mine
		pm_automated_mining_machine_building_lead_mine
	}

	disallowing_laws = {
		law_command_economy
		law_cooperative_ownership
	}

	unlocking_technologies = {
		mutual_funds
	}

	building_modifiers = {
		level_scaled = {
			building_employment_capitalists_add = 150
		}
		unscaled = {
			building_capitalists_shares_add = 10
		}
	}
}

pm_worker_cooperative_building_lead_mine = {
	texture = "gfx/interface/icons/production_method_icons/worker_cooperative.dds"

	unlocking_production_methods = {
		pm_atmospheric_engine_pump_building_lead_mine
		pm_condensing_engine_pump_building_lead_mine
		pm_diesel_pump_building_lead_mine
		pm_nuclear_pump_building_lead_mine
		pm_automated_mining_machine_building_lead_mine
	}

	unlocking_laws = {
		law_cooperative_ownership
	}

	building_modifiers = {
		level_scaled = {
			building_employment_shopkeepers_add = 250
		}
		unscaled = {
			building_workforce_shares_add = 1
		}
	}
}

pm_privately_owned_building_sulfur_mine = {
	texture = "gfx/interface/icons/production_method_icons/privately_owned.dds"

	unlocking_production_methods = {
		pm_atmospheric_engine_pump_building_sulfur_mine
		pm_condensing_engine_pump_building_sulfur_mine
		pm_diesel_pump_building_sulfur_mine
		pm_nuclear_pump_building_sulfur_mine
		pm_automated_mining_machine_building_sulfur_mine
	}

	disallowing_laws = {
		law_command_economy
		law_cooperative_ownership
	}

	building_modifiers = {
		level_scaled = {
			building_employment_capitalists_add = 100
		}
		unscaled = {
			building_capitalists_shares_add = 10
		}
	}
}

pm_publicly_traded_building_sulfur_mine = {
	texture = "gfx/interface/icons/production_method_icons/publicly_traded.dds"

	unlocking_production_methods = {
		pm_atmospheric_engine_pump_building_sulfur_mine
		pm_condensing_engine_pump_building_sulfur_mine
		pm_diesel_pump_building_sulfur_mine
		pm_nuclear_pump_building_sulfur_mine
		pm_automated_mining_machine_building_sulfur_mine
	}

	disallowing_laws = {
		law_command_economy
		law_cooperative_ownership
	}

	unlocking_technologies = {
		mutual_funds
	}

	building_modifiers = {
		level_scaled = {
			building_employment_capitalists_add = 150
		}
		unscaled = {
			building_capitalists_shares_add = 10
		}
	}
}


pm_worker_cooperative_building_sulfur_mine = {
	texture = "gfx/interface/icons/production_method_icons/worker_cooperative.dds"

	unlocking_production_methods = {
		pm_atmospheric_engine_pump_building_sulfur_mine
		pm_condensing_engine_pump_building_sulfur_mine
		pm_diesel_pump_building_sulfur_mine
		pm_nuclear_pump_building_sulfur_mine
		pm_automated_mining_machine_building_sulfur_mine
	}

	unlocking_laws = {
		law_cooperative_ownership
	}

	building_modifiers = {
		level_scaled = {
			building_employment_shopkeepers_add = 250
		}
		unscaled = {
			building_workforce_shares_add = 1
		}
	}
}


pm_privately_owned_building_gold_mine = {
	texture = "gfx/interface/icons/production_method_icons/privately_owned.dds"

	unlocking_production_methods = {
		pm_atmospheric_engine_pump_building_gold_mine
		pm_condensing_engine_pump_building_gold_mine
		pm_diesel_pump_building_gold_mine
		pm_nuclear_pump_building_gold_mine
		pm_automated_mining_machine_building_gold_mine
	}

	disallowing_laws = {
		law_command_economy
		law_cooperative_ownership
	}

	building_modifiers = {
		level_scaled = {
			building_employment_capitalists_add = 100
		}
		unscaled = {
			building_capitalists_shares_add = 10
		}
	}
}

pm_publicly_traded_building_gold_mine = {
	texture = "gfx/interface/icons/production_method_icons/publicly_traded.dds"

	unlocking_production_methods = {
		pm_atmospheric_engine_pump_building_gold_mine
		pm_condensing_engine_pump_building_gold_mine
		pm_diesel_pump_building_gold_mine
		pm_nuclear_pump_building_gold_mine
		pm_automated_mining_machine_building_gold_mine
	}

	disallowing_laws = {
		law_command_economy
		law_cooperative_ownership
	}

	unlocking_technologies = {
		mutual_funds
	}

	building_modifiers = {
		level_scaled = {
			building_employment_capitalists_add = 150
		}
		unscaled = {
			building_capitalists_shares_add = 10
		}
	}
}

pm_government_run_building_gold_mine = {
	texture = "gfx/interface/icons/production_method_icons/government_run.dds"

	unlocking_production_methods = {
		pm_atmospheric_engine_pump_building_gold_mine
		pm_condensing_engine_pump_building_gold_mine
		pm_diesel_pump_building_gold_mine
		pm_nuclear_pump_building_gold_mine
		pm_automated_mining_machine_building_gold_mine
	}

	unlocking_laws = {
		law_command_economy
	}

	building_modifiers = {
		level_scaled = {
			building_employment_bureaucrats_add = 150
		}
		unscaled = {
			building_government_shares_add = 1
		}
	}
}


pm_worker_cooperative_building_gold_mine = {
	texture = "gfx/interface/icons/production_method_icons/worker_cooperative.dds"

	unlocking_production_methods = {
		pm_atmospheric_engine_pump_building_gold_mine
		pm_condensing_engine_pump_building_gold_mine
		pm_diesel_pump_building_gold_mine
		pm_nuclear_pump_building_gold_mine
		pm_automated_mining_machine_building_gold_mine
	}

	unlocking_laws = {
		law_cooperative_ownership
	}

	building_modifiers = {
		level_scaled = {
			building_employment_shopkeepers_add = 250
		}
		unscaled = {
			building_workforce_shares_add = 1
		}
	}
}
