# We shall decide based on base price of these stuff

#Coal cost $30
#Electricity cost $30
#Tools cost $40
#sulfur cost $50
#radioactive_ore cost $40 (Same as iron ore
#irradiated_material cost $50


#Idea: Chemical processing should be quite rudimentary while electrical processing
#ain't much more advanced

#A bit better than sewing machines

### Range would be: 2000-3600, per 4,500 employees

####################### Computers, Wetwires, etc.

###################### Circuit Printing#############
### There are two parts of profit for
### circuit printing: the base and the cybernetics
### Cybernetics earns about 500, and base earns about 2500 to 3000.
### Cybernetics unlocked by tech and pm.
### All costs lowered by 1,200 in base, to provide place for
### silicon refinery methods.

pm_rudimentary_circuit_board = {
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/rudimentary_circuit_board.jpg"
	pollution_generation = 20
	
	unlocking_technologies = {
		programmables_tech
	}
	
	building_modifiers = {
		workforce_scaled = {
			building_input_electricity_add = 20 #$600
			building_input_steel_add = 10 #500
			building_input_irradiated_material_add = 6 #300
			building_input_tools_add = 15 #600
			building_input_research_and_engineering_add = 10 #1,000

			#Total Cost $2,800
			## Add 1,200 silicon
			
			# output goods

			building_output_programmables_add = 180
			#Total Gain $6,000
			#Profit $2,000
		}

		level_scaled = {
			building_employment_laborers_add = 2000
			building_employment_machinists_add = 1400
			building_employment_engineers_add = 1000
		}
	}
}

pm_printed_circuit_board = {
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/printed_circuit_board.jpg"
	pollution_generation = 30

	unlocking_technologies = {
		art_of_silicon
	}
	
	building_modifiers = {
		workforce_scaled = {
			building_input_electricity_add = 35 #$1050


			building_input_glass_add = 30 #1,200

			building_input_steel_add = 20 #1,000
			building_input_irradiated_material_add = 10 #500
			building_input_tools_add = 25 #1000
			building_input_research_and_engineering_add = 25 #1,000


			#Total Cost $6,350
			## Add 1,200 silicon
			
			# output goods

			building_output_programmables_add = 340
			#Total Gain $10,800
			#Profit $3,250
			## Plus 600 from cybernetics
		}


		level_scaled = {
			building_employment_laborers_add = 1000
			building_employment_machinists_add = 1800
			building_employment_engineers_add = 1400
		}
	}
}

### All silicon refining methods cost 1,200
pm_advanced_optical_lithography = {
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/advanced_optical_lithography.dds"
	pollution_generation = 5
	
	unlocking_technologies = {
		programmables_tech
	}
	
	building_modifiers = {
		workforce_scaled = {
			building_input_glass_add = 15 #600
			building_input_tools_add = 6 #240
			building_input_electricity_add = 12 #360
		}
	}
}

pm_acid_surface_cleaning = {
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/acid_surface_cleaning.dds"
	pollution_generation = 15
	
	unlocking_technologies = {
		programmables_tech
	}
	
	building_modifiers = {
		workforce_scaled = {
			building_input_sulfur_add = 20 #1000
			building_input_irradiated_material_add = 4 #200
		}
	}
}

pm_alternative_semiconductive_materials = {
	texture = "gfx/interface/icons/goods_icons/irradiated_material.dds"
	pollution_generation = 5
	
	unlocking_technologies = {
		programmables_tech
	}
	
	building_modifiers = {
		workforce_scaled = {
			building_input_electricity_add = 10 #300
			building_input_irradiated_material_add = 10 #500
			building_input_steel_add = 8 #400
		}
	}
}

pm_no_cybernetics = {
	texture = "gfx/interface/icons/production_method_icons/no_automation.dds"
	pollution_generation = 0
}


pm_organic_material_cybernetics = {
	texture = "gfx/interface/icons/goods_icons/meat.dds"

	unlocking_technologies = {
		cybernetics_circuitry
	}
	
	unlocking_production_methods = {
		pm_printed_circuit_board
	}

	building_modifiers = {
		workforce_scaled = {
			building_input_meat_add = 12 #360
			building_input_research_and_engineering_add = 12 #480

			building_output_programmables_add = 48
			#600 profit
		}
	}
}

pm_stainless_steel_and_glass_cybernetics = {
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/stainless_steel_and_glass_cybernetics.dds"

	unlocking_technologies = {
		cybernetics_circuitry
	}
	
	unlocking_production_methods = {
		pm_printed_circuit_board
	}

	building_modifiers = {
		workforce_scaled = {
			building_input_steel_add = 4 #160
			building_input_glass_add = 4 #160
			building_input_research_and_engineering_add = 12 #480

			building_output_programmables_add = 48
			#600 profit
		}
	}
}

###### Computer Factory

pm_default_electronics_factory = {
	texture = "gfx/interface/icons/goods_icons/radios.dds"
	pollution_generation = 30

	unlocking_technologies = {
		electronic_processors
	}

	building_modifiers = {
		workforce_scaled = {



			building_input_steel_add = 8 #400
			building_input_rubber_add = 6 #240
			building_input_electricity_add = 12 #360
			building_input_programmables_add = 100 #3,000
			building_input_research_and_engineering_add = 20 #800
			building_input_glass_add = 5 #200

			#Total Cost $5,000
			## Add 1,200 performance improver

			building_output_radios_add = 125 #10000
		}


		level_scaled = {
			building_employment_laborers_add = 1000
			building_employment_machinists_add = 1800
			building_employment_engineers_add = 1400
		}

	}
}

### Three secondary "performance improver" pms will cost 1,200
pm_extra_processors = {
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/extra_processors.png"
	pollution_generation = 5
	
	building_modifiers = {
		workforce_scaled = {
			building_input_programmables_add = 24 #720
			building_input_research_and_engineering_add = 12 #480
		}
	}
}

pm_nuclear_fuel_cells = {
	texture = "gfx/interface/icons/goods_icons/nuclear_fuel.dds"
	pollution_generation = 5
	
	building_modifiers = {
		workforce_scaled = {
			building_input_nuclear_fuel_add = 10 #500
			building_input_nuclear_engines_add = 3 #180
			building_input_research_and_engineering_add = 13 #540
		}
	}
}

pm_extra_internal_memory = {
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/extra_internal_memory.dds"
	pollution_generation = 5
	
	building_modifiers = {
		workforce_scaled = {
			building_input_programmables_add = 14 #420
			building_input_steel_add = 4 #200
			building_input_irradiated_material_add = 2 #100
			building_input_research_and_engineering_add = 12 #480
		}
	}
}


#### Consumer Industries
#### Again, "Integrated Circuits" pm cost 1,200
pm_default_silicon_foundry = {
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/default_silicon_foundry.jpg"
	pollution_generation = 30

	unlocking_technologies = {
		art_of_silicon
	}
	
	building_modifiers = {
		workforce_scaled = {
		
			building_input_tools_add = 25 #1000
			building_input_electricity_add = 50 #$1,500
			building_input_nuclear_fuel_add = 10 #500
			building_input_radios_add = 10 #800
			building_input_irradiated_material_add = 15 #750
			building_input_dye_add = 10 #400
			building_input_research_and_engineering_add = 20 #800

			#Total Cost $5,500
			## Add 1,200 performance improver
			
			# output goods
			building_output_porcelain_add = 150
			#Total Gain $10,500
		}


		level_scaled = {
			building_employment_laborers_add = 1000
			building_employment_machinists_add = 1800
			building_employment_engineers_add = 1400
		}

	}
}

pm_default_household_electronics = {
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/default_household_electronics.jpg"
	pollution_generation = 30

	unlocking_technologies = {
		consumer_electronics
	}

	building_modifiers = {
		workforce_scaled = {

			building_input_programmables_add = 40 #1200
			building_input_radios_add = 20 #1600
			building_input_electricity_add = 20 #$600
			building_input_steel_add = 20 #$1,000
			building_input_rubber_add = 10 #400	
			building_input_glass_add = 16 #640
			building_input_research_and_engineering_add = 15 #600

			#Total Cost $5,800
			## Add 1,200 performance improver
			
			# output goods

			building_output_luxury_furniture_add = 180
			#Total Gain $10,800
		}


		level_scaled = {
			building_employment_laborers_add = 1000
			building_employment_machinists_add = 1800
			building_employment_engineers_add = 1400
		}

	}
}

pm_default_household_exoskeleton = {
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/default_household_exoskeleton.jpg"
	pollution_generation = 30

	unlocking_technologies = {
		powered_exoskeletons
	}
	
	building_modifiers = {
		workforce_scaled = {

			building_input_programmables_add = 40 #1200
			building_input_radios_add = 20 #1600
			building_input_nuclear_fuel_add = 15 #$750
			building_input_steel_add = 18 #$900
			building_input_rubber_add = 10 #400		
			building_input_glass_add = 5 #200
			building_input_research_and_engineering_add = 25 #1,000

			#Total Cost $5,800
			## Add 1,200 performance improver
			
			# output goods

			building_output_luxury_clothes_add = 180
			#Total Gain $10,800
		}


		level_scaled = {
			building_employment_laborers_add = 1000
			building_employment_machinists_add = 1800
			building_employment_engineers_add = 1400
		}

	}
}

### Three secondary "performance improver" pms will cost 1,200
pm_integrated_circuit_board = {
	texture = "gfx/interface/icons/goods_icons/programmables.dds"
	pollution_generation = 5
	
	building_modifiers = {
		workforce_scaled = {
			building_input_programmables_add = 40
		}
	}
}

pm_command_line_interface = {
	texture = "gfx/interface/icons/goods_icons/radios.dds"
	pollution_generation = 5
	
	building_modifiers = {
		workforce_scaled = {
			building_input_radios_add = 15
		}
	}
}


pm_default_network_center = {
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/default_network_center.jpg"
	pollution_generation = 10

	unlocking_technologies = {
		consumer_electronics
	}
	
	building_modifiers = {
		workforce_scaled = {

			building_input_programmables_add = 60 #1,800
			building_input_radios_add = 25 #2,000
			building_input_electricity_add = 30 #$900

			#Total Cost $4,700
			## Add 2,400 performance improver
			
			# output goods

			building_output_services_add = 360
			#Total Gain $10,800
		}


		level_scaled = {
			building_employment_clerks_add = 1600
			building_employment_academics_add = 200
			building_employment_shopkeepers_add = 600
			building_employment_engineers_add = 400
		}

	}
}

## Each costs about 2,400
pm_computing_stations = {
	texture = "gfx/interface/icons/goods_icons/programmables.dds"
	pollution_generation = 5
	
	building_modifiers = {
		workforce_scaled = {
			building_input_programmables_add = 80 #2,400
		}
	}
}

pm_distributed_terminals = {
	texture = "gfx/interface/icons/goods_icons/radios.dds"
	pollution_generation = 5
	
	building_modifiers = {
		workforce_scaled = {
			building_input_radios_add = 25 #2,400
		}
	}
}

pm_bio_computing_units = {
	texture = "gfx/interface/icons/goods_icons/meat.dds"
	pollution_generation = 5
	
	building_modifiers = {
		workforce_scaled = {
			building_input_programmables_add = 60
			building_input_meat_add = 20
		}
	}
}