[ModApi] MyShipDrill PowerConsumptionMultiplier considered twice

My Dummy0815 shared this bug 5 years ago
Outdated

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

Replies (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

Leave a Comment
 
Attach a file