![Bug Bug](images/icons/bug.png)
Noticed there's a few gaps in crit behavior.
When you're in crit, you consistnetly take 1 oxygen damage every Life process, that said, from -51 to -79 health, you don't take any. This generates oddities of being stuck in this range for a long time, and is kinda a lame "cheap spot" to be in where you're probably never going to suffer any ill effects.
The other is that it seems you're supposed to become fully unconscious once you hit -100 health or lower; the comment suggests that this is "handled via losebreath", but this isn't the case. Furthemore, setting stat directly to 1 (unconscious) also doesn't work as it just gets reset further in the life loop; therefore, paralysis setting is the only way to fix this behavior.
This fixes both of these behaviors.
Code comparison: https://github.com/goonstation/goonstati...d:crit-fix
When you're in crit, you consistnetly take 1 oxygen damage every Life process, that said, from -51 to -79 health, you don't take any. This generates oddities of being stuck in this range for a long time, and is kinda a lame "cheap spot" to be in where you're probably never going to suffer any ill effects.
The other is that it seems you're supposed to become fully unconscious once you hit -100 health or lower; the comment suggests that this is "handled via losebreath", but this isn't the case. Furthemore, setting stat directly to 1 (unconscious) also doesn't work as it just gets reset further in the life loop; therefore, paralysis setting is the only way to fix this behavior.
This fixes both of these behaviors.
Code comparison: https://github.com/goonstation/goonstati...d:crit-fix