- Rename "type" -> "$type" (first key, required for STJ polymorphism) in all 109 spawn JSON files (5,612 records). - Convert "homeRange" + "location" -> "spawnBounds" object, dropping homeRange. Runtime keeps reading homeRange so un-migrated/external files still load. - Add BoundsEquivalenceTests (hr=0/1/3/7) validating that the script's toBounds formula produces the same Rectangle3D as the runtime homeRange path. - Add MigratedDataLoadTests loading a real migrated file as List<SpawnerDto> and round-tripping each DTO through ToSpawner(). - Add tools/spawner-json-migrate/migrate.mjs (offline Node script). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
803 lines
14 KiB
JSON
803 lines
14 KiB
JSON
[
|
|
{
|
|
"$type": "Spawner",
|
|
"guid": "16798caa-188d-4b2d-8494-c3b56cbaa4c7",
|
|
"name": "Spawner (102)",
|
|
"location": [
|
|
6049,
|
|
1470,
|
|
5
|
|
],
|
|
"map": "Trammel",
|
|
"count": 3,
|
|
"minDelay": "00:00:00",
|
|
"maxDelay": "00:01:00",
|
|
"team": 0,
|
|
"spawnBounds": {
|
|
"x1": 6047,
|
|
"y1": 1468,
|
|
"z1": -128,
|
|
"x2": 6052,
|
|
"y2": 1473,
|
|
"z2": 128
|
|
},
|
|
"walkingRange": 15,
|
|
"entries": [
|
|
{
|
|
"name": "SewerRat",
|
|
"maxCount": 2,
|
|
"probability": 100
|
|
},
|
|
{
|
|
"name": "Rat",
|
|
"maxCount": 2,
|
|
"probability": 100
|
|
},
|
|
{
|
|
"name": "BullFrog",
|
|
"maxCount": 1,
|
|
"probability": 100
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "Spawner",
|
|
"guid": "1fb937a2-b8d8-4796-8f7e-62dc86db4541",
|
|
"name": "Spawner (102)",
|
|
"location": [
|
|
6052,
|
|
1463,
|
|
0
|
|
],
|
|
"map": "Trammel",
|
|
"count": 8,
|
|
"minDelay": "00:00:00",
|
|
"maxDelay": "00:01:00",
|
|
"team": 0,
|
|
"spawnBounds": {
|
|
"x1": 6047,
|
|
"y1": 1458,
|
|
"z1": -128,
|
|
"x2": 6058,
|
|
"y2": 1469,
|
|
"z2": 128
|
|
},
|
|
"walkingRange": 25,
|
|
"entries": [
|
|
{
|
|
"name": "Alligator",
|
|
"maxCount": 8,
|
|
"probability": 100
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "Spawner",
|
|
"guid": "2059e438-3ea0-4553-9d80-2c4b3e179956",
|
|
"name": "Spawner (102)",
|
|
"location": [
|
|
6092,
|
|
1448,
|
|
5
|
|
],
|
|
"map": "Trammel",
|
|
"count": 3,
|
|
"minDelay": "00:00:00",
|
|
"maxDelay": "00:01:00",
|
|
"team": 0,
|
|
"spawnBounds": {
|
|
"x1": 6090,
|
|
"y1": 1446,
|
|
"z1": -128,
|
|
"x2": 6095,
|
|
"y2": 1451,
|
|
"z2": 128
|
|
},
|
|
"walkingRange": 15,
|
|
"entries": [
|
|
{
|
|
"name": "SewerRat",
|
|
"maxCount": 2,
|
|
"probability": 100
|
|
},
|
|
{
|
|
"name": "Rat",
|
|
"maxCount": 2,
|
|
"probability": 100
|
|
},
|
|
{
|
|
"name": "BullFrog",
|
|
"maxCount": 1,
|
|
"probability": 100
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "Spawner",
|
|
"guid": "308b2558-7402-46d1-a300-11eb22feaf0b",
|
|
"name": "Spawner (102)",
|
|
"location": [
|
|
6049,
|
|
1447,
|
|
4
|
|
],
|
|
"map": "Trammel",
|
|
"count": 3,
|
|
"minDelay": "00:00:00",
|
|
"maxDelay": "00:01:00",
|
|
"team": 0,
|
|
"spawnBounds": {
|
|
"x1": 6047,
|
|
"y1": 1445,
|
|
"z1": -128,
|
|
"x2": 6052,
|
|
"y2": 1450,
|
|
"z2": 128
|
|
},
|
|
"walkingRange": 15,
|
|
"entries": [
|
|
{
|
|
"name": "SewerRat",
|
|
"maxCount": 2,
|
|
"probability": 100
|
|
},
|
|
{
|
|
"name": "Rat",
|
|
"maxCount": 2,
|
|
"probability": 100
|
|
},
|
|
{
|
|
"name": "BullFrog",
|
|
"maxCount": 1,
|
|
"probability": 100
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "Spawner",
|
|
"guid": "31142c48-f400-4b04-a235-4df3d184432a",
|
|
"name": "Spawner (102)",
|
|
"location": [
|
|
6115,
|
|
1491,
|
|
-15
|
|
],
|
|
"map": "Trammel",
|
|
"count": 3,
|
|
"minDelay": "00:00:00",
|
|
"maxDelay": "00:01:00",
|
|
"team": 0,
|
|
"spawnBounds": {
|
|
"x1": 6113,
|
|
"y1": 1489,
|
|
"z1": -128,
|
|
"x2": 6118,
|
|
"y2": 1494,
|
|
"z2": 128
|
|
},
|
|
"walkingRange": 15,
|
|
"entries": [
|
|
{
|
|
"name": "SewerRat",
|
|
"maxCount": 2,
|
|
"probability": 100
|
|
},
|
|
{
|
|
"name": "Rat",
|
|
"maxCount": 2,
|
|
"probability": 100
|
|
},
|
|
{
|
|
"name": "BullFrog",
|
|
"maxCount": 1,
|
|
"probability": 100
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "Spawner",
|
|
"guid": "424591d5-810a-4248-b002-51d2d993b09e",
|
|
"name": "Spawner (102)",
|
|
"location": [
|
|
6108,
|
|
1471,
|
|
0
|
|
],
|
|
"map": "Trammel",
|
|
"count": 2,
|
|
"minDelay": "00:00:00",
|
|
"maxDelay": "00:01:00",
|
|
"team": 0,
|
|
"spawnBounds": {
|
|
"x1": 6104,
|
|
"y1": 1467,
|
|
"z1": -128,
|
|
"x2": 6113,
|
|
"y2": 1476,
|
|
"z2": 128
|
|
},
|
|
"walkingRange": 10,
|
|
"entries": [
|
|
{
|
|
"name": "Alligator",
|
|
"maxCount": 2,
|
|
"probability": 100
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "Spawner",
|
|
"guid": "4502169a-d510-4779-a2d4-7ecff61c32a1",
|
|
"name": "Spawner (102)",
|
|
"location": [
|
|
6091,
|
|
1491,
|
|
10
|
|
],
|
|
"map": "Trammel",
|
|
"count": 3,
|
|
"minDelay": "00:00:00",
|
|
"maxDelay": "00:01:00",
|
|
"team": 0,
|
|
"spawnBounds": {
|
|
"x1": 6089,
|
|
"y1": 1489,
|
|
"z1": -128,
|
|
"x2": 6094,
|
|
"y2": 1494,
|
|
"z2": 128
|
|
},
|
|
"walkingRange": 15,
|
|
"entries": [
|
|
{
|
|
"name": "SewerRat",
|
|
"maxCount": 2,
|
|
"probability": 100
|
|
},
|
|
{
|
|
"name": "Rat",
|
|
"maxCount": 2,
|
|
"probability": 100
|
|
},
|
|
{
|
|
"name": "BullFrog",
|
|
"maxCount": 1,
|
|
"probability": 100
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "Spawner",
|
|
"guid": "551ba232-804a-48e2-a289-048ac2c5952c",
|
|
"name": "Spawner (102)",
|
|
"location": [
|
|
6087,
|
|
1443,
|
|
0
|
|
],
|
|
"map": "Trammel",
|
|
"count": 2,
|
|
"minDelay": "00:00:00",
|
|
"maxDelay": "00:01:00",
|
|
"team": 0,
|
|
"spawnBounds": {
|
|
"x1": 6083,
|
|
"y1": 1439,
|
|
"z1": -128,
|
|
"x2": 6092,
|
|
"y2": 1448,
|
|
"z2": 128
|
|
},
|
|
"walkingRange": 10,
|
|
"entries": [
|
|
{
|
|
"name": "Alligator",
|
|
"maxCount": 2,
|
|
"probability": 100
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "Spawner",
|
|
"guid": "5873288f-b3d0-4ffc-b937-1a938b0ab0a3",
|
|
"name": "Spawner (102)",
|
|
"location": [
|
|
6039,
|
|
1438,
|
|
4
|
|
],
|
|
"map": "Trammel",
|
|
"count": 3,
|
|
"minDelay": "00:00:00",
|
|
"maxDelay": "00:01:00",
|
|
"team": 0,
|
|
"spawnBounds": {
|
|
"x1": 6037,
|
|
"y1": 1436,
|
|
"z1": -128,
|
|
"x2": 6042,
|
|
"y2": 1441,
|
|
"z2": 128
|
|
},
|
|
"walkingRange": 15,
|
|
"entries": [
|
|
{
|
|
"name": "SewerRat",
|
|
"maxCount": 2,
|
|
"probability": 100
|
|
},
|
|
{
|
|
"name": "Rat",
|
|
"maxCount": 2,
|
|
"probability": 100
|
|
},
|
|
{
|
|
"name": "BullFrog",
|
|
"maxCount": 1,
|
|
"probability": 100
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "Spawner",
|
|
"guid": "5e47e277-8d43-46c0-b43a-a15ce3623ceb",
|
|
"name": "Spawner (102)",
|
|
"location": [
|
|
6112,
|
|
1462,
|
|
5
|
|
],
|
|
"map": "Trammel",
|
|
"count": 3,
|
|
"minDelay": "00:00:00",
|
|
"maxDelay": "00:01:00",
|
|
"team": 0,
|
|
"spawnBounds": {
|
|
"x1": 6110,
|
|
"y1": 1460,
|
|
"z1": -128,
|
|
"x2": 6115,
|
|
"y2": 1465,
|
|
"z2": 128
|
|
},
|
|
"walkingRange": 15,
|
|
"entries": [
|
|
{
|
|
"name": "SewerRat",
|
|
"maxCount": 2,
|
|
"probability": 100
|
|
},
|
|
{
|
|
"name": "Rat",
|
|
"maxCount": 2,
|
|
"probability": 100
|
|
},
|
|
{
|
|
"name": "BullFrog",
|
|
"maxCount": 1,
|
|
"probability": 100
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "Spawner",
|
|
"guid": "639f6230-75e9-4633-8e2b-cfd6f35f4fdc",
|
|
"name": "Spawner (102)",
|
|
"location": [
|
|
6077,
|
|
1492,
|
|
0
|
|
],
|
|
"map": "Trammel",
|
|
"count": 2,
|
|
"minDelay": "00:00:00",
|
|
"maxDelay": "00:01:00",
|
|
"team": 0,
|
|
"spawnBounds": {
|
|
"x1": 6073,
|
|
"y1": 1488,
|
|
"z1": -128,
|
|
"x2": 6082,
|
|
"y2": 1497,
|
|
"z2": 128
|
|
},
|
|
"walkingRange": 10,
|
|
"entries": [
|
|
{
|
|
"name": "Alligator",
|
|
"maxCount": 2,
|
|
"probability": 100
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "Spawner",
|
|
"guid": "70842ac5-c2f9-490b-8fca-603396002f94",
|
|
"name": "Spawner (102)",
|
|
"location": [
|
|
6048,
|
|
1487,
|
|
5
|
|
],
|
|
"map": "Trammel",
|
|
"count": 3,
|
|
"minDelay": "00:00:00",
|
|
"maxDelay": "00:01:00",
|
|
"team": 0,
|
|
"spawnBounds": {
|
|
"x1": 6046,
|
|
"y1": 1485,
|
|
"z1": -128,
|
|
"x2": 6051,
|
|
"y2": 1490,
|
|
"z2": 128
|
|
},
|
|
"walkingRange": 15,
|
|
"entries": [
|
|
{
|
|
"name": "SewerRat",
|
|
"maxCount": 2,
|
|
"probability": 100
|
|
},
|
|
{
|
|
"name": "Rat",
|
|
"maxCount": 2,
|
|
"probability": 100
|
|
},
|
|
{
|
|
"name": "BullFrog",
|
|
"maxCount": 1,
|
|
"probability": 100
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "Spawner",
|
|
"guid": "73483117-862e-472d-b856-13fbe0f2cb04",
|
|
"name": "Spawner (102)",
|
|
"location": [
|
|
6065,
|
|
1459,
|
|
5
|
|
],
|
|
"map": "Trammel",
|
|
"count": 3,
|
|
"minDelay": "00:00:00",
|
|
"maxDelay": "00:01:00",
|
|
"team": 0,
|
|
"spawnBounds": {
|
|
"x1": 6063,
|
|
"y1": 1457,
|
|
"z1": -128,
|
|
"x2": 6068,
|
|
"y2": 1462,
|
|
"z2": 128
|
|
},
|
|
"walkingRange": 15,
|
|
"entries": [
|
|
{
|
|
"name": "SewerRat",
|
|
"maxCount": 2,
|
|
"probability": 100
|
|
},
|
|
{
|
|
"name": "Rat",
|
|
"maxCount": 2,
|
|
"probability": 100
|
|
},
|
|
{
|
|
"name": "BullFrog",
|
|
"maxCount": 1,
|
|
"probability": 100
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "Spawner",
|
|
"guid": "80883952-a77b-466d-b01e-f810fca42c11",
|
|
"name": "Spawner (102)",
|
|
"location": [
|
|
6090,
|
|
1483,
|
|
0
|
|
],
|
|
"map": "Trammel",
|
|
"count": 8,
|
|
"minDelay": "00:00:00",
|
|
"maxDelay": "00:01:00",
|
|
"team": 0,
|
|
"spawnBounds": {
|
|
"x1": 6085,
|
|
"y1": 1478,
|
|
"z1": -128,
|
|
"x2": 6096,
|
|
"y2": 1489,
|
|
"z2": 128
|
|
},
|
|
"walkingRange": 25,
|
|
"entries": [
|
|
{
|
|
"name": "Alligator",
|
|
"maxCount": 8,
|
|
"probability": 100
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "Spawner",
|
|
"guid": "82cbfa7a-4ea4-476b-ac8c-a3963746fffd",
|
|
"name": "Spawner (102)",
|
|
"location": [
|
|
6061,
|
|
1490,
|
|
5
|
|
],
|
|
"map": "Trammel",
|
|
"count": 3,
|
|
"minDelay": "00:00:00",
|
|
"maxDelay": "00:01:00",
|
|
"team": 0,
|
|
"spawnBounds": {
|
|
"x1": 6059,
|
|
"y1": 1488,
|
|
"z1": -128,
|
|
"x2": 6064,
|
|
"y2": 1493,
|
|
"z2": 128
|
|
},
|
|
"walkingRange": 15,
|
|
"entries": [
|
|
{
|
|
"name": "SewerRat",
|
|
"maxCount": 2,
|
|
"probability": 100
|
|
},
|
|
{
|
|
"name": "Rat",
|
|
"maxCount": 2,
|
|
"probability": 100
|
|
},
|
|
{
|
|
"name": "BullFrog",
|
|
"maxCount": 1,
|
|
"probability": 100
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "Spawner",
|
|
"guid": "bda24adb-c409-4c12-a0c0-8aacd36ab3d9",
|
|
"name": "Spawner (102)",
|
|
"location": [
|
|
6034,
|
|
1467,
|
|
5
|
|
],
|
|
"map": "Trammel",
|
|
"count": 3,
|
|
"minDelay": "00:00:00",
|
|
"maxDelay": "00:01:00",
|
|
"team": 0,
|
|
"spawnBounds": {
|
|
"x1": 6032,
|
|
"y1": 1465,
|
|
"z1": -128,
|
|
"x2": 6037,
|
|
"y2": 1470,
|
|
"z2": 128
|
|
},
|
|
"walkingRange": 15,
|
|
"entries": [
|
|
{
|
|
"name": "SewerRat",
|
|
"maxCount": 2,
|
|
"probability": 100
|
|
},
|
|
{
|
|
"name": "Rat",
|
|
"maxCount": 2,
|
|
"probability": 100
|
|
},
|
|
{
|
|
"name": "BullFrog",
|
|
"maxCount": 1,
|
|
"probability": 100
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "Spawner",
|
|
"guid": "cb41f5b8-add1-42be-8bbe-48b76f9a4dd9",
|
|
"name": "Spawner (102)",
|
|
"location": [
|
|
6107,
|
|
1452,
|
|
25
|
|
],
|
|
"map": "Trammel",
|
|
"count": 3,
|
|
"minDelay": "00:00:00",
|
|
"maxDelay": "00:01:00",
|
|
"team": 0,
|
|
"spawnBounds": {
|
|
"x1": 6105,
|
|
"y1": 1450,
|
|
"z1": -128,
|
|
"x2": 6110,
|
|
"y2": 1455,
|
|
"z2": 128
|
|
},
|
|
"walkingRange": 15,
|
|
"entries": [
|
|
{
|
|
"name": "SewerRat",
|
|
"maxCount": 2,
|
|
"probability": 100
|
|
},
|
|
{
|
|
"name": "Rat",
|
|
"maxCount": 2,
|
|
"probability": 100
|
|
},
|
|
{
|
|
"name": "BullFrog",
|
|
"maxCount": 1,
|
|
"probability": 100
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "Spawner",
|
|
"guid": "dd1b022d-98d5-4f06-aac1-7751d2416304",
|
|
"name": "Spawner (102)",
|
|
"location": [
|
|
6059,
|
|
1438,
|
|
4
|
|
],
|
|
"map": "Trammel",
|
|
"count": 3,
|
|
"minDelay": "00:00:00",
|
|
"maxDelay": "00:01:00",
|
|
"team": 0,
|
|
"spawnBounds": {
|
|
"x1": 6057,
|
|
"y1": 1436,
|
|
"z1": -128,
|
|
"x2": 6062,
|
|
"y2": 1441,
|
|
"z2": 128
|
|
},
|
|
"walkingRange": 15,
|
|
"entries": [
|
|
{
|
|
"name": "SewerRat",
|
|
"maxCount": 2,
|
|
"probability": 100
|
|
},
|
|
{
|
|
"name": "Rat",
|
|
"maxCount": 2,
|
|
"probability": 100
|
|
},
|
|
{
|
|
"name": "BullFrog",
|
|
"maxCount": 1,
|
|
"probability": 100
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "Spawner",
|
|
"guid": "e40a3f76-4701-425c-a806-06cb36504593",
|
|
"name": "Spawner (102)",
|
|
"location": [
|
|
6037,
|
|
1494,
|
|
0
|
|
],
|
|
"map": "Trammel",
|
|
"count": 2,
|
|
"minDelay": "00:00:00",
|
|
"maxDelay": "00:01:00",
|
|
"team": 0,
|
|
"spawnBounds": {
|
|
"x1": 6033,
|
|
"y1": 1490,
|
|
"z1": -128,
|
|
"x2": 6042,
|
|
"y2": 1499,
|
|
"z2": 128
|
|
},
|
|
"walkingRange": 10,
|
|
"entries": [
|
|
{
|
|
"name": "Alligator",
|
|
"maxCount": 2,
|
|
"probability": 100
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "Spawner",
|
|
"guid": "e5f0bff7-c610-4923-8c17-b32a00911628",
|
|
"name": "Spawner (102)",
|
|
"location": [
|
|
6041,
|
|
1486,
|
|
5
|
|
],
|
|
"map": "Trammel",
|
|
"count": 3,
|
|
"minDelay": "00:00:00",
|
|
"maxDelay": "00:01:00",
|
|
"team": 0,
|
|
"spawnBounds": {
|
|
"x1": 6039,
|
|
"y1": 1484,
|
|
"z1": -128,
|
|
"x2": 6044,
|
|
"y2": 1489,
|
|
"z2": 128
|
|
},
|
|
"walkingRange": 15,
|
|
"entries": [
|
|
{
|
|
"name": "SewerRat",
|
|
"maxCount": 2,
|
|
"probability": 100
|
|
},
|
|
{
|
|
"name": "Rat",
|
|
"maxCount": 2,
|
|
"probability": 100
|
|
},
|
|
{
|
|
"name": "BullFrog",
|
|
"maxCount": 1,
|
|
"probability": 100
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "Spawner",
|
|
"guid": "ed8f2188-17cd-4235-86d8-54d62209ef93",
|
|
"name": "Spawner (102)",
|
|
"location": [
|
|
6084,
|
|
1470,
|
|
5
|
|
],
|
|
"map": "Trammel",
|
|
"count": 3,
|
|
"minDelay": "00:00:00",
|
|
"maxDelay": "00:01:00",
|
|
"team": 0,
|
|
"spawnBounds": {
|
|
"x1": 6083,
|
|
"y1": 1469,
|
|
"z1": -128,
|
|
"x2": 6086,
|
|
"y2": 1472,
|
|
"z2": 128
|
|
},
|
|
"walkingRange": 15,
|
|
"entries": [
|
|
{
|
|
"name": "SewerRat",
|
|
"maxCount": 2,
|
|
"probability": 100
|
|
},
|
|
{
|
|
"name": "Rat",
|
|
"maxCount": 2,
|
|
"probability": 100
|
|
},
|
|
{
|
|
"name": "BullFrog",
|
|
"maxCount": 1,
|
|
"probability": 100
|
|
}
|
|
]
|
|
}
|
|
]
|