mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6888] Game Mode: ruleset item charges regained on rests, and items that break when emptied #3861
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#3861
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 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:
chargesmay 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 } }).[sheet: op="rest"]alike. The Game Master's rest is measured from the turn's start, so a regenerated reply never recharges twice.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.Scroll
gatechecks (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.