Valheim

Details

Last Updated
6 days ago
First Uploaded
6 days ago
Downloads
164
Likes
2
Size
80KB
Dependency string
RustyMods-BuildableItems-1.0.0
Dependants

Buildable Items

This patch makes all items buildable, similar to how feasts can be placed in the world.

How it works

  • At startup, every prefab with an ItemDrop is scanned.
  • If the prefab is readable and not already a Piece, it is automatically given:
    • A Piece component
    • Name, icon, and description from its ItemData
    • Placement effects inherited from the workbench
    • A build requirement that consumes one instance of the item itself
  • The prefab is then added to the Hammer’s build list.

Notes

  • Meshes with Read/Write disabled cannot be processed (Unity strips vertex data).
    • These are skipped to avoid NavMesh build errors.
    • Items with unreadable meshes will not be buildable until their import settings are updated.
  • Special cases like Fish, _material prefabs, and anything already flagged as a Piece are also ignored.
  • Recommended mods: SearsCatalog
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.