Skip to content

Commit 20653a7

Browse files
committed
USU+LLWA v1.1
1 parent 7a26b11 commit 20653a7

File tree

5 files changed

+167
-8
lines changed

5 files changed

+167
-8
lines changed

USU LLWA/STEAM_PAGE.bbcode

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[img]https://i.imgur.com/7xuCZqW.png[/img]
22
Supports Victoria 3: V1.8.6 (and onwards)
33
Supports LLWA: Any Valid Version
4-
Mod Version: V1.0
4+
Mod Version: V1.1
55
Please consider rating this if you like it! It really helps out. [img]https://i.imgur.com/tE28cZ7.gif[/img]
66
[spoiler]Originally made for: Version 1.8.6[/spoiler]
77
[table]
@@ -24,4 +24,5 @@ I recommend [i]not[/i] using LLWA's alternative MAPI rules with this - though it
2424

2525
#USU #GUSU #LLWA #Trade
2626
#Morgenrote #Urbanization
27-
#Electricity #Economy
27+
#Electricity #Economy
28+
You can support me on Patreon: [url=https://patreon.com/MasterOfGreyVic3?utm_medium=unknown&utm_source=join_link&utm_campaign=creatorshare_creator&utm_content=copyLink] [img]https://ufo2.site44.com/become_a_patron_button.png[/img] [/url]

USU LLWA/common/buildings/zMoG_USU_LLWA_buildings.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ LLWA_building_roadway = {
2222

2323
LLWA_building_waterway = {
2424
building_group = bg_private_infrastructure
25-
icon = "gfx/interface/icons/building_icons/LLWA_canal.dds"
25+
icon = "gfx/interface/icons/building_icons/LLWA_water_canal.dds"
2626
background = "gfx/interface/icons/building_icons/backgrounds/building_panel_bg_harbour.dds"
2727

2828
ai_nationalization_desire = 0.5

USU LLWA/common/buildings/zzzMoG_USU_LLWA_airway.txt

Lines changed: 47 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,57 @@ building_airport = {
5353
LLWA_pmg_private_expansion
5454
}
5555

56+
can_build_government = {
57+
custom_tooltip = {
58+
text = mr_airport_can_construct_tt
59+
NOT = {
60+
b:building_airport ?= {
61+
level_after_queued_constructions >= {
62+
value = 1 # Ensures always 1 level is buildable
63+
add = {
64+
state.b:building_urban_center ?= {
65+
add = level
66+
}
67+
divide = 10 # 1 additional level per 10 urban centres
68+
floor = yes # Otherwise this rounds UP for all decimals
69+
# Whatever curtiss flight route variable you would like:
70+
# add = var:curtiss_local_aviation_enthusiasm
71+
}
72+
}
73+
}
74+
}
75+
}
76+
}
77+
78+
can_build_private = {
79+
custom_tooltip = {
80+
text = mr_airport_can_construct_tt
81+
NOT = {
82+
b:building_airport ?= {
83+
level_after_queued_constructions >= {
84+
value = 1 # Ensures always 1 level is buildable
85+
add = {
86+
state.b:building_urban_center ?= {
87+
add = level
88+
}
89+
divide = 10 # 1 additional level per 10 urban centres
90+
floor = yes # Otherwise this rounds UP for all decimals
91+
# Whatever curtiss flight route variable you would like:
92+
# add = var:curtiss_local_aviation_enthusiasm
93+
}
94+
}
95+
}
96+
}
97+
}
98+
}
99+
100+
# should_auto_expand = {} # USU reworked auto-expand triggers should handle this
101+
56102
required_construction = construction_cost_high
57103

58104
ownership_type = self
59105

60106
ai_value = 1000 # Airports are less important than railroads
61107

62108
background = "gfx/interface/icons/building_icons/backgrounds/building_panel_bg_railways.dds"
63-
}
109+
}

USU LLWA/common/buildings/zzzzzMoG_USU_LLWA_railway.txt

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,9 @@
123123
limit = {
124124
exists = c:RUS
125125
c:RUS ?= owner
126-
OR = {
126+
# OR = {
127127
region = sr:region_manchuria
128-
}
128+
# }
129129
any_scope_building = {
130130
is_building_type = building_railway
131131
levels_owned_by_country = {
@@ -136,7 +136,14 @@
136136
}
137137
add = 10000
138138
}
139-
139+
140+
if = { # Get them started at least...
141+
limit = {
142+
NOT = { exists = b:building_railway }
143+
}
144+
add = 2000
145+
}
146+
140147
if = {
141148
limit = {
142149
relative_infrastructure < 1.1
@@ -147,7 +154,19 @@
147154
limit = {
148155
relative_infrastructure < 1
149156
}
150-
multiply = 4
157+
multiply = 2
158+
}
159+
160+
if = {
161+
limit = {
162+
usu_calculate_building_good_ai_value_profit_adjustment = {
163+
building = building_railway
164+
good = transportation
165+
# employees_per_level = 1000 # DO NOT PASS UNUSED VALUES
166+
fallback_production = 115
167+
}
168+
}
169+
subtract = scope:result
151170
}
152171
}
153172

USU LLWA/vic3-tiger.conf

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
####################################
2+
### USU + MORGENROTE CONFIG FILE ###
3+
####################################
4+
5+
# The vic3-tiger.conf file is in standard Paradox script format.
6+
# It should be placed in the top directory of your mod.
7+
8+
languages = {
9+
# Check all languages.
10+
}
11+
12+
# Allows configuring what reports are printed
13+
filter = {
14+
show_vanilla = no
15+
show_loaded_mods = no
16+
17+
# Contains rules for reports, using trigger syntax.
18+
# Only reports matching the trigger will be printed.
19+
# The root trigger is an AND block, just like any other trigger.
20+
trigger = {
21+
# NOR = {
22+
# AND = {
23+
# text = "is_incorporated"
24+
# file = common/buildings/zMoG_USU_government.txt
25+
# }
26+
# }
27+
ignore_keys_in_files = {
28+
keys = { exact-duplicate-item }
29+
files = {
30+
common/modifier_type_definitions/aMoG_USU_MR_LLWA_pms.txt # This is an intentional overwrite
31+
}
32+
}
33+
}
34+
35+
}
36+
37+
# Use a load_mod section to tell vic3-tiger to load another mod before this one.
38+
# This is useful when making submods or compatibility patch mods.
39+
# You can have multiple load_mod sections.
40+
load_mod = {
41+
# The label will be used in the error output to mark files from this mod
42+
# The path to the mod's location. Use forward slashes.
43+
44+
label = "USU"
45+
mod = "D:/OneDrive/Documents/Paradox Interactive/Victoria 3/mod/Urban Synergy Unleashed"
46+
}
47+
load_mod = {
48+
label = "MR"
49+
mod = "E:/SteamLibrary/steamapps/workshop/content/529340/2889925770"
50+
}
51+
load_mod = {
52+
label = "LLWA"
53+
mod = "E:/SteamLibrary/steamapps/workshop/content/529340/3032533792"
54+
}
55+
56+
# Sometimes vic3-tiger makes a mistake in determining the scope types expected
57+
# by a scripted trigger or effect. Its conclusions can be overridden here.
58+
# Scope overrides can be ALL (to accept any scope) or a list separated by |,
59+
# like character|province|landed_title
60+
scope_override = {
61+
}
62+
63+
# Optional block to control output styles and colors. Colors are enabled by default.
64+
# Another way to disable all ANSI characters in the output is to supply the --no-color flag.
65+
# That flag will override anything you define here, in the config file.
66+
output_style = {
67+
# Default value is 'yes', except with vic3-tiger-auto when it is default 'no'.
68+
# If set to 'no', no ANSI characters will be added to the output and the output will not be colored.
69+
# Also, all other settings in this block will be ignored.
70+
# enable = yes
71+
72+
# Optional block to set the error color.
73+
# error = {
74+
# # Default is red. Supported values are Black, Red, Green, Yellow, Blue, Purple, Cyan, White.
75+
# color = "red"
76+
# }
77+
# Optional block to set the warning color.
78+
# warning = {
79+
# # Default is yellow. Supported values are Black, Red, Green, Yellow, Blue, Purple, Cyan, White.
80+
# color = "yellow"
81+
# }
82+
# Optional block to set the info color.
83+
# info = {
84+
# # Default is green. Supported values are Black, Red, Green, Yellow, Blue, Purple, Cyan, White.
85+
# color = "green"
86+
# }
87+
# Optional block to set the advice color.
88+
# untidy = {
89+
# # Default is cyan. Supported values are Black, Red, Green, Yellow, Blue, Purple, Cyan, White.
90+
# color = "cyan"
91+
# }
92+
93+
}

0 commit comments

Comments
 (0)