Closed ghost closed 10 years ago
Additionally, this could interact with other factors so that certain diseases kill-by-overheating, and apes that are good at heat-dumping survive such infections, even if they continue to be infected over time.
METABOLISM_HEAT is I'm guessing the correct variable to increment or detriment, but I don't see where anything in the surrounding enumeration of metabolic indicators gets picked up in the code elsewhere (https://github.com/barbalet/nobleape/blob/deb20c258185b507dd084c0f080586e6f0bb9f16/sim/universe/universe.h)
That all said, diseases that affect almost any of the enumerated variables listed in that section would be of interest. Something that affects ATP would, for example, cause apes to freeze up as their immune systems are overwhelmed and their muscles refuse to work. METABOLISM_THERMOREGULATOR too. I'm imagining now apes that get sick and become really bad at maintaining body temperature. In certain environments this is fine, and in certain ones the same apes will quickly die as their heat rises or drops and they are unable to combat it. The ones with high immune systems survive because they fight off the infection and start dumping heat like normal, and the ones with crappy immune systems die because they never get that power back, and die from heat problems. A bit like certain aspects of Mechwarrior, actually.
Just found the commit where metabolism got removed, 2 months back. Any plans to bring it back?
The code was complicated and unstable. The longterm aim is to simplify this system and bring it back. It will however be implemented considerably differently than the original and probably only contain 2-3 variables plus input/output to simulate the metabolism.
I might make the vascular system into a separate simulation with a smaller time step in the order of milliseconds. That would allow for simulation of heart valve dynamics, as in the original paper, and it would then be possible to have various kinds of heart failure.
Currently when antigens and antibodies react I don't think that any waste heat is produced. Probably there should be some, such that it would be possible for an ape to overheat and get a fever.