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.
NoHammerBuildMenu
Open the build menu without needing a hammer in your inventory, now with a build grid and a repair toggle!
CHANGELOG
Changelog
0.14.0
- Added moving built pieces: look at a piece and press
Ctrl+Mouse3(middle-click) to pick it up, then left-click to put it down or right-click to cancel. Chest contents, damage, sign text and the rest of the piece's state move with it, and nothing is dropped. - The piece being moved glows gold, pulsing, so it's easy to keep track of.
- A piece can be put down overlapping its old spot, so it can be nudged a little without moving it away and back.
- A message says when a piece has been moved, and when a move is aborted and why (right-click, the piece was removed or destroyed, the hammer was put away, or a different piece was selected).
- The piece being moved can't be removed with middle-click while moving it, so a misclick can't drop a chest's contents. Other pieces can still be removed.
- Added a key hint for moving pieces, shown in repair mode too. While moving a piece, the right-click hint says "Abort" instead of "Build Menu".
0.13.0
- Building no longer takes materials from a chest another player has open. Previously the chest's contents could get out of step between the two players, which could duplicate or lose items.
- Chests now follow the same privacy rules as opening them yourself, so chests shared with your group are used too.
- Items on the ground are only used once your game has been handed them, the same way picking an item up works, so another player can't pick up an item that was also used to build. This normally takes a moment.
Use Nearby Chests, the chestRadiusand the ground itemsRadiusare now synced from the server when it has the mod.- Declared the mod as client side to Jotunn, so servers and other players are never required to have it installed.
- Messages and key hints can now be translated (
Translations/English.json). - Added a CI check that the version matches in every file.
- Moved
package.shinto.github/scriptsand made it the same for every mod: the name, version and DLL now come frommanifest.jsonand the.csproj.
0.12.0
- The requirement list in the build panel now shows the total available before the amount needed (e.g.
Wood 64/2). The total includes your inventory, nearby chests and ground items within range.
0.11.1
- Updated the BepInExPack_Valheim dependency to 5.4.2360.
0.11.0
- Added an
.editorconfig,Directory.Build.propsand a CI workflow that runsdotnet format, a Release build and a NuGet vulnerability check. - Reformatted the code to match the new code style rules (no behaviour change).
- Moved the Harmony patches into the
NoHammerBuildMenu.Patchesnamespace. - Tidied up packaging scripts and workflow files.
- Added a
.gitattributesto keep line endings consistent. - Moved the local Valheim install paths into
Directory.Build.props; setVALHEIM_DIRandBEPINEX_PROFILE_DIRonce to build every mod without editing the.csproj. - Updated README and icon.
0.10.1
- Increased the default radius for nearby ground items from 10m to 30m.
0.10.0
- The hammer now uses items on the ground within a configurable range.
- This can be adjusted by changing the
Radiussetting under theGround Itemssection in the config file. - The build grid lines at 2m intervals now use the configured
Line Width, and the lines in between are thinner (Minor Line Width Scale, default 0.5, set to 1 for uniform lines), making 2m distances (the size of many pieces) easy to read at any grid size.
0.9.0
- The build grid now draws a distinct line through the centre of each world chunk, making it easy to find a chunk's centre. Its width and colour can be changed with the new
Chunk Centre Line WidthandChunk Centre Line Coloroptions in theGrid Appearanceconfig section. - Moved the Harmony patches out of
Plugin.csinto dedicated files (no behaviour change). - Updated README.
0.8.1
- Increased the default radius for nearby chests from 20m to 30m.
- Updated README.
0.8.0
- Building now takes materials from nearby chests as well as your inventory. Your own stock is used first and only the shortfall comes from chests (nearest first), and a piece can only be built if your inventory and nearby chests combined have enough. The build panel shows the combined amount.
- Only player-built chests you could normally open are used (not other players' private chests, chests in use, or ones in a ward you can't access).
- Added a new
Chestsconfig section withUse Nearby ChestsandRadius(default 20m).
0.7.0
- The mod's controls (repair toggle, build grid toggle, grid distance and camera zoom) now show in the build key hints at the bottom of the screen, like the vanilla ones. They only show while a hammer patched by the mod is equipped, and not when using a gamepad.
0.6.0
- The build grid now snaps and draws on whichever face of a piece you are looking at: the top (as before), the underside (e.g. ceilings), and vertical walls, so pieces can be aligned along all axes.
- Snapping only moves the aim point within the targeted surface, so pieces never snap to empty air. Diagonal walls only snap in height and show no grid.
- Terrain and non-piece objects keep snapping horizontally as before.
0.5.0
- Decreased the default brightness of the build grid lines.
- Made the build grid appearance configurable in the new
Grid Appearanceconfig section: radius, fade start, rebuild distance, lift, segment length, line widths, and line colours.
0.4.0
- Highlight world chunk borders in a different colour.
- Make the build grid thicker and more visible.
- Shift+right-click (repair toggle) and Ctrl+right-click (grid toggle) no longer also open the build menu when using the vanilla hammer or other hammers, not just the phantom hammer.
0.3.0
- Hold Alt and scroll to zoom the camera in and out while a hammer is equipped and placing a piece, so you no longer need to unequip the hammer to get a closer look. Alt+scroll does not rotate the piece.
0.2.0
- Added a world build grid: a visible grid overlay near your aim point (following the terrain, or flat on top of player-built floors) with snap points at every vertex. Pieces snap to grid vertices like they do to other pieces' snap points, and snapping to other pieces still takes priority.
- Hold Ctrl and scroll to double or halve the grid distance (0.25m, 0.5m, 1m, 2m, 4m; 0.5m default).
- The grid only applies while a hammer is equipped (the phantom hammer, the vanilla hammer, or modded hammers with "hammer" in their name), not the hoe or cultivator.
- Whatever the game uses as the piece's anchor at the aim point (the selected snap point, or in
Autothe part of the piece closest to the surface you are aiming at) is the part placed on the grid vertex. - Press Ctrl + Right Mouse Button while building to toggle the grid. Enabled state and distance are in the
Gridconfig section.
0.1.5
- Added repair mode toggle keybind (Shift + Right Mouse Button) to switch between repair mode and the last selected build piece.
0.1.4
- Ensure hammer recipes are known without needing to hold a physical hammer
0.1.3
- Fix website link in manifest file
- Include CHANGELOG.md in the packaged mod files
0.1.2
- Made hammer invincible so it does not break
- The hammer is no longer invisible when equipped in the player's hand
0.1.1
- Fixed README with example screenshot
0.1.0
- Initial release
- Configurable keybind (default
B) opens the build menu without a hammer in your inventory, and shows the hammer in-hand - Keybind is rebindable from your mod manager