- An NPC can change gold and cash at a rate of their own ("2 gold = $15"),
the same both ways. Only gold and cash are taken: no silver, no copper
and no change, and the amount has to be a whole multiple of the rate.
- An NPC can sell weapons and items from the campaign pools, each with a
price in any coin or in cash, a level and an optional stock. The wares
follow the NPC into every quest. An encounter can sell things itself
too, for a stall with nobody behind it.
- Trading is open only in an NPC quest in progress, never in a battle,
with an NPC who is in the scene and standing, for a character who is in
it. Players see every rate and ware and trade for their own character
in a new Trade card; the DM can trade for anyone.
- Only the DM sets trade up: "Trade" on an NPC's row on the campaign page,
and the DM's part of the Trade card for an encounter's own wares. A
ware's price and stock can be edited afterwards.
- Every exchange and purchase is written to the character's money log.
- All packages at version 1.10.0.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
17 lines
451 B
JSON
17 lines
451 B
JSON
{
|
|
"name": "dnd-campaign-manager",
|
|
"version": "1.10.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"
|
|
}
|
|
}
|