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:
parent
598223703f
commit
723e1a836d
184 changed files with 83110 additions and 175383 deletions
|
|
@ -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 }
|
||||
]
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue