Files
dickloads/data/units.json
Falkan 1204ede140 feat: Enter to save, Escape to discard, auto-save on unit/group selection
- selectUnit/selectGroup now async; call autoSaveCurrentForm before switching
- Enter in any form field (except textarea) triggers save
- Escape restores form to snapshot (discards unsaved changes)
- discardUnitForm/discardGroupForm helpers for snapshot restore
2026-03-18 19:42:56 -04:00

104 lines
2.2 KiB
JSON

{
"units": [
{
"id": "pound",
"label": "pound",
"labelPlural": "pounds",
"symbol": "lb",
"group": "dickloads",
"toBase": 0.038
},
{
"id": "dickload",
"label": "dickload",
"labelPlural": "dickloads",
"symbol": "dl",
"group": "dickloads",
"toBase": 1
},
{
"id": "barrel",
"label": "barrel",
"labelPlural": "barrels",
"symbol": "bbl",
"group": "dickloads",
"toBase": 19
},
{
"id": "hogshead",
"label": "hogshead",
"labelPlural": "hogsheads",
"symbol": "hhd",
"group": "dickloads",
"toBase": 38
},
{
"id": "short-ton",
"label": "short ton",
"labelPlural": "short tons",
"symbol": "t",
"group": "dickloads",
"toBase": 76
},
{
"id": "fuckton",
"label": "fuck ton",
"labelPlural": "fuck tons",
"symbol": "fcktn",
"group": "dickloads",
"toBase": 152
},
{
"id": "long-ton",
"label": "long ton",
"labelPlural": "long tons",
"symbol": "long tn",
"group": "dickloads",
"toBase": 85.1199999999,
"hidden": false
},
{
"id": "metric-fuckton",
"label": "metric fuckton",
"labelPlural": "metric fucktons",
"symbol": "mfcktn",
"group": "dickloads",
"toBase": 170.2399999998,
"description": "Trivia: although the name is \"metric fuckton,\" it is actually equal to two {long-ton:plural}!",
"hidden": false
},
{
"id": "assload",
"label": "Assload",
"labelPlural": "Assloads",
"symbol": "assl",
"group": "dickloads",
"toBase": 2
},
{
"id": "shitload",
"label": "Shitload",
"labelPlural": "Shitloads",
"symbol": "shtld",
"group": "dickloads",
"toBase": 12.6666666667
},
{
"id": "shit-ton",
"label": "Shit ton",
"labelPlural": "Shit tons",
"symbol": "shttn",
"group": "dickloads",
"toBase": 38
}
],
"groups": [
{
"id": "dickloads",
"label": "Dickloads",
"baseUnitId": "",
"toUniversal": 1
}
]
}