[GH-ISSUE #933] [Feature]: SRD 5.1 catalogs (spells, class features, weapons) for the 5e ruleset package #489

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

Originally assigned to: @kolacheee on GitHub.

What problem does this solve?

The 5e (SRD 5.1) ruleset package gives a game the full 5e character sheet, but every spell, attack and class feature has to be typed in by hand, row by row. The first hands-on use of the sheet showed how slow that is.

Marinara Engine is gaining catalogs for rulesets (Capability API 1.21, Pasta-Devs/Marinara-Engine#6345): a ruleset can ship ready-made entries, and the sheet editor gets an Add from catalog picker that copies the chosen entries into the sheet's lists. The 5e package has no catalogs yet, so the picker has nothing to offer for it.

Proposed package or change

  • ruleset-5e-2014 0.2.0 with SRD 5.1 catalogs: spells (level, school and class filters), class and subclass features (with a limited-use counter for the features where the SRD states a plain count), and weapons as ready attack rows.
  • The content comes from Open5e's srd-2014 data files (open5e/open5e-api, data/v2/wizards-of-the-coast/srd-2014/), whose document record names System Reference Document 5.1 under CC-BY-4.0. A small converter script is committed; the raw source files are not. The package keeps its existing CC-BY-4.0 attribution and records where the machine-readable form came from.
  • Entries carry the optional mechanics block (range, area, damage dice and type, save, slot cost) only where the source is unambiguous. The Engine shows it in the picker and does not use it in battles yet.
  • Tooling: the ruleset package checks and the builder learn the catalogs/<id>.json asset family (allowed only beside ruleset.json and only on Capability API 1.21 or newer, declared, hash-pinned, size and entry limits, rows checked against the lists they feed).
  • Armor is not part of this release: armor sets the Armor Class field, and a catalog can only fill lists.

Why should this be optional?

It already is: this is content for an optional package. Catalog text never goes to the model, so it costs no tokens.

Alternatives considered

  • Typing the content by hand from the SRD PDF: slow and error-prone for 319 spells and about 290 features.
  • 5e-bits' 5e-database: the same text, but that repository states only the Open Gaming License for the content, which does not match this package's CC-BY-4.0 declaration.

Additional context

Engine side: Pasta-Devs/Marinara-Engine#6314 (feature request) and Pasta-Devs/Marinara-Engine#6345 (catalog format, Capability API 1.21 and the picker). This package release depends on that pull request being merged, because the package has to declare Capability API 1.21.

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/933 Originally assigned to: @kolacheee on GitHub. ## What problem does this solve? The 5e (SRD 5.1) ruleset package gives a game the full 5e character sheet, but every spell, attack and class feature has to be typed in by hand, row by row. The first hands-on use of the sheet showed how slow that is. Marinara Engine is gaining catalogs for rulesets (Capability API 1.21, Pasta-Devs/Marinara-Engine#6345): a ruleset can ship ready-made entries, and the sheet editor gets an **Add from catalog** picker that copies the chosen entries into the sheet's lists. The 5e package has no catalogs yet, so the picker has nothing to offer for it. ## Proposed package or change - `ruleset-5e-2014` 0.2.0 with SRD 5.1 catalogs: spells (level, school and class filters), class and subclass features (with a limited-use counter for the features where the SRD states a plain count), and weapons as ready attack rows. - The content comes from Open5e's `srd-2014` data files (`open5e/open5e-api`, `data/v2/wizards-of-the-coast/srd-2014/`), whose document record names System Reference Document 5.1 under CC-BY-4.0. A small converter script is committed; the raw source files are not. The package keeps its existing CC-BY-4.0 attribution and records where the machine-readable form came from. - Entries carry the optional `mechanics` block (range, area, damage dice and type, save, slot cost) only where the source is unambiguous. The Engine shows it in the picker and does not use it in battles yet. - Tooling: the ruleset package checks and the builder learn the `catalogs/<id>.json` asset family (allowed only beside `ruleset.json` and only on Capability API 1.21 or newer, declared, hash-pinned, size and entry limits, rows checked against the lists they feed). - Armor is not part of this release: armor sets the Armor Class field, and a catalog can only fill lists. ## Why should this be optional? It already is: this is content for an optional package. Catalog text never goes to the model, so it costs no tokens. ## Alternatives considered - Typing the content by hand from the SRD PDF: slow and error-prone for 319 spells and about 290 features. - 5e-bits' `5e-database`: the same text, but that repository states only the Open Gaming License for the content, which does not match this package's CC-BY-4.0 declaration. ## Additional context Engine side: Pasta-Devs/Marinara-Engine#6314 (feature request) and Pasta-Devs/Marinara-Engine#6345 (catalog format, Capability API 1.21 and the picker). This package release depends on that pull request being merged, because the package has to declare Capability API 1.21. ## 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:00 +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#489
No description provided.