TableTower/core
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
..
deck_state.gd Logic cards engine: expressions, effects, choice/loop/variable/sheet cards, coroutine roller 2026-11-08 13:38:42 -06:00
deck_state.gd.uid Add weights, dice expressions, pipe options, card mode and cycle check to the model 2026-11-08 12:11:43 -06:00
dice.gd Add weights, dice expressions, pipe options, card mode and cycle check to the model 2026-11-08 12:11:43 -06:00
dice.gd.uid Add weights, dice expressions, pipe options, card mode and cycle check to the model 2026-11-08 12:11:43 -06:00
effects.gd Logic cards engine: expressions, effects, choice/loop/variable/sheet cards, coroutine roller 2026-11-08 13:38:42 -06:00
effects.gd.uid Logic cards engine: expressions, effects, choice/loop/variable/sheet cards, coroutine roller 2026-11-08 13:38:42 -06:00
expr.gd Add if(condition, then, else) and refuse the broken inline ternary 2026-11-08 14:20:05 -06:00
expr.gd.uid Logic cards engine: expressions, effects, choice/loop/variable/sheet cards, coroutine roller 2026-11-08 13:38:42 -06:00
formatter.gd Logic cards engine: expressions, effects, choice/loop/variable/sheet cards, coroutine roller 2026-11-08 13:38:42 -06:00
formatter.gd.uid Add RollContext, TextExpander and Formatter for inline references and BBCode 2026-11-08 12:13:25 -06:00
library_store.gd Add collection storage: LibraryStore, StateStore, format version 2 2026-11-08 12:11:26 -06:00
library_store.gd.uid Add collection storage: LibraryStore, StateStore, format version 2 2026-11-08 12:11:26 -06:00
roll_context.gd Logic cards engine: expressions, effects, choice/loop/variable/sheet cards, coroutine roller 2026-11-08 13:38:42 -06:00
roll_context.gd.uid Add RollContext, TextExpander and Formatter for inline references and BBCode 2026-11-08 12:13:25 -06:00
roll_table.gd Conditional pipes and router cards 2026-11-08 17:53:00 -06:00
roll_table.gd.uid Build the pipe-board app in Godot 2026-11-08 12:05:41 -06:00
roller.gd Conditional pipes and router cards 2026-11-08 17:53:00 -06:00
roller.gd.uid Build the pipe-board app in Godot 2026-11-08 12:05:41 -06:00
sample_board.gd Merge play-side UI; connect it to the collection switcher 2026-11-08 12:45:34 -06:00
sample_board.gd.uid Build the pipe-board app in Godot 2026-11-08 12:05:41 -06:00
state_store.gd Logic cards engine: expressions, effects, choice/loop/variable/sheet cards, coroutine roller 2026-11-08 13:38:42 -06:00
state_store.gd.uid Add collection storage: LibraryStore, StateStore, format version 2 2026-11-08 12:11:26 -06:00
table_entry.gd Conditional pipes and router cards 2026-11-08 17:53:00 -06:00
table_entry.gd.uid Build the pipe-board app in Godot 2026-11-08 12:05:41 -06:00
table_group.gd Group cards and templates 2026-11-08 17:01:34 -06:00
table_group.gd.uid Group cards and templates 2026-11-08 17:01:34 -06:00
template_kit.gd Group cards and templates 2026-11-08 17:01:34 -06:00
template_kit.gd.uid Group cards and templates 2026-11-08 17:01:34 -06:00
template_library.gd Group cards and templates 2026-11-08 17:01:34 -06:00
template_library.gd.uid Group cards and templates 2026-11-08 17:01:34 -06:00
text_expander.gd Logic cards engine: expressions, effects, choice/loop/variable/sheet cards, coroutine roller 2026-11-08 13:38:42 -06:00
text_expander.gd.uid Add RollContext, TextExpander and Formatter for inline references and BBCode 2026-11-08 12:13:25 -06:00
tower_board.gd Group cards and templates 2026-11-08 17:01:34 -06:00
tower_board.gd.uid Build the pipe-board app in Godot 2026-11-08 12:05:41 -06:00