[GH-ISSUE #6901] Game Mode: purses, and the Game Master paying and earning in a ruleset's currencies #3871

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

Originally assigned to: @kolacheee on GitHub.

What happens now

A Game Mode ruleset can declare its currencies (Capability API 1.49): families of coins that change into each other by value, such as copper, silver and gold, and families that never do, such as a second nation's coin or a setting's favours. An item can have a cost in them. But nothing holds money: nobody has a purse, the Game Master cannot take a price from anyone or pay them, and coins weigh nothing even where the ruleset says they do.

What should happen

Slice I7-2 of the ruleset items plan (Capability API 1.64), money:

  • Every character has a purse, a count of each coin of the ruleset's currencies. The inventory screen shows each purse and the party's total per family, and the player can change the counts, as they can a stack's.
  • The Game Master pays and earns with [inventory: action="pay" amount="5 gold" who="Ada"] and action="earn", measured from where the turn began like its other inventory tags. A payment takes the value from the purse inside the one family the amount is in, breaking larger coins into smaller ones for change (paying 5 gold with 3 gold and 30 silver works), and never crosses families. Earning with nobody named goes to the shared view by the carrying rule.
  • Coins weigh what their family's perWeight says, and count toward each character's load.
  • The Game Master sees the purses in its inventory block, and prices beside items.
  • A ruleset layer may remove a coin or a whole family, as a setting without electrum does.
  • The docs and the examples say it, and the install gate asks for 1.64 where a ruleset needs it.

Plan: slice I7-2 in the ruleset items plan, split on 2026-09-30 so loot (I7-1, #6894) and money ship on their own. Follows #6894.

Originally created by @kolacheee on GitHub (Sep 30, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6901 Originally assigned to: @kolacheee on GitHub. ## What happens now A Game Mode ruleset can declare its currencies (Capability API 1.49): families of coins that change into each other by value, such as copper, silver and gold, and families that never do, such as a second nation's coin or a setting's favours. An item can have a cost in them. But nothing holds money: nobody has a purse, the Game Master cannot take a price from anyone or pay them, and coins weigh nothing even where the ruleset says they do. ## What should happen Slice I7-2 of the ruleset items plan (Capability API 1.64), money: - Every character has a purse, a count of each coin of the ruleset's currencies. The inventory screen shows each purse and the party's total per family, and the player can change the counts, as they can a stack's. - The Game Master pays and earns with `[inventory: action="pay" amount="5 gold" who="Ada"]` and `action="earn"`, measured from where the turn began like its other inventory tags. A payment takes the value from the purse inside the one family the amount is in, breaking larger coins into smaller ones for change (paying 5 gold with 3 gold and 30 silver works), and never crosses families. Earning with nobody named goes to the shared view by the carrying rule. - Coins weigh what their family's `perWeight` says, and count toward each character's load. - The Game Master sees the purses in its inventory block, and prices beside items. - A ruleset layer may remove a coin or a whole family, as a setting without electrum does. - The docs and the examples say it, and the install gate asks for 1.64 where a ruleset needs it. Plan: slice I7-2 in the ruleset items plan, split on 2026-09-30 so loot (I7-1, #6894) and money ship on their own. Follows #6894.
bsakaguchi 2026-10-21 06:08:21 +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#3871
No description provided.