The migration step pretty-printed every file (JSON.stringify indent 2), exploding location/entries/spawnBounds across many lines (~250k-line diff). Restore the original compact layout: a container renders inline only when all its values are scalars and the line fits in 100 columns, so `location`/`spawnBounds`/each entry inline while `entries` stays expanded (uniform across single- and multi-entry spawners). UTF-8 without BOM (the old BOM was an artifact of the lost external exporter; the in-game [ExportSpawners already writes no BOM). Whitespace-only; values unchanged. Cuts the data diff ~95%. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
42 lines
1.4 KiB
JSON
42 lines
1.4 KiB
JSON
[
|
|
{
|
|
"$type": "Spawner",
|
|
"guid": "3cf3a839-be51-4f1c-8592-9a1f89b02b87",
|
|
"name": "Spawner (114)",
|
|
"location": [6279, 880, 1],
|
|
"map": "Trammel",
|
|
"count": 9,
|
|
"minDelay": "00:05:00",
|
|
"maxDelay": "00:10:00",
|
|
"team": 0,
|
|
"spawnBounds": { "x1": 6249, "y1": 850, "z1": -128, "x2": 6310, "y2": 911, "z2": 128 },
|
|
"walkingRange": 30,
|
|
"entries": [
|
|
{ "name": "Cat", "maxCount": 6, "probability": 100 },
|
|
{ "name": "Dog", "maxCount": 6, "probability": 100 },
|
|
{ "name": "Rat", "maxCount": 6, "probability": 100 },
|
|
{ "name": "Cat", "maxCount": 1, "probability": 100 },
|
|
{ "name": "Dog", "maxCount": 1, "probability": 100 },
|
|
{ "name": "Rat", "maxCount": 1, "probability": 100 }
|
|
]
|
|
},
|
|
{
|
|
"$type": "Spawner",
|
|
"guid": "67d9fa9b-5bc4-4f2b-8f19-fc31af6f2333",
|
|
"name": "Spawner (114)",
|
|
"location": [6275, 879, -2],
|
|
"map": "Trammel",
|
|
"count": 12,
|
|
"minDelay": "00:05:00",
|
|
"maxDelay": "00:10:00",
|
|
"team": 0,
|
|
"spawnBounds": { "x1": 6245, "y1": 849, "z1": -128, "x2": 6306, "y2": 910, "z2": 128 },
|
|
"walkingRange": 30,
|
|
"entries": [
|
|
{ "name": "Troglodyte", "maxCount": 3, "probability": 100 },
|
|
{ "name": "Grobu", "maxCount": 3, "probability": 100 },
|
|
{ "name": "Lurg", "maxCount": 3, "probability": 100 },
|
|
{ "name": "GiantRat", "maxCount": 3, "probability": 100 }
|
|
]
|
|
}
|
|
]
|