Commit graph

4 commits

Author SHA1 Message Date
edb49fce27 Ledger entries are saved on the card and editable on the spread
The entries were only saved values of the spread, so copies, exports and
imports lost them. Now a Ledger card lists its entries (name and starting
value) in the spread file; current values stay saved values. Build mode
edits them on the card too. Older spreads take in the entries made on the
card when they open.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 13:36:03 -06:00
63929a9fc2 Size audit: split roll_table, roller and tower_board
New helpers: BoardGroups (group nesting and membership), BoardFileIO
(migrate, atomic writes), RollNodes (result-node helpers), RollLive (live
values and starting values) and RollTableFactory (new cards). RollPipes now
holds the pipe and pause frames, RollChoice reads options_from, and
RollTableIO cleans inputs. The original files keep one-line delegators.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 13:20:10 -06:00
200edfd67e Book tables: columns as one phrase, roll twice and combine, results saved into lists, one-option picks answer themselves
- column_join: a card with columns reads as one phrase ("Ash Canyons"), which threads save
- TableEntry.repeat: a result that rolls its column again N times and combines them
- Saving a result into a declared list value adds an item (RollContext.save_result)
- A pick with only one available option picks it without asking
- Lint, why facts, inspector controls, tests, LOGIC.md

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 09:06:55 -06:00
e3cc925e42 Engine: scale values, cards with columns, thread dice override and rerolls
- Scales: var_type scale with steps; stored as step names, read as step
  numbers in rules (a quoted step name beside a scale reads as its number);
  += / -= move steps and stop at the ends; toward().
- Columns: RollTable.columns / column_rolls (row or each), TableEntry.cells;
  RollColumns fills the other columns, saves each, honours a column's when.
- Threads: dice (roll with other dice instead) and reroll (result ids).
- RollTable save/load split into RollTableIO; Expr's base into ExprBase.
- RollLintBook checks; JSON canon keeps the new keys; tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 21:12:47 -06:00