ZenDragon-ZenConstruction icon

ZenConstruction

Stations open nearest container, craft from container, equip torch and hammer at the same time, dedicated Build button, Quick Select Repair, adjust structure rules, and more...

CHANGELOG

v0.6.9

  • change crafting from station's container to prioritize player inventory first, then container inventory.
  • handle recipes which use RequiresOnlyOneIngredient correctly. Such as Raw Fish. They can only be crafted from the player's inventory, never directly from the container.

v0.6.8

  • increased max configurable distance for StationExtensionDistanceMultiplier

v0.6.7

  • When StationExtensionDistanceMultiplier is set to 1 then do nothing. Prior behavior was to always overwrite the value, which prevented other mods from changing it.

v0.6.6

  • change the highlight method to use shader with culling instead of outline when highlighting the connected container.

v0.6.5

  • fix: compatibility issue with Backpacks mod. Was causing items to duplicate and spaming error logs while crafting and wearing an open backpack.

v0.6.4

  • Show the piece health bar as a color gradient: Red > Yellow > Green.

v0.6.3

  • Craft from containers. The station's open container can be used as a crafting source for materials. Additionally, any container can be used for recipes which do not require a workstation. Container resources are consumed before player inventory resources.

v0.6.2

  • gamepad fix: set the active panel to the crafting panel when using a crafting station with a nearby container.

v0.6.1

  • update readme

v0.6.0

  • new feature Station Containers: Crafting Stations now automatically open the closest container within a very short range. This allows you to place a chest next to a station and have it be accessible while crafting at that station.

v0.5.1

  • check that the Hammer is equipped before applying build rotation changes.

v0.5.0

  • updated for Zen.ModLib v1.2.0
  • recompile for BepInEx v5.4.2332
  • recompile for JVL v2.26.0

v0.4.11

  • recompile for Zen.ModLib v1.1.25

v0.4.10

  • forgot to update the config option description in the prior update. no code changes, this is just a small update to align the config option description with the underlying functionality.

v0.4.9

  • fix user feedback message about rotation segments. Prior version was reporting the number of segments in 180 degrees, this is incorrect. The value should have been reporting the number of segments in a circle (360). Displayed values have been updated 2x to compensate. This update causes no functional changes, however the displayed user feedback is corrected to reflect what is actually happening when you change the rotation segments.

v0.4.8

  • Build Rotations are now configurable.
  • 30 degree rotation (12 segments) was removed and replaced with 36 degree rotation segments by default (10 segments).
  • Expert 16 segment rotation option added to configs by default.
  • You can edit the rotation segments via the configs to whatever number of segments you would like.

v0.4.7

  • changed the gamepad mapping for the dedicated Build/Repair button to be DpadDown so that Select can be returned to vanilla behavior of opening the map. This is to accomodate new features in ZenMap which allow for crafting portable maps that can be opened from anywhere.
  • added an option to display the snap icon on the build HUD. On by default.

v0.4.6

  • updated config description to inform player they need to restart the game after changing the keybind for the build button. No code changes.

v0.4.5

  • fix: nullref, add checks to prevent monsters from executing code only intended for player.

v0.4.4

  • Equip torch with the hammer already in the right hand now equips the torch in the left hand instead of hiding the torch. Reverse is still possible: equip the hammer while the torch is held and keep both wielded at once.

v0.4.3

  • small bit of refactoring and code cleanup. no functional changes.

v0.4.2

  • fixed a null ref error that happens when some mods fail to populate the ItemData.m_dropItem field for their custom tools on startup.

v0.4.1

  • fixed a null ref error that occurred when monster attempted to equip a weapon.

v0.4.0

  • Equip a torch and the hammer at the same time.
  • The Build button and Quick Select Repair are now the same button. It has been renamed to the "Hammer" button. Tap the button to toggle equip hammer. Long press the button to switch in/out of repair mode. Config option keybind has changed. If you switched it from default 'B' it is now reset, please update your config.
  • Added equip tools animation so that it's in alignment with other equipment.
  • All controls now work with gamepad too. Check in game tips for the gamepad button map.

v0.3.4

  • add beehive to the default list of items that can be attached to trees when building on trees is restricted.

v0.3.3

  • prevent Hammer button from activating if UI is open because default key map is 'B' and this caused problems when you write in the chat something like: "Here comes the Boss!"
  • config sync prefab setup params
  • update for Zen.ModLib v1.1.0

v0.3.2

  • fixed config sync

v0.3.1

  • removed BepInEx from dependency, Zen.ModLib handles it.

v0.3.0

  • use Zen.ModLib

v0.2.4

  • update logging and configs subsystem

v0.2.3

  • UPDATE FOR VALHEIM v0.220.3

v0.2.2

  • Update readme to remove old info. No code changes.

v0.2.1

  • UNDO: moved NoCraftNoTeleport back to ZenWorldSettings - oops! Moved it by mistake the first time.

v0.2.0

  • moved Structure features from ZenWorldSettings here
  • moved NoCraftNoTeleport features from ZenWorldSettings here
  • Look at the new configs!

V0.1.4

  • now hammer must be equipped to switch build rotation segments
  • enable switching build rotation segments via gamepad. (equip hammer and press Alt Button (left trigger by default) + DPadRight)

v0.1.3

  • add dedicated Build Menu button. Scans your inventory for your best hammer and equips it. Default key: B, gamepad support coming soon.

v0.1.2

  • add config option to disable rotation degree adjustments for admins that don't want that on their servers.

v0.1.1

  • automatically hide put away held tools/weapons on player spawn as well as set the hammer to the repair tool by default on spawn.

v0.1.0

  • initial release