mortality: falls, heavy vehicles, a feed and a respawn #235

Closed
sermuns wants to merge 1 commit from mortality into main
Owner

Implements the first slice of #230: death as a running gag rather than a fail state.

  • liuverse-sim::mortality judges hard landings (surface-dependent, with grass and water as reprieves) and hits from vehicles with enough heft. Buses, cars and mopeds kill at speed; bicycles, scooters and boards only shove.
  • The local body keeps its splat pose while a card names the epitaph, then respawns at the last safe ground with a short shield and the existing teleport beam.
  • ClientMsg::Died and ServerMsg::Death are append-only wire additions. The server resolves the driver, frees the victim's seat and broadcasts the wording, so clients cannot invent epitaphs.
  • Everyone else's deaths get a short fading line in the top-right feed; the victim gets the big card. Chat and the single notice slot are untouched.
  • Vehicle kinds gain a heft spec field; the selected tuning keeps death rare.

Not in this slice: death cam, ragdoll flops, chalk outlines, death bingo, the sound sting, and corpse interaction. Those can follow once the core joke feels right.

Implements the first slice of #230: death as a running gag rather than a fail state. - `liuverse-sim::mortality` judges hard landings (surface-dependent, with grass and water as reprieves) and hits from vehicles with enough heft. Buses, cars and mopeds kill at speed; bicycles, scooters and boards only shove. - The local body keeps its splat pose while a card names the epitaph, then respawns at the last safe ground with a short shield and the existing teleport beam. - `ClientMsg::Died` and `ServerMsg::Death` are append-only wire additions. The server resolves the driver, frees the victim's seat and broadcasts the wording, so clients cannot invent epitaphs. - Everyone else's deaths get a short fading line in the top-right feed; the victim gets the big card. Chat and the single notice slot are untouched. - Vehicle kinds gain a `heft` spec field; the selected tuning keeps death rare. Not in this slice: death cam, ragdoll flops, chalk outlines, death bingo, the sound sting, and corpse interaction. Those can follow once the core joke feels right.
Falls and heavy vehicles can kill; the body lies for a beat, gets a card, and respawns at its last safe ground. Online the server names the driver, frees the seat and broadcasts one epitaph.

closes #230
Author
Owner

duplicate of #236

duplicate of #236
sermuns closed this pull request 2026-10-26 08:43:38 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
elsie/liuverse!235
No description provided.