Jump to content

DATABASE shows wrong values ​​for Alveo Vera


cncte
  • Branch: Preview Branch Version: Windows Pending

About Alveo Vera, the consume rate of Carobon Dioxide should be 2g/s. If we refer to Oxyfern and its related code.

There are 3 plants have the atrribute of replanted. So maybe this thing make DATABASE show some wrong value.

Please look at these case:

1. Alveo Vera

bluegrass.jpg.bfa8efd9d7f16577ad1eab0f4ffd97aa.jpg

code about consume rate:

bool replanted = this.receptacleMonitor.Replanted;
if (replanted)
{
  this.elementConsumer.consumptionRate = 0.002f;
}
else
{
  this.elementConsumer.consumptionRate = 0.0005f; // DATABASE chose this wrong value.
}

 

2. Oxyfern

Oxyfern.jpg.1d3a6f622269aa940f7b4f0f404f06ff.jpg

code about consume rate:

bool replanted = this.receptacleMonitor.Replanted;
if (replanted)
{
  this.elementConsumer.consumptionRate = 0.00062500004f;	// DATABASE chose this correct value.
}
else
{
  this.elementConsumer.consumptionRate = 0.00015625001f;
}

 

3. Wheezewort

Coldbreather.jpg.367d784ca68b7339e53e2dc353224522.jpg

Quote

Wheezewort consumes gas. And have consume rate, but never show it in the DATABASE.

code about consume rate:

ElementConsumer ec = base.GetComponent<ElementConsumer>();
bool replanted = rm.Replanted;
if (replanted)
{
  ec.consumptionRate = this.consumptionRate;
}
else
{
  ec.consumptionRate = this.consumptionRate * 0.25f;
}

 

Conclusion

The DATABASE shows that the rules for gas consumption are somewhat confusing. Only if the plant have the attribute: replanted.

Hopefully this bug can be fixed.

 


Steps to Reproduce

Enter game OxygennotIncluded > open DATABASE. Chose Plant>Alveo Vera

  • Like 1



User Feedback


If I am reading this correctly, the first one is the consumption for the wild plant and the second one for the domesticated one.

Spoiler

For Alveo Vera's consumption is 500 mg/s while it's wild and 2 g/s (or 2000 mg/s) when it's domesticated

image.png.4255ddd774f9aff75ca8f09262c68170.png

image.png.4875fcbf8ad920dbe6fc1feaa8a9a194.png

Same goes for oxyfern. Wheezewort has zero consumption of phosphorite while wild

Edit: Nvm... I'm confused how things are shown in the database. Requirements and effects seem to be entangled (at least for oxyfern)

 

Spoiler

For Alveo Vera they seem somewhat clear with "Requirements" and "effects" are distinct like on most harvestable plants but there is no domestic or wild growth effects/requirements shown on any plant so the consumption should be for domesticated only

image.png.8ddce4c85fdb6a48c3559a94517202d9.png

Oxyfern seems to have it all together without any distinction like decor plants do in the database

image.png.5a46f139d53781483b4501acdd36b090.png

Wheezewort doesn't need any atmosphere to "work" like the database suggests. In fact it actually says "consumes vacuum"

image.png.ac834a8193db03f50fd65391ff72f0d7.png

image.png.83e2c1b858b49290b4d802ad4ac4e873.png

Edit2: Also, while on the subject of database entries, since when is "snow" considered an "atmosphere"?

image.png.efc875014a86e7ca9c976a155e85b314.png

Edited by sakura_sk

Share this comment


Link to comment
Share on other sites

I just noticed this one myself, as based on the database entry, the Alveo Vera's conversion rate for CO2 to oxygen (1:60) vs duplicant's oxygen to CO2 conversion (50:1) would imply net production of oxygen, yet my colony was quickly running low on oxygen even if I had Alveo Vera capacity to consume all the CO2. Question is if the database is wrong or if it is the code. As long as CO2 geyser is available I suppose it is still a decent alternative to the electrolyzer, early game for sub-zero oxygen production, later for oxylite for rockets.

Share this comment


Link to comment
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...