A very simple mod that changes how the "Malnutrition"-Hediff works.
Malnutrition now takes three times as long to reach maximum severity, but give ever stronger debuffs. Rather than just dying a quick death they slowly detoriate, suffering a slow, uncertain death... but maybe you want to keep the prisoners malnutritioned so their escape becomes very unlikely.
It also changes how the unconsciousness of malnutritioned pawns work, instead of falling unconscious upon reaching Extreme Malnutrition they now need gradually more rest. A pawn with Minor Malnutrition now needs 1.5 times as much rest as a regular pawn, a pawn with Extreme Malnutrition needs 6 times as much rest.
At Trivial Malnutrition, the pawn has trouble performing difficult tasks: researching and mining. They also become more suspectible to infections, slowing immunity gain speed.
At Minor Malnutrition, these tasks become even harder. They also start to become weaker at combat, getting knocked out sooner.
At Moderate Malnutrition, pawns become dizzy, slowing them down even at less demanding work.
At Severe Malnutrition, pawns will start falling unconscious from exhaustion much more often.
At Extreme Malnutrition, pawns have become even slower and weaker and they will fall unconscious frequently. At this point they might die randomly at any point, but might survive up to three days.