[GH-ISSUE #948] [Feature]: 5e ruleset package 0.4.0: class resources keep their own maximum (scaled counters) #496

Closed
opened 2026-10-20 17:28:03 +07:00 by bsakaguchi · 0 comments
Owner

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

Originally assigned to: @kolacheee on GitHub.

What problem does this solve?

The 5e (SRD 5.1) ruleset package lets you pick class features from a catalog, and the ones with limited uses (Rage, Ki, Sorcery Points, Bardic Inspiration and so on) come with a counter. That counter's maximum is whatever the feature gives at the level you gain it, and the package told players to raise it by hand as they level. Everyone forgets, and the Game Master then spends uses the character does not have, or refuses ones it does.

Marinara Engine can now keep such numbers itself (Capability API 1.23, Pasta-Devs/Marinara-Engine#6362, merged): a catalog entry row may say that a number column follows the sheet, from a field, a derived value or a step table, and the sheet editor keeps that cell current. The 5e package does not use it yet.

Proposed package or change

  • ruleset-5e-2014 0.4.0. Nine class resources keep their own maximum: Rage, Ki and Sorcery Points from the class tables in the source data, Channel Divinity, Action Surge and Indomitable from the levels the SRD names, Bardic Inspiration and Divine Sense from Charisma, and a new Lay on Hands counter at level times 5.
  • The step tables are BUILT from the Open5e class-table columns wherever a column exists, and the build fails when the source and a typed table disagree, so no number is invented.
  • The package checks learn the scaled key (the Engine's own rules restated), with regression cases.
  • No code, no permissions, no agent: the package stays pure data. Game mode only.

Why should this be optional?

It is an update to a package that is already optional. A game that does not use the 5e ruleset never loads it.

Alternatives considered

  • Leaving the numbers to the player, as today. That is the problem being fixed.
  • Waiting for class levels on the sheet. The sheet has one Level field, so a multiclass character's resources follow the total level; the package says so plainly, and a player can always delete the picked row and type their own, which the ruleset never touches.

Additional context

Follows https://github.com/Pasta-Devs/Marinara-Agents/issues/942 (the battle block, shipped as 0.3.0 in https://github.com/Pasta-Devs/Marinara-Agents/pull/943). Source data: Open5e srd-2014 at commit 0e594c370b4daa9c8d8690979a58eab615afd6d5, CC-BY-4.0, the same pin the catalogs were built from.

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 19, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/948 Originally assigned to: @kolacheee on GitHub. ## What problem does this solve? The 5e (SRD 5.1) ruleset package lets you pick class features from a catalog, and the ones with limited uses (Rage, Ki, Sorcery Points, Bardic Inspiration and so on) come with a counter. That counter's maximum is whatever the feature gives at the level you gain it, and the package told players to raise it by hand as they level. Everyone forgets, and the Game Master then spends uses the character does not have, or refuses ones it does. Marinara Engine can now keep such numbers itself (Capability API 1.23, Pasta-Devs/Marinara-Engine#6362, merged): a catalog entry row may say that a number column follows the sheet, from a field, a derived value or a step table, and the sheet editor keeps that cell current. The 5e package does not use it yet. ## Proposed package or change - `ruleset-5e-2014` 0.4.0. Nine class resources keep their own maximum: Rage, Ki and Sorcery Points from the class tables in the source data, Channel Divinity, Action Surge and Indomitable from the levels the SRD names, Bardic Inspiration and Divine Sense from Charisma, and a new Lay on Hands counter at level times 5. - The step tables are BUILT from the Open5e class-table columns wherever a column exists, and the build fails when the source and a typed table disagree, so no number is invented. - The package checks learn the `scaled` key (the Engine's own rules restated), with regression cases. - No code, no permissions, no agent: the package stays pure data. Game mode only. ## Why should this be optional? It is an update to a package that is already optional. A game that does not use the 5e ruleset never loads it. ## Alternatives considered - Leaving the numbers to the player, as today. That is the problem being fixed. - Waiting for class levels on the sheet. The sheet has one Level field, so a multiclass character's resources follow the total level; the package says so plainly, and a player can always delete the picked row and type their own, which the ruleset never touches. ## Additional context Follows https://github.com/Pasta-Devs/Marinara-Agents/issues/942 (the battle block, shipped as 0.3.0 in https://github.com/Pasta-Devs/Marinara-Agents/pull/943). Source data: Open5e `srd-2014` at commit 0e594c370b4daa9c8d8690979a58eab615afd6d5, CC-BY-4.0, the same pin the catalogs were built from. ## 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.
bsakaguchi 2026-10-20 17:28:03 +07:00
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-Agents#496
No description provided.