

Fixes resources/consumables/big pickups failing to spawn.
Specifically, this improves the spawning logic to reduce the possibility that there may not be enough space to spawn them, but if there still isn't, they will spawn on the ground instead.
This includes fixing "Surprise!" boxes so they actually work.
ItemSpawnFix adds a Custom subfolder (Custom/ItemSpawnFix) to further adjust spawn behavior if needed.
It accepts json files containing lists of settings; for example, the template:
[
{
"Levels": 420,
"RundownID": 0,
"RaiseObjectSpawnPriority": false,
"AllowRedistributeObjects": false
},
{
"Levels": "A",
"RundownID": 0,
"RaiseObjectSpawnPriority": false,
"AllowRedistributeObjects": false
},
{
"Levels": [
4115,
"B1"
],
"RundownID": 1234,
"RaiseObjectSpawnPriority": false,
"AllowRedistributeObjects": false
}
]
The fields are:
Levels | Level: A single level or list of levels to apply to. Valid level formats:
RundownID: The rundown to restrict the setting to. If 0, has no restriction.RaiseObjectSpawnPriority: Reverses spawn order so Terminals/Generators/Disinfect Stations spawn first, then big pickups/consumables, then resources.
AllowRedistributeObjects: Allows Terminals/Generators/Disinfect Stations to be moved to other areas if there is no space in their spawn area.Supports live edit - you do not need to reboot to apply changes, just redrop.