Groups: an optional groups list on a collection (frame rect, collapsed,
members, details), saved by TowerBoard and kept by JsonIO. Expanded groups
draw a frame behind their cards with a title bar; collapsed ones become one
compact card that lists the members' lit results, with pipes re-routed to
its inlet and right edge. Build mode adds multi-select (Ctrl/Shift-click,
Ctrl-drag), Group (Ctrl+G), drop in/out of frames, rename, ungroup, delete
with undo and a details editor.
Templates: TemplateKit saves cards, groups or selections with relative
positions, internal pipes and outside pipes by name, detects {$name}
parameters and inserts with fresh ids. TemplateLibrary keeps user templates
in user://templates and lists the built-in ones in templates/.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
25 lines
850 B
JSON
25 lines
850 B
JSON
{
|
||
"format_version": 1,
|
||
"name": "2D skill check",
|
||
"description": "Pass or fail on 2d6 plus a skill's DM against a target number, as in most 2D games. The DM is read from a board variable, so effects elsewhere can raise it.",
|
||
"kind": "card",
|
||
"params": [
|
||
{"name": "skill", "label": "Variable holding the DM (no @)", "default": "skill"},
|
||
{"name": "target", "label": "Target number", "default": "8"}
|
||
],
|
||
"tables": [
|
||
{
|
||
"id": "check",
|
||
"name": "{$skill} check, {$target}+",
|
||
"x": 0,
|
||
"y": 0,
|
||
"details": "Rolls 2d6 + @{$skill} − {$target}, the check's Effect. An Effect of 0 or more passes.",
|
||
"dice": "2d6 + @{$skill} - {$target}",
|
||
"entries": [
|
||
{"id": "e1", "text": "Fail", "range": [-1, -1]},
|
||
{"id": "e2", "text": "Pass", "range": [0, 0]}
|
||
]
|
||
}
|
||
],
|
||
"groups": []
|
||
}
|