TableTower/help/topics.txt
RobinFiredrake ea1e7a6492 Rename to Table Tarot in the UI: spreads, threads, deck mode, branch, repeat
User-facing text only; code names, JSON keys and the project's internal
name (and so the user:// folder) are unchanged. The Collection card kind
keeps its name until a new one is chosen. The window title says Table
Tarot; the top bar shows the theme's logo (the fortune teller, drawn from a
copy of the art without its background square); the app icon is the
mascot.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 18:24:23 -06:00

192 lines
12 KiB
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Getting started
Table Tarot holds [b]random tables[/b] for tabletop games. Each table is a card on the felt. Cards are joined by copper [b]threads[/b], so one roll can lead on to the next: a travel roll finds a stranger, and the stranger gets a name.
## Two modes
- [b]Play[/b] is for the game table. Click a die to roll, and read the result in the tray at the bottom.
- [b]Build[/b] is for making and changing tables. Click a card, a result or a thread to edit it in the inspector on the right.
Switch between them with [b]Play | Build[/b] at the top left. Everything you build is saved as you go.
## Try the sample
The Fantasy Loot spread shows most features:
- [b]Wilderness Travel[/b] is a d100 table whose results thread into other tables.
- [b]Party Roles[/b] deals each role once until the deck is reshuffled ([topic]Deck mode[/topic]).
- [b]Make Camp[/b] asks you to pick what the party does ([topic]Choice cards[/topic]).
- [b]Search the Ruins[/b] adds your [b]Luck[/b] to the roll, and two of its results can only be reached with good or bad luck ([topic]Roll modifiers[/topic]).
# Rolling
Click the die button on a card to roll it. The results flicker, one lands and lights up in brass, and the roll follows any threads from that result to other cards.
- [b]Shift-click[/b] the die to skip the animation.
- Hover a result to read its details. A small ⓘ after a card's name means the card has details too.
- On a ranged card, the percentage beside each result is its chance right now.
Some cards stop and ask you something before the roll goes on. See [topic]Choice cards[/topic].
# The result tray
The tray at the bottom of the window shows the last roll as a row of steps, one per card the roll passed through.
- [b]Why this?[/b] on a step explains it in plain words: what was rolled, any modifier, and why the roll went where it did.
- [b]Roll again[/b] repeats the last roll.
- [b]Copy ▾[/b] copies the result as plain text, as BBCode for forums, or with the details of each step.
- [b]Earlier[/b] lists your recent rolls. [b]Variables[/b] lists the values the spread remembers between rolls, such as Luck.
Drag the tray's top edge to make it taller or shorter. Double-click the edge to reset it.
# Building tables
Switch to [b]Build[/b] to edit.
- [b]+ Card ▾[/b] adds a new roll table or one of the logic cards.
- Type straight into a card's name and results. [b]+ Add result[/b] adds a row at the bottom.
- The [b]×1[/b] beside a result is its weight. A weight of 3 makes that result three times as likely as a weight of 1.
- Hover a row to show its [b]×[/b] delete button.
- The card's [b]⋯[/b] menu has Table settings, Save as template, Collapse and Delete table.
- Click a card's title, a result's text or a thread to edit it in the [b]inspector[/b] on the right. Drag the inspector's left edge to resize it.
Every edit can be undone with [b]Ctrl+Z[/b] or the ↶ button, and redone with [b]Ctrl+Shift+Z[/b], [b]Ctrl+Y[/b] or ↷.
## Table settings
[b]Table settings…[/b] in the ⋯ menu sets the card's type, dice, details and tags, and turns on [topic]Deck mode[/topic].
# Ranged tables and dice
A [b]ranged table[/b] gives each result a range of numbers instead of a weight, the way printed tables do: 01–30 Travelers on the road, 31–50 Beasts on the hunt, and so on.
- Set the dice in Table settings: `1d100`, `2d6`, `d20` or any expression.
- In Build mode each row has a from and a to box for its range.
- [b]Weather[/b] in the sample rolls `2d6`, so the middle results come up most often. The card shows each chance.
Dice can be written `2d6`, `d20`, `3D` or `D3`. A missing count means 1 and missing sides mean 6, so `2D` is 2d6. To add a value to the dice, use a [topic]Roll modifiers[/topic] modifier.
# Threads
A thread carries the roll from a result to another card.
- In Build mode, drag from the ● at the right of a result onto another card to lay a thread.
- When that result is rolled, the card at the other end is rolled too. The threads of a roll light up in brass.
- Click a thread on the felt to edit it in the inspector.
## Thread options
- [b]Count[/b] rolls the next card more than once. It can be a number or an expression such as `1d3`.
- [b]Save as[/b] keeps the next card's result under a name, so later text can show it as `{name}`.
- [b]Only if[/b] runs the thread only when a condition is true, such as `@gold >= 10`.
- [b]Otherwise[/b] runs the thread only when none of the result's Only if threads ran.
- [b]Inputs[/b] pass values to a card that declares them.
# Roll modifiers
A ranged table can add a [b]modifier[/b] to its dice, for rules like "roll 1d20 and add your Luck".
- In Build mode, select the card and set the modifier in the inspector: [b]Add[/b] a value, [b]Subtract[/b] one, or write your own.
- [b]Ranges can go past the dice.[/b] A 1d6 table can have results for 0 or less and for 7 and up. Only a modifier reaches them, and their number's tooltip says so.
- Totals past either end count as the end result, so the top result also catches every higher total.
- The chances on the card follow the modifier's value as it is now.
## In the sample
[b]Search the Ruins[/b] rolls 1d6 + Luck. With no Luck you can't reach "A tunnel caves in" or "A hidden vault". Pray at the shrine in [b]Make Camp[/b] to raise your Luck, gamble with the guards to lower it, then search again and watch the chances move. Why this? on the step names the modifier: "+1 for Luck".
Deck mode decks ignore the modifier.
# Deck mode
[b]Deck mode[/b] turns a table into a deck of cards. Each result is dealt once, with no repeats, until the deck runs out.
- Turn it on in [b]Table settings… → Deck mode[/b].
- The card shows how many are left, for example [b]4 / 6 left[/b].
- [b]↻ Reshuffle[/b] under the card's name puts every card back.
- [b]When the deck runs out[/b] can reshuffle by itself or stop until you reshuffle.
[b]Party Roles[/b] in the sample is a deck: hand one role to each player, and nobody gets the same role twice until you reshuffle.
# Choice cards
A choice card stops the roll and asks the player. Add one from [b]+ Card ▾[/b].
- [b]Which option[/b] lists the card's options to pick from. [b]Random[/b] is always offered too. The picked option runs exactly as if it had been rolled: its changes happen and its threads follow.
- [b]How many[/b] asks for a number between a lowest and highest value.
- [b]Open ended[/b] asks for any text.
The question can show values, such as "Your Luck is {@luck}. What now?". Answers can be saved under a name for later. [b]Cancel[/b] in the pop-up stops the whole roll, and the pop-up can be minimized to look at the spread first.
## Options that come and go
An option can have [b]Show only if[/b], so it's offered only when a condition is true, such as `@gold >= 10`. A Which option card can also build its options from a collection of values, such as every skill the character has.
[b]Make Camp[/b] in the sample is a Which option card.
# Values and changes
A spread can remember [b]values[/b] between rolls, such as Luck, Gold or the current town. In rules a value is written with @: `@luck`.
- Any result can have [b]changes[/b] that happen when it comes up: [b]Add 1 to Luck[/b], [b]Subtract 3 from Gold[/b], [b]Set Town to …[/b]. Edit them in the inspector as rows, or with Edit as text.
- A [b]Variable[/b] card gives a value a name, a type and a starting value, and shows what it is now. The sample's [b]Luck[/b] card starts at 0.
- A [b]Collection[/b] card groups related values, such as Skills, so they can be listed and picked from together.
- The tray's [b]Variables[/b] tab shows every value, and lets you clear or reset them. [b]Reset all…[/b] puts every value back to its start.
## Writing changes as text
- `@luck += 1` adds, `@luck -= 1` subtracts and `@gold = 2d6` sets.
- `reset @luck` goes back to the starting value. `reset @skill_*` resets every value starting with skill_.
- Text values work as lists: `@traits += "Brave"` adds an item.
## Conditions
Conditions are used by Only if threads, branches, repeats and Show only if. In plain words they read "Luck is at least 2". As text: `@luck >= 2`, `@town = "Saltmere"`, `@gold > 0 and @luck < 3`.
# Logic cards
Besides roll tables and choices, [b]+ Card ▾[/b] adds:
- [b]Check card[/b]: rolls dice plus a modifier against a target, such as 2d6 + Skill against 8, and follows its Success or Failure result.
- [b]Repeat[/b]: repeats its Each time result a number of times, or while or until a condition holds, then runs Afterwards once.
- [b]Branch[/b]: checks its cases from top to bottom (if, else if, otherwise) and follows the first one that's true.
- [b]Sheet[/b]: a page of text, such as a character sheet, that always shows the current values. A roll that reaches it prints it in the tray.
- [b]Variable[/b] and [b]Collection[/b]: see [topic]Values and changes[/topic].
Use [b]Test spread[/b] to check that a spread of logic cards works. See [topic]Testing a spread[/topic].
# Text in results
Result text can do more than plain words:
- `[[Traveler Names]]` rolls that table and puts its result in the text.
- `[[Traveler Names -> patron]]` also saves it as patron, so later text can say `{patron}`.
- `{@town}` shows a value. `{@town|Towns}` shows it, or rolls Towns once and remembers the answer if it isn't set yet.
- `{= @gold * 2}` shows a worked-out number.
- Formatting: `[b]bold[/b]` and `[i]italic[/i]`.
[b]Quest Hooks[/b] in the sample uses all of these.
# Groups and templates
## Groups
- Ctrl-click or Shift-click cards to select several, or Ctrl-drag a box around them.
- Press [b]Ctrl+G[/b] to put them in a group: a frame that moves and collapses as one.
- Drag cards into or out of a group. The group's ⋯ menu renames, saves as a template, ungroups or deletes it.
- [b]Spread ▾ → Pack collapsed groups[/b] moves collapsed groups together to close the gaps.
## Templates
A template is a saved card, group or selection that you can insert again, with blanks to fill in.
- Save one from a card's ⋯ menu, a group's ⋯ menu, or the selection bar.
- Insert one from [b]+ Card ▾ → From template…[/b].
- Built-in templates include a skill check, ask-and-repeat, a pick menu, a counter and a simple sheet.
# Spreads, import and export
A [b]spread[/b] is one layout of cards, saved under its own name. Use the switcher beside Play | Build (it shows the spread's name) to switch, or to make a new spread, rename, duplicate or delete one.
In Build mode, [b]Spread ▾[/b] has:
- [b]Import as new spread…[/b] for Table Tarot JSON, JSON Canvas and GraphML files.
- [b]Export as…[/b] Table Tarot JSON, JSON Canvas, GraphML, a Mermaid diagram or Graphviz DOT.
Exports hold the tables only. Your roll history, decks and remembered values stay on this computer.
# Testing a spread
[b]Spread ▾ → Test spread…[/b] rolls a card hundreds of times, answering every question at random, and reports:
- errors, such as a rule that can't be worked out
- dead ends, where a roll stops unexpectedly
- cards and results that never came up
- tips, such as an option that can never be offered
Click any item in the report to jump to that card. A spread that can loop forever shows a warning in the top bar while you build.
# Finding your way
- [b]Search[/b] (the magnifier, or [b]Ctrl+F[/b]) finds cards by name, result, question, value or group, opens closed groups and flashes the card.
- Drag the felt to move around. The mouse wheel scrolls up and down, [b]Shift+wheel[/b] scrolls sideways and [b]Ctrl+wheel[/b] zooms.
- The zoom control at the top right shows the zoom. − and + step it, and the percentage opens [b]Fit spread[/b], [b]Zoom to 100%[/b] and the minimap.
- The [b]minimap[/b] (press [b]M[/b]) shows the whole spread in the corner. Click or drag on it to move there.
## The View menu
- [b]Rules[/b]: show rules in [b]Plain words[/b] ("Subtract 1 from Luck") or as [b]Rule text[/b] (`@luck -= 1`).
- [b]Collapse all tables[/b] or [b]Expand all tables[/b].
- [b]Striped rows[/b] shades every second result row, so long tables are easier to read across.
- [b]Minimap[/b].
# Keyboard shortcuts
- [b]F1[/b]: this help
- [b]Shift-click[/b] a die: roll without the animation
- [b]Ctrl+F[/b]: search
- [b]M[/b]: show or hide the minimap
- [b]Ctrl+wheel[/b]: zoom. [b]Shift+wheel[/b]: scroll sideways
- [b]Ctrl+Z[/b]: undo
- [b]Ctrl+Shift+Z[/b] or [b]Ctrl+Y[/b]: redo
- [b]Ctrl+G[/b]: group the selected cards
- [b]Ctrl-click[/b], [b]Shift-click[/b] or [b]Ctrl-drag[/b]: select several cards
- [b]Esc[/b]: clear the selection, or close a window
- Double-click the tray's or the inspector's edge: reset its size