mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6791] [Feature]: Game Mode inventory: items keep who they are when renamed (item ids and nicknames) #3802
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#3802
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/6791
Originally assigned to: @kolacheee on GitHub.
What problem does this solve?
Game Mode's inventory tells items apart only by their names. A stack has an id of its own, but which ITEM it is comes from its name, so renaming a stack changes what the item is:
[inventory: action="remove" item="Rope"]no longer finds it, and a fight lists it as something else.Ruleset items (the next part of the ruleset items plan) need a stable identity even more: a +1 longsword the player calls "Grandpa's blade" is still a longsword to the rules.
Proposed solution
Every item has an id, and the name shown is a nickname. For every Game Mode game, with or without a ruleset:
<catalog>/<entry>) in the next slice.Alternatives considered
Additional context
Slice I2b-1 of the ruleset items plan, recorded as the user's ruling during #6789's review. It changes no ruleset format and needs no Capability API change. I2b-2 (ruleset items in the inventory: typed entries, the item picker, equipping and binding, placement by carrying capacity) builds on it.
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: