[GH-ISSUE #942] [Feature]: 5e ruleset package 0.3.0: a battle block so fights start from the character sheet #495

Closed
opened 2026-10-20 17:28:02 +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/942

Originally assigned to: @kolacheee on GitHub.

What problem does this solve?

A game on the 5e (SRD 5.1) ruleset keeps each character's hit points, spell slots, prepared spells and weapons on the sheet, but a battle ignores all of it: everyone starts fresh on Marinara's own numbers and nothing the fight cost reaches the sheet afterwards.

Marinara Engine now has a combat bridge for rulesets (Capability API 1.22, Pasta-Devs/Marinara-Engine#6348, merged to staging as d71106851): a ruleset that declares a battle block lends its sheet to Marinara's existing combat. The 5e package has no battle block yet, so the bridge does nothing for it.

Proposed package or change

  • ruleset-5e-2014 0.3.0 with a battle block: hit points as health, spell slot pools 1 to 9 with their levels, and combat skills from prepared spells (cantrips always) and from the weapons picked out of the catalog. Pact Magic slots are left out, because their level follows the character and a fixed list of levels cannot say that.
  • The SRD healing spells become kind: "heal" in the spell catalog with their dice (Cure Wounds, Healing Word, Mass Cure Wounds, Mass Healing Word, Prayer of Healing, Heal, Mass Heal, Regenerate), each citing the SRD sentence it came from, so they work as heals in a fight.
  • The package checks learn the battle block (the Engine's own rules restated: pools must be declared live pools, health may not start empty, slot pools and levels are used once, alwaysWhen needs onlyWhen, and the package must declare 1.22).
  • 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

  • Waiting for real ruleset combat (Pasta-Devs/Marinara-Engine#6361 proposes it). That is a larger arc that needs the maintainer's sign-off first; the bridge works today, and the package says plainly that the damage is still Marinara's own combat math.

Additional context

Follows https://github.com/Pasta-Devs/Marinara-Agents/issues/933 (the SRD catalogs, shipped as 0.2.0 in https://github.com/Pasta-Devs/Marinara-Agents/pull/934). Health is carried as a share of the maximum, because Marinara's fighters have about 60 health and a level 1 wizard has 8 hit points; the README and the changelog say so.

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/942 Originally assigned to: @kolacheee on GitHub. ## What problem does this solve? A game on the 5e (SRD 5.1) ruleset keeps each character's hit points, spell slots, prepared spells and weapons on the sheet, but a battle ignores all of it: everyone starts fresh on Marinara's own numbers and nothing the fight cost reaches the sheet afterwards. Marinara Engine now has a combat bridge for rulesets (Capability API 1.22, Pasta-Devs/Marinara-Engine#6348, merged to `staging` as d71106851): a ruleset that declares a `battle` block lends its sheet to Marinara's existing combat. The 5e package has no `battle` block yet, so the bridge does nothing for it. ## Proposed package or change - `ruleset-5e-2014` 0.3.0 with a `battle` block: hit points as health, spell slot pools 1 to 9 with their levels, and combat skills from prepared spells (cantrips always) and from the weapons picked out of the catalog. Pact Magic slots are left out, because their level follows the character and a fixed list of levels cannot say that. - The SRD healing spells become `kind: "heal"` in the spell catalog with their dice (Cure Wounds, Healing Word, Mass Cure Wounds, Mass Healing Word, Prayer of Healing, Heal, Mass Heal, Regenerate), each citing the SRD sentence it came from, so they work as heals in a fight. - The package checks learn the `battle` block (the Engine's own rules restated: pools must be declared live pools, health may not start empty, slot pools and levels are used once, `alwaysWhen` needs `onlyWhen`, and the package must declare 1.22). - 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 - Waiting for real ruleset combat (Pasta-Devs/Marinara-Engine#6361 proposes it). That is a larger arc that needs the maintainer's sign-off first; the bridge works today, and the package says plainly that the damage is still Marinara's own combat math. ## Additional context Follows https://github.com/Pasta-Devs/Marinara-Agents/issues/933 (the SRD catalogs, shipped as 0.2.0 in https://github.com/Pasta-Devs/Marinara-Agents/pull/934). Health is carried as a share of the maximum, because Marinara's fighters have about 60 health and a level 1 wizard has 8 hit points; the README and the changelog say so. ## 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:02 +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#495
No description provided.