mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6892] Game Mode: ruleset scroll gates (a check to use an item above the reader's level) #3865
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#3865
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/6892
Originally assigned to: @kolacheee on GitHub.
What happens now
With #6880, #6881 and #6888, a Game Mode ruleset's items can be used in a fight and outside one, with charges that come back on rests. But a scroll works for anybody who reads it: nothing can say that a spell above what the reader can cast needs a check first, as a 5e scroll asks for a spellcasting check when the spell is higher than the reader's level.
What should happen
Slice I6-4 of the ruleset items plan (Capability API 1.62), scroll gates:
usemay have agate: a check its user must pass before it works, unless a sheet value is high enough (gate: { unless: { value: <a sheet value>, atLeast: 3 }, check: { ability: "int", difficulty: 13 } }).[inventory: action="use"]. A user whose sheet value meetsunlessskips the check.[item_used]block and the journal say so.Plan: slice I6-4 in the ruleset items plan, split on 2026-09-30 so the check seam ships on its own. Follows #6888.