﻿
### AUTOMATION ###
pm_automation_disabled = {
	texture = "gfx/interface/icons/production_method_icons/no_automation.dds"
}

pm_automation_working_tools = {
	texture = "gfx/pm_icons/working_tools.dds"
	
	unlocking_technologies = {
		lathe
	}

	building_modifiers = {
		workforce_scaled = {
			# input goods
			goods_input_tools_add = 3 # 120
		}

		level_scaled = {
			building_employment_laborers_add = -500
		}
		
		unscaled = {
			building_throughput_add = 0.04
		}
	}
}

pm_automation_watertube_boiler = {
	texture = "gfx/interface/icons/production_method_icons/watertube_boiler.dds"
	
	unlocking_technologies = {
		watertube_boiler
	}

	disallowing_laws = {
		law_industry_banned
	}
	
	state_modifiers = {
		workforce_scaled = {
			state_pollution_generation_add = 5
		}
	}

	building_modifiers = {
		workforce_scaled = {
			# input goods
			goods_input_tools_add = 4			# 160
			goods_input_coal_add = 4			# 120 # TOTAL 280
		}

		level_scaled = {
			building_employment_laborers_add = -1000
		}
		
		unscaled = {
			building_throughput_add = 0.06
		}
	}
}

pm_automation_pneumatic_conveyor = {
	texture = "gfx/interface/icons/production_method_icons/rotary_valve_engine.dds"
	
	unlocking_technologies = {
		rotary_valve_engine
	}

	disallowing_laws = {
		law_industry_banned
	}
	
	state_modifiers = {
		workforce_scaled = {
			state_pollution_generation_add = 8
		}
	}

	building_modifiers = {
		workforce_scaled = {
			# input goods
			goods_input_tools_add = 5			# 200
			goods_input_coal_add = 5			# 150 # TOTAL 350
		}

		level_scaled = {
			building_employment_laborers_add = -1500
		}
		
		unscaled = {
			building_throughput_add = 0.09
		}
	}
}

pm_automation_electric_drive = {
	texture = "gfx/pm_icons/electric_drive.dds"
	
	unlocking_technologies = {
		electrification
	}

	disallowing_laws = {
		law_industry_banned
	}

	building_modifiers = {
		workforce_scaled = {
			# input goods
			goods_input_tools_add = 4			# 160
			goods_input_wire_add = 3			# 90
			goods_input_electricity_add = 5.5	# 165 # TOTAL 415
		}

		level_scaled = {
			building_employment_laborers_add = -2000
		}
		
		unscaled = {
			building_throughput_add = 0.12
		}
	}
	
}

pm_automation_conveyor_production = {
	texture = "gfx/pm_icons/conveyor_production.dds"
	
	unlocking_technologies = {
		conveyors
	}

	disallowing_laws = {
		law_industry_banned
	}
	
	state_modifiers = {
		workforce_scaled = {
			state_pollution_generation_add = 10
		}
	}

	building_modifiers = {
		workforce_scaled = {
			# input goods
			goods_input_tools_add = 4			# 160
			goods_input_wire_add = 4			# 120
			goods_input_oil_add = 1				# 40
			goods_input_electricity_add = 6		# 180 # TOTAL 500
		}

		level_scaled = {
			building_employment_laborers_add = -2500
		}
		
		unscaled = {
			building_throughput_add = 0.15
		}
	}
}

pm_automation_assembly_lines = {
	texture = "gfx/interface/icons/production_method_icons/assembly_lines.dds"
	
	unlocking_technologies = {
		assembly_lines
	}

	disallowing_laws = {
		law_industry_banned
	}
	
	state_modifiers = {
		workforce_scaled = {
			state_pollution_generation_add = 10
		}
	}

	building_modifiers = {
		workforce_scaled = {
			# input goods
			goods_input_tools_add = 4			# 240
			goods_input_wire_add = 3			# 90
			goods_input_fuel_add = 3			# 150
			goods_input_electricity_add = 4		# 120 # TOTAL 600
		}

		level_scaled = {
			building_employment_laborers_add = -3000
		}
		
		unscaled = {
			building_throughput_add = 0.2
		}
	}
}

pm_traditional_looms = {
	texture = "gfx/interface/icons/production_method_icons/no_automation.dds"
}

pm_mechanized_looms = {
	texture = "gfx/interface/icons/production_method_icons/mechanized_looms.dds"

	unlocking_technologies = {
		mechanized_workshops
	}

	disallowing_laws = {
		law_industry_banned
	}

	building_modifiers = {
		workforce_scaled = {
			# input goods
			goods_input_tools_add = 5			# 200
		}

		level_scaled = {
			building_employment_laborers_add = -1500
		}
		
		unscaled = {
			building_throughput_add = 0.08
		}
	}
}

pm_automatic_power_looms = {
	texture = "gfx/interface/icons/production_method_icons/automatic_power_looms.dds"

	unlocking_technologies = {
		electrical_capacitors
	}

	disallowing_laws = {
		law_industry_banned
	}

	building_modifiers = {
		workforce_scaled = {
			# input goods
			goods_input_electronics_add = 5			# 200
			goods_input_electricity_add = 10	# 300	# TOTAL 500
		}

		level_scaled = {
			building_employment_laborers_add = -3000
		}
		
		unscaled = {
			building_throughput_add = 0.15
		}
	}
}


### SOLID AUTOMATION ###


pm_automation_disabled_solid = {
	texture = "gfx/interface/icons/production_method_icons/no_automation.dds"
}

pm_mixing_machines = {
	texture = "gfx/pm_icons/mixers.dds"
	
	unlocking_technologies = {
		electrical_capacitors
	}

	disallowing_laws = {
		law_industry_banned
	}
	
	state_modifiers = {
		workforce_scaled = {
			state_pollution_generation_add = 5
		}
	}

	building_modifiers = {
		workforce_scaled = {
			# input goods
			goods_input_tools_add = 3			# 120
			goods_input_coal_add = 3			# 90 # TOTAL 210
		}

		level_scaled = {
			building_employment_laborers_add = -500
			building_employment_machinists_add = -500
		}
		
		unscaled = {
			building_throughput_add = 0.06
		}
	}
}

pm_centrifuge = {
	texture = "gfx/pm_icons/centrifuge.dds"
	
	unlocking_technologies = {
		automatic_machines
	}

	disallowing_laws = {
		law_industry_banned
	}
	
	state_modifiers = {
		workforce_scaled = {
			state_pollution_generation_add = 5
		}
	}

	building_modifiers = {
		workforce_scaled = {
			# input goods
			goods_input_tools_add = 3			# 160
			goods_input_wire_add = 1			# 30
			goods_input_fuel_add = 1			# 50
			goods_input_electricity_add = 6		# 180 # TOTAL 420
		}

		level_scaled = {
			building_employment_laborers_add = -1000
			building_employment_machinists_add = -1000
		}
		
		unscaled = {
			building_throughput_add = 0.15
		}
	}
}

### AUTOMATION 2500

pm_automation_pneumatic_conveyor_2500 = {
	texture = "gfx/interface/icons/production_method_icons/rotary_valve_engine.dds"
	
	unlocking_technologies = {
		rotary_valve_engine
	}

	disallowing_laws = {
		law_industry_banned
	}
	
	state_modifiers = {
		workforce_scaled = {
			state_pollution_generation_add = 8
		}
	}

	building_modifiers = {
		workforce_scaled = {
			# input goods
			goods_input_tools_add = 3			# 120
			goods_input_coal_add = 3			# 90 # TOTAL 210
		}

		level_scaled = {
			building_employment_laborers_add = -1000
		}
		
		unscaled = {
			building_throughput_add = 0.09
		}
	}
}

pm_automation_electric_drive_2500 = {
	texture = "gfx/pm_icons/electric_drive.dds"
	
	unlocking_technologies = {
		electrification
	}

	disallowing_laws = {
		law_industry_banned
	}

	building_modifiers = {
		workforce_scaled = {
			# input goods
			goods_input_tools_add = 3			# 120
			goods_input_wire_add = 2			# 60
			goods_input_electricity_add = 4		# 120 # TOTAL 300
		}

		level_scaled = {
			building_employment_laborers_add = -1500
		}
		
		unscaled = {
			building_throughput_add = 0.12
		}
	}
	
}

pm_automation_conveyor_production_2500 = {
	texture = "gfx/pm_icons/conveyor_production.dds"
	
	unlocking_technologies = {
		conveyors
	}

	disallowing_laws = {
		law_industry_banned
	}
	
	state_modifiers = {
		workforce_scaled = {
			state_pollution_generation_add = 10
		}
	}

	building_modifiers = {
		workforce_scaled = {
			# input goods
			goods_input_tools_add = 3			# 120
			goods_input_wire_add = 3			# 90
			goods_input_oil_add = 1				# 40
			goods_input_electricity_add = 5		# 150 # TOTAL 400
		}

		level_scaled = {
			building_employment_laborers_add = -2000
		}
		
		unscaled = {
			building_throughput_add = 0.15
		}
	}
}

pm_automation_assembly_lines_2500 = {
	texture = "gfx/interface/icons/production_method_icons/assembly_lines.dds"
	
	unlocking_technologies = {
		assembly_lines
	}

	disallowing_laws = {
		law_industry_banned
	}
	
	state_modifiers = {
		workforce_scaled = {
			state_pollution_generation_add = 10
		}
	}

	building_modifiers = {
		workforce_scaled = {
			# input goods
			goods_input_tools_add = 3			# 120
			goods_input_wire_add = 2			# 60
			goods_input_fuel_add = 3			# 150
			goods_input_electricity_add = 4.5	# 165 # TOTAL 495
		}

		level_scaled = {
			building_employment_laborers_add = -2500
		}
		
		unscaled = {
			building_throughput_add = 0.2
		}
	}
}

### 2000 LATE AUTOMATION

pm_automation_conveyor_production_2000_late = {
	texture = "gfx/pm_icons/conveyor_production.dds"
	
	unlocking_technologies = {
		conveyors
	}

	disallowing_laws = {
		law_industry_banned
	}
	
	state_modifiers = {
		workforce_scaled = {
			state_pollution_generation_add = 10
		}
	}

	building_modifiers = {
		workforce_scaled = {
			# input goods
			goods_input_tools_add = 2.5			# 100
			goods_input_wire_add = 2			# 60
			goods_input_oil_add = 1				# 40
			goods_input_electricity_add = 3		# 60 	# TOTAL 290
		}

		level_scaled = {
			building_employment_laborers_add = -1500
		}
		
		unscaled = {
			building_throughput_add = 0.15
		}
	}
}

pm_automation_assembly_lines_2000_late = {
	texture = "gfx/interface/icons/production_method_icons/assembly_lines.dds"
	
	unlocking_technologies = {
		assembly_lines
	}

	disallowing_laws = {
		law_industry_banned
	}
	
	state_modifiers = {
		workforce_scaled = {
			state_pollution_generation_add = 10
		}
	}

	building_modifiers = {
		workforce_scaled = {
			# input goods
			goods_input_tools_add = 3			# 120
			goods_input_wire_add = 3			# 90
			goods_input_fuel_add = 2			# 100
			goods_input_electricity_add = 3		# 90 	# TOTAL 400
		}

		level_scaled = {
			building_employment_laborers_add = -2000
		}
		
		unscaled = {
			building_throughput_add = 0.2
		}
	}
}

### SMALL BUILDING AUTOMATION ###

### AUTOMATION ###
pm_automation_manual_motion = {
	texture = "gfx/interface/icons/production_method_icons/no_automation.dds"
}

pm_automation_pneumatic_motion = {
	texture = "gfx/interface/icons/production_method_icons/watertube_boiler.dds"
	
	unlocking_technologies = {
		watertube_boiler
	}

	disallowing_laws = {
		law_industry_banned
	}
	
	state_modifiers = {
		workforce_scaled = {
			state_pollution_generation_add = 3
		}
	}

	building_modifiers = {
		workforce_scaled = {
			# input goods
			goods_input_tools_add = 1			# 40
			goods_input_coal_add = 2			# 60 # TOTAL 100
		}

		level_scaled = {
			building_employment_laborers_add = -500
		}
		
		unscaled = {
			building_throughput_add = 0.05
		}
	}
}

pm_automation_electric_motion = {
	texture = "gfx/pm_icons/electric_drive.dds"
	
	unlocking_technologies = {
		electrification
	}

	disallowing_laws = {
		law_industry_banned
	}

	building_modifiers = {
		workforce_scaled = {
			# input goods
			goods_input_tools_add = 2			# 80
			goods_input_electricity_add = 4		# 120 # TOTAL 200
		}

		level_scaled = {
			building_employment_laborers_add = -1000
		}
		
		unscaled = {
			building_throughput_add = 0.1
		}
	}
	
}

pm_automation_automatic_motion = {
	texture = "gfx/interface/icons/production_method_icons/assembly_lines.dds"
	
	unlocking_technologies = {
		assembly_lines
	}

	disallowing_laws = {
		law_industry_banned
	}
	
	state_modifiers = {
		workforce_scaled = {
			state_pollution_generation_add = 5
		}
	}

	building_modifiers = {
		workforce_scaled = {
			# input goods
			goods_input_tools_add = 3			# 120
			goods_input_fuel_add = 2			# 100
			goods_input_electricity_add = 2.5		# 90 # TOTAL 295
		}

		level_scaled = {
			building_employment_laborers_add = -1500
		}
		
		unscaled = {
			building_throughput_add = 0.15
		}
	}
}


### BAKERY ###

pm_electric_ovens_bakery = {
	texture = "gfx/pm_icons/bakery.dds"
	
	disallowing_laws = {
		law_industry_banned
	}

	unlocking_technologies = {
		steam_turbine
	}
	
	building_modifiers = {
		workforce_scaled = {
			# input goods
			goods_input_tools_add = 4.5		# 180
			goods_input_electricity_add = 4	# 120	# TOTAL 300
		}

		level_scaled = {
			building_employment_laborers_add = -1500
		}
		
		unscaled = {
			building_throughput_add = 0.1
		}
	}
}


pm_automated_bakery = {
	texture = "gfx/interface/icons/production_method_icons/automated_bakery.dds"

	disallowing_laws = {
		law_industry_banned
	}

	unlocking_technologies = {
		dough_rollers
	}

	building_modifiers = {
		workforce_scaled = {
			# input goods
			goods_input_tools_add = 6			# 240
			goods_input_electronics_add = 3		# 120
			goods_input_electricity_add = 10		# 180	# TOTAL 600
		}

		level_scaled = {
			building_employment_laborers_add = -3000
		}
		
		unscaled = {
			building_throughput_add = 0.2
		}
	}
}
