feat: Deduplicates spawns. Adds spawnbounds where needed. (#2299)

### Summary

- Add z-restricted spawnBounds to 35 spawners across 15 files to prevent creatures from spawning on incorrect floors
- Building spawners (Pyramid, Fire dungeon, Shame, Vendors) use minZ = spawner_z to prevent spawning below
- Ground level spawners (Graveyards, Outdoors, Tokuno) use minZ = -128 for natural terrain variation
- Multi-floor structures in Ilshenar use floor-specific Z restrictions

### Test plan

- Verify spawners in Fire dungeon building don't spawn creatures on floors below
- Verify Pyramid spawners keep creatures on their respective levels
- Verify ground level spawners (graveyards, outdoors) still spawn correctly on terrain
- Check Ilshenar multi-floor structure spawns creatures on correct floors
This commit is contained in:
Kamron Batman 2025-12-30 00:21:03 -08:00 • committed by GitHub
parent 598223703f
commit 723e1a836d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
184 changed files with 83110 additions and 175383 deletions

View file

@ -0,0 +1,103 @@
[
{
"type": "Spawner",
"guid": "113fa6c7-b58a-48eb-8cd8-18332e92e22e",
"name": "Spawner (301)",
"location": [79, 687, -28],
"map": "Ilshenar",
"count": 1,
"minDelay": "00:05:00",
"maxDelay": "00:10:00",
"team": 0,
"homeRange": 10,
"walkingRange": 10,
"entries": [
{ "name": "FireElemental", "maxCount": 1, "probability": 100 },
{ "name": "LavaLizard", "maxCount": 1, "probability": 100 }
]
},
{
"type": "Spawner",
"guid": "60859b12-15e4-4d3f-bbc6-b48c940c4080",
"name": "Spawner (301)",
"location": [54, 718, -28],
"map": "Ilshenar",
"count": 1,
"minDelay": "00:05:00",
"maxDelay": "00:10:00",
"team": 0,
"homeRange": 10,
"walkingRange": 10,
"entries": [
{ "name": "FireElemental", "maxCount": 1, "probability": 100 },
{ "name": "LavaLizard", "maxCount": 1, "probability": 100 }
]
},
{
"type": "Spawner",
"guid": "6c0fa0c8-c4fb-4c89-a310-528a89dc22e9",
"name": "Spawner (301)",
"location": [115, 716, -28],
"map": "Ilshenar",
"count": 3,
"minDelay": "00:05:00",
"maxDelay": "00:10:00",
"team": 0,
"homeRange": 15,
"walkingRange": 15,
"entries": [
{ "name": "FireElemental", "maxCount": 3, "probability": 100 },
{ "name": "LavaLizard", "maxCount": 3, "probability": 100 }
]
},
{
"type": "Spawner",
"guid": "9f1df533-f0b6-4d42-8c80-ebf852a0830b",
"name": "Spawner (301)",
"location": [131, 78, 0],
"map": "Ilshenar",
"count": 1,
"minDelay": "00:05:00",
"maxDelay": "00:10:00",
"team": 0,
"homeRange": 10,
"walkingRange": 10,
"entries": [
{ "name": "FireElemental", "maxCount": 1, "probability": 100 },
{ "name": "LavaLizard", "maxCount": 1, "probability": 100 }
]
},
{
"type": "Spawner",
"guid": "cbb2e5a6-ad0e-4bf3-b53d-528756994f1b",
"name": "Spawner (301)",
"location": [50, 689, -28],
"map": "Ilshenar",
"count": 1,
"minDelay": "00:10:00",
"maxDelay": "00:20:00",
"team": 0,
"homeRange": 30,
"walkingRange": 15,
"entries": [
{ "name": "AncientWyrm", "maxCount": 1, "probability": 100 }
]
},
{
"type": "Spawner",
"guid": "fdfe8209-e586-454c-aa1e-fdabf9b43125",
"name": "Spawner (301)",
"location": [82, 718, -28],
"map": "Ilshenar",
"count": 4,
"minDelay": "00:05:00",
"maxDelay": "00:10:00",
"team": 0,
"homeRange": 15,
"walkingRange": 15,
"entries": [
{ "name": "FireElemental", "maxCount": 2, "probability": 100 },
{ "name": "LavaLizard", "maxCount": 2, "probability": 100 }
]
}
]