[GH-ISSUE #6826] Game Mode: a ruleset's sheet reads the items a character wears and carries (itemStat) #3824

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

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

Originally assigned to: @kolacheee on GitHub.

What problem does this solve?

A Game Mode ruleset's items can be worn and carried (#6801), but nothing on a character's sheet reads them. Armor cannot set a defense, a soak cannot come from what is worn, and a load cannot be worked out from what is carried. The sheet only reads the character's build and live state.

Proposed solution

Slice I4-1 of the ruleset items arc (plan section 4.3):

  • A new value reference, itemStat, reads a stat over the holder's items: from the ones worn (on, and bound where they must be), the ones only carried, or all of them; pick their sum (each item's value times how many), max, min or count; narrowed by a slot they take, a category or a tag; with a default for when there is no such item. A derived value can use it like any other reference: a defense from the best worn armor, a soak from the sum of worn soak, a load from everything carried.
  • Items change in play, so like a live track or pool an itemStat cannot be read by anything worked out without the live state (a maximum, the proficiency bonus, a catalog's scaling).
  • The holder's items reach every place a sheet is worked out in a game: checks, the Game Master's sheet block, the in-game sheet and the start of a ruleset fight. Outside a game (the sheet editor on a character card) there are none, and the reference reads its default.
  • Capability API 1.52 for itemStat, with the install gate, the published schema, the author guide and an example.

Next slices: I4-2 lets checks outside a fight read the character's active conditions and their items' worn and carried effects; I4-3 adds item requirements, ability set and add, and levels read from a derived value.

Alternatives considered

Copying item bonuses onto the sheet's build when an item is put on. That would make the build drift from what the player chose, and every place that edits the build would have to undo it.

Additional context

Plan: rulesets-items-plan.md sections 4.3 and 7 (slice I4). Builds on #6816 and #6823.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @kolacheee on GitHub (Sep 28, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6826 Originally assigned to: @kolacheee on GitHub. ## What problem does this solve? A Game Mode ruleset's items can be worn and carried (#6801), but nothing on a character's sheet reads them. Armor cannot set a defense, a soak cannot come from what is worn, and a load cannot be worked out from what is carried. The sheet only reads the character's build and live state. ## Proposed solution Slice I4-1 of the ruleset items arc (plan section 4.3): - A new value reference, `itemStat`, reads a stat over the holder's items: `from` the ones worn (on, and bound where they must be), the ones only carried, or all of them; `pick` their `sum` (each item's value times how many), `max`, `min` or `count`; narrowed by a `slot` they take, a `category` or a `tag`; with a `default` for when there is no such item. A derived value can use it like any other reference: a defense from the best worn armor, a soak from the sum of worn soak, a load from everything carried. - Items change in play, so like a live track or pool an `itemStat` cannot be read by anything worked out without the live state (a maximum, the proficiency bonus, a catalog's scaling). - The holder's items reach every place a sheet is worked out in a game: checks, the Game Master's sheet block, the in-game sheet and the start of a ruleset fight. Outside a game (the sheet editor on a character card) there are none, and the reference reads its default. - Capability API 1.52 for `itemStat`, with the install gate, the published schema, the author guide and an example. Next slices: I4-2 lets checks outside a fight read the character's active conditions and their items' `worn` and `carried` effects; I4-3 adds item requirements, ability set and add, and levels read from a derived value. ## Alternatives considered Copying item bonuses onto the sheet's build when an item is put on. That would make the build drift from what the player chose, and every place that edits the build would have to undo it. ## Additional context Plan: `rulesets-items-plan.md` sections 4.3 and 7 (slice I4). Builds on #6816 and #6823. ## Template check - [ ] 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#3824
No description provided.