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>
Expr's rewrite step moves to ExprRewriter; Builder's tokenizer moves to
RuleTokens and its value list to BuilderValues; BoardTester's static
checks move to BoardChecks and its report text to BoardReportText. The
original classes keep one-line delegators, so no caller changes.
Expr's dice regex and word test now reuse RuleTokens (one copy).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Move choice, router and ledger sections of the inspector card into
InspectorChoice, InspectorRouter and InspectorCollection, and the
collapsed group card build into GroupCardCompact. InspectorCard keeps
one-line delegators for its public functions, so no caller changes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Generated stand-in art and sounds, ten more OFL fonts, PNG tiles in the theme generator; untrack __pycache__.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- ThemeAssets loads a theme's files; FrameSet + GradientMap (3-stop) generalise the card frame;
ThreadStrip draws threads from a picture; BoardBackdrop draws scene and tile; MascotArt
recolours Morgan by role (logo SVG now uses the Keep File importer); SoundBoard plays
roll / card turn / thread / click / ambient with View > Sound levels.
- Vaporwave, Synthwave, Cozy Autumn, Rustic, Woodsy, Sky Blue, Frutiger Aero, Gothic, Terminal:
generated art (tools/theme_art), sounds (tools/theme_sounds), settings (tools/theme_defs).
- Ten OFL fonts; --theme=<id> flag; docs/THEMES.md format spec; test_theme_assets.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
DESIGN.md §5: no one- or two-letter names (loop counters and math
coordinates excepted); old names are fixed when the code is touched.
Rename b -> go_button and rn/rh/rp -> normal_style/hover_style/
pressed_style. Also note where Coderstanding is now installed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- 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>
Groups get an optional colour (Colour menu on the group); uncoloured
groups use the theme token GROUP. The group frame's border matches.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Ranged cards keep their ranges in place so the results move through
them. The router case arrows share the same move_entry.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
DeckReveal holds an animated roll's draws until each result lights; the
cards-left count waits too. Fast rolls and any newer roll drop the holds.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Standard (Inter, Source Sans 3, Lora, Rokkitt), easy to read (Atkinson
Hyperlegible, Lexend, Andika, OpenDyslexic) and themed title faces (Cinzel,
IM Fell English, Uncial Antiqua, Orbitron, Special Elite). All OFL except
Special Elite (Apache 2.0); licence files sit beside the fonts. FontCatalog
builds faces, synthesising missing bold/italic.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Making one: Scale (ordered steps) in + Card, the inspector's Type switch
and the settings dialog; steps one per line and a starting step dropdown
(InspectorScale); new scales get Low, Medium, High.
- Showing one: the variable card shows the current step and the steps in a
row with the current one marked; the Variables tab stores a typed step
number or name as the step.
- Plain words: Builder ops step_up, step_down, toward, at_least, at_most
(BuilderScales; step_up/down need the board), DescribeScales phrases,
scale effect rows (EffectsScaleRow) and step dropdowns in conditions.
- Help: a Scales topic after Values and changes.
- Tests: test_ui_scales, plus builder and describe cases.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- TableCardColumns: the column-name header, each row's cells after its text
(Play: wrapping text; Build: a field per cell, edited inline), cards widen
per column, and in "each" mode the cell each column landed on is lit
(Main.lit_columns, from the rolled node's columns).
- InspectorColumns: Add columns, add/rename/move/remove (cells kept in step),
one roll vs each column, Save as (value picker) and Only if (condition
builder); the result inspector gets a field per extra column.
- Help: a Columns topic after Ranged tables and dice.
- tests/test_ui_columns.gd.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- InspectorThreadRolls (new helper): "Roll it with [ ] instead" for a card
with numbered ranges (placeholder: the card's own dice), and a collapsible
"Roll again if it comes up: …" tick list of the card's results (scrolls
past 7 rows; open state kept across rebuilds).
- Inspector.set_pipe_dice / set_pipe_reroll delegators; edits go through
Inspector.wrote like the other thread options, so undo covers them.
- Help: two short subsections in the Threads topic.
- tests/test_ui_threads.gd.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- 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>
The boot splash shows the mascot art on its own background colour
(#390853), so it blends edge to edge; the app icon is the mascot.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CardGrip._has_point only checked 'right of and below' the corner, and
Godot asks controls about points outside their box, so everything to the
bottom-right of every card acted as its resize handle. It's now bounded to
the corner square inside the card.
A left-drag on empty space now draws a selection box in Play as well as
Build, and selected cards move together in both; panning is middle-drag or
Space+drag.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Twelve new Help topics (menus, selecting and resizing, nested groups,
themes, List view, the Book, rolling more than once, pausing, costs,
one table adjusting another, sheets and saving, pictures, phones), and a
Keyboard shortcuts topic split into keys, mouse and touch. Topics with
[demo]key[/demo] get a 'Try a demo spread' link: DemoSpreads builds a
small example, DemoMode shows it unsaved and unlisted with Keep a copy
and Back to my spread. --demo=KEY opens one from the command line.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A result or page can have a picture (TableEntry.image, BookPage.image),
chosen from a file, shrunk to 512 px and kept in the spread file as WebP
under "images" (BoardImages; only used pictures are saved). It shows as
a thumbnail on the card row and in the details pop-up, and comes with a
page. Imported BBCode still can't point at files.
Fix: the Table Tarot JSON export and import (JsonIO.canonical) dropped
every key it didn't know, losing the Book, pictures, card colours and
sizes, limits, nesting, costs and thread options. They now pass through;
a round-trip test covers them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Sheet card's inspector adds a 'Label: {@value}' line for any value
picked. The tray's Copy ▾ gets Save as a file: the roll's sheet (or one
line per result) as Text, Markdown, or an HTML page a browser can print
to PDF, with bold, italics and colours kept where the format allows
(SheetExport). The test runner prints a compile error shared by many
suites once, with the suite names.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
RollTable.roll_floor and roll_ceiling (numbers or values) limit a ranged
roll's total after its modifier (RollRange.limit). An earlier result's
change (e.g. @atmo_min = 7) can thereby raise or cap a later card's roll.
The inspector's Limits rows take a number or a value; the Why trace says
'raised to 7 (never below Atmo min)'.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A pick option can cost an amount of a value (TableEntry.cost_value and
cost_amount, JSON "cost"; the inspector's Costs row). The pop-up shows
the cost, and greys the option out with the reason when there isn't
enough; Random never picks it. Picking it takes the amount away as an
ordinary change (RollCosts). A costly Reroll option that threads back to a
card gives spend-a-point rerolls.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A thread with 'Wait for me first' (TableEntry.pipe_pause, JSON "pause")
stops the roll before it runs (Roller.OP_PAUSE, a "pause" request). The
tray shows Continue ▸ and Stop here; starting another roll sets the paused
one aside with its chip kept, and Continue makes it the current roll again
(RollPauses; each roll's token lives in a holder so it can be revived).
Stop here ends the roll and the chip says where it stopped. Headless rolls
continue.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>