mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6759] [Feature]: Change an inventory stack by any amount, and split it into a chosen size #3786
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#3786
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/6759
Originally assigned to: @kolacheee on GitHub.
What problem does this solve?
Game Mode's inventory changes a stack one item at a time. The inventory screen only has +1 and -1, so adding or removing 300 of something takes 300 clicks. There is also no way to split a stack, so a player cannot set part of a pile aside (100 of 300 apples to give away or to keep apart).
Behind that, inventory entries have no id: every operation finds a stack by its name. Adding by name adds to every stack with that name, which is harmless only because two stacks of one name never exist today, and taking more than a stack holds drops the stack without taking anything from the next.
Proposed solution
For every Game Mode game, with or without a ruleset:
[inventory: ...]tag and the combat director still name items:Alternatives considered
Additional context
This is slice I0 of the ruleset items plan (per-character bags, ruleset item catalogs, currencies and loot come after it and build on stack ids). It needs no ruleset and no Capability API change.
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: