You are viewing a potentially older version of this package. View all versions.
Potato_Tweaks-PotatoHammer-1.0.2 icon

PotatoHammer

Sorts the build hammer: every mod's pieces on a tab named after the mod, the game's own pieces where they belong. Client-side, works with any mod.

Date uploaded a day ago
Version 1.0.2
Download link Potato_Tweaks-PotatoHammer-1.0.2.zip
Downloads 13
Dependency string Potato_Tweaks-PotatoHammer-1.0.2

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2351 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.2351
ValheimModding-Jotunn-2.30.2 icon
ValheimModding-Jotunn

Jötunn (/ˈjɔːtʊn/, 'giant'), the Valheim Library was created with the goal of making the lives of mod developers easier. It enables you to create mods for Valheim using an abstracted API so you can focus on the actual content creation.

Preferred version: 2.30.2

README

🪵 Potato Hammer

Sorts the build hammer by mod. Mods put their build pieces wherever they like: spread over several of the game's categories, in none, in the wrong one, or under each other's tabs. Potato Hammer moves every mod's hammer pieces to a tab named after the mod, and leaves the game's own pieces in the game's tabs.

  • Works with any mod, Jotunn-based or not: Jotunn keeps track of which mod added each piece.
  • Only the hammer is sorted. Mods with their own hammer (like Odin Architect), the hoe, the cultivator and the serving tray are left alone.
  • Each piece shows on its mod's tab only, not also under the game's categories (Walls, Building...) or under other mods' tags.
  • Client-side: it only changes your own build menu. The server and other players don't need it.

Part of the PotatoClient pack for the Potato Server. 🛠️ Source and bug reports: github.com/TheRealRel/PotatoHammer

Settings

In BepInEx/config/potato.hammer.cfg, or in game with Configuration Manager. Changes take effect the next time you take out the hammer.

Section Setting What it does
1 - General Sort the hammer (on) Switch the sorting off to put every piece back where its mod put it.
Mods to leave alone Mods whose pieces stay where the mod put them, separated by commas.
Extra pieces Pieces whose mod can't be told, put on a tab by name: piece=Tab, separated by commas. The log lists those pieces.
2 - Tabs One line per mod The tab name for that mod's pieces (the mod's name with spaces by default, like "Boat Additions"). Give two mods the same name to share a tab; leave it empty to leave that mod's pieces where they were. The lines appear after the first time you take out the hammer in a world.

Requirements

CHANGELOG

Changelog

1.0.6

  • New: snap points for pieces that lack them. Mods' pieces with only one or two snap points of their own (like Modular Ladders' ladders) get points worked out from their shape: corners, edge middles, top and bottom centres. Any other piece can be given them in game: look at it with the hammer out and press Ctrl + K, or type snappoints in the console. Nothing is saved into your world.
  • New: the snap point you cycle to while building is named by where it sits on the piece ("Top front left corner") instead of its mod's name for it ("_snappoint (5)"). Setting: Plain snap point names.
  • A rewritten mod page.

1.0.5

  • Fix: the game's own cultivator (and hoe and serving tray) are no longer merged into the hammer. Plant Everything lets the cultivator remove pieces, which made it look like a mod's hammer, so saplings, crops and Wizardry's mushrooms showed up on the hammer. Odin's Hammer and other mods' hammers are still merged.

1.0.4

  • The mod page links the author's Discord for questions (bug reports stay on GitHub) and has a License section: the code is MIT, free to use, change and share; the icon is CC BY-NC 4.0.

1.0.3

  • Pieces from other mods' own hammers (like Odin's Hammer from Odin Architect) are now on the hammer too, on their mod's tab, so one hammer builds everything. Their own hammer still works. New setting: Include other hammers (on).

1.0.2

1.0.1

  • No more doubles: a moved piece now shows only on its mod's tab. Before, mods' own build tags kept them in the game's categories too (a mod's beam under Walls), and BoatAdditions, SimpleElevators and TarCollector each listed all three mods' pieces, because those mods share a piece library that gives their tags the same number ("CollectorSeries" was TarCollector's).
  • Tab names now have spaces: "Boat Additions", "Simple Elevators", "Tar Collector". Tabs you renamed keep your name.
  • Removed the 90-piece split: the game's build menu scrolls, so every mod gets one tab.

1.0.0

  • First release: each mod's hammer pieces move to a tab named after the mod; the game's own pieces stay where they are.