Eric's ask. duplicate-unit clones the STRUCTURE — openings with their sizes, zones, and descriptions, under fresh ids and the first free "<name> 2"-style name — never the game assignments. And because a copy immediately wants a real name, units gained rename: opening ids are stable through it so locations and export URLs never notice, and a rename-only edit no longer risks wiping the description (the body field learned the None-means-leave-alone convention). Tests pin the disjoint ids, the empty copy, the numbering past taken names, and the wipe-nothing rename. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016jXZFSTZQKzAC8fqpWSz9g
172 lines
4.1 KiB
JSON
172 lines
4.1 KiB
JSON
{
|
|
"units": [
|
|
{
|
|
"name": "Library Kallax",
|
|
"openings": [
|
|
{
|
|
"id": "library-kallax-a1",
|
|
"label": "A1",
|
|
"zone": "oversize",
|
|
"width_in": 26.5,
|
|
"height_in": 13.25,
|
|
"depth_in": 15.4
|
|
},
|
|
{
|
|
"id": "library-kallax-a2",
|
|
"label": "A2",
|
|
"zone": "oversize",
|
|
"width_in": 26.5,
|
|
"height_in": 13.25,
|
|
"depth_in": 15.4
|
|
},
|
|
{
|
|
"id": "library-kallax-b1",
|
|
"label": "B1",
|
|
"zone": "party",
|
|
"width_in": 13.25,
|
|
"height_in": 13.25,
|
|
"depth_in": 15.4,
|
|
"description": "big boxes a-m"
|
|
},
|
|
{
|
|
"id": "library-kallax-b2",
|
|
"label": "B2",
|
|
"zone": "party",
|
|
"width_in": 13.25,
|
|
"height_in": 13.25,
|
|
"depth_in": 15.4,
|
|
"description": "big boxes n-z"
|
|
},
|
|
{
|
|
"id": "library-kallax-b3",
|
|
"label": "B3",
|
|
"zone": "party",
|
|
"width_in": 13.25,
|
|
"height_in": 13.25,
|
|
"depth_in": 15.4,
|
|
"description": "card rows standing"
|
|
},
|
|
{
|
|
"id": "library-kallax-b4",
|
|
"label": "B4",
|
|
"zone": "two-player",
|
|
"width_in": 13.25,
|
|
"height_in": 13.25,
|
|
"depth_in": 15.4
|
|
},
|
|
{
|
|
"id": "library-kallax-c1",
|
|
"label": "C1",
|
|
"zone": "general",
|
|
"width_in": 13.25,
|
|
"height_in": 13.25,
|
|
"depth_in": 15.4
|
|
},
|
|
{
|
|
"id": "library-kallax-c2",
|
|
"label": "C2",
|
|
"zone": "general",
|
|
"width_in": 13.25,
|
|
"height_in": 13.25,
|
|
"depth_in": 15.4
|
|
},
|
|
{
|
|
"id": "library-kallax-c3",
|
|
"label": "C3",
|
|
"zone": "general",
|
|
"width_in": 13.25,
|
|
"height_in": 13.25,
|
|
"depth_in": 15.4
|
|
},
|
|
{
|
|
"id": "library-kallax-c4",
|
|
"label": "C4",
|
|
"zone": "general",
|
|
"width_in": 13.25,
|
|
"height_in": 13.25,
|
|
"depth_in": 15.4
|
|
},
|
|
{
|
|
"id": "library-kallax-d1",
|
|
"label": "D1",
|
|
"zone": "general",
|
|
"width_in": 13.25,
|
|
"height_in": 13.25,
|
|
"depth_in": 15.4
|
|
},
|
|
{
|
|
"id": "library-kallax-d2",
|
|
"label": "D2",
|
|
"zone": "vintage wargames",
|
|
"width_in": 13.25,
|
|
"height_in": 13.25,
|
|
"depth_in": 15.4
|
|
},
|
|
{
|
|
"id": "library-kallax-d3",
|
|
"label": "D3",
|
|
"zone": "heavy",
|
|
"width_in": 13.25,
|
|
"height_in": 13.25,
|
|
"depth_in": 15.4
|
|
},
|
|
{
|
|
"id": "library-kallax-d4",
|
|
"label": "D4",
|
|
"zone": "campaign",
|
|
"width_in": 13.25,
|
|
"height_in": 13.25,
|
|
"depth_in": 15.4
|
|
}
|
|
],
|
|
"description": "Centerpiece of the game wall in the library"
|
|
},
|
|
{
|
|
"name": "Library Right Shelving",
|
|
"description": "To the right of the Kallax",
|
|
"openings": [
|
|
{
|
|
"id": "library-right-shelving-a1",
|
|
"label": "A1",
|
|
"zone": "",
|
|
"width_in": 23.25,
|
|
"height_in": 10.25,
|
|
"depth_in": 9.5
|
|
},
|
|
{
|
|
"id": "library-right-shelving-b1",
|
|
"label": "B1",
|
|
"zone": "",
|
|
"width_in": 23.25,
|
|
"height_in": 10.25,
|
|
"depth_in": 9.5
|
|
},
|
|
{
|
|
"id": "library-right-shelving-c1",
|
|
"label": "C1",
|
|
"zone": "",
|
|
"width_in": 23.25,
|
|
"height_in": 10.25,
|
|
"depth_in": 9.5
|
|
},
|
|
{
|
|
"id": "library-right-shelving-d1",
|
|
"label": "D1",
|
|
"zone": "",
|
|
"width_in": 23.25,
|
|
"height_in": 10.25,
|
|
"depth_in": 9.5
|
|
},
|
|
{
|
|
"id": "library-right-shelving-e1",
|
|
"label": "E1",
|
|
"zone": "",
|
|
"width_in": 23.25,
|
|
"height_in": 10.25,
|
|
"depth_in": 9.5
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|