- A character's purse holds gold, silver and copper as separate coins: 1 gold = 10 silver = 100 copper. The money log records each entry's coin. - Spending and giving are paid from the whole purse: coins of the kind named go first, then the nearest bigger coin is broken (change comes back in as few coins as possible), then smaller coins are counted out. A payment is refused only when the whole purse isn't worth enough. - Exchange converts one coin into another at the fixed worth. - Encounter rewards and gifts between characters can be in any coin; the party overview shows the whole purse. - All packages at version 1.4.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
17 lines
450 B
JSON
17 lines
450 B
JSON
{
|
|
"name": "dnd-campaign-manager",
|
|
"version": "1.4.0",
|
|
"private": true,
|
|
"description": "D&D 5e campaign manager — monorepo root",
|
|
"workspaces": [
|
|
"backend",
|
|
"frontend"
|
|
],
|
|
"scripts": {
|
|
"dev:backend": "npm run dev --workspace backend",
|
|
"dev:frontend": "npm run dev --workspace frontend",
|
|
"test:backend": "npm run test --workspace backend",
|
|
"seed:hollowcrown": "npm run seed:hollowcrown --workspace backend"
|
|
}
|
|
}
|