mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6795] Game Mode: ruleset items in the inventory (catalog items, picker, stack limits, freeform) #3804
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#3804
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/6795
Originally assigned to: @kolacheee on GitHub.
Part of the ruleset items plan (slice I2b, second half). Builds on #6791 (item ids and nicknames, PR #6794).
Problem
Capability API 1.49 lets a ruleset ship catalogs of its own items (
holds: "items"), with a category, rarity, tags, stats and a stack size for each. Nothing in a game reads them yet: Game Mode's inventory only holds plain items typed in by name, so a ruleset's Hand axe or Silver coffin nail is just a name, with none of its details, and the ruleset'sfreeformsetting does nothing.What this adds
item: "<catalog>/<entry>"), which is its identity from then on.[inventory: action="add"]) that is one of the ruleset's items, by its label and ignoring case, becomes that item.stackis the most one stack holds; adding, setting, merging or giving past it fills the stack and starts a new one.freeform. With"refuse", the player can only add the ruleset's items (the Game Master's untyped items are slice I3'snativeswitch).Not in this issue
Equip and bind (slots, the binding maximum, cursed items), the Game Master's equip and bind commands, placing items by carrying capacity, and load and encumbrance come next, in their own slice (I2b-3). Invented items and the
nativeswitch are I3.