mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6765] [Feature]: Rulesets can describe items: categories, rarities, stats, slots, currencies and item catalogs #3790
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#3790
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 27, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6765
Originally assigned to: @kolacheee on GitHub.
What problem does this solve?
A ruleset cannot describe items. Armor, weapons, potions, scrolls, gear, ammunition and money can only be typed as rows of a sheet list. Those rows are tied to one character's sheet, and Game Mode's inventory knows nothing about them. So a 5e game has no Padded Armor with an Armor Class, a weight and a rarity, and a V20 game has no pistol with its range, rate of fire and clip. The 5e package ships no armor, gear, potions or magic items at all, and types Armor Class in as a number.
This is the first slice of the ruleset items plan. It is the data an item carries and the vocabulary a ruleset declares for its items. The inventory, the sheet and the fight read it in the slices after it.
Proposed solution
Capability API 1.49, for data files only:
itemsblock in the ruleset declares the vocabulary every item uses:categories(armor, weapon, potion) andrarities(common to artifact, or the system's own tiers);tags(properties), andstats: the numbers and words an item carries, declared like list columns (weight, base defense, concealability, range);slotswith counts (body armor 1, hands 2, rings 2), and abindinglimit (attunement 3, investiture 10);carry: which stat is weight, and what a character carries before being encumbered and at most, read off their sheet;currencies: families of units that change into each other by value (copper to platinum). Two families never change into each other;nativeandfreeform: whether Game Mode's own untyped items are turned off in this ruleset's games, and what a player's typed-in item becomes.holds: "items", beside rows and creatures. Each entry carries anitem:None of it names one game's words.
Alternatives considered
Additional context
The plan was researched against SRD 5.1, V20 and the 16 systems in https://github.com/Kenhito/Marinara-RPG-Extension. The following slices build on this one:
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: