You are viewing a potentially older version of this package. View all versions.
RustyMods-BuildableItems-1.0.5 icon

BuildableItems

Will try to make all items buildable - like feasts

Date uploaded 3 weeks ago
Version 1.0.5
Download link RustyMods-BuildableItems-1.0.5.zip
Downloads 251
Dependency string RustyMods-BuildableItems-1.0.5

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2333 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.

Preferred version: 5.4.2333

README

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
  • Warning: placing items creates a new item, thus will be a new version when picked up, so will lose all the original data, that is quality, or modded custom data

CHANGELOG

1.0.5

  • changed all items to be under same category: Items

1.0.4

  • changed items material type from stone to wood, so they can be placed on wood surfaces

1.0.3

  • removed models from wear and tear to avoid set health visual errors

1.0.2

  • fixed placed items being removed if command: removedrops executed

1.0.1

  • recompiled solution to fix plugin unable to instantiate

1.0.0

  • Initial release