﻿
pm_brine_electrolysis = {
	texture = "gfx/interface/icons/production_method_icons/vaccum_brine_electrolysis.dds"
	state_modifiers = {
		workforce_scaled = {
			state_pollution_generation_add = 25
		}
	}

	unlocking_technologies = {
		refining
	}

	building_modifiers = {
		workforce_scaled = {
			# input goods
			goods_input_sulfur_add = 40
			goods_input_fertilizer_add = 50
			goods_input_paper_add = 30
			goods_input_electricity_add = 20

			# output goods
			goods_output_explosives_add = 150
		}

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

}

pm_oil-fired_plant = {
	texture = "gfx/interface/icons/production_method_icons/oil_fired_plant.dds"

	unlocking_technologies = {
		oil_turbine
	}

	state_modifiers = {
		workforce_scaled = {
			state_pollution_generation_add = 40
		}
	}

	building_modifiers = {
		workforce_scaled = {
			goods_input_engines_add = 10 # 600
			goods_input_fuel_add = 20 # 1000
			goods_output_electricity_add = 80 # 2400
		}

		level_scaled = {
			building_employment_laborers_add = 200
			building_employment_machinists_add = 600
			building_employment_engineers_add = 200
		}
	}
}

pm_trade_center = {
	texture = "gfx/interface/icons/production_method_icons/trade_center.dds"
	replacement_if_valid = pm_trade_center_principle_external_trade_2
	is_hidden_when_unavailable = yes

	building_modifiers = {
		level_scaled = {
			building_employment_clerks_add = 800
			building_employment_shopkeepers_add = 200
		}
		unscaled = {
			building_goods_input_mult = 1
		}
	}
	state_modifiers = {
		workforce_scaled = {
			state_weekly_trades_add = 2
			state_trade_capacity_add = 25
		}
	}
}

pm_trade_center_principle_external_trade_2 = {
	texture = "gfx/interface/icons/production_method_icons/trade_center.dds"
	is_hidden_when_unavailable = yes

	unlocking_principles = {
		principle_external_trade_2
		principle_external_trade_3
	}

	country_modifiers = {
		workforce_scaled = {
			country_influence_add = 0.5
		}
	}

	building_modifiers = {
		level_scaled = {
			building_employment_clerks_add = 800
			building_employment_shopkeepers_add = 200
		}
		unscaled = {
			building_goods_input_mult = 1
		}
	}
	state_modifiers = {
		workforce_scaled = {
			state_weekly_trades_add = 2
			state_trade_capacity_add = 25
		}
	}
}
