mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8272] [MERGED] fix(game): an item name with a comma is one item, ids find items, and pools read loosely #8258
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#8258
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/8272
Author: @kolacheee
Created: 10/25/2026
Status: ✅ Merged
Merged: 10/25/2026
Merged by: @kolacheee
Base:
staging← Head:fix/inventory-comma-names📝 Commits (6)
e1143eafix(game): an item name with a comma is one item, ids find items, and pools read loosely3e506ccfix(game): an item is found by its catalog ref, never by a bare id0e34ce1Merge remote-tracking branch 'origin/staging' into fix/inventory-comma-namesf178da5fix(game): an item sold by its ref is seen through as a fake like one sold by nameb5ea1e5fix(game): an upcast and a rest's dice find their pool by a loose name too8e5c929fix(game): a ref stays as written when its label finds another item first📊 Changes
8 files changed (+188 additions, -13 deletions)
View changed files
📝
packages/shared/src/features/rulesets/item-book.ts(+6 -1)📝
packages/shared/src/features/rulesets/live-state.ts(+51 -6)📝
packages/shared/src/utils/game-inventory-tags.ts(+19 -2)📝
packages/shared/src/utils/inventory-command-tag.ts(+8 -1)📝
scripts/regressions/game-inventory-bags.regression.ts(+6 -3)📝
scripts/regressions/game-ruleset-live.regression.ts(+6 -0)📝
scripts/regressions/game-ruleset-markets.regression.ts(+90 -0)📝
scripts/regressions/ruleset-rest-dice.regression.ts(+2 -0)📄 Description
Linked issue
Closes #8271
Why this change
pool="hit_points"was refused as an unknown pool.What changed
whole). When it is the name of a ruleset item, a coin, or something already held, it is one item; otherwise the list splits as before.itemNamedalso finds an offered item by its full ref (catalog/id). A bare id is still not a name. An inventory tag written with a ref reads as the item's name before its stack is looked up, so a fake sold by ref is seen through like one sold by name.useand the pool of a rest's dice read names the same way.Validation
game-ruleset-live,game-ruleset-markets(new cases),ruleset-rest-dice,game-ruleset-combat-cast-ladder,game-ruleset-check-effects,game-ruleset-check-entries,game-ruleset-items,game-inventory-bags(parse expectations now carrywhole),game-inventory-stacks,game-ruleset-invented-items,game-ruleset-money,game-ruleset-seller-honesty,game-ruleset-loot,dice-display,dice-notation,gm-skill-check-resolution,one-request-dice-branch,promptCONTRIBUTING.mdManual verification notes
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.