mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6881] Game Mode: using ruleset items outside a fight (the Use button, the Game Master's use, restoring a pool) #3860
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#3860
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/6881
Originally assigned to: @kolacheee on GitHub.
What happens now
Once #6880 lands, a Game Mode ruleset's items can be used in a ruleset fight, but not outside one. The inventory's Use button only sends "I use my Poultice." to the Game Master: nothing is healed, the poultice stays in the bag, and a bell's charges are not spent unless the Game Master remembers to remove or change them by hand. The Game Master's own inventory tag has no way to use an item either. And an item cannot restore a pool (a blood bag that gives back blood, a tonic that gives back Resolve), in a fight or out of one.
What should happen
Slice I6-2 of the ruleset items plan (Capability API 1.60), using items outside a fight:
usemayrestorea pool of the user's sheet by an amount, in a fight and outside one.useapplies what the item does to its user, with the Engine's dice: healing, temporary points, a restored pool and conditions on themselves. It takes one off the stack or spends its charges, writes the sheet and the bag together, and the Game Master is told what happened so it narrates that instead of guessing. An item aimed at somebody else is still used up, and the Game Master is told what it does to narrate.[inventory: action="use" item="Poultice" who="Juno"], measured from the turn's start like its other tags, so a regenerated reply never uses an item twice. The tag is answered with what happened.restore.Charges regained on rests, items that break when their last charge is spent (
breaksOn) and scrollgatechecks follow as I6-3.Plan: slice I6-2 in the ruleset items plan, split on 2026-09-30 so the rest seam and the check seam ship on their own. Follows #6880.