Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
ZenDistributor
Unload cargo from ships and carts. Put items into nearby chests. Improved cart handling and ease of use.
CHANGELOG
v1.0.3
- updated up README to reflect that ships are now allowed to be used as distribution sources and carts as targets.
- no code changes.
v1.0.2
- BUGFIX: carts were sinking instead of floating due to a bug introduced when carts were allowed to be added as valid distribution targets. Technical details: Old code was resetting layer masks on distribution targets so that they could be found via OverlapSphere checks. This adjustment to layer masks accidentally caused the Floating collider on carts to stop working. Carts would sink because they didn't know they were in the water. New code uses the static Piece list and does not perform a layer collision check to find valid distribution targets. Therefore, layer mask adjustments are no longer needed. Carts no longer sink.
- Added a check to make sure the cart is not in use before attempting to move contents to it from a ship.
v1.0.1
- can now distribute directly from a Ship into a Cart that DOES NOT have the same items in it. This includes empty carts as the distribution target from ships as well.
- this feature only works one-way: from Ships to Carts to avoid confusion and misplacement.
v1.0.0
- add the ability to distribute from ship to cart.
- changed default configs to distribute from ship to containers on shore, including carts.
- recompile for Zen.ModLib v1.7.0
v0.2.7
- changed the log level for prefabs flagged in v0.2.6 to Warning instead of silent Info. It should be noted but can be ignored.
v0.2.6
- fix: remove the error message when prefab is not in ZNetScene when setting layers, instead log the error silently and skip it. This can be caused by WackyDB creating new prefabs after ZenDistributor.
v0.2.5
- fix: apply the correct layer mask to pieces which do not have the "piece" mask applied to their colliders.
v0.2.4
- removed Attack from the list of actions that can quickly detach the cart. you can still block to quickly detach. This way you can clear shrubs or weak animals without detaching.
- compiled for Valheim 0.221.4, Call to Arms
v0.2.3
- added a config option to list prefabs that can be used as distributors. Hint: You can list all the ship prefabs if you want to unload from ships more easily. However, they are not included by default because it discourages building docks.
v0.2.2
- same as v0.2.3 (forgot to update readme)
v0.2.1
- moved highlight color config to Zen.ModLib
- moved area search code to Zen.ModLib
- updated to use Zen.ModLib v1.2.5
v0.2.0
- updated for Zen.ModLib v1.2.0
- recompile for BepInEx v5.4.2332
- recompile for JVL v2.26.0
v0.1.7
- add a "Known Issues" section to the readme. no code changes.
v0.1.6
- small change to work better with MultiUserChest
v0.1.5
- fix ZDO ownership issues in multiplayer games.
v0.1.4
- update readme, no code changes.
- update Zen.ModLib dependency to v1.1.24
v0.1.3
- disable distribution processing if no allowed containers are defined in the configs. (provides an easy way to disable the distribution mechanism while still retaining cart QoL handling improvements)
- check for warded containers before distribution.
v0.1.2
- updated readme and description, no code changes.
v0.1.1
- moved cart handling code from ZenWorldSettings into this mod.
v0.1.0
- Initial release