Stellaris

Stellaris

Not enough ratings
[4.0.21] Branch Office AI Fix
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
125.819 KB
7 Jul @ 11:07pm
8 Jul @ 12:39am
5 Change Notes ( view )

Subscribe to download
[4.0.21] Branch Office AI Fix

Description
I got so sick and tired of AI megacorp littering my planets with useless jobs in an attempt to "fix" its own economy, which not only doesn't work because I close off the useless jobs on my colonies, but the AI is perfectly capable of using resource trades to fix it using the superior economy it would've gotten with a properly synergizing branch office.

--verbose
4.0 branch office buildings also got a massive overhaul that made most of them cause the corresponding job on planet to produce trade value, and also provide a planet-wide trade value % boost scaling off how many of that job is filled. This means, even on a planet with barely any trade, the megacorp has the ability to make it produce absurd amounts of trade by building buildings that match the planet's specializations.

Now here's the strange part: Paradox knows about this and the mineral branch office building has the proper AI weights assigned to capitalize on it. However, it's the only building with that. In fact, several buildings are missing AI weights entirely. This leads me to believe that whatever work they've been doing with branch office was put on hold as they go off to attempt to fix city district swap issues.

This mod remedies this issue by ensuring pop assemblers always take priority, and production related buildings' AI weights scale properly off jobs present on the colony. This will ensure pop assemblers go up first, as more pops on the planet is more trade with no sprawl to the megacorp, matching buildings go up next to boost the colony's trade, and if the colony is sufficiently specialized, other misc. buildings will go up.

overrides
common/buildings/14_branch_office_buildings.txt
doesn't actually override the file itself, but overrides all building code present on it, in case some mod decides to override the file to add modded buildings, which would be bad practice, but this is how defensive programming works.

permissions
take and modify as you see fit
1 Comments
Risker the 34th 18 Jul @ 12:01pm 
Now this is huge