Skip to content

Commit ae5c075

Browse files
committed
feat: implement production tech effects
1 parent 570c5a1 commit ae5c075

File tree

13 files changed

+318
-175
lines changed

13 files changed

+318
-175
lines changed

common/buildings/01_industry.txt

Lines changed: 25 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ building_food_industry = {
66
levels_per_mesh = 50
77

88
unlocking_technologies = {
9-
9+
industrial_revolution
1010
}
1111

1212
ai_nationalization_desire = -0.25 # AI is generally fine with privatizing consumer goods industries
@@ -39,7 +39,7 @@ building_distilleries = {
3939
levels_per_mesh = 50
4040

4141
unlocking_technologies = {
42-
42+
industrial_revolution
4343
}
4444

4545
ai_nationalization_desire = -0.25 # AI is generally fine with privatizing consumer goods industries
@@ -86,7 +86,7 @@ building_textile_manufactories = {
8686
levels_per_mesh = 50
8787

8888
unlocking_technologies = {
89-
89+
industrial_revolution
9090
}
9191

9292
ai_nationalization_desire = -0.25 # AI is generally fine with privatizing consumer goods industries
@@ -117,7 +117,7 @@ building_furniture_manufactories = {
117117
levels_per_mesh = 50
118118

119119
unlocking_technologies = {
120-
120+
industrial_revolution
121121
}
122122

123123
ai_nationalization_desire = -0.25 # AI is generally fine with privatizing consumer goods industries
@@ -148,7 +148,7 @@ building_glassworks = {
148148
levels_per_mesh = 50
149149

150150
unlocking_technologies = {
151-
151+
industrial_revolution
152152
}
153153

154154
production_method_groups = {
@@ -177,7 +177,7 @@ building_tool_manufactories = {
177177
levels_per_mesh = 50
178178

179179
unlocking_technologies = {
180-
180+
industrial_revolution
181181
}
182182

183183
ai_nationalization_desire = 0.25 # AI is a bit reluctant to privatize tools due to importance for construction etc
@@ -210,7 +210,7 @@ building_paper_manufactories = {
210210
levels_per_mesh = 50
211211

212212
unlocking_technologies = {
213-
213+
industrial_revolution
214214
}
215215

216216
ai_nationalization_desire = 0.25 # AI is a bit reluctant to privatize government goods
@@ -241,7 +241,7 @@ building_chemical_plants = {
241241
levels_per_mesh = 50
242242

243243
unlocking_technologies = {
244-
244+
industrial_chemistry
245245
}
246246

247247
production_method_groups = {
@@ -270,7 +270,7 @@ building_synthetics_plant = {
270270
levels_per_mesh = 50
271271

272272
unlocking_technologies = {
273-
273+
synthetic_polymers
274274
}
275275

276276
production_method_groups = {
@@ -299,7 +299,7 @@ building_steelworks = {
299299
levels_per_mesh = 50
300300

301301
unlocking_technologies = {
302-
302+
industrial_metallurgy
303303
}
304304

305305
ai_nationalization_desire = 0.25 # AI will generally not privatize steel mills due to importance for construction
@@ -331,7 +331,7 @@ building_aluminum_refinery = {
331331
levels_per_mesh = 50
332332

333333
unlocking_technologies = {
334-
334+
industrial_metallurgy
335335
}
336336

337337
production_method_groups = {
@@ -360,7 +360,7 @@ building_motor_industry = {
360360
levels_per_mesh = 50
361361

362362
unlocking_technologies = {
363-
363+
combustion_engine
364364
}
365365

366366
production_method_groups = {
@@ -390,7 +390,7 @@ building_automobile_manufactories = {
390390
levels_per_mesh = 50
391391

392392
unlocking_technologies = {
393-
393+
automobiles
394394
}
395395

396396
ai_nationalization_desire = -0.25 # AI is generally fine with privatizing consumer goods industries
@@ -421,7 +421,7 @@ building_tank_factory = {
421421
levels_per_mesh = 50
422422
icon = "gfx/interface/icons/building_icons/advanced_military.dds"
423423
unlocking_technologies = {
424-
424+
industrial_revolution
425425
}
426426

427427
ai_nationalization_desire = -0.15 # AI might be more inclined to nationalize tank factories
@@ -481,7 +481,7 @@ building_drydocks = {
481481
city_type = port
482482

483483
unlocking_technologies = {
484-
484+
industrial_revolution
485485
}
486486

487487
ai_nationalization_desire = 0.5 # AI generally does not want to privatize military goods industries
@@ -512,7 +512,7 @@ building_electronics_manufactories = {
512512
levels_per_mesh = 50
513513

514514
unlocking_technologies = {
515-
515+
vacuum_tubes
516516
}
517517

518518
production_method_groups = {
@@ -542,7 +542,7 @@ building_small_arms_manufactories = {
542542
levels_per_mesh = 50
543543

544544
unlocking_technologies = {
545-
545+
industrial_revolution
546546
}
547547

548548
ai_nationalization_desire = 0.5 # AI generally does not want to privatize military goods industries
@@ -574,7 +574,7 @@ building_explosives_industry = {
574574
levels_per_mesh = 50
575575

576576
unlocking_technologies = {
577-
577+
industrial_chemistry
578578
}
579579

580580
ai_nationalization_desire = 0.5 # AI generally does not want to privatize military goods industries
@@ -605,7 +605,7 @@ building_munitions_plants = {
605605
levels_per_mesh = 50
606606

607607
unlocking_technologies = {
608-
608+
industrial_revolution
609609
}
610610

611611
ai_nationalization_desire = 0.5 # AI generally does not want to privatize military goods industries
@@ -636,7 +636,7 @@ building_fuel_refineries = {
636636
levels_per_mesh = 50
637637

638638
unlocking_technologies = {
639-
oil_refineries
639+
petroleum_refining
640640
}
641641

642642
ai_nationalization_desire = 0.25 # Fuel is a strategic resource
@@ -668,7 +668,7 @@ building_biofuel_refineries = {
668668
levels_per_mesh = 50
669669

670670
unlocking_technologies = {
671-
671+
ethanol_fuels
672672
}
673673

674674
ai_nationalization_desire = 0.25 # Fuel is a strategic resource
@@ -734,7 +734,7 @@ building_battery_manufactories = {
734734
levels_per_mesh = 50
735735

736736
unlocking_technologies = {
737-
alkaline_batteries
737+
chemical_batteries
738738
}
739739

740740
production_method_groups = {
@@ -764,6 +764,7 @@ building_pharmaceutical_industry = {
764764

765765
unlocking_technologies = {
766766
antibiotics
767+
chemical_synthesis
767768
}
768769
production_method_groups = {
769770
pmg_base_pharmaceuticals
@@ -791,7 +792,7 @@ building_computer_manufactories = {
791792
levels_per_mesh = 50
792793

793794
unlocking_technologies = {
794-
795+
mechanical_computers
795796
}
796797

797798
production_method_groups = {
@@ -820,7 +821,7 @@ building_consumer_electronics_manufactories = {
820821
levels_per_mesh = 50
821822

822823
unlocking_technologies = {
823-
824+
household_appliances
824825
}
825826

826827
ai_nationalization_desire = -0.25 # AI is generally fine with privatizing consumer goods industries

common/buildings/06_urban_center.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ building_combustion_plant = {
8080
icon ="gfx/interface/icons/building_icons/power_plant.dds"
8181
levels_per_mesh = 50
8282
unlocking_technologies = {
83-
early_electrical_generation
83+
mass_electrification
8484
}
8585
production_method_groups = {
8686
pmg_base_combustion_plants
@@ -102,7 +102,7 @@ building_nuclear_power_plant = {
102102
icon ="gfx/interface/icons/building_icons/nuclear_power_plant.dds"
103103
levels_per_mesh = 50
104104
unlocking_technologies = {
105-
nuclear_reactors
105+
civil_nuclear_power
106106
}
107107
production_method_groups = {
108108
pmg_base_nuclear_power_plants

common/buildings/09_misc_resource.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ building_oil_platform = {
6464
required_construction = construction_cost_high
6565

6666
unlocking_technologies = {
67-
pre_war_resource_extraction
67+
offshore_extraction
6868
}
6969

7070
production_method_groups = {
@@ -84,7 +84,7 @@ building_natural_gas_well = {
8484
required_construction = construction_cost_medium
8585

8686
unlocking_technologies = {
87-
natural_gas_extraction
87+
mechanized_oil_and_gas_extraction
8888
}
8989

9090
production_method_groups = {

common/buildings/11_private_infrastructure.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ building_railway = {
3535
ai_nationalization_desire = 0.5 # AI is reluctant to privatize railways since they are likely to need subsidies anyway
3636

3737
unlocking_technologies = {
38-
railways
38+
railway_system
3939
}
4040

4141
production_method_groups = {

common/production_method_groups/01_industry.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ pmg_synthetic_fabrics = {
115115
pm_nylon
116116
pm_polyester
117117
pm_carbon_fibers
118+
pm_conductive_smart_fabric
118119
}
119120
}
120121

@@ -365,7 +366,7 @@ pmg_base_tanks = {
365366
pmg_propulsion_automobiles = {
366367
texture = "gfx/interface/icons/generic_icons/mixed_icon_base.dds"
367368
production_methods = {
368-
pm_refined_oil_production
369+
pm_refined_oil_propulsion
369370
pm_natural_gas_propulsion
370371
pm_electric_propulsion
371372
}
@@ -556,7 +557,7 @@ pmg_base_fuel_refineries = {
556557
texture = "gfx/interface/icons/generic_icons/mixed_icon_base.dds"
557558
production_methods = {
558559
pm_thermal_distillates
559-
pm_catalytic_converstion
560+
pm_catalytic_conversion
560561
pm_high_octane_blending
561562
pm_full_conversion_refining
562563
}

0 commit comments

Comments
 (0)