Wrong implementation of deuterium consumption of the Deuterium Power Plant

in #utopian-io6 years ago

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%


Screenshot_20180501_134741.png

Production at 50%


Screenshot_20180501_134724.png

As you see, the net production is lower now.

Production at 0%


Screenshot_20180501_134812.png

As you see, the nett production is negative now.

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


Screenshot_20180501_135041.png

As you see, the inventory of metall and crystal has increased, while the inventory of deuterium has not lowered, despite the fact that net production is negativ.

Sort:  

Fusionkraftwerks seems to be most cost effective power buildings in the game right now :O
The mechanics should be completely rewritten tho. Thanks for catch!

A rewriting might be good, but the bug described does not exist in that described way.

Either:
He did not wait long enough for Deuterium to be consumed, as the consumption of 100/hour is rather low.

Or:
Due to the storage being full and because "resource gain" stopped, so did consumption of it.
That might be a likelier cause.

It is in some way irritating. I've tested your answer and you are right. But on the other side I am sure that what I have been tested is correct, even respecting your comment. Maybe the bug is more hidden and one is only able to recognize it in the early stage of building up a planet.

I've created a second artificial example.
Screenshot_20180502_225612.png
As you see there is no Deuterium on the planet at all. It is shown that the Fusionskraftwerk is using 57 Deuterium to produce 630 Energy. The Energy is produced without consuming any Deuterium.

This is what I called "most effective building" due to this issue

It it not as cost effective at it should be.

This is not rue. Fusionkraftwerks is extremely expensive. The question was only about low-level plants.

Hey @a-dalora

We're already looking forward to your next contribution!

Contributing on Utopian

Learn how to contribute on our website or by watching this tutorial on Youtube.

Utopian Witness!

Vote for Utopian Witness! We are made of developers, system administrators, entrepreneurs, artists, content creators, thinkers. We embrace every nationality, mindset and belief.

Want to chat? Join us on Discord https://discord.gg/h52nFrV

Coin Marketplace

STEEM 0.19
TRX 0.15
JST 0.029
BTC 63834.78
ETH 2627.38
USDT 1.00
SBD 2.78