[GH-ISSUE #6656] [Feature]: Game Mode rulesets: live states such as a form or stance, and numbers that follow them #3726

Closed
opened 2026-10-21 06:06:34 +07:00 by bsakaguchi · 1 comment
Owner

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

Originally assigned to: @kolacheee on GitHub.

What problem does this solve?

An enum field is set at creation and no sheet command changes it; a condition is only on or off. A Werewolf form, an Exalted anima level, a frenzy or a stance is one label out of a closed set that changes in play, and numbers hang off it (Crinos means Strength +4).

Proposed solution

  • Live states (G11). "live": { "states": [{ "id": "form", "label": "Form", "values": ["Homid", "Glabro", "Crinos", "Hispo", "Lupus"], "default": "Homid" }] }, stored sparse beside pools and tracks.
  • A sheet command. [sheet: who="Name" op="state" state="Form" value="Crinos"], refusing with unknown-state / unknown-value; one reminder line listing each state's values; a select on the sheet.
  • Numbers that follow a state. An enumTable derived op keyed on a state or an enum field: { "op": "enumTable", "from": { "state": "form" }, "table": { "Crinos": 4, ... }, "default": 0 }. It follows the live state through the live value references of slice 3, and reaches the dice through slice 2's adjust limited to an ability (W7).
  • Rests can reset a state. "restore": [{ "state": "form", "to": "default" }].

Depends on slices 2 (adjust) and 3 (live value references).

Alternatives considered

Conditions, one per form: they cannot say "exactly one of these", and nothing hangs a number off a condition.

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/6656 Originally assigned to: @kolacheee on GitHub. ## What problem does this solve? An enum field is set at creation and no sheet command changes it; a condition is only on or off. A Werewolf form, an Exalted anima level, a frenzy or a stance is one label out of a closed set that changes in play, and numbers hang off it (Crinos means Strength +4). ## Proposed solution - **Live states (G11).** `"live": { "states": [{ "id": "form", "label": "Form", "values": ["Homid", "Glabro", "Crinos", "Hispo", "Lupus"], "default": "Homid" }] }`, stored sparse beside pools and tracks. - **A sheet command.** `[sheet: who="Name" op="state" state="Form" value="Crinos"]`, refusing with `unknown-state` / `unknown-value`; one reminder line listing each state's values; a select on the sheet. - **Numbers that follow a state.** An `enumTable` derived op keyed on a state or an enum field: `{ "op": "enumTable", "from": { "state": "form" }, "table": { "Crinos": 4, ... }, "default": 0 }`. It follows the live state through the live value references of slice 3, and reaches the dice through slice 2's `adjust` limited to an ability (W7). - **Rests can reset a state.** `"restore": [{ "state": "form", "to": "default" }]`. Depends on slices 2 (`adjust`) and 3 (live value references). ## Alternatives considered Conditions, one per form: they cannot say "exactly one of these", and nothing hangs a number off a condition. ## 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.
Author
Owner

@kolacheee commented on GitHub (Sep 25, 2026):

Depends on #6652 (adjust) and #6653 (live value references).

<!-- gh-comment-id:5830841802 --> @kolacheee commented on GitHub (Sep 25, 2026): Depends on #6652 (`adjust`) and #6653 (live value references).
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#3726
No description provided.