I’m letting my game numerical setup (game planning?) intern using tw to write game data JSON like the one similar to CDDA’s JSON
Or dwarf fortress’s token
Here is an example from CDDA:
{
"result": "hollow_cane",
"type": "recipe",
"activity_level": "LIGHT_EXERCISE",
"category": "CC_WEAPON",
"subcategory": "CSC_WEAPON_BASHING",
"skill_used": "fabrication",
"difficulty": 4,
"time": "40 m",
"autolearn": true,
"using": [ [ "adhesive", 1 ] ],
"proficiencies": [ { "proficiency": "prof_carving" }, { "proficiency": "prof_carpentry_basic" } ],
"qualities": [ { "id": "HAMMER", "level": 1 }, { "id": "CUT", "level": 2 } ],
"components": [ [ [ "2x4", 1 ] ], [ [ "nail", 5 ] ] ]
}
See the components field, it is an array.
I’m now asking my intern to write a components field for tiddler “XXX” as components: [[XXX's components]],
and then in another tiddler “XXX’s components” write fields like "2x4": 1, "nail": 5.
Fields like qualities will be similar. Write qualities: Hammer1 Cut2 (tiddler title separated by space means list in tiddlywiki) in tiddler “XXX”,
and in tiddler “Hammer1” write fields like "id": "HAMMER", "level": 1
Do you have better solutions? Possible solutions I think can be:
- using json path string like the one in lodash.get:
a[0].b.c: xxxto express{ a: [{ b: { c: 'xxx' } } ] } - write JSON in the text field, and set type to
application/json, but my intern doesn’t know what “JSON” means. And I also want the input process to be simple.
this is a sad gap, I hope can it be added, ideally for the next release. Gaps like this can cause users waste hours trying to find the what should be a complementary feature only to discover its missing.

