Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
As such I'm deprecating this mod
I like your idea, don't get me wrong, but I don't believe this is needed, or at least it is out of scope for this mod.
at that point it is up to the player to turn off auto construction (high level strategic decisions should be up to the player, not an written into an automatic rule)
the point of auto-construction is literally to get the game to automatically build more levels if it's still profitable to do so
And yes, i know how switch works
xor_railway_auto_expand_rule = {
# Same as pre-modification
building_has_goods_shortage = no
NOT = { is_under_construction = yes }
occupancy >= 0.8
# Modified Sections
OR = {
# If infrastructure is low, Expand no matter what
state = {
relative_infrastructure < 1 # Checks percentage, so can't use number
}
# If infrastructure is enough, check profitability while preventing infinite auto expansion
AND = {
cash_reserves_ratio > 0.5
weekly_profit > 100
state = {
sg:transportation = {
state_goods_pricier > -0.25
}
}
}
}
}
An example for Rail Way code addition:
state = {
sg:transportation = {
state_goods_pricier > -0.25
}
}
To not create separate auto building construction build triggers for every building with separate good outputs:
Use SWITCH trigger to check for which building you're scoping from, and then scope to related good outputs. e.g. compare electricity in power plants, clothes in textile buildings etc...
Because of how SWITCH works, if a custom building exists, it will skip this section, allowing their mods to function with other triggers without breaking auto expansion.
If your buildings becomes too efficient as a result of modifier stacking via various ways (Power Bloc principles + technologies + certain laws + companies + even events and state traits), building in question becomes so profitable that Auto Expansion continuously expands building in question.
This results in very low good prices for those buildings because buildings are too profitable even at those prices, allowing an over-construction of buildings thanks to Auto Expansion rules.
Low Prices are good, but only to a point. They increase GDP much less and SOL increase doesn't matter much because of other good's expenses.
It's generally better to focus your construction capacity to other goods after price of goods falls to below -25%.
Sure, give this mod a shoutout (link it in the description) and you are good.