[GH-ISSUE #6892] Game Mode: ruleset scroll gates (a check to use an item above the reader's level) #3865

Closed
opened 2026-10-21 06:08:18 +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/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:

  • An item's use may have a gate: 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 } }).
  • In a fight the fight engine rolls the check when the item is used; outside a fight the Engine rolls it for the Use button and the Game Master's [inventory: action="use"]. A user whose sheet value meets unless skips the check.
  • A failed gate uses the item up for nothing: the scroll is gone (or its charges spent) and nothing it does happens. The fight log, the Use button's report, the Game Master's [item_used] block and the journal say so.
  • The item's details, the Game Master's item line and the docs say it. The examples show a scroll with a gate.
  • The install gate asks for 1.62 for any of it.

Plan: slice I6-4 in the ruleset items plan, split on 2026-09-30 so the check seam ships on its own. Follows #6888.

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: - An item's `use` may have a `gate`: 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 } }`). - In a fight the fight engine rolls the check when the item is used; outside a fight the Engine rolls it for the Use button and the Game Master's `[inventory: action="use"]`. A user whose sheet value meets `unless` skips the check. - A failed gate uses the item up for nothing: the scroll is gone (or its charges spent) and nothing it does happens. The fight log, the Use button's report, the Game Master's `[item_used]` block and the journal say so. - The item's details, the Game Master's item line and the docs say it. The examples show a scroll with a gate. - The install gate asks for 1.62 for any of it. Plan: slice I6-4 in the ruleset items plan, split on 2026-09-30 so the check seam ships on its own. Follows #6888.
bsakaguchi 2026-10-21 06:08:18 +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#3865
No description provided.