ModernUO/Distribution/Data/Spawns/shared/felucca/BritainSewer.json
Kamron Batman 2f8a7afa57 chore(spawners): migrate spawn data to $type discriminator
- 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>
2026-06-25 16:17:35 -07:00

803 lines
14 KiB
JSON

[
{
"$type": "Spawner",
"guid": "07b03a23-af40-4539-be8b-6834573838df",
"name": "Spawner (202)",
"location": [
6065,
1459,
5
],
"map": "Felucca",
"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": "099f6832-75ef-4f46-91b2-0d64509897c2",
"name": "Spawner (202)",
"location": [
6052,
1463,
0
],
"map": "Felucca",
"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": "2fd77ead-e282-4216-aa6c-0273391bdd4e",
"name": "Spawner (202)",
"location": [
6090,
1483,
0
],
"map": "Felucca",
"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": "3237bbc2-29a2-488c-a918-d8db1f5e7f60",
"name": "Spawner (202)",
"location": [
6087,
1443,
0
],
"map": "Felucca",
"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": "371c3545-e908-4d18-8dbb-3b86c422566a",
"name": "Spawner (202)",
"location": [
6112,
1462,
5
],
"map": "Felucca",
"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": "5da0bc6b-dfdb-47b8-a0df-0ff3eaf5c212",
"name": "Spawner (202)",
"location": [
6048,
1487,
5
],
"map": "Felucca",
"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": "62ba5343-d337-495e-aaf4-9dfb4d46c8b3",
"name": "Spawner (202)",
"location": [
6061,
1490,
5
],
"map": "Felucca",
"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": "75adb4cb-b0a7-44db-a5fe-d4e9b139ce7b",
"name": "Spawner (202)",
"location": [
6059,
1438,
4
],
"map": "Felucca",
"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": "75e04bc3-078d-40c2-9ca8-d3a11a97965f",
"name": "Spawner (202)",
"location": [
6108,
1471,
0
],
"map": "Felucca",
"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": "77bf6da3-ca32-446e-8d0b-239bb4520afd",
"name": "Spawner (202)",
"location": [
6037,
1494,
0
],
"map": "Felucca",
"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": "8674d509-c36a-4ab8-9399-6329f1379984",
"name": "Spawner (202)",
"location": [
6091,
1491,
10
],
"map": "Felucca",
"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": "a8680e6d-12db-4ef9-8107-9df6850893db",
"name": "Spawner (202)",
"location": [
6115,
1491,
-15
],
"map": "Felucca",
"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": "a9a6ccfe-d9b7-40f3-bfa8-d00994214056",
"name": "Spawner (202)",
"location": [
6039,
1438,
4
],
"map": "Felucca",
"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": "aca1fcd4-cc2b-4472-ab6e-89e0322f9fec",
"name": "Spawner (202)",
"location": [
6049,
1447,
4
],
"map": "Felucca",
"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": "b8273eff-be93-4ab9-8642-c1e9a92ddbbc",
"name": "Spawner (202)",
"location": [
6092,
1448,
5
],
"map": "Felucca",
"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": "ba6cecc1-f3c1-4e95-a624-ac4d5d668265",
"name": "Spawner (202)",
"location": [
6034,
1467,
5
],
"map": "Felucca",
"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": "c93d730a-8c5a-4580-8952-14008d80b395",
"name": "Spawner (202)",
"location": [
6049,
1470,
5
],
"map": "Felucca",
"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": "d0d1dbda-9b50-4646-9509-d5d32eb9f081",
"name": "Spawner (202)",
"location": [
6041,
1486,
5
],
"map": "Felucca",
"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": "da9f7dcc-c64d-4a72-ba8a-b5846258a093",
"name": "Spawner (202)",
"location": [
6084,
1470,
5
],
"map": "Felucca",
"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
}
]
},
{
"$type": "Spawner",
"guid": "e8b1dc3e-cc13-4253-b228-12abe499061b",
"name": "Spawner (202)",
"location": [
6077,
1492,
0
],
"map": "Felucca",
"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": "ebace9c4-5941-4346-9ebf-6ca7ff7e33c5",
"name": "Spawner (202)",
"location": [
6107,
1452,
25
],
"map": "Felucca",
"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
}
]
}
]