Skip to content

Commit 23eb072

Browse files
committed
Merge branch 'lack/service-economy' into law-updates
2 parents 37a5001 + 7821993 commit 23eb072

17 files changed

Lines changed: 43343 additions & 160 deletions

common/buildings/06_urban.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ building_hotels = {
166166
}
167167
production_method_groups = {
168168
pmg_base_hotels
169+
pmg_hotel_transportation
169170
pmg_hotel_gambling
170171
}
171172
required_construction = construction_cost_medium
@@ -286,7 +287,6 @@ building_urban_center = {
286287

287288
production_method_groups = {
288289
pmg_amenities
289-
pmg_commerce_services
290290
pmg_public_transport_urban_center
291291
pmg_urban_churches
292292
}

common/buildings/07_government.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
production_method_groups = {
2323
pmg_base_government_administration
2424
pmg_admin_telecom
25+
pmg_administration_outsourcing
2526
}
2627

2728
icon = "gfx/interface/icons/building_icons/building_government_administration.dds"
@@ -44,6 +45,7 @@ building_university = {
4445
production_method_groups = {
4546
pmg_base_university
4647
pmg_university_telecom
48+
pmg_university_outsourcing
4749
}
4850

4951
icon = "gfx/interface/icons/building_icons/building_university.dds"

common/production_method_groups/06_urban.txt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,16 @@ pmg_base_hotels = {
108108
}
109109
}
110110

111+
pmg_hotel_transportation = {
112+
texture = "gfx/interface/icons/generic_icons/mixed_icon_base.dds"
113+
ai_selection = most_productive
114+
production_methods = {
115+
pm_no_hotel_transport
116+
pm_tourist_shuttles
117+
pm_integrated_travel_packages
118+
}
119+
}
120+
111121
pmg_hotel_gambling = {
112122
texture = "gfx/interface/icons/generic_icons/mixed_icon_base.dds"
113123
production_methods = {
@@ -180,16 +190,6 @@ pmg_amenities = {
180190
}
181191
}
182192

183-
pmg_commerce_services = {
184-
texture = "gfx/interface/icons/generic_icons/mixed_icon_base.dds"
185-
production_methods = {
186-
pm_traditional_city_center
187-
pm_modern_downtown
188-
pm_developed_city_center
189-
pm_highrise_downtown_area
190-
}
191-
}
192-
193193
pmg_public_transport = {
194194
texture = "gfx/interface/icons/generic_icons/mixed_icon_base.dds"
195195
production_methods = {

common/production_method_groups/07_government.txt

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,15 @@ pmg_admin_telecom = {
2222
}
2323
}
2424

25+
pmg_administration_outsourcing = {
26+
texture = "gfx/interface/icons/generic_icons/mixed_icon_base.dds"
27+
ai_selection = most_productive
28+
production_methods = {
29+
pm_no_administration_outsourcing
30+
pm_professional_bureaucratic_services
31+
}
32+
}
33+
2534
# University
2635
pmg_base_university = {
2736
texture = "gfx/interface/icons/generic_icons/mixed_icon_base.dds"
@@ -45,3 +54,12 @@ pmg_university_telecom = {
4554
pm_world_wide_web_university
4655
}
4756
}
57+
58+
pmg_university_outsourcing = {
59+
texture = "gfx/interface/icons/generic_icons/mixed_icon_base.dds"
60+
ai_selection = most_productive
61+
production_methods = {
62+
pm_no_university_outsourcing
63+
pm_professional_research_services
64+
}
65+
}

common/production_methods/06_urban.txt

Lines changed: 60 additions & 114 deletions
Original file line numberDiff line numberDiff line change
@@ -683,6 +683,38 @@ pm_luxury_resorts = {
683683
}
684684
}
685685

686+
pm_no_hotel_transport = {
687+
texture = "gfx/interface/icons/production_method_icons/unused/base1.dds"
688+
}
689+
690+
pm_tourist_shuttles = {
691+
texture = "gfx/interface/icons/production_method_icons/urban/public_trams.dds"
692+
unlocking_technologies = {
693+
package_vacation
694+
}
695+
building_modifiers = {
696+
workforce_scaled = {
697+
goods_input_transportation_add = 10
698+
goods_output_tourism_add = 15
699+
# balance: inputs 300 (transportation 10x30); outputs 900 (tourism 15x60); weekly productivity 0.060
700+
}
701+
}
702+
}
703+
704+
pm_integrated_travel_packages = {
705+
texture = "gfx/interface/icons/production_method_icons/urban/public_motor_carriages.dds"
706+
unlocking_technologies = {
707+
wide_body_jetliners
708+
}
709+
building_modifiers = {
710+
workforce_scaled = {
711+
goods_input_transportation_add = 25
712+
goods_output_tourism_add = 40
713+
# balance: inputs 750 (transportation 25x30); outputs 2400 (tourism 40x60); weekly productivity 0.165
714+
}
715+
}
716+
}
717+
686718
pm_no_gambling = {
687719
texture = "gfx/interface/icons/production_method_icons/unused/base1.dds"
688720
}
@@ -1086,8 +1118,8 @@ pm_open_air_markets = {
10861118
city_lights_color_index = 0 # set in defines/cwp_graphics.txt
10871119
building_modifiers = {
10881120
workforce_scaled = {
1089-
goods_output_services_add = 10
1090-
# balance: inputs 0 (none); outputs 300 (services 10x30); weekly productivity 0.050
1121+
goods_output_deposits_add = 10
1122+
# balance: inputs 0 (none); outputs 250 (deposits 10x25); weekly productivity 0.042
10911123
}
10921124
level_scaled = {
10931125
building_employment_shopkeepers_add = 500
@@ -1108,8 +1140,8 @@ pm_enclosed_arcades = {
11081140
goods_input_wood_add = 1
11091141
goods_input_glass_add = 1
11101142
goods_input_cement_add = 1
1111-
goods_output_services_add = 20
1112-
# balance: inputs 90 (wood 1x20 + glass 1x40 + cement 1x30); outputs 600 (services 20x30); weekly productivity 0.085
1143+
goods_output_deposits_add = 20
1144+
# balance: inputs 90 (wood 1x20 + glass 1x40 + cement 1x30); outputs 500 (deposits 20x25); weekly productivity 0.068
11131145
}
11141146
level_scaled = {
11151147
building_employment_shopkeepers_add = 1000
@@ -1131,8 +1163,8 @@ pm_enclosed_shopping_malls = {
11311163
goods_input_glass_add = 2
11321164
goods_input_electricity_add = 2
11331165
goods_input_cement_add = 2
1134-
goods_output_services_add = 30
1135-
# balance: inputs 300 (steel 2x50 + glass 2x40 + electricity 2x30 + cement 2x30); outputs 900 (services 30x30); weekly productivity 0.100
1166+
goods_output_deposits_add = 30
1167+
# balance: inputs 300 (steel 2x50 + glass 2x40 + electricity 2x30 + cement 2x30); outputs 750 (deposits 30x25); weekly productivity 0.075
11361168
}
11371169
level_scaled = {
11381170
building_employment_shopkeepers_add = 1000
@@ -1154,8 +1186,8 @@ pm_vertical_shopping_malls = {
11541186
goods_input_glass_add = 4
11551187
goods_input_electricity_add = 3
11561188
goods_input_cement_add = 4
1157-
goods_output_services_add = 60
1158-
# balance: inputs 520 (steel 3x50 + glass 4x40 + electricity 3x30 + cement 4x30); outputs 1800 (services 60x30); weekly productivity 0.213
1189+
goods_output_deposits_add = 60
1190+
# balance: inputs 520 (steel 3x50 + glass 4x40 + electricity 3x30 + cement 4x30); outputs 1500 (deposits 60x25); weekly productivity 0.163
11591191
}
11601192
level_scaled = {
11611193
building_employment_shopkeepers_add = 1500
@@ -1165,101 +1197,8 @@ pm_vertical_shopping_malls = {
11651197
}
11661198
}
11671199

1168-
## Commerce Services
1169-
pm_traditional_city_center = {
1170-
texture = "gfx/interface/icons/production_method_icons/government_run.dds"
1171-
unlocking_technologies = {
1172-
planned_cities
1173-
}
1174-
building_modifiers = {
1175-
workforce_scaled = {
1176-
goods_input_cement_add = 1
1177-
goods_output_professional_services_add = 5
1178-
# balance: inputs 30 (cement 1x30); outputs 450 (professional_services 5x90); weekly productivity 0.105
1179-
}
1180-
level_scaled = {
1181-
building_employment_shopkeepers_add = 1000
1182-
building_employment_clerks_add = 3000
1183-
}
1184-
}
1185-
}
1186-
1187-
pm_modern_downtown = {
1188-
texture = "gfx/interface/icons/production_method_icons/government_run.dds"
1189-
unlocking_technologies = {
1190-
shopping_malls
1191-
}
1192-
building_modifiers = {
1193-
workforce_scaled = {
1194-
goods_input_iron_add = 1
1195-
goods_input_glass_add = 2
1196-
goods_input_electricity_add = 1
1197-
goods_input_cement_add = 2
1198-
goods_output_professional_services_add = 10
1199-
# balance: inputs 210 (iron 1x40 + glass 2x40 + electricity 1x30 + cement 2x30); outputs 900 (professional_services 10x90); weekly productivity 0.172
1200-
}
1201-
level_scaled = {
1202-
building_employment_shopkeepers_add = 1000
1203-
building_employment_clerks_add = 3000
1204-
}
1205-
}
1206-
}
1207-
1208-
pm_developed_city_center = {
1209-
texture = "gfx/interface/icons/production_method_icons/government_run.dds"
1210-
unlocking_technologies = {
1211-
sky_lobbies
1212-
}
1213-
building_modifiers = {
1214-
workforce_scaled = {
1215-
goods_input_steel_add = 2
1216-
goods_input_glass_add = 2
1217-
goods_input_electricity_add = 2
1218-
goods_input_cement_add = 3
1219-
goods_output_professional_services_add = 20
1220-
# balance: inputs 330 (steel 2x50 + glass 2x40 + electricity 2x30 + cement 3x30); outputs 1800 (professional_services 20x90); weekly productivity 0.367
1221-
}
1222-
level_scaled = {
1223-
building_employment_shopkeepers_add = 1000
1224-
building_employment_clerks_add = 3000
1225-
}
1226-
}
1227-
state_modifiers = {
1228-
workforce_scaled = {
1229-
building_banks_throughput_add = 0.05
1230-
}
1231-
}
1232-
}
1233-
1234-
pm_highrise_downtown_area = {
1235-
texture = "gfx/interface/icons/production_method_icons/urban/professional_districts.dds"
1236-
unlocking_technologies = {
1237-
highrise_shopping_complexes
1238-
}
1239-
building_modifiers = {
1240-
workforce_scaled = {
1241-
goods_input_steel_add = 2
1242-
goods_input_glass_add = 4
1243-
goods_input_electricity_add = 3
1244-
goods_input_cement_add = 5
1245-
goods_output_professional_services_add = 40
1246-
# balance: inputs 500 (steel 2x50 + glass 4x40 + electricity 3x30 + cement 5x30); outputs 3600 (professional_services 40x90); weekly productivity 0.775
1247-
}
1248-
level_scaled = {
1249-
building_employment_shopkeepers_add = 1000
1250-
building_employment_clerks_add = 3000
1251-
}
1252-
}
1253-
state_modifiers = {
1254-
workforce_scaled = {
1255-
building_banks_throughput_add = 0.05
1256-
building_university_throughput_add = 0.05
1257-
}
1258-
}
1259-
}
1260-
1261-
## Public Transportation
1262-
pm_no_public_transport = {
1200+
## Public Transportation
1201+
pm_no_public_transport = {
12631202
texture = "gfx/interface/icons/production_method_icons/urban/no_public_transport.dds"
12641203
ai_value = 1
12651204
}
@@ -1346,8 +1285,8 @@ pm_integrated_metro_transport = {
13461285
## Urban Churches
13471286
pm_state_churches = {
13481287
texture = "gfx/interface/icons/production_method_icons/government/ownership_clergy.dds"
1349-
disallowing_laws = {
1350-
law_state_atheism
1288+
unlocking_laws = {
1289+
law_state_religion
13511290
}
13521291
building_modifiers = {
13531292
level_scaled = {
@@ -1358,6 +1297,10 @@ pm_state_churches = {
13581297

13591298
pm_free_churches = {
13601299
texture = "gfx/interface/icons/production_method_icons/government/ownership_aristocrats.dds"
1300+
disallowing_laws = {
1301+
law_state_religion
1302+
law_state_atheism
1303+
}
13611304
building_modifiers = {
13621305
level_scaled = {
13631306
building_employment_clergymen_add = 100
@@ -1368,6 +1311,9 @@ pm_free_churches = {
13681311

13691312
pm_anticlericalism = {
13701313
texture = "gfx/interface/icons/production_method_icons/government/ownership_bureaucrats.dds"
1314+
unlocking_laws = {
1315+
law_state_atheism
1316+
}
13711317
building_modifiers = {
13721318
level_scaled = {
13731319
building_employment_bureaucrats_add = 50
@@ -1397,12 +1343,12 @@ pm_bus_tramways_for_urban_center = {
13971343
goods_input_engines_add = 1
13981344
goods_input_refined_fuel_add = 1
13991345
goods_input_cement_add = 1
1400-
goods_output_services_add = 6
1401-
# balance: inputs 240 (automobiles 1x100 + engines 1x60 + refined_fuel 1x50 + cement 1x30); outputs 180 (services 6x30); weekly productivity per worker removed -0.240
1346+
goods_output_transportation_add = 6
1347+
# balance: inputs 240 (automobiles 1x100 + engines 1x60 + refined_fuel 1x50 + cement 1x30); outputs 180 (transportation 6x30); weekly productivity per worker removed -0.240
14021348
}
14031349
level_scaled = {
14041350
building_employment_laborers_add = -500
1405-
# automation balance: subtracts 500 laborers; inputs automobiles 1, engines 1, refined_fuel 1; outputs services 6; target net cost 25, actual net cost 30, raw input cost 210
1351+
# automation balance: subtracts 500 laborers; inputs automobiles 1, engines 1, refined_fuel 1; outputs transportation 6; target net cost 25, actual net cost 30, raw input cost 210
14061352
building_employment_machinists_add = 250
14071353
}
14081354
}
@@ -1427,12 +1373,12 @@ pm_metropolitan_railway_for_urban_center = {
14271373
goods_input_engines_add = 4
14281374
goods_input_electricity_add = 4
14291375
goods_input_cement_add = 3
1430-
goods_output_services_add = 9
1431-
# balance: inputs 450 (engines 4x60 + electricity 4x30 + cement 3x30); outputs 270 (services 9x30); weekly productivity per worker removed -0.360
1376+
goods_output_transportation_add = 9
1377+
# balance: inputs 450 (engines 4x60 + electricity 4x30 + cement 3x30); outputs 270 (transportation 9x30); weekly productivity per worker removed -0.360
14321378
}
14331379
level_scaled = {
14341380
building_employment_laborers_add = -1000
1435-
# automation balance: subtracts 1000 laborers; inputs electricity 4, engines 4; outputs services 9; target net cost 90, actual net cost 90, raw input cost 360
1381+
# automation balance: subtracts 1000 laborers; inputs electricity 4, engines 4; outputs transportation 9; target net cost 90, actual net cost 90, raw input cost 360
14361382
building_employment_machinists_add = 500
14371383
}
14381384
}
@@ -1458,12 +1404,12 @@ pm_integrated_metro_transport_for_urban_center = {
14581404
goods_input_automobiles_add = 3
14591405
goods_input_electricity_add = 3
14601406
goods_input_cement_add = 5
1461-
goods_output_services_add = 12
1462-
# balance: inputs 720 (engines 3x60 + automobiles 3x100 + electricity 3x30 + cement 5x30); outputs 360 (services 12x30); weekly productivity per worker removed -0.360
1407+
goods_output_transportation_add = 12
1408+
# balance: inputs 720 (engines 3x60 + automobiles 3x100 + electricity 3x30 + cement 5x30); outputs 360 (transportation 12x30); weekly productivity per worker removed -0.360
14631409
}
14641410
level_scaled = {
14651411
building_employment_laborers_add = -2000
1466-
# automation balance: subtracts 2000 laborers; inputs automobiles 3, electricity 3, engines 3; outputs services 12; target net cost 220, actual net cost 210, raw input cost 570
1412+
# automation balance: subtracts 2000 laborers; inputs automobiles 3, electricity 3, engines 3; outputs transportation 12; target net cost 220, actual net cost 210, raw input cost 570
14671413
building_employment_machinists_add = 1000
14681414
}
14691415
}

0 commit comments

Comments
 (0)