CPU Building Fixes

If you liked this item, please rate it up on Steam Workshop page.

Author: joshua.yathin.yu

Last revision: 17 Feb, 2019 at 05:06 UTC

File size: 16.38 KB

On Steam Workshop

Description:

What is wrong?

1. CPU will always build 3 Precinct Houses before everything else.
2. CPU Rogue Servitors will always build Organic Sanctuaries to fill all of their entire planets.

Why does it happen?

1. Paradox has mistakenly made a requirement to all buildings that it is required to first have unemployed pops (or having servants) before a building can be contemplated by the CPU for being built on a planet.
2. It just happens Precinct Houses and Organic Sanctuaries don’t have this requirement.
3. Precinct Houses are limited to 3 a planet. But Organic Sanctuaries don’t have any limitation.

Isn’t this solved in the current patch?

1. Yes it had been resolved in 2.2.4.
2. But in 2.2.5, it is a new wall being put up there being problematic. It is a new bug attributed to this patchnote:
"AI will check for surplus population before making buildings," in 2.2.5 Beta, aka "stellaris_test".

What this mod does:

(Update: changed the mineral income requirement to 37 and 43 for Alloy Foundries and Research Labs (for Machine Empires only))

1. Removed the requirement that CPU has to have unemployed pops on the planet to build anything other than Precinct Houses.
2. Limit the number of Resource Silos to 1 every planet.
3. Added a limitation on Machine Empires to only build Research Labs and Alloy Foundries when they have enough Mineral income.
4. Changed the weight trigger for Machine Empires to build 1 more set of Alloy Foundries to 22.5 instead of following regular countries at 15 (because Machines require 150 Alloy to build outposts).
5. Stopped Rogue Servitors from spamming Organic Sanctuaries. They should only build them when they actually have unemployed Bio-Trophies.
6. Fixed a typo in their Precinct Houses so that CPU can only build up to 2 instead of 3 (difference between ">" and ">=").
7. Changed that Rogue Servitors only build Civilian Industries when they have less than 0 income for Consumer Goods, rather than following regular countries at 5.
(Added 10th Feb)
8. Restored the walls for "No Pops to work it" across all buildings, but changed the requirement from "Need unemployed Pops" to "Need less than 2 free jobs".
9. Added the same wall on Precinct Houses.
10. Added conditions to Housing buildings to get demolished (because they don’t have the wall to prevent them from building)
11. Fixed a potential trigger to destroy Slave Facilities if the Planet is not a Slave Colony.
12. Added a separate handler to count jobs for Rogue Servitors, since Bio-Trophy Jobs are a different kind.
13. Added a wall so that if they have a mineral income too less, they will not contemplate to build Alloy Foundries.
14. Rescripted Rogue Servitors, so that having low Amenities or Housing is no longer an excuse to build an Organic Sanctuary. And it is now a requirement to have unemployed Bio-Trophies to build one.
15. Added a condition that if there are no more free building slots, and that there are Unemployed Bio-Trophies, they will Demolish all Drone Storages, and should theoretically use the new hole to build a new Sanctuary.

Of course, changing of Buildings makes Achievements disabled.

Why would you want to use my mod? Because I simply haven’t changed anything else, just how CPU build buildings. All experience is Vanilla.

You should not need my mod if you play Glavious’.