[GH-ISSUE #6653] [Feature]: Game Mode rulesets: derived values that read live tracks and pools, list sums, and wider hideWhen #3724

Closed
opened 2026-10-21 06:06:32 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @kolacheee on GitHub (Sep 25, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6653

Originally assigned to: @kolacheee on GitHub.

What problem does this solve?

A sheet's derived values can read the build only: they cannot read a live track or pool, sum a list, or hide on anything but one value.

  • Nothing reads live state (G10). A Vampire Virtue roll is capped at the Humanity rating, hunger depends on the Blood pool, an Exalted wound penalty also comes off Initiative, and 5e exhaustion lowers speed.
  • Nothing sums a list (G1). Armor soak, weight carried, motes committed to artifacts and bonuses from equipped gear all end up as hand-typed fields that repeat the list.
  • hideWhen takes one value (G2). A file with three or more kinds of character (Solar, Lunar, Dragon-Blooded; Kindred, ghoul, mortal) cannot say "hide unless the kind is X".

Proposed solution

  • Live value references (G10). { "track": "humanity" }, { "track": "health", "read": "penalty" | "filled" | "remaining" } and { "pool": "blood" }, usable in derived, in a new cap on skills and saves ("cap": { "track": "humanity" }, W6), and in adjust and spend[].perCheck once they exist. Refused in any pool or track maximum, where a moving maximum would loop the evaluator. Evaluated at the declared default where no live state is at hand (the editor, import review), and against the frozen snapshot on a check.
  • List sums (G1). { "listSum": { "list": "gear", "column": "soak", "onlyWhen": "equipped" } }: column a number column, onlyWhen a boolean one.
  • hideWhen "not equal" and "one of" (G2). Exactly one of equals, notEquals or in: [...], with the "can never match" check run per listed value.

Alternatives considered

Hand-typed fields and Game Master guidance, which is what the report's files do; they drift from the list and the live state the moment either changes.

Additional context

From the gap report by the author of Marinara-RPG-Extension, who ships tabletop systems for Marinara and wants them to run natively through ruleset.json. Each item below was re-checked against staging at e15c9e558 (Capability API 1.36); none of it exists yet. The shapes are the report's proposals: any shape that carries the rule is fine, and the format must stay system-neutral (nothing here may name one game's words).

Planned order: the 5e package update first, then slices 1 to 6 of this series, then the remaining ruleset-combat slices, and a Storyteller combat kind last. The G15 small items are a separate issue offered to the report's author. Each slice is one Engine PR, one new Capability API minor where it adds file keys (with the install gate, the published JSON Schema and the author guide), and examples on the Engine's own Gravewatch (dice pool) and Ember Roads (dice sum) rulesets.

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @kolacheee on GitHub (Sep 25, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6653 Originally assigned to: @kolacheee on GitHub. ## What problem does this solve? A sheet's derived values can read the build only: they cannot read a live track or pool, sum a list, or hide on anything but one value. - **Nothing reads live state (G10).** A Vampire Virtue roll is capped at the Humanity rating, hunger depends on the Blood pool, an Exalted wound penalty also comes off Initiative, and 5e exhaustion lowers speed. - **Nothing sums a list (G1).** Armor soak, weight carried, motes committed to artifacts and bonuses from equipped gear all end up as hand-typed fields that repeat the list. - **`hideWhen` takes one value (G2).** A file with three or more kinds of character (Solar, Lunar, Dragon-Blooded; Kindred, ghoul, mortal) cannot say "hide unless the kind is X". ## Proposed solution - **Live value references (G10).** `{ "track": "humanity" }`, `{ "track": "health", "read": "penalty" | "filled" | "remaining" }` and `{ "pool": "blood" }`, usable in `derived`, in a new `cap` on skills and saves (`"cap": { "track": "humanity" }`, W6), and in `adjust` and `spend[].perCheck` once they exist. Refused in any pool or track maximum, where a moving maximum would loop the evaluator. Evaluated at the declared default where no live state is at hand (the editor, import review), and against the frozen snapshot on a check. - **List sums (G1).** `{ "listSum": { "list": "gear", "column": "soak", "onlyWhen": "equipped" } }`: `column` a number column, `onlyWhen` a boolean one. - **`hideWhen` "not equal" and "one of" (G2).** Exactly one of `equals`, `notEquals` or `in: [...]`, with the "can never match" check run per listed value. ## Alternatives considered Hand-typed fields and Game Master guidance, which is what the report's files do; they drift from the list and the live state the moment either changes. ## Additional context From the gap report by the author of [Marinara-RPG-Extension](https://github.com/Kenhito/Marinara-RPG-Extension), who ships tabletop systems for Marinara and wants them to run natively through `ruleset.json`. Each item below was re-checked against `staging` at `e15c9e558` (Capability API 1.36); none of it exists yet. The shapes are the report's proposals: any shape that carries the rule is fine, and the format must stay system-neutral (nothing here may name one game's words). Planned order: the 5e package update first, then slices 1 to 6 of this series, then the remaining ruleset-combat slices, and a Storyteller combat kind last. The G15 small items are a separate issue offered to the report's author. Each slice is one Engine PR, one new Capability API minor where it adds file keys (with the install gate, the published JSON Schema and the author guide), and examples on the Engine's own Gravewatch (dice pool) and Ember Roads (dice sum) rulesets. ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
Sign in to join this conversation.
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
Pasta-Devs/Marinara-Engine#3724
No description provided.