Skip to content

Commit 1249137

Browse files
committed
USU v1.5
Updated for 1.12 Iberian Twilight
1 parent 7a5ec15 commit 1249137

File tree

157 files changed

+1958
-1749
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

157 files changed

+1958
-1749
lines changed

Urban Synergy Unleashed/.metadata/metadata.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
"Fixes",
1212
"Gameplay",
1313
"Trade",
14-
"1.9",
15-
"1.10"
14+
"1.12"
1615
],
1716
"relationships" : [],
1817
"game_custom_data" : {

Urban Synergy Unleashed/STEAM_PAGE.bbcode

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[img]https://i.imgur.com/7xuCZqW.png[/img]
2-
[img]https://img.shields.io/badge/Supports_Game_Version-1.10-blue[/img] (and onwards)
2+
[img]https://img.shields.io/badge/Supports_Game_Version-1.12-blue[/img] (and onwards)
33
[url=https://github.com/MasterOfGrey/Grey-Victoria3-Reworks][img]https://img.shields.io/github/v/tag/MasterOfGrey/Grey-Victoria3-Reworks?sort=date&filter=*USU-*&label=Mod%20Tag%20%26%20Version&color=7700CF[/img][/url][url=https://discord.gg/SnUghEkQQz][img]https://img.shields.io/discord/1377452253715107912?&label=Discord&color=7700CF[/img][/url]
44
Please consider rating this if you like it! It really helps out. [img]https://i.imgur.com/tE28cZ7.gif[/img]
55
[spoiler]Originally made for: Version 1.8.2[/spoiler]
@@ -51,10 +51,11 @@ However, it's a decent sized mod so compatibility is an issue in lots of cases.
5151
For full details on compatibility go to the discussion post here: [url=https://steamcommunity.com/workshop/filedetails/discussion/3371689443/575995078023072709/]Full Compatibility Notes[/url]
5252
#Safe for: #KAI #PDT #TTS
5353

54+
[h2]Built-in compatibility for:[/h2]
55+
[list][*][url=https://steamcommunity.com/sharedfiles/filedetails/?id=2889925770]Morgenröte - Dawn of Flavor[/url]
56+
[/list]
5457
[h2]Use my compatches for:[/h2]
55-
[list]
56-
[*]Morgenrote: '[url=https://steamcommunity.com/sharedfiles/filedetails/?id=3371690718]USU & Morgenrote[/url]'
57-
[*]Locomotion Land, Water, & Air (LLWA): '[url=https://steamcommunity.com/sharedfiles/filedetails/?id=3387021675]USU & LLWA[/url]'
58+
[list][*]Locomotion Land, Water, & Air (LLWA): '[url=https://steamcommunity.com/sharedfiles/filedetails/?id=3387021675]USU & LLWA[/url]'
5859
[/list]
5960
[b]Other available compatibility patches:
6061
[list][*]Industry Realism: '[url=https://steamcommunity.com/sharedfiles/filedetails/?id=3453226616]Industry Realism + USU Patch[/url]' by AgrarianSlop

Urban Synergy Unleashed/common/alert_types/USU_WCA_alert_types.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
# Reminder to use all of your construction
22

3-
wasted_construction = {
3+
REPLACE_OR_CREATE:wasted_construction = {
44
script_context = player_country
55
texture = "gfx/interface/icons/alert_icons/wasted_construction.dds"
66

77
valid = {
88
has_wasted_construction = yes
9+
has_sufficient_construction_capacity_for_investment = yes # Stop it triggering on lack of government spend if IP is large
910
}
1011

1112
open_panel = construction|default

Urban Synergy Unleashed/common/building_groups/yMoG_USU_building_groups.txt

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,17 @@ usu_bg_public_greens = {
1313

1414
#### Overwrite/replacement groups with new urbanization values and autoexpand rules (if applicable):
1515
## Private Infrastructure - i.e. Railways (and related modded buildings)
16-
bg_private_infrastructure = {
16+
REPLACE_OR_CREATE:bg_private_infrastructure = {
1717
parent_group = bg_infrastructure
1818

1919
is_government_funded = no
20-
subsidized = no
20+
subsidized = no # yes # This line may not actually do anything...
2121

2222
economy_of_scale = yes # Allows economy of scale to apply
2323

2424
cash_reserves_max = 25000
2525

26-
economy_of_scale_ai_factor = 0.5 # Stops the AI from deciding to overbuild a local good just because economy of scale applies
26+
economy_of_scale_ai_factor = 0.5 # Stops the AI from deciding to overbuild a local good just because economy of scale applies
2727

2828
should_auto_expand = {
2929
default_auto_expand_rule = yes # This is new vs Vanilla - redefined in: common\scripted_triggers\MoG_USU_autoexpand_triggers.txt
@@ -49,7 +49,7 @@ usu_bg_river_port_infrastructure = {
4949
}
5050

5151
## Canals # Change these over to private infrastructure of some sort!!!
52-
bg_canals = {
52+
REPLACE_OR_CREATE:bg_canals = {
5353
parent_group = bg_private_infrastructure
5454
lens = special
5555
inheritable_construction = yes
@@ -58,7 +58,7 @@ bg_canals = {
5858
}
5959

6060
## Power Plants AND Power Grids
61-
bg_power = {
61+
REPLACE_OR_CREATE:bg_power = {
6262
category = development
6363

6464
lens = development
@@ -108,7 +108,7 @@ usu_bg_power_grid = {
108108
}
109109

110110
## Government Admins & Universities
111-
bg_government = {
111+
REPLACE_OR_CREATE:bg_government = {
112112
category = development
113113

114114
always_possible = yes
@@ -128,23 +128,34 @@ bg_government = {
128128
}
129129

130130
## Financial Districts & Company Headquarters
131+
INJECT:bg_owner_buildings = {
132+
ignores_productivity_when_hiring = no
133+
}
131134
# Enabling some urbanization lets them contribute to generating the services they then consume.
132-
bg_financial_districts = {
135+
REPLACE_OR_CREATE:bg_financial_districts = {
133136
parent_group = bg_owner_buildings
134137

135138
urbanization = 2 # 0 (Vanilla now = 5)
136139
}
137140

138-
bg_company_headquarter = {
141+
REPLACE_OR_CREATE:bg_company_headquarter = {
139142
parent_group = bg_owner_buildings
140143

141144
company_headquarter = yes
142145

143146
urbanization = 2 # 3 # 0 (Vanilla now = 5) # These have a bigger impact on service consumption # but they seriously blow out the urbanization levels.
144147
}
145148

149+
REPLACE_OR_CREATE:bg_company_regional_headquarter = {
150+
parent_group = bg_owner_buildings
151+
152+
regional_company_headquarter = yes
153+
154+
urbanization = 2 # 3 # 0 (Vanilla now = 5) # These have a bigger impact on service consumption # but they seriously blow out the urbanization levels.
155+
}
156+
146157
## Construction
147-
bg_construction = {
158+
REPLACE_OR_CREATE:bg_construction = {
148159
parent_group = bg_public_infrastructure
149160

150161
infrastructure_usage_per_level = 0.8
@@ -163,7 +174,7 @@ bg_construction = {
163174
## Trade Centers
164175
# Thanks to logistics services they have a reduced contribution to urbanization now use a teeny tiny bit more infrastructure.
165176
# This is not critical so if some other mod overwrites it, meh.
166-
bg_trade = {
177+
REPLACE_OR_CREATE:bg_trade = {
167178
parent_group = bg_private_infrastructure # bg_urban_facilities
168179

169180
stateregion_max_level = no

Urban Synergy Unleashed/common/buildings/yMoG_USU_PPP_power_grid.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ppp_building_power_grid = {
1+
REPLACE_OR_CREATE:ppp_building_power_grid = {
22
building_group = usu_bg_power_grid
33
icon = "gfx/interface/icons/building_icons/PPP_power_grid.dds"
44
background = "gfx/interface/icons/building_icons/backgrounds/building_panel_bg_monuments.dds"

Urban Synergy Unleashed/common/buildings/yMoG_USU_PPP_power_plant.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
building_power_plant = {
1+
REPLACE_OR_CREATE:building_power_plant = {
22
building_group = bg_power
33
icon = "gfx/interface/icons/building_icons/power_plant.dds"
44
levels_per_mesh = 50
@@ -89,7 +89,7 @@
8989
}
9090

9191
# Adapted with permission from "Hydropower Forever!" by Grimhat
92-
usu_building_hydro_power_plant = {
92+
REPLACE_OR_CREATE:usu_building_hydro_power_plant = {
9393
building_group = usu_bg_hydro_power
9494
icon = "gfx/interface/icons/building_icons/USU_hydro_power_plant.dds"
9595
# levels_per_mesh = 5

Urban Synergy Unleashed/common/buildings/yMoG_USU_canals.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
building_suez_canal = {
1+
TRY_REPLACE:building_suez_canal = {
22
building_group = bg_canals
33
icon = "gfx/interface/icons/building_icons/suez_canal.dds"
44
canal = canal_suez
@@ -52,7 +52,7 @@
5252
background = "gfx/interface/icons/building_icons/backgrounds/building_panel_bg_harbour.dds"
5353
}
5454

55-
building_panama_canal = {
55+
TRY_REPLACE:building_panama_canal = {
5656
building_group = bg_canals
5757
icon = "gfx/interface/icons/building_icons/panama_canal.dds"
5858
canal = canal_panama

Urban Synergy Unleashed/common/buildings/yMoG_USU_construction.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
############ GOVERNMENT BUILDINGS
22

3-
building_construction_sector = {
3+
REPLACE_OR_CREATE:building_construction_sector = {
44
building_group = bg_construction
55
icon = "gfx/interface/icons/building_icons/construction_camp.dds"
66
city_type = city

Urban Synergy Unleashed/common/buildings/yMoG_USU_government.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
building_government_administration = {
1+
REPLACE_OR_CREATE:building_government_administration = {
22
building_group = bg_bureaucracy
33
icon = "gfx/interface/icons/building_icons/building_government_administration.dds"
44
city_type = city
@@ -43,4 +43,11 @@
4343
required_construction = construction_cost_very_low
4444

4545
background = "gfx/interface/icons/building_icons/backgrounds/building_panel_bg_monuments.dds"
46+
}
47+
48+
# Done within morgenrote - needs to be re-done because this overwrites morgenrote.
49+
TRY_INJECT:building_government_administration = {
50+
production_method_groups = {
51+
pmg_panum_hospital #MORGENRÖTE
52+
}
4653
}

Urban Synergy Unleashed/common/buildings/yMoG_USU_ports_coastal.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
## PRIVATIZED PORTS (replace regular ports)
2-
building_port = {
2+
REPLACE_OR_CREATE:building_port = {
33
building_group = usu_bg_port_infrastructure
44
city_type = port
55
icon = "gfx/interface/icons/building_icons/building_port.dds"

0 commit comments

Comments
 (0)