{ "format_version": 1, "name": "Simple sheet", "description": "Asks for a name, rolls a background, then prints both on a sheet card that stays up to date.", "kind": "group", "params": [ {"name": "title", "label": "Sheet title", "default": "Character"} ], "tables": [ { "id": "name", "name": "Name", "kind": "choice", "choice": "text", "prompt": "What is the {$title}'s name?", "save_as": "@name", "x": 22, "y": 68, "entries": [{"id": "e1", "text": "Answer", "pipes": ["background"]}] }, { "id": "background", "name": "Background", "x": 342, "y": 68, "entries": [ {"id": "e1", "text": "Farmer", "effects": "@background = \"Farmer\"", "pipes": ["sheet"]}, {"id": "e2", "text": "Soldier", "effects": "@background = \"Soldier\"", "pipes": ["sheet"]}, {"id": "e3", "text": "Scholar", "effects": "@background = \"Scholar\"", "pipes": ["sheet"]}, {"id": "e4", "text": "Merchant", "effects": "@background = \"Merchant\"", "pipes": ["sheet"]} ] }, { "id": "sheet", "name": "{$title} sheet", "kind": "sheet", "x": 662, "y": 68, "entries": [{"id": "e1", "text": "[b]{$title}[/b]\nName: {@name}\nBackground: {@background}"}] } ], "groups": [ {"name": "{$title}", "x": 0, "y": 0, "w": 940, "h": 330, "members": ["name", "background", "sheet"]} ] }