[GH-ISSUE #6795] Game Mode: ruleset items in the inventory (catalog items, picker, stack limits, freeform) #3804

Closed
opened 2026-10-21 06:07:41 +07:00 by bsakaguchi · 0 comments
Owner

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's freeform setting does nothing.

What this adds

  • Ruleset items in the bag. A stack can be one of the ruleset's items (item: "<catalog>/<entry>"), which is its identity from then on.
  • A picker. In a game whose ruleset has item catalogs, the inventory's Add row opens a picker over them, with the catalogs' search and filters, the way the sheet editor's picker works.
  • Names find ruleset items. An item added by name (the player's typed name or the Game Master's [inventory: action="add"]) that is one of the ruleset's items, by its label and ignoring case, becomes that item.
  • Details on the item. The selected item shows its category, rarity, tags, stats and summary.
  • Stack limits. An item's stack is 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's native switch).
  • The Game Master's block shows each ruleset item's category, rarity, tags and the stats the ruleset makes visible.
  • Carry-over and fights keep ruleset items as the same items.

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 native switch are I3.

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's `freeform` setting does nothing. ## What this adds - **Ruleset items in the bag.** A stack can be one of the ruleset's items (`item: "<catalog>/<entry>"`), which is its identity from then on. - **A picker.** In a game whose ruleset has item catalogs, the inventory's Add row opens a picker over them, with the catalogs' search and filters, the way the sheet editor's picker works. - **Names find ruleset items.** An item added by name (the player's typed name or the Game Master's `[inventory: action="add"]`) that is one of the ruleset's items, by its label and ignoring case, becomes that item. - **Details on the item.** The selected item shows its category, rarity, tags, stats and summary. - **Stack limits.** An item's `stack` is 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's `native` switch). - **The Game Master's block** shows each ruleset item's category, rarity, tags and the stats the ruleset makes visible. - Carry-over and fights keep ruleset items as the same items. ## 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 `native` switch are I3.
bsakaguchi 2026-10-21 06:07:41 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#3804
No description provided.