[GH-ISSUE #6888] Game Mode: ruleset item charges regained on rests, and items that break when emptied #3861

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

Originally created by @kolacheee on GitHub (Sep 30, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6888

Originally assigned to: @kolacheee on GitHub.

What happens now

With #6880 and #6881, a Game Mode ruleset's items can hold charges that a use spends, in a fight and outside one. Nothing ever gives them back: a wand used up in one fight stays empty forever, whatever rest the party takes, unless the Game Master edits the item by hand. And an item can never break when its last charge is spent, as a 5e wand crumbles on a 1.

What should happen

Slice I6-3 of the ruleset items plan (Capability API 1.61), charges over time:

  • An item's charges may say which of the ruleset's rests bring them back, and how many: all of them, or an amount with the Engine's dice (recharge: { rests: ["long"], amount: { dice: "1d6", flat: 1 } }).
  • A rest brings back the charges of every item its character carries, and the bag and the sheet are written together: the sheet's Rest button and the Game Master's [sheet: op="rest"] alike. The Game Master's rest is measured from the turn's start, so a regenerated reply never recharges twice.
  • An item may break when a use spends its last charge (breaksOn: { die: 20, atMost: 1 }): the Engine rolls, and on a break the item is gone from the bag, in a fight and outside one. The fight log, the Use button's report and the journal say so.
  • The item's details, the Game Master's inventory line and the docs say it. The examples show a bell that regains its charges on a rest.
  • The install gate asks for 1.61 for any of it.

Scroll gate checks (a check the user must pass before using an item, in a fight and outside one) follow as I6-4.

Plan: slice I6-3 in the ruleset items plan, split on 2026-09-30 so the rest seam and the check seam ship on their own. Follows #6881.

Originally created by @kolacheee on GitHub (Sep 30, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6888 Originally assigned to: @kolacheee on GitHub. ## What happens now With #6880 and #6881, a Game Mode ruleset's items can hold charges that a use spends, in a fight and outside one. Nothing ever gives them back: a wand used up in one fight stays empty forever, whatever rest the party takes, unless the Game Master edits the item by hand. And an item can never break when its last charge is spent, as a 5e wand crumbles on a 1. ## What should happen Slice I6-3 of the ruleset items plan (Capability API 1.61), charges over time: - An item's `charges` may say which of the ruleset's rests bring them back, and how many: all of them, or an amount with the Engine's dice (`recharge: { rests: ["long"], amount: { dice: "1d6", flat: 1 } }`). - A rest brings back the charges of every item its character carries, and the bag and the sheet are written together: the sheet's Rest button and the Game Master's `[sheet: op="rest"]` alike. The Game Master's rest is measured from the turn's start, so a regenerated reply never recharges twice. - An item may break when a use spends its last charge (`breaksOn: { die: 20, atMost: 1 }`): the Engine rolls, and on a break the item is gone from the bag, in a fight and outside one. The fight log, the Use button's report and the journal say so. - The item's details, the Game Master's inventory line and the docs say it. The examples show a bell that regains its charges on a rest. - The install gate asks for 1.61 for any of it. Scroll `gate` checks (a check the user must pass before using an item, in a fight and outside one) follow as I6-4. Plan: slice I6-3 in the ruleset items plan, split on 2026-09-30 so the rest seam and the check seam ship on their own. Follows #6881.
bsakaguchi 2026-10-21 06:08:15 +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#3861
No description provided.