Skip to content

Commit

Permalink
Merge pull request #254 from Cold-War-Project/commie-urban-center
Browse files Browse the repository at this point in the history
  • Loading branch information
DZappala authored Apr 24, 2023
2 parents 2cd2f3e + 631cd76 commit 64c66a8
Show file tree
Hide file tree
Showing 14 changed files with 130 additions and 54 deletions.
1 change: 1 addition & 0 deletions common/buildings/06_urban_center.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ building_urban_center = {
pmg_planning_method
pmg_public_transport
pmg_religious_services
pmg_urban_center_ownership
}
buildable = no
expandable = no
Expand Down
10 changes: 10 additions & 0 deletions common/production_method_groups/06_urban_center.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,16 @@ pmg_planning_method = {
}
}

pmg_urban_center_ownership = {
texture = "gfx/interface/icons/generic_icons/mixed_icon_base.dds"
production_methods = {
pm_privately_owned_urban_center
pm_government_run_urban_center
pm_state_run_cooperatives_urban_center
pm_worker_cooperative_urban_center
}
}

pmg_public_transport = {
texture = "gfx/interface/icons/generic_icons/mixed_icon_base.dds"
production_methods = {
Expand Down
4 changes: 2 additions & 2 deletions common/production_methods/01_industry.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4850,7 +4850,7 @@ pm_publicly_traded_industry = {
building_employment_capitalists_add = 200
}
unscaled = {
building_capitalists_shares_add = 10
building_capitalists_shares_add = 1
}
}
}
Expand All @@ -4866,7 +4866,7 @@ pm_privately_owned_industry = {
building_employment_capitalists_add = 200
}
unscaled = {
building_capitalists_shares_add = 10
building_capitalists_shares_add = 1
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions common/production_methods/03_mines.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1387,7 +1387,7 @@ pm_privately_owned_mine = {
building_employment_capitalists_add = 200
}
unscaled = {
building_capitalists_shares_add = 10
building_capitalists_shares_add = 1
}
}
}
Expand All @@ -1410,7 +1410,7 @@ pm_publicly_traded_mine = {
building_employment_capitalists_add = 200
}
unscaled = {
building_capitalists_shares_add = 10
building_capitalists_shares_add = 1
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions common/production_methods/04_plantations.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1027,7 +1027,7 @@ pm_privately_owned_plantation = {
unscaled = {
building_aristocrats_shares_add = 10
building_clergymen_shares_add = 2
building_farmers_shares_add = 1
building_farmers_shares_add = 0.25
}
}
}
Expand All @@ -1054,7 +1054,7 @@ pm_publicly_traded_plantation = {
building_aristocrats_shares_add = 10
building_capitalists_shares_add = 5
building_clergymen_shares_add = 2
building_farmers_shares_add = 1
building_farmers_shares_add = 0.25
}
}
}
Expand Down
114 changes: 85 additions & 29 deletions common/production_methods/06_urban_center.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@ pm_informal_cities = {
level_scaled = {
building_employment_laborers_add = 7000
building_employment_clerks_add = 2000
building_employment_shopkeepers_add = 1000
}
unscaled = {
building_shopkeepers_shares_add = 10
building_employment_shopkeepers_add = 500
}
}
}
Expand All @@ -31,10 +28,7 @@ pm_industrial_cities = {
level_scaled = {
building_employment_laborers_add = 5000
building_employment_clerks_add = 3000
building_employment_shopkeepers_add = 2000
}
unscaled = {
building_shopkeepers_shares_add = 10
building_employment_shopkeepers_add = 1500
}
}
}
Expand All @@ -53,10 +47,7 @@ pm_modernist_cities = {
level_scaled = {
building_employment_laborers_add = 3000
building_employment_clerks_add = 4000
building_employment_shopkeepers_add = 3000
}
unscaled = {
building_shopkeepers_shares_add = 10
building_employment_shopkeepers_add = 2500
}
}
}
Expand All @@ -75,10 +66,7 @@ pm_neo_traditional_cities = {
level_scaled = {
building_employment_laborers_add = 2000
building_employment_clerks_add = 4000
building_employment_shopkeepers_add = 4000
}
unscaled = {
building_shopkeepers_shares_add = 10
building_employment_shopkeepers_add = 3500
}
}
}
Expand All @@ -96,10 +84,7 @@ pm_sustainable_cities = {
level_scaled = {
building_employment_laborers_add = 2000
building_employment_clerks_add = 2000
building_employment_shopkeepers_add = 6000
}
unscaled = {
building_shopkeepers_shares_add = 10
building_employment_shopkeepers_add = 5500
}
}
}
Expand Down Expand Up @@ -366,7 +351,7 @@ pm_state_urban_clergy = {
building_employment_clergymen_add = 400
}
unscaled = {
building_clergymen_shares_add = 10
building_clergymen_shares_add = 8
}
}
}
Expand All @@ -381,9 +366,6 @@ pm_secular_urban_clergy = {
building_employment_clerks_add = 100
building_employment_clergymen_add = 300
}
unscaled = {
building_clergymen_shares_add = 2
}
}
}

Expand All @@ -399,8 +381,82 @@ pm_banned_religious_services = {
level_scaled = {
building_employment_clerks_add = 400
}
}
}

## Ownership
pm_privately_owned_urban_center = {
texture = "gfx/interface/icons/production_method_icons/privately_owned.dds"
disallowing_laws = {
law_command_economy
law_cooperative_ownership
}
building_modifiers = {
level_scaled = {
building_employment_shopkeepers_add = 500
}
unscaled = {
building_shopkeepers_shares_add = 10
building_clergymen_shares_add = 2
building_clerks_shares_add = 0.5
}
}
}

pm_government_run_urban_center = {
texture = "gfx/interface/icons/production_method_icons/government_run.dds"
disallowing_laws = {
law_landed_voting
law_wealth_voting
law_restricted_voting
law_universal_suffrage
law_proportional_representation
}
unlocking_laws = {
law_command_economy
}
building_modifiers = {
level_scaled = {
building_employment_bureaucrats_add = 500
}
unscaled = {
building_government_shares_add = 1
}
}
}

pm_state_run_cooperatives_urban_center = {
texture = "gfx/interface/icons/production_method_icons/state_run_cooperatives.dds"
disallowing_laws = {
law_oligarchy
law_autocracy
}
unlocking_laws = {
law_command_economy
}
building_modifiers = {
level_scaled = {
building_employment_bureaucrats_add = 250
building_employment_shopkeepers_add = 250
}
unscaled = {
building_government_shares_add = 1
building_workforce_shares_add = 1
}
}
}

pm_worker_cooperative_urban_center = {
texture = "gfx/interface/icons/production_method_icons/worker_cooperative.dds"
unlocking_laws = {
law_cooperative_ownership
}
building_modifiers = {
level_scaled = {
building_employment_shopkeepers_add = 500
}
unscaled = {
building_clerks_shares_add = 1
building_workforce_shares_add = 1
}
}
}
Expand Down Expand Up @@ -1521,7 +1577,7 @@ pm_privately_owned_urban = {
building_employment_capitalists_add = 200
}
unscaled = {
building_capitalists_shares_add = 10
building_capitalists_shares_add = 1
}
}
}
Expand All @@ -1544,7 +1600,7 @@ pm_publicly_traded_urban = {
building_employment_capitalists_add = 200
}
unscaled = {
building_capitalists_shares_add = 10
building_capitalists_shares_add = 1
}
}
}
Expand Down Expand Up @@ -2089,7 +2145,7 @@ pm_privately_owned_skyscraper = {
building_employment_capitalists_add = 200
}
unscaled = {
building_capitalists_shares_add = 10
building_capitalists_shares_add = 1
}
}
}
Expand All @@ -2112,7 +2168,7 @@ pm_publicly_traded_skyscraper = {
building_employment_capitalists_add = 200
}
unscaled = {
building_capitalists_shares_add = 10
building_capitalists_shares_add = 1
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions common/production_methods/09_misc_resource.txt
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ pm_privately_owned_misc = {
building_employment_capitalists_add = 200
}
unscaled = {
building_capitalists_shares_add = 10
building_capitalists_shares_add = 1
}
}
}
Expand All @@ -539,7 +539,7 @@ pm_publicly_traded_misc = {
building_employment_capitalists_add = 200
}
unscaled = {
building_capitalists_shares_add = 10
building_capitalists_shares_add = 1
}
}
}
Expand Down
7 changes: 3 additions & 4 deletions common/production_methods/10_canals.txt
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ pm_canal_privately_owned = {
building_employment_capitalists_add = 500
}
unscaled = {
building_capitalists_shares_add = 10
building_capitalists_shares_add = 1
}
}
}
Expand All @@ -192,7 +192,7 @@ pm_canal_publicly_traded = {
building_employment_capitalists_add = 500
}
unscaled = {
building_capitalists_shares_add = 10
building_capitalists_shares_add = 1
}
}
}
Expand All @@ -219,8 +219,7 @@ pm_canal_worker_cooperative = {
}
building_modifiers = {
level_scaled = {
building_employment_engineers_add = 1000
building_employment_machinists_add = 1000
building_employment_shopkeepers_add = 2000
}
unscaled = {
building_workforce_shares_add = 1
Expand Down
18 changes: 12 additions & 6 deletions common/production_methods/11_private_infrastructure.txt
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ pm_privately_owned_building_infrastructure = {
building_employment_capitalists_add = 200
}
unscaled = {
building_capitalists_shares_add = 5
building_capitalists_shares_add = 1
}
}
}
Expand All @@ -286,7 +286,7 @@ pm_publicly_traded_building_infrastructure = {
building_employment_capitalists_add = 200
}
unscaled = {
building_capitalists_shares_add = 10
building_capitalists_shares_add = 1
}
}
}
Expand Down Expand Up @@ -405,7 +405,7 @@ pm_trade_center_privately_owned = {
building_employment_capitalists_add = 50
}
unscaled = {
building_capitalists_shares_add = 10
building_capitalists_shares_add = 1
}
}
}
Expand Down Expand Up @@ -449,9 +449,15 @@ pm_trade_center_worker_cooperatives = {

pm_trade_center_government_run = {
texture = "gfx/interface/icons/production_method_icons/government_run.dds"
disallowing_laws = {
law_landed_voting
law_wealth_voting
law_restricted_voting
law_universal_suffrage
law_proportional_representation
}
unlocking_laws = {
law_command_economy
law_cooperative_ownership
}
building_modifiers = {
level_scaled = {
Expand Down Expand Up @@ -550,7 +556,7 @@ pm_privately_owned_spaceport = {
building_employment_capitalists_add = 200
}
unscaled = {
building_capitalists_shares_add = 10
building_capitalists_shares_add = 1
}
}
}
Expand Down Expand Up @@ -1220,7 +1226,7 @@ pm_privately_owned_airport = {
building_employment_capitalists_add = 200
}
unscaled = {
building_capitalists_shares_add = 10
building_capitalists_shares_add = 1
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion common/production_methods/12_subsistence.txt
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ pm_privately_owned_building_subsistence = {
building_employment_aristocrats_add = 300
}
unscaled = {
building_aristocrats_shares_add = 10
building_aristocrats_shares_add = 1
}
}
}
Expand Down
Loading

0 comments on commit 64c66a8

Please sign in to comment.