starbound

When the player's hunger, temperature or air (under water, on a moon, or asteroid field planet) reaches 0, the character begins to lose health (7 HP per sec). A warning sound kicks off once the imminent danger of starvation, freezing to death or asphyxiation is close. Freezing is accompanied with an animation of the player's breath being visible and the whole screen turning white. 

When a character's health drops to 0, they die.

Penalties

Depending on the difficulty you play on, different penalties are being applied.

Trivia