mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6417] [Feature]: Roleplay dice commands support situational modifiers and DC #3592
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#3592
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 @SpicyMarinara on GitHub (Sep 20, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6417
Originally assigned to: @SpicyMarinara on GitHub.
What problem does this solve?
Roleplay dice commands can apply a participant's assigned attribute modifier, but the model cannot separately declare a situational bonus or penalty and an explicit difficulty class. Equipment such as a lockpick should be able to help a roll, while conditions such as climbing in a downpour should be able to hinder it.
Proposed solution
Add optional integer
modifieranddcfields to the existing roll command and its nativeroll_diceJSON schema. Add the situational modifier once, on top of the notation and automatic attribute bonus. Preserve the DC with the real result and show it on the existing dice card. Keep the prompt addition very short and support both native tools and textual Roleplay commands, including rolls for the user's persona.Alternatives considered
The model can currently embed a modifier in dice notation and describe a DC in prose. Explicit fields make the intended adjustment and target unambiguous while retaining those older commands.
Additional context
Requested by @SpicyMarinara as a follow-up to #6395. Implementation owner: @SpicyMarinara, assisted by Codex. This is the Roleplay command/tool path, separate from ruleset catalog mechanics in #6405 and #6411.
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Sep 20, 2026):
Implemented in #6418 and merged into staging. Both modifier and dc are optional; existing rolls keep their previous behavior when omitted.