Details

Last Updated
last week
First Uploaded
last week
Downloads
251
Likes
0
Size
18KB
Dependency string
Dinorush-ItemSpawnFix-1.0.0
Dependants

Fixes items failing to spawn in a few ways:

  1. A certain number of containers can spawn holding 2-3 items, but all following containers only hold 1 item. This allows those containers to hold 2-3.
  2. If there are no more locations to spawn a storage container, it will place the items in an existing container if able.
  3. If there are no more locations to spawn an item/container and all containers are full, items are placed randomly on the ground with the correct behavior.
  • For example, this fixes "Surprise!" boxes as well as cells failing to spawn.

Technical Details

  1. The game allocates a certain number of spawns per room depending on its size. If these run out, the game allocates new spawns but it will never re-use them after creation, so only one item is added. The fix allows them to be re-used.
  2. If there are no markers left for one of the initially allocated spawns, the item will not be spawned at all. On the other hand, if it is one of the newly allocated spawns, it will place them randomly on the floor. The fix will try to fit the items into existing containers instead of making new containers.
  3. Following 2, if there is not enough space, items are placed on the ground. Normally, these are set up using a generic spawn function which causes the objects to spawn improperly. The fix causes them to use the correct spawn behavior.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.