• 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.

Sollemnis

Recruit
97 Badges
Sep 17, 2012
3
0
  • Europa Universalis III
  • Europa Universalis IV: Third Rome
  • Stellaris - Path to Destruction bundle
  • Stellaris
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Pre-order
  • Cities: Skylines Deluxe Edition
  • Sword of the Stars II
  • Sword of the Stars
  • Semper Fi
  • Europa Universalis IV: Res Publica
  • Majesty 2 Collection
  • Heir to the Throne
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV: Art of War
  • Arsenal of Democracy
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis III: Chronicles
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Age of Wonders: Planetfall Deluxe edition
  • Age of Wonders: Planetfall
  • Europa Universalis IV: Rule Britannia
  • BATTLETECH: Season pass
  • Cities: Skylines - Campus
  • Age of Wonders: Planetfall Premium edition
  • Prison Architect
  • Europa Universalis IV: Golden Century
  • BATTLETECH: Flashpoint
  • Surviving Mars: First Colony Edition
  • Europa Universalis IV: Dharma
  • Stellaris: Distant Stars
  • Cities: Skylines - Parklife
  • Europa Universalis III Complete
  • Age of Wonders: Planetfall Season pass
  • Stellaris: Lithoids
  • BATTLETECH: Heavy Metal
  • Stellaris: Federations
  • Imperator: Rome - Magna Graecia
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Battle for Bosporus
  • Europa Universalis 4: Emperor
Description
Colony automation cannot handle upgraded buildings

Game Version
V3.0.2 (91c1)

What version do you use?
Steam

What expansions do you have installed?


Do you have mods enabled?
No

Please explain your issue is in as much detail as possible.
Have researched the upgrade to research labs. Set a colony to Research World automation. The expected behavior would be to build 2 research labs and then the Institute and then 4 more research labs. But because the labs are upgraded before a new one is built the num_buildings = { type = building_research_lab_1 value < 2 } is never met and it keeps building labs instead of going down the list.

This happens for any upgradable building not just for research labs.

I manage to fix it in my custom building queues with this condition but is not really correct:
x = {
building = building_research_lab_1
available = {
owner = {
research_lab_1_upkeep_affordable = yes
}

AND = {
num_buildings = { type = building_research_lab_1 value < 1 }
num_buildings = { type = building_research_lab_2 value < 1 }
num_buildings = { type = building_research_lab_3 value < 1 }
}
}
}

I have attached a save file where this happens. Just start the game and check what is build.

Steps to reproduce the issue.
Have researched the upgrade to research labs. Set a colony to research automation.

Upload Attachment
File(s) attached
 

Attachments

  • ResearchBuildingCount.png
    ResearchBuildingCount.png
    1,5 MB · Views: 0
  • TEST AUTOBUILD RESEARCH.sav
    340,8 KB · Views: 0
Upvote 0