View Issue Details

IDProjectCategoryLast Update
0026404AI War 2Gameplay IssueFeb 16, 2022 9:53 am
ReporterStarKelp Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product VersionBeta 3.804 Bug Smooshing 
Fixed in VersionBeta 3.805 Bolstering Spire 
Summary0026404: Spire Infused Human Empire - Buildings 'require' double their energy to function
DescriptionWhen attempting to build a Spire City structure, it will not build if you don't have double it's energy cost in reserve.

In other words, on placement, it starts costing you energy before it completes. And it than checks that your remaining energy balance, post it's original deduction, is still higher than it's cost.

Interestingly, Engineers still move as though they want to start construction on it; they just don't actually do so.

Disabling the energy check on SelfConstruction metal flows in ExecutePlannedMetalFlows allows it to complete, which was how I confirmed this issue.

An example save has been provided; where I was trying to build a Great Shield on Cousins.
TagsNo tags attached.

Activities

StarKelp

Feb 16, 2022 9:36 am

developer  

Cousins Shield.save (332,640 bytes)

Chris_McElligottPark

Feb 16, 2022 9:53 am

administrator   ~0064549

Thanks!

* Fixed a bug with self-constructing units where they would not build if you didn't have double the energy required for them. The energy check (and fuel check) needs to be there to prevent a bug that Badger was seeing a while back where the unit could not complete construction and so would just infinitely drain metal, but the check is supposed to be "do we have a net positive" and not "do we have a net positive if we subtract our current usage from the net." The latter case was double-counting.

Issue History

Date Modified Username Field Change
Feb 16, 2022 9:36 am StarKelp New Issue
Feb 16, 2022 9:36 am StarKelp File Added: Cousins Shield.save
Feb 16, 2022 9:41 am StarKelp Description Updated
Feb 16, 2022 9:44 am StarKelp Description Updated
Feb 16, 2022 9:53 am Chris_McElligottPark Assigned To => Chris_McElligottPark
Feb 16, 2022 9:53 am Chris_McElligottPark Status new => resolved
Feb 16, 2022 9:53 am Chris_McElligottPark Resolution open => fixed
Feb 16, 2022 9:53 am Chris_McElligottPark Fixed in Version => Beta 3.805 Bolstering Spire
Feb 16, 2022 9:53 am Chris_McElligottPark Note Added: 0064549