CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
9.95k stars 4.08k forks source link

Metabolic Interchange CBM. Probably not working correctly #74105

Open IdleSol opened 1 month ago

IdleSol commented 1 month ago

Describe the bug

It is not a question of incorrect energy production values.

For reference. Every turn, it takes 1 kcal and turns it into 1046 J. His efficiency is 25%. Google: 1 kcal = 4.184 kJ. Or 4.184 / 4 = 1.046.

It's about where he gets that kilocalorie from.

This module interconnects the user's digestive system and power supply, letting them replenish bionic energy by burning calories.

According to the module description, it is related to the digestive system. I.e., stomach and gut. And it's supposed to draw value from those reservoirs. And if there's nothing in them, it should stop working and producing energy.

In fact, it works with a reservoir of stored kilocalories. And it continues to work even if there are no stored kilocalories in the stomach or guts.

Hence the contradiction between description and actual action.

And there are three solutions:

  1. Do nothing.
  2. Change the description and do not mention the digestive system.
  3. Modify the module to take kcal only from the digestive system.

Attach save file

Beavertown-trimmed.tar.gz

Steps to reproduce

  1. Create a character
  2. Install the bionic battery
  3. Install the metabolic module
  4. Edit the stored kcal values. (set stomach and gut values to 0)
  5. Turn on the module and wait one turn (or more)
  6. Watch for energy recovery
  7. Check the stored kilocalorie values

A character with installed modules and reset kcal values is prepared in the save.

Expected behavior

n/a

Screenshots

No response

Versions and configuration

Additional context

No response

Kamejeir commented 1 month ago

Well, how about a flavor change from "the user's digestive system" to "the users local caloric reserves"?

IdleSol commented 1 month ago

If we change the description. A better option would be to use an imprecise description. Something like: "A module to convert stored energy into bionic energy". Without specifying where it's installed, what form the energy is stored in, or how it converts it.

UPD. If I were doing it for real.

  1. I would replace the stomach and intestines to increase efficiency. And I would connect a module to it, which would use the resulting elements to convert into energy. Most likely fats. Wiki says it's Triglyceride in English.

  2. Or it would be a module connected to the circulatory system. Most likely instead of the liver. And it would combine a blood filter and the functionality of breaking down glucose and fat into energy. Preferably fat.

In the first case, the module would work with what the person ate. Nothing eaten, nothing converted, and no bionic energy. In the second case, the module would work with the entire energy supply. The body itself would be breaking down its own reserves. And that's quite dangerous. Because the module will consume until the batteries are charged. Or as long as there are reserves in the body. So you can die quickly from exhaustion.

fairyarmadillo commented 1 month ago

I believe it's supposed to be burning fat, not stomach contents. The description might be outdated as the game used to not have stored fat.

github-actions[bot] commented 1 week ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Please do not bump or comment on this issue unless you are actively working on it. Stale issues, and stale issues that are closed are still considered.