Stellaris - Limit of 500 building food upkeep sends AIs with too many clone vats into stagnation

  • We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Gui10

First Lieutenant
55 Badges
Jun 30, 2018
241
352
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis 4: Emperor
  • Stellaris: Synthetic Dawn
  • Age of Wonders III
  • Stellaris: Galaxy Edition
  • Crusader Kings III
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Distant Stars
  • Europa Universalis IV: Dharma
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Stellaris
  • Stellaris: Necroids
  • Europa Universalis IV
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Stellaris: Nemesis
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Res Publica
Description
Limit of 500 building food upkeep sends AIs with too many clone vats into stagnation

Game Version
v3.4.3 (9d15)

What version do you use?
Steam

What expansions do you have installed?


Do you have mods enabled?

Yes

Please explain your issue is in as much detail as possible.
Although I found this while playing with a mod, it shouldn't affect this behaviour. I tried it without the mods to be sure, but the behaviour remains. One of the AIs I was observing suddenly stopped building any buildings, despite enormous unemployment. I searched through the code for hours, trying to find what was causing the behaviour and finally did.
This AI had started genetic ascension and begun building clone vats in its planets. However, each clone vat has a 30 food upkeep and in the 00_food_budget file there is a hard cap in food_expenditure_buildings of 500. The clone vats draw food from that category, so the AI couldn't build any more of those, but it wanted to continue building them.

It had a long queue of buildings it was planning to build (checking with debugtooltip), but it couldn't until it had built another clone vat and it couldn't due to the upkeep limit, thus not building any more buildings. After deleting the limit, the AI finally started building again.

Steps to reproduce the issue.
Have an AI with 20+ planets unlock genetic ascension. After a few years, check on their planets. They should be stuck unable to build anything because they can't finish their planned clone vats due to the food limit. Eliminate the limit and it should be able to continue with its queue. In debugtooltip, the queue can be seen every time the AI adds something, but it is blocked because the next building is a clone vat.

Upload Attachment
File(s) attached
 

Attachments

  • Food limit bug.sav
    5,3 MB · Views: 0
  • 3
Reactions: