Dwarf_Haven_Games-Selective_Free_Build icon

Selective Free Build

Free building that still charges for the pieces that matter. Crafting stations, producers, carts and boats keep their cost, and planting still spends seeds. Pick which build menu categories pay, by category or by piece.

Last updated 9 hours ago
Total downloads 19
Total rating 0 
Categories Mods Tweaks Crafting Building AI Generated Deep North Update
Dependency string Dwarf_Haven_Games-Selective_Free_Build-1.0.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

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

Selective Free Build

Free building, except for the pieces that should still cost something.

The No Build Cost world modifier is all or nothing. This mod gives the cost back to whichever build menu categories you choose and leaves the rest free. By default crafting stations, carts and boats pay; walls, floors, roofs, furniture and decor stay free.

Which pieces pay

PaidTags takes build menu categories, spelled as the menu labels them:

Misc, Crafting, Building, Flooring, Walls, Roofing, Architecture, Furniture, Lighting, Decor, Storage, Transportation, Food, Meads, Feasts, Defense, Stacks, Stairs, Doors, Seasonal

A piece pays if any of its categories is on the list. AlwaysPay and NeverPay override that for individual pieces, by prefab name.

CultivatorAlwaysPays is on by default, so planting still spends seeds. It reads the cultivator's own menu, which covers seeds and plants added by other mods.

GrantFreeBuild supplies the free building itself if you would rather not use the world modifier. With neither, nothing is free and the mod has nothing to do.

Settings

Setting Default What it does
PaidTags Crafting, Transportation Categories that keep their material cost.
AlwaysPay (empty) Pieces that always cost, whatever their category.
NeverPay (empty) Pieces that are always free. Beats every other rule.
CultivatorAlwaysPays On Everything planted with the cultivator costs materials.
GrantFreeBuild Off Free building without the world modifier.
LogDecisions Off Logs each piece's price once, to show what decided it.

Changes take effect immediately, without a restart.

Notes

  • Removing a piece refunds what it cost. A free one refunds nothing.
  • Workbench and crafting station requirements are unchanged.
  • Crafting items at a station has its own world modifier and is not affected.

Multiplayer

Both server and client need this mod.

Recommended setup: turn on the No Build Cost world modifier on the server and leave GrantFreeBuild off. The modifier belongs to the world, so the game replicates free building to every client on its own and this mod is left deciding only what still costs.