﻿
### OIL REFINERY ###

pm_oil_distillation = {
	texture = "gfx/pm_icons/patent_stills.dds"
	state_modifiers = {
		workforce_scaled = {
			state_pollution_generation_add = 15
		}
	}

	building_modifiers = {
		workforce_scaled = {
			# input goods
			goods_input_oil_add = 40			# 1600
			goods_input_electricity_add = 10	# 300	# TOTAL 1900

			# output goods
			goods_output_fuel_add = 50			# 2500
			goods_output_sulfur_add = 5			# 250 # TOTAL 2750 # PROFIT 850
		}

		level_scaled = {
			# employment
			building_employment_laborers_add = 1500
			building_employment_machinists_add = 1500
			building_employment_engineers_add = 500
			building_employment_shopkeepers_add = 500
		}
	}
}

pm_synthetic_diversion = {
	texture = "gfx/interface/icons/production_method_icons/ammonia_soda_process.dds"
	
	state_modifiers = {
		workforce_scaled = {
			state_pollution_generation_add = 20
		}
	}
	
	unlocking_technologies = {
		synthetic_rubber
	}

	building_modifiers = {
		workforce_scaled = {
			# input goods
			goods_input_oil_add = 20			# 800
			goods_input_coal_add = 22			# 660
			goods_input_electricity_add = 15	# 450	# TOTAL 1910

			# output goods
			goods_output_fuel_add = 50			# 2500
			goods_output_sulfur_add = 5			# 250 # TOTAL 3000 # PROFIT 840
		}

		level_scaled = {
			# employment
			building_employment_laborers_add = 1000
			building_employment_machinists_add = 1500
			building_employment_engineers_add = 1000
			building_employment_shopkeepers_add = 500
		}
		
		unscaled = {
			building_throughput_add = -0.1
		}
	}
}

pm_synthetic_oil = {
	texture = "gfx/interface/icons/production_method_icons/synthetic_dyes.dds"
	
	state_modifiers = {
		workforce_scaled = {
			state_pollution_generation_add = 25
		}
	}
	
	unlocking_technologies = {
		oil_turbine
	}

	building_modifiers = {
		workforce_scaled = {
			# input goods
			goods_input_coal_add = 50			# 1500
			goods_input_fertilizer_add = 5		# 150
			goods_input_electricity_add = 15	# 450	# TOTAL 2100

			# output goods
			goods_output_fuel_add = 70			# 3500	# PROFIT 1400
		}

		level_scaled = {
			# employment
			building_employment_laborers_add = 1000
			building_employment_machinists_add = 1000
			building_employment_engineers_add = 1500
			building_employment_shopkeepers_add = 500
		}
		
		unscaled = {
			building_throughput_add = -0.05
		}
	}
}
pm_thermal_cracking = {
	texture = "gfx/interface/icons/production_method_icons/vaccum_evaporation.dds"
	state_modifiers = {
		workforce_scaled = {
			state_pollution_generation_add = 20
		}
	}

	unlocking_technologies = {
		oil_turbine
	}
	
	building_modifiers = {
		workforce_scaled = {
			# input goods
			goods_input_oil_add = 48			# 1920
			goods_input_electricity_add = 15	# 450	# TOTAL 2370

			# output goods
			goods_output_fuel_add = 85			# 4250
			goods_output_sulfur_add = 8			# 400 	# TOTAL 4650
		}

		level_scaled = {
			# employment
			building_employment_laborers_add = 1000
			building_employment_machinists_add = 1500
			building_employment_engineers_add = 1000
			building_employment_shopkeepers_add = 500
		}
	}
}

# PLASTICS

pm_no_plastics = {
	texture = "gfx/pm_icons/no_plastics.dds"
	
}

pm_plastics_production = {
	texture = "gfx/pm_icons/plastics.dds"

	unlocking_technologies = {
		plastics
	}

	building_modifiers = {
		workforce_scaled = {
			goods_output_fuel_add = -30

			goods_output_plastics_add = 30	# NO PROFIT
		}
	}
}

pm_extensive_plastic_production = {
	texture = "gfx/pm_icons/plastics_extensive.dds"

	unlocking_technologies = {
		plastics
	}

	building_modifiers = {
		workforce_scaled = {
			goods_output_fuel_add = -50

			goods_output_plastics_add = 50	# NO PROFIT
		}
	}
}

pm_plastic_focus = {
	texture = "gfx/pm_icons/plastics_focus.dds"

	unlocking_technologies = {
		plastics
	}
	
	unlocking_production_methods = {
		pm_synthetic_oil
		pm_thermal_cracking
	}

	building_modifiers = {
		workforce_scaled = {
			goods_output_fuel_add = -75

			goods_output_plastics_add = 75	# NO PROFIT
		}
	}
}
