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

@ -1,4 +1,4 @@
[
[
{
"type": "Spawner",
"guid": "910e07be-fd79-4608-9990-5b860c14f95f",
@ -28,7 +28,9 @@
"team": 0,
"homeRange": 5,
"walkingRange": 5,
"entries": [{ "name": "TrapdoorSpider", "maxCount": 2, "probability": 100 }]
"entries": [
{ "name": "TrapdoorSpider", "maxCount": 2, "probability": 100 }
]
},
{
"type": "Spawner",
@ -42,7 +44,9 @@
"team": 0,
"homeRange": 5,
"walkingRange": 5,
"entries": [{ "name": "TrapdoorSpider", "maxCount": 2, "probability": 100 }]
"entries": [
{ "name": "TrapdoorSpider", "maxCount": 2, "probability": 100 }
]
},
{
"type": "Spawner",
@ -607,7 +611,9 @@
"team": 0,
"homeRange": 5,
"walkingRange": 5,
"entries": [{ "name": "TrapdoorSpider", "maxCount": 2, "probability": 100 }]
"entries": [
{ "name": "TrapdoorSpider", "maxCount": 2, "probability": 100 }
]
},
{
"type": "Spawner",
@ -664,7 +670,9 @@
"team": 0,
"homeRange": 5,
"walkingRange": 5,
"entries": [{ "name": "TrapdoorSpider", "maxCount": 2, "probability": 100 }]
"entries": [
{ "name": "TrapdoorSpider", "maxCount": 2, "probability": 100 }
]
},
{
"type": "Spawner",
@ -741,7 +749,9 @@
"team": 0,
"homeRange": 5,
"walkingRange": 5,
"entries": [{ "name": "TrapdoorSpider", "maxCount": 2, "probability": 100 }]
"entries": [
{ "name": "TrapdoorSpider", "maxCount": 2, "probability": 100 }
]
},
{
"type": "Spawner",
@ -796,7 +806,9 @@
"team": 0,
"homeRange": 3,
"walkingRange": 3,
"entries": [{ "name": "ToxicSlith", "maxCount": 1, "probability": 100 }]
"entries": [
{ "name": "ToxicSlith", "maxCount": 1, "probability": 100 }
]
},
{
"type": "Spawner",
@ -810,7 +822,9 @@
"team": 0,
"homeRange": 3,
"walkingRange": 3,
"entries": [{ "name": "ToxicSlith", "maxCount": 2, "probability": 100 }]
"entries": [
{ "name": "ToxicSlith", "maxCount": 2, "probability": 100 }
]
},
{
"type": "Spawner",
@ -824,7 +838,9 @@
"team": 0,
"homeRange": 3,
"walkingRange": 3,
"entries": [{ "name": "ToxicSlith", "maxCount": 1, "probability": 100 }]
"entries": [
{ "name": "ToxicSlith", "maxCount": 1, "probability": 100 }
]
},
{
"type": "Spawner",
@ -1244,6 +1260,8 @@
"team": 0,
"homeRange": 5,
"walkingRange": 5,
"entries": [{ "name": "Niporailem", "maxCount": 1, "probability": 100 }]
"entries": [
{ "name": "Niporailem", "maxCount": 1, "probability": 100 }
]
}
]