TableTower/tests
RobinFiredrake dbbb9750eb Conditional pipes and router cards
Pipes can carry "when" (Only if) and "otherwise". When an entry is
chosen, its effects run, its text expands, then every pipe condition and
count is evaluated once as a snapshot before any pipe runs; when pipes
run if true, otherwise pipes if no when pipe was true, plain pipes
always. Condition errors count as false and show as error lines.

New router card (kind "router"): its entries are cases with an
entry-level "when"; the first true case is chosen (empty = Otherwise),
and "No case matched" stops the node. One action. JSON round trip for
entry/pipe when and pipe otherwise, including JsonIO.canonical and
edge labels. Roller.lint_pipes() and Roller.lint_router() for board
checks. A pick choice's save_as is now stored before the snapshot.

UI: Only if / Otherwise in the pipe popover with live validation, pipe
labels ("if @str >= 8", "otherwise") and a source-end diamond on
conditional pipes, router card with fork icon, per-case condition rows,
case editing / reordering in Build, router settings, "+ Table" entry,
router cases in table previews. Logic demo now routes through a router.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 17:53:00 -06:00
..
test_choice_dialog.gd Choice pop-up: minimize pill, option preview panel, reusable TablePreview 2026-11-08 16:39:56 -06:00
test_choice_dialog.gd.uid Choice pop-up: minimize pill, option preview panel, reusable TablePreview 2026-11-08 16:39:56 -06:00
test_expr_if.gd Add if(condition, then, else) and refuse the broken inline ternary 2026-11-08 14:20:05 -06:00
test_expr_if.gd.uid Add if(condition, then, else) and refuse the broken inline ternary 2026-11-08 14:20:05 -06:00
test_fast_roll.gd Add fast roll: Shift-click a die to skip the animation 2026-11-08 12:53:39 -06:00
test_fast_roll.gd.uid Add fast roll: Shift-click a die to skip the animation 2026-11-08 12:53:39 -06:00
test_groups.gd Group cards and templates 2026-11-08 17:01:34 -06:00
test_groups.gd.uid Group cards and templates 2026-11-08 17:01:34 -06:00
test_integration.gd Logic cards engine: expressions, effects, choice/loop/variable/sheet cards, coroutine roller 2026-11-08 13:38:42 -06:00
test_integration.gd.uid Roller: expand refs and variables through RollContext, save pipe results 2026-11-08 12:26:33 -06:00
test_io.gd Add import/export converters: JSON, JSON Canvas, Mermaid, DOT, GraphML 2026-11-08 12:14:56 -06:00
test_io.gd.uid Add import/export converters: JSON, JSON Canvas, Mermaid, DOT, GraphML 2026-11-08 12:14:56 -06:00
test_logic.gd Logic cards engine: expressions, effects, choice/loop/variable/sheet cards, coroutine roller 2026-11-08 13:38:42 -06:00
test_logic.gd.uid Logic cards engine: expressions, effects, choice/loop/variable/sheet cards, coroutine roller 2026-11-08 13:38:42 -06:00
test_logic_ui.gd Logic cards UI: choice pop-up, card kinds, Build creation and settings, tray 2026-11-08 14:07:57 -06:00
test_logic_ui.gd.uid Logic cards UI: choice pop-up, card kinds, Build creation and settings, tray 2026-11-08 14:07:57 -06:00
test_model.gd Add weights, dice expressions, pipe options, card mode and cycle check to the model 2026-11-08 12:11:43 -06:00
test_model.gd.uid Add weights, dice expressions, pipe options, card mode and cycle check to the model 2026-11-08 12:11:43 -06:00
test_roller.gd Logic cards engine: expressions, effects, choice/loop/variable/sheet cards, coroutine roller 2026-11-08 13:38:42 -06:00
test_roller.gd.uid Build the pipe-board app in Godot 2026-11-08 12:05:41 -06:00
test_router.gd Conditional pipes and router cards 2026-11-08 17:53:00 -06:00
test_router.gd.uid Conditional pipes and router cards 2026-11-08 17:53:00 -06:00
test_shell.gd Add app-shell UI: table settings, collection switcher, import/export, endless-loop chip 2026-11-08 12:23:21 -06:00
test_shell.gd.uid Add app-shell UI: table settings, collection switcher, import/export, endless-loop chip 2026-11-08 12:23:21 -06:00
test_simulate.gd Add a headless board simulator tool and its test 2026-11-08 14:15:21 -06:00
test_simulate.gd.uid Add a headless board simulator tool and its test 2026-11-08 14:15:21 -06:00
test_storage.gd Add collection storage: LibraryStore, StateStore, format version 2 2026-11-08 12:11:26 -06:00
test_storage.gd.uid Add collection storage: LibraryStore, StateStore, format version 2 2026-11-08 12:11:26 -06:00
test_templates.gd Group cards and templates 2026-11-08 17:01:34 -06:00
test_templates.gd.uid Group cards and templates 2026-11-08 17:01:34 -06:00
test_text.gd Add RollContext, TextExpander and Formatter for inline references and BBCode 2026-11-08 12:13:25 -06:00
test_text.gd.uid Add RollContext, TextExpander and Formatter for inline references and BBCode 2026-11-08 12:13:25 -06:00