## Urban Center, Art Institute, and Research Contractor

pm_automated_trading_systems = {
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/automated_trading_systems.dds"
	unlocking_technologies = {
		high_performance_computing
	}

	building_modifiers = {
		workforce_scaled = {
			# arcade, costs 900, gets 2,400
			# This thing shoulg cost 800
			# And gives 3，000
			# But with less employment
			building_input_glass_add = 5 #200
			building_input_steel_add = 6 #300
			building_input_radios_add = 2 #160
			building_input_electricity_add = 2 #60

			building_output_services_add = 80 #2,250
		}

		level_scaled = {
			building_employment_laborers_add = 950
			building_employment_clerks_add = 900
			building_employment_academics_add = 100
			building_employment_shopkeepers_add = 1200
		}
		
		unscaled = {
			building_shopkeepers_shares_add = 5
		}
	}
}

pm_commuter_town = {
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/commuter_town.dds"
	unlocking_technologies = {
		high_performance_computing
	}

	unlocking_production_methods = {
		pm_general_aviation
	}


	building_modifiers = {
		workforce_scaled = {
			# This is like small version of automated trading system.
			building_input_transportation_add = 2 #60
			building_input_steel_add = 2 #100
			building_input_glass_add = 2.5 #200
			building_input_electricity_add = 1 #30

			building_output_services_add = 35 #1,050
		}

		level_scaled = {
			building_employment_laborers_add = 950
			building_employment_clerks_add = 750
			building_employment_shopkeepers_add = 750
		}
		
		unscaled = {
			building_shopkeepers_shares_add = 5
		}
	}
}


pm_general_aviation = {
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/general_aviation.png"
	
	pollution_generation = 12
	
	unlocking_technologies = {
		general_aviation
	}
	
	building_modifiers = {
		workforce_scaled = {
			building_input_nuclear_jet_add = 4 #280 + 200
			building_input_nuclear_fuel_add = 4

			building_output_services_add = 12
		}

		level_scaled = {
			building_employment_laborers_add = -1300
			building_employment_clerks_add = -400
		}
	}
}

pm_collective_emotional_link = {
	## Yes this is a Civ:Beyond Earth reference :)
	## Could have been one of the best Civ game with Civ 5 level effort	

	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/collective_emotional_link.jpg"
	pollution_generation = 20

	unlocking_technologies = {
		human_ego_programming
	}
	
	building_modifiers = {
		workforce_scaled = {
			building_input_radios_add = 4 #320	
			building_input_programmables_add = 4
			building_input_electricity_add = 2

			# output goods
			building_output_fine_art_add = 8
		}


		level_scaled = {
			building_employment_academics_add = 100

			## Plus 1,000 people from "patronage"
			## pm of the arts academy
		}

		unscaled = {
			building_engineers_mortality_mult = 0.01
			building_academics_mortality_mult = 0.05
		}
	}
}

pm_drug_enhanced_CEL = {
	## Don't use this. Just Don't.


	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/collective_emotional_link.jpg"
	pollution_generation = 20

	unlocking_technologies = {
		human_ego_programming
	}
	
	building_modifiers = {
		workforce_scaled = {
			building_input_radios_add = 4 #320	
			building_input_opium_add = 4 #200
			building_input_programmables_add = 4
			building_input_electricity_add = 2

			# output goods
			building_output_fine_art_add = 9

		}


		level_scaled = {
			building_employment_academics_add = 100

			## Plus 1,000 people from "patronage"
			## pm of the arts academy
		}

		unscaled = {
			building_engineers_mortality_mult = 0.05
			building_academics_mortality_mult = 0.125
		}
	}
}




### Private Research Contractor
## Should employ up to 4,000 to 2,500 people.
## Science should cost $40
## paper cost $30
## 4 sections.

#### Computation Methods
pm_research_contractor_computations_suanpan = {
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/research_contractor_computations_suanpan.png"

	building_modifiers = {
		workforce_scaled = {
			building_input_paper_add = 2 #60
			building_input_services_add = 4 #120


			# output goods
			building_output_research_and_engineering_add = 8 #320

		}


		level_scaled = {
			building_employment_academics_add = 200
			building_employment_clerks_add = 750
			building_employment_shopkeepers_add = 50
		}
	}
}

## Lv 2 should give 1,000 profit to 4,000 people. 250 each
pm_research_contractor_computations_newtons_method = {
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/research_contractor_computations_newtons_method.png"

	unlocking_technologies = {
		mod_nuclear_tech_calculus
	}

	building_modifiers = {
		workforce_scaled = {
			building_input_paper_add = 1
			building_input_services_add = 4
			building_input_tools_add = 4

			# output goods
			building_output_research_and_engineering_add = 15 #Get 600, Cost 270
		}


		level_scaled = {
			building_employment_academics_add = 400
			building_employment_clerks_add = 550
			building_employment_shopkeepers_add = 50
		}
	}
}

## Lv 3 should give about 1,800 profit to 4,000 people. That is, 450 each for 1,000 people
pm_research_contractor_computations_mechanical_computing = {
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/mechanical_computing.dds"

	unlocking_technologies = {
		mod_nuclear_tech_differential_equations
	}

	building_modifiers = {
		workforce_scaled = {
			building_input_services_add = 5 #150
			building_input_tools_add = 10 #400

			# output goods
			building_output_research_and_engineering_add = 25 #1000
		}


		level_scaled = {
			building_employment_academics_add = 600
			building_employment_clerks_add = 350
			building_employment_shopkeepers_add = 50
		}
	}
}

## Lv 4 should give about 2,960 profit to 3,200 people. 740 each for 800 people
pm_research_contractor_computations_experimental_electronic_computing = {
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/automated_production_line.jpg"

	unlocking_technologies = {
		radio
	}

	building_modifiers = {
		workforce_scaled = {
			building_input_services_add = 14 #420
			building_input_tools_add = 8 #320
			building_input_electricity_add = 4 #120

			# output goods
			building_output_research_and_engineering_add = 40 #1,600 gain
		}


		level_scaled = {
			building_employment_academics_add = 650
			building_employment_clerks_add = 100
			building_employment_shopkeepers_add = 50
		}
	}
}


## Lv 5 should give 2960 profit to 2800 people. That is, 740 for each group of 700 people
pm_research_contractor_computations_parallel_computing = {
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/collective_emotional_link.jpg"

	unlocking_technologies = {
		high_performance_computing
	}

	building_modifiers = {
		workforce_scaled = {
			building_input_tools_add = 4 #160
			building_input_radios_add = 8 #640
			building_input_services_add = 20 #600
			building_input_electricity_add = 8 #240 

			# output goods
			building_output_research_and_engineering_add = 60 #2,400 gain
		}


		level_scaled = {
			building_employment_academics_add = 625
			building_employment_clerks_add = 25
			building_employment_shopkeepers_add = 50
		}
	}
}

### Mathematics
## Lv 1 should give 400 profit to 4,000 people, divided by 4
pm_research_contractor_math_pre_calculus_and_discrete_probabilities = {
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/research_contractor_math_pre_calculus.png"

	building_modifiers = {
		workforce_scaled = {
			building_input_paper_add = 2 #60
			building_input_services_add = 4 #120


			# output goods
			building_output_research_and_engineering_add = 8 #320

		}


		level_scaled = {
			building_employment_academics_add = 200
			building_employment_clerks_add = 750
			building_employment_shopkeepers_add = 50
		}
	}
}

## Lv 2 should give 1,000 profit to 4,000 people. 250 each
pm_research_contractor_math_calculus_and_central_limit_theorem = {
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/research_contractor_math_calculus.png"

	unlocking_technologies = {
		mod_nuclear_tech_calculus
	}

	building_modifiers = {
		workforce_scaled = {
			building_input_paper_add = 1
			building_input_services_add = 4
			building_input_tools_add = 4

			# output goods
			building_output_research_and_engineering_add = 15 #Get 600, Cost 270
		}


		level_scaled = {
			building_employment_academics_add = 400
			building_employment_clerks_add = 550
			building_employment_shopkeepers_add = 50
		}
	}
}

## Lv 3 should give about 1,800 profit to 4,000 people. That is, 450 each for 1,000 people
pm_research_contractor_math_differential_equations_and_multilinear_regression = {
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/research_contractor_math_differential_equations.png"

	unlocking_technologies = {
		mod_nuclear_tech_differential_equations
	}

	building_modifiers = {
		workforce_scaled = {
			building_input_services_add = 9 #270
			building_input_tools_add = 7 #280

			# output goods
			building_output_research_and_engineering_add = 25 #1000
		}


		level_scaled = {
			building_employment_academics_add = 600
			building_employment_clerks_add = 350
			building_employment_shopkeepers_add = 50
		}
	}
}

## Lv 4 should give about 2,960 profit to 3,200 people. 740 each for 800 people
pm_research_contractor_math_group_theory_and_time_series_analysis = {
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/research_contractor_math_group_theory.png"

	unlocking_technologies = {
		mod_nuclear_tech_group_theory
	}

	building_modifiers = {
		workforce_scaled = {
			building_input_services_add = 20 #600
			building_input_tools_add = 5 #200
			building_input_electricity_add = 2 #60

			# output goods
			building_output_research_and_engineering_add = 40 #1,600 gain
		}


		level_scaled = {
			building_employment_academics_add = 650
			building_employment_clerks_add = 100
			building_employment_shopkeepers_add = 50
		}
	}
}


## Lv 5 should give 2960 profit to 2800 people. That is, 740 for each group of 700 people
pm_research_contractor_math_differential_geometry_and_stochastic_calculus = {
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/research_contractor_math_differential_geometry.png"

	unlocking_technologies = {
		high_performance_computing
	}

	unlocking_production_methods = {
		pm_research_contractor_computations_parallel_computing
	}

	building_modifiers = {
		workforce_scaled = {
			building_input_tools_add = 3 #120
			building_input_radios_add = 8 #640
			building_input_services_add = 28 #840
			building_input_electricity_add = 2 #60 

			# output goods
			building_output_research_and_engineering_add = 60 #2,400 gain
		}


		level_scaled = {
			building_employment_academics_add = 625
			building_employment_clerks_add = 25
			building_employment_shopkeepers_add = 50
		}
	}
}

## Copy for others

### Physics
## Lv 1 should give 400 profit to 4,000 people, divided by 4
pm_research_contractor_physics_medieval_mechanics = {
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/refining1.dds"

	building_modifiers = {
		workforce_scaled = {
			building_input_paper_add = 2 #60
			building_input_services_add = 4 #120

			# output goods
			building_output_research_and_engineering_add = 8 #320

		}


		level_scaled = {
			building_employment_academics_add = 200
			building_employment_clerks_add = 750
			building_employment_shopkeepers_add = 50
		}
	}
}

## Lv 2 should give 1,000 profit to 4,000 people. 250 each
pm_research_contractor_physics_newtonian_mechanics = {
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/refining2.dds"

	unlocking_technologies = {
		mod_nuclear_tech_calculus
	}

	building_modifiers = {
		workforce_scaled = {
			building_input_paper_add = 1
			building_input_services_add = 4
			building_input_tools_add = 4

			# output goods
			building_output_research_and_engineering_add = 15 #Get 600, Cost 270
		}


		level_scaled = {
			building_employment_academics_add = 400
			building_employment_clerks_add = 550
			building_employment_shopkeepers_add = 50
		}
	}
}

## Lv 3 should give about 1,800 profit to 4,000 people. That is, 450 each for 1,000 people
pm_research_contractor_physics_maxwell_equations = {
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/refining3.dds"

	unlocking_technologies = {
		chicago_pile_one
	}

	building_modifiers = {
		workforce_scaled = {
			building_input_services_add = 8 #240
			building_input_electricity_add = 1 #30
			building_input_tools_add = 7 #280

			# output goods
			building_output_research_and_engineering_add = 25 #1000
		}


		level_scaled = {
			building_employment_academics_add = 600
			building_employment_clerks_add = 350
			building_employment_shopkeepers_add = 50
		}
	}
}

## Lv 4 should give about 2,960 profit to 3,200 people. 740 each for 800 people
pm_research_contractor_physics_nuclear_physics = {
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/refining4.dds"

	unlocking_technologies = {
		sophisticated_nuclear_reactor
	}

	building_modifiers = {
		workforce_scaled = {

			building_input_services_add = 10 #300
			building_input_nuclear_engines_add = 5 #300
			building_input_nuclear_fuel_add = 5 #250
			## 900

			# output goods
			building_output_research_and_engineering_add = 40 #1,600 gain
		}


		level_scaled = {
			building_employment_academics_add = 650
			building_employment_clerks_add = 100
			building_employment_shopkeepers_add = 50
		}
	}
}


## Lv 5 should give 2960 profit to 2800 people. That is, 740 for each group of 700 people
pm_research_contractor_physics_computational_physics = {
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/refining5.dds"

	unlocking_technologies = {
		high_performance_computing
	}

	unlocking_production_methods = {
		pm_research_contractor_computations_parallel_computing
	}


	building_modifiers = {
		workforce_scaled = {

			building_input_nuclear_engines_add = 4 #240
			building_input_nuclear_fuel_add = 4 #200
			building_input_radios_add = 4 #320
			building_input_services_add = 25 #750
			building_input_electricity_add = 4 #120 

			# output goods
			building_output_research_and_engineering_add = 60 #2,400 gain
		}


		level_scaled = {
			building_employment_academics_add = 625
			building_employment_clerks_add = 25
			building_employment_shopkeepers_add = 50
		}
	}
}

### Engineering
## Lv 1 should give 400 profit to 4,000 people, divided by 4
pm_research_contractor_engineering_archimedian_era_machines = {
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/base1.dds"

	building_modifiers = {
		workforce_scaled = {
			building_input_paper_add = 2 #60
			building_input_services_add = 4 #120


			# output goods
			building_output_research_and_engineering_add = 8 #320

		}

		level_scaled = {
			building_employment_academics_add = 200
			building_employment_clerks_add = 750
			building_employment_shopkeepers_add = 50
		}
	}
}

## Lv 2 should give 1,000 profit to 4,000 people. 250 each
pm_research_contractor_engineering_atmospheric_engines = {
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/base2.dds"

	unlocking_technologies = {
		mod_nuclear_tech_calculus
	}

	building_modifiers = {
		workforce_scaled = {
			building_input_paper_add = 1
			building_input_services_add = 4
			building_input_tools_add = 4

			# output goods
			building_output_research_and_engineering_add = 15 #Get 600, Cost 270
		}


		level_scaled = {
			building_employment_academics_add = 400
			building_employment_clerks_add = 550
			building_employment_shopkeepers_add = 50
		}
	}
}

## Lv 3 should give about 1,800 profit to 4,000 people. That is, 450 each for 1,000 people
pm_research_contractor_engineering_electric_engineering = {
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/base3.dds"

	unlocking_technologies = {
		chicago_pile_one
	}

	building_modifiers = {
		workforce_scaled = {
			building_input_services_add = 8 #240
			building_input_electricity_add = 1 #30
			building_input_tools_add = 7 #280

			# output goods
			building_output_research_and_engineering_add = 25 #1000
		}


		level_scaled = {
			building_employment_academics_add = 600
			building_employment_clerks_add = 350
			building_employment_shopkeepers_add = 50
		}
	}
}

## Lv 4 should give about 2,960 profit to 3,200 people. 740 each for 800 people
pm_research_contractor_engineering_nuclear_reactor_engineering = {
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/base4.dds"

	unlocking_technologies = {
		miniaturized_nuclear_reactor
	}

	building_modifiers = {
		workforce_scaled = {
			building_input_services_add = 16 #480
			building_input_tools_add = 7 #280
			building_input_nuclear_fuel_add = 2 #100

			# output goods
			building_output_research_and_engineering_add = 40 #1,600 gain
		}


		level_scaled = {
			building_employment_academics_add = 650
			building_employment_clerks_add = 100
			building_employment_shopkeepers_add = 50
		}
	}
}


## Lv 5 should give 2960 profit to 2800 people. That is, 740 for each group of 700 people
pm_research_contractor_engineering_electronic_engineering = {
	texture = "gfx/interface/icons/Mod_Nuclear_Production_Method_Icons/base5.dds"

	unlocking_technologies = {
		art_of_silicon
	}

	building_modifiers = {
		workforce_scaled = {
			building_input_programmables_add = 16 #480
			building_input_tools_add = 3 #120
			building_input_glass_add = 4 #160
			building_input_services_add = 25 #750
			building_input_electricity_add = 4 #120 

			# output goods
			building_output_research_and_engineering_add = 60 #2,400 gain
		}


		level_scaled = {
			building_employment_academics_add = 625
			building_employment_clerks_add = 25
			building_employment_shopkeepers_add = 50
		}
	}
}

### Ownerships


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

	disallowing_laws = {
		law_command_economy
		law_cooperative_ownership
	}

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

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

	unlocking_technologies = {
		mutual_funds
	}

	disallowing_laws = {
		law_command_economy
		law_cooperative_ownership
	}

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

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

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

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

	unlocking_laws = {
		law_cooperative_ownership
	}

	building_modifiers = {
		level_scaled = {
			building_employment_academics_add = 200
		}
		unscaled = {
			building_workforce_shares_add = 1
		}
	}
}


