[ModApi] MyShipDrill PowerConsumptionMultiplier considered twice

My Dummy0815 shared this bug 28 days ago
Considered

Hi,

the MyShipDrill PowerConsumptionMultiplier is used twice, once in setter itself:

base.ResourceSink.SetMaxRequiredInputByType(MyResourceDistributorComponent.ElectricityId, this.ComputeMaxRequiredPower() * this.m_powerConsumptionMultiplier);

and twice in ComputeMaxRequiredPower itself

return 0.002f * this.m_powerConsumptionMultiplier;

So in fact the multiplier is used factor^2.

Regards

Thomas

Comments (1)

photo
1

Hello, Engineer!


Thank you for your feedback! Yourtopic has been added between considered issues.

Please keep voting for the issue asit will help us to identify the most serious bugs.


We really appreciate your patience.


Kind Regards

Keen Software House: QA Department