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
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
Upvote
0