[GH-ISSUE #6871] Game Mode: ammunition and reloading for weapons in ruleset fights #3854

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

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

Originally assigned to: @kolacheee on GitHub.

What happens now

A Game Mode ruleset's weapons fight as items (#6855), but nothing a weapon shoots is ever used up. A hunting bow fires forever whether or not its holder carries a single arrow, and the arrows in the bag never go down. A firearm has no loaded count and never needs reloading, so a six-shot pistol and a bow are the same weapon in a fight. Nothing a ruleset fight does changes the inventory: after a fight, whatever was shot is still all there.

What should happen

Slice I5-3 of the ruleset items plan (Capability API 1.57):

  • A weapon's attack may say what it shoots: ammo, the tag of a carried item it draws from (perAttack of it each attack, 1 by default). It is offered only while its holder carries enough, and it draws from the first stack with that tag in the holder's bag.
  • After a fight the party wins, recover of what was shot comes back (a share, rounded down), as 5e's half of the arrows.
  • A weapon may keep a loaded count on itself: clip, with its max and the budget a reload spends. Attacks spend from what is loaded, and a Reload option on the fight menu fills it, from the ammunition it draws where it draws any. The count is kept on the inventory stack, so it lasts from one fight to the next.
  • What a fight shoots and loads is written to the inventory as each step is taken, the way the party's health is, and the fight log says it.
  • The item's details, the Game Master's inventory line and the fight menu say what a weapon shoots, how many shots are left and what is loaded. The examples show a bow with arrows in Ember Roads and a pistol that must be reloaded in Gravewatch.
  • The install gate asks for 1.57 for any of it.

Plan: slice I5-3 in the ruleset items plan, split on 2026-09-29 so the part that writes to the inventory ships on its own. Follows #6857. Fire modes, off-hand attacks, a damage floor and conditions applied on a hit follow as I5-4.

Originally created by @kolacheee on GitHub (Sep 29, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6871 Originally assigned to: @kolacheee on GitHub. ## What happens now A Game Mode ruleset's weapons fight as items (#6855), but nothing a weapon shoots is ever used up. A hunting bow fires forever whether or not its holder carries a single arrow, and the arrows in the bag never go down. A firearm has no loaded count and never needs reloading, so a six-shot pistol and a bow are the same weapon in a fight. Nothing a ruleset fight does changes the inventory: after a fight, whatever was shot is still all there. ## What should happen Slice I5-3 of the ruleset items plan (Capability API 1.57): - A weapon's `attack` may say what it shoots: `ammo`, the tag of a carried item it draws from (`perAttack` of it each attack, 1 by default). It is offered only while its holder carries enough, and it draws from the first stack with that tag in the holder's bag. - After a fight the party wins, `recover` of what was shot comes back (a share, rounded down), as 5e's half of the arrows. - A weapon may keep a loaded count on itself: `clip`, with its `max` and the budget a reload spends. Attacks spend from what is loaded, and a Reload option on the fight menu fills it, from the ammunition it draws where it draws any. The count is kept on the inventory stack, so it lasts from one fight to the next. - What a fight shoots and loads is written to the inventory as each step is taken, the way the party's health is, and the fight log says it. - The item's details, the Game Master's inventory line and the fight menu say what a weapon shoots, how many shots are left and what is loaded. The examples show a bow with arrows in Ember Roads and a pistol that must be reloaded in Gravewatch. - The install gate asks for 1.57 for any of it. Plan: slice I5-3 in the ruleset items plan, split on 2026-09-29 so the part that writes to the inventory ships on its own. Follows #6857. Fire modes, off-hand attacks, a damage floor and conditions applied on a hit follow as I5-4.
bsakaguchi 2026-10-21 06:08:11 +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#3854
No description provided.