mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6901] Game Mode: purses, and the Game Master paying and earning in a ruleset's currencies #3871
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#3871
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 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:
[inventory: action="pay" amount="5 gold" who="Ada"]andaction="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.perWeightsays, and count toward each character's load.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.