mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
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#3585
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 20, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6411
Originally assigned to: @kolacheee on GitHub.
What is left of #6405
The standing half of #6405 is built (Capability API 1.30): a ruleset may declare
resolution.spend, so "spend a point of will for one automatic success" is a rule of the system the Engine applies, paid for before the dice are thrown and carried by the check tag itself so one resolution does both.The per-entry half is not built, and this issue is that half.
The gap
A catalog entry cannot say that it changes a check. There is no
mechanics.check, so a charm, knack or feat whose printed rule is "re-roll all 1s", "this check gains three automatic successes" or "count 9s as successes this time" is still flavour text with a price. Concretely,mechanics.checkwould carry:with the scaling half reusing what already exists:
mechanics.costplusmechanics.perCostStepis already "one blood buys one step, three buys three", the same machinery that upcasts a spell. The check tag would name the entry,[skill_check: skill="Brawl" dc="3" use="Potence" spend="blood:1"], beside thespend=the standing rule already uses.Why it was not built with the rest
It is not "the standing rule plus a few fields". It needs the ruleset's CATALOGS inside the check resolver, and the resolver deliberately has none: catalogs are loaded by
loadTurnRulesetCatalogson the other side of the turn, after the dice are thrown. So it needs a catalog source onSkillCheckRulesetContext(loaded inloadSkillCheckModifierContext, or handed in by the generate route, which already loads them once), entry matching byplanRulesetUse's rules, theperCostStepscaling, and a reroll arm inrollDicePoolCheckwith a hard ceiling onuntilso a pathological ruleset cannot loop.The payment seam it needs already exists: the
onSpendsink added for the standing rule is where an entry's cost would be paid, and the same all-or-nothing rule applies.Refusals it still owes
These were listed for #6405 and are not built, because the keys they guard do not exist yet: a
mechanics.checkon a ruleset whose resolution kind cannot honour it (adice-sumruleset has no successes to add), a rerollupTooutside the die's faces, and the Engine ceiling on anuntilreroll.The rule that must not be lost
The Engine rolls the dice and
isRulesetRollableSkillCheckTagdiscards any the model writes. That is why this has to be data rather than something the Game Master is trusted to apply: the model names what the player said they were spending, and the Engine decides what it costs and what it does.@SpicyMarinara commented on GitHub (Sep 20, 2026):
Implemented and merged into staging in #6416, with integration fixes and regression coverage.