mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6407] [Feature]: a ruleset cannot express a wound track with named levels, penalties and damage kinds, so the tracked systems cannot be written #3584
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#3584
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kolacheee on GitHub (Sep 20, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6407
Originally assigned to: @kolacheee on GitHub.
The gap
A ruleset can declare a health pool (one number, a maximum that may be a formula, an optional temporary buffer). That is the right shape for hit points. It is the wrong shape for the tracked systems: World of Darkness, Chronicles of Darkness, Exalted, Fate. Those have a track of levels, each level carrying a name and a penalty, marked with damage of different kinds that sort and upgrade.
None of that can be said today:
liveTrackSchema(packages/shared/src/schemas/ruleset.schema.ts) is{ id, label, min, max, default? }: a bounded integer, with no per-step label and no per-step penalty.difficultyLadderandproficiencyTiers, which are the two ladder-shaped things in the format: the first is check difficulties and the second is skill training, and neither reads live state. So a wound track cannot bite.applyRulesetSheetOp'sdamageop (packages/shared/src/features/rulesets/live-state.ts) is arithmetic on one number, with no type argument, no marks, no sorting and no upgrading. (combat.damageTypesexists, but only for resist/vulnerable/immune multipliers inside a fight; it never writes to the sheet.)combat.healthnames one entry ofsheet.live.poolsand the schema refuses a track id outright, so health cannot be a track even if one could hold this.The only lever today is the Game Master manually typing
bonus="-2"on a check, inside the ruleset's declaredsituationalDicerange. A rule the book states as a number becomes the model's judgement, which is the same complaint as #6405.A shape that is already proven
A contributor has built this against Marinara as an overlay extension, for V20 and for Exalted 3rd, and their format says it in a way that maps almost directly onto ours:
Their Exalted track is the same shape with different labels (
-0,-1,-1,-2,-2,-4,Inc).Two things to notice, because they carry their weight:
severitygives the sorting for free. Marks sort by severity, so aggravated sits above lethal sits above bashing without a rule being written, and "bashing upgrades to lethal when the track is full" is an ordering statement rather than special-case code.penaltyis per level, not per box, which is what makes the duplicate labels (-1,-1) meaningful.Suggested shape for the Engine
A
live.tracks[]entry gains two optional keys, and a track that declareslevelsis a wound track rather than a bounded integer:Then:
{ op: "damage", track, kind, amount }marks it; a mark landing on a full track upgrades the lowest mark to the next severity, which is exactly the SRD-of-Darkness rule.dice-poolit takes dice off the pool; fordice-sumit is a flat modifier. That single wire is what turns the track from a picture into a rule, and it is the part the contributor could not do from outside the Engine.combat.healthaccepts a track withlevelsas well as a pool, and the combat resolver marks it instead of subtracting.The player-editable maximum the contributor asked about (Chronicles' Stamina + Size, Exalted buying levels) already works through a pool's
maxbeing a value reference over a derivedsum, recomputed on every read. It is the levels and the marks that are missing, not the arithmetic.Why it matters
Every system on that contributor's list except the d20 ones is a tracked system. Without this they are all "a number that goes down", and the thing that makes them feel like themselves, taking a beating and fighting on worse, is not modelled.
@SpicyMarinara commented on GitHub (Sep 20, 2026):
Implemented and merged into staging in #6416, with integration fixes and regression coverage.