Wrong implementation of deuterium consumption of the Deuterium Power Plant

View this thread on: d.buzz | hive.blog | peakd.com | ecency.com
·@a-dalora·
0.000 HBD
Wrong implementation of deuterium consumption of the Deuterium Power Plant
#### Expected behavior
Building a Deuterium Power Plant on a planet it is expected that it is using deuterium as fuel. So deuterium should be consumed if the power plant is producing energy.
#### Actual behavior
A Deuterium Power Plant is only lowering the deuterium production of the deuterium synthesizers. It is not consuming any deuterium if none is produced on the same planet.
#### How to reproduce
Look at your ressources screen and watch the deuterium production of the Deuterium Synthesizer and the deuterium consumption of the  Deuterium Power Plant. The displayed netto production rate - the difference  of the two - will be added to your deuterium reservoir. If you lower the production rate of the synthesizer to 0% usually your netto production rate will become negative, but the level of your reservoir will stay at the same , so no deuterium is consumed.


#### Recording Of The Bug

Production at 100%
<center>
![Screenshot_20180501_134741.png](https://cdn.utopian.io/posts/7ba43eabc318346c781e146c0757d2258184Screenshot_20180501_134741.png)
</center>

Production at 50%

<center>
![Screenshot_20180501_134724.png](https://cdn.utopian.io/posts/29910556eab97cefce7bdbdd318c27a6eb8aScreenshot_20180501_134724.png)
</center>
As you see, the net production is lower now.

Production at 0%
<center>
![Screenshot_20180501_134812.png](https://cdn.utopian.io/posts/84c814de705f5201a52034ffecdccf79f915Screenshot_20180501_134812.png)
</center>
As you see, the nett production is negative now.

Production a few seconds alater, still at 0% production rate.

<center>
![Screenshot_20180501_135041.png](https://cdn.utopian.io/posts/2a320ca595983a83ab6612f32dd3dd302837Screenshot_20180501_135041.png)
</center>
As you see, the inventory of metall and crystal has increased, while the inventory of deuterium has <em>not</em> lowered, despite the fact that net production is negativ.
👍 , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,