[GH-ISSUE #6707] [Feature]: Game Mode ruleset combat: contests (grab, shove, break free) as data #3756

Closed
opened 2026-10-21 06:06:53 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @kolacheee on GitHub (Sep 26, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6707

Originally assigned to: @kolacheee on GitHub.

What problem does this solve?

A ruleset's fight can attack, cast, heal, walk, react and buy signature actions, but it cannot wrestle. Grabbing somebody, shoving them over, shoving them away and breaking free are the same move in most systems: each side rolls, adds its own number, and the winner changes where the loser stands or what holds them. Today none of it can be said, so the 5e package's grapple and shove are narration only, and a system like Ember Roads has no way to pin a foe in a fight at all. The author guide lists "no grapple or shove movement" under Not yet.

Proposed solution

Contests, as data in the combat block (slice C5d of real ruleset combat, one new Capability API minor):

  • combat.checks: the numbers a contest reads, each a value off the sheet ({ "id": "might", "label": "Might", "value": { "skillMod": "athletics" } }). A creature written in plain numbers gives its own with checks: { "might": 4 }; one with a sheet reads them off it, like everything else.
  • combat.contests: each one has:
    • an id, a label and the budget it spends;
    • the attacker's check, and the defender's checks (the best of them is used);
    • who wins a tie;
    • an optional reach, and strike (it may take the place of one strike when an action buys several);
    • optionally from, which makes it aimed only at whoever put a condition on the actor (breaking free);
    • onWin: the conditions it applies to the loser (the winner is their source, so a hold ends when the holder goes down), the conditions it ends (on the actor or the target), and how far it pushes the loser straight away on a board.
  • The roll. Both sides throw the fight's own attack dice and add their number; the higher total wins, and a tie goes where the contest says. One event says both totals and who won, and the log prints it without doing any arithmetic.
  • The menu. A contest is one more option on the menu, with its chance to win as the forecast, legal only against somebody it can reach. An opponent the Engine plays weighs one like any other option, and a Game Master playing an opponent picks it off the same menu.
  • Examples. The 5e reference file grapples, shoves prone, shoves away and escapes. Ember Roads grabs (a new Held condition) and breaks free, and shoves somebody back along the road.

Not in this slice, and said so in the guide: size limits, dragging somebody you hold, a contest opening a window, and conditions changing a contest roll.

Alternatives considered

  • A save the target rolls against a fixed difficulty. That is how the Engine could fake it today, but it is not a contest: the actor's own number would never be rolled, and breaking free could not be said at all.
  • Per-system code. The standing rule for ruleset combat is data over an Engine-owned kind, never shaped around one game.

Additional context

This is C5d of the real ruleset combat plan (docs/development/game-rulesets-and-sheets-implementation.md, § Real ruleset combat: "C5c and later: what else opens a window, legendary actions, contests and the remaining conditions"). Signature (legendary) actions and the reaction moments have already shipped. After this: the remaining conditions and more reaction moments (a filter so a counter can answer only an entry, for one), then a Storyteller combat kind last.

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @kolacheee on GitHub (Sep 26, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6707 Originally assigned to: @kolacheee on GitHub. ## What problem does this solve? A ruleset's fight can attack, cast, heal, walk, react and buy signature actions, but it cannot wrestle. Grabbing somebody, shoving them over, shoving them away and breaking free are the same move in most systems: each side rolls, adds its own number, and the winner changes where the loser stands or what holds them. Today none of it can be said, so the 5e package's grapple and shove are narration only, and a system like Ember Roads has no way to pin a foe in a fight at all. The author guide lists "no grapple or shove movement" under Not yet. ## Proposed solution Contests, as data in the `combat` block (slice C5d of real ruleset combat, one new Capability API minor): - **`combat.checks`**: the numbers a contest reads, each a value off the sheet (`{ "id": "might", "label": "Might", "value": { "skillMod": "athletics" } }`). A creature written in plain numbers gives its own with `checks: { "might": 4 }`; one with a sheet reads them off it, like everything else. - **`combat.contests`**: each one has: - an `id`, a `label` and the `budget` it spends; - the `attacker`'s check, and the `defender`'s checks (the best of them is used); - who wins a tie; - an optional `reach`, and `strike` (it may take the place of one strike when an action buys several); - optionally `from`, which makes it aimed only at whoever put a condition on the actor (breaking free); - `onWin`: the conditions it `applies` to the loser (the winner is their source, so a hold ends when the holder goes down), the conditions it `ends` (on the actor or the target), and how far it `push`es the loser straight away on a board. - **The roll.** Both sides throw the fight's own attack dice and add their number; the higher total wins, and a tie goes where the contest says. One event says both totals and who won, and the log prints it without doing any arithmetic. - **The menu.** A contest is one more option on the menu, with its chance to win as the forecast, legal only against somebody it can reach. An opponent the Engine plays weighs one like any other option, and a Game Master playing an opponent picks it off the same menu. - **Examples.** The 5e reference file grapples, shoves prone, shoves away and escapes. Ember Roads grabs (a new Held condition) and breaks free, and shoves somebody back along the road. Not in this slice, and said so in the guide: size limits, dragging somebody you hold, a contest opening a window, and conditions changing a contest roll. ## Alternatives considered - A save the target rolls against a fixed difficulty. That is how the Engine could fake it today, but it is not a contest: the actor's own number would never be rolled, and breaking free could not be said at all. - Per-system code. The standing rule for ruleset combat is data over an Engine-owned kind, never shaped around one game. ## Additional context This is C5d of the real ruleset combat plan (`docs/development/game-rulesets-and-sheets-implementation.md`, § Real ruleset combat: "C5c and later: what else opens a window, legendary actions, contests and the remaining conditions"). Signature (legendary) actions and the reaction moments have already shipped. After this: the remaining conditions and more reaction moments (a filter so a counter can answer only an entry, for one), then a Storyteller combat kind last. ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
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#3756
No description provided.