mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6826] Game Mode: a ruleset's sheet reads the items a character wears and carries (itemStat) #3824
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#3824
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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):
itemStat, reads a stat over the holder's items:fromthe ones worn (on, and bound where they must be), the ones only carried, or all of them;picktheirsum(each item's value times how many),max,minorcount; narrowed by aslotthey take, acategoryor atag; with adefaultfor 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.itemStatcannot be read by anything worked out without the live state (a maximum, the proficiency bonus, a catalog's scaling).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'
wornandcarriedeffects; 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.mdsections 4.3 and 7 (slice I4). Builds on #6816 and #6823.Template check