You are viewing a potentially older version of this package. View all versions.
Quads_Lab-Quads_Build_From_Chests-1.5.0 icon

Quads Build From Chests

Build from chests: building with the hammer uses materials from nearby chests and containers, not just your inventory.

Date uploaded a day ago
Version 1.5.0
Download link Quads_Lab-Quads_Build_From_Chests-1.5.0.zip
Downloads 95
Dependency string Quads_Lab-Quads_Build_From_Chests-1.5.0

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

README

🔨 Quad's Build From Chests

Quad's Build From Chests

Build from chests: building with the hammer uses materials from nearby chests and containers, not just your inventory.

version: 1.5.0 multiplayer: only who wants it made with: Claude Code

Source code · Report a bug · Discord

✨ Features

  • Pieces you place take materials from your inventory first, then from chests within range (default 20 m).
  • The build menu shows how many of each material you have in total, so you can see what is possible before you place anything.
  • Works together with CraftFromChests; each can be turned off on its own.

📸 Screenshots

Building with the hammer: what each piece needs counts what is in the chests around you

Building with the hammer: what each piece needs counts what is in the chests around you

🧩 Other mods

Known clashes

  • Adventure Backpacks ("Craft From Backpack"): handled. The backpack pays its part first and the chests pay only what is still missing. The backpack is never used as a chest.
  • Other craft-from-chests mods (AzuCraftyBoxes, CraftFromContainers (aedenthorn, and its forks), Craft From Chests (Toxo), CraftFromChestsPlus, Teflon Ted's Craft From Chests, StoreAndCraft, SmartCraft-Storage, and ValheimPlus while its CraftFromChest section is on): they also take from chests, and two such mods count every chest twice. When one is installed this mod stands down and leaves it to them; the log says so once.
  • Any mod that refuses a payment or already paid: respected. It runs after other mods and does nothing if they cancelled.

Works with our mods

Found a clash with another mod? Tell us which one and what happened.

👥 Multiplayer

Who needs it: Only the players who want it.

It only takes from chests you could open yourself: never one someone else has open, one behind a ward that keeps you out, or a private chest.

The host decides: how far it reaches (Radius). While you play on their world their values replace yours (your file isn't changed); a host without the mod leaves everyone their own.

🌍 Languages

English, Русский (Russian), Deutsch (German), 简体中文 (Chinese), Português do Brasil (Portuguese), Español (Spanish), Français (French), Polski (Polish), Türkçe (Turkish). It follows the game's own language setting.

The translations were made with AI, so a few words may be off. To correct one, or to add your language, put a file in BepInEx/config/translations/com.quad.buildfromchests/ named after the game's name for the language (German.json, Italian.json, Japanese.json...) with only the lines you change, copied from English.json (it wins over the built-in one). Or tell us the better words and we'll put them in for everyone.

⚙️ Settings

In BepInEx/config/com.quad.buildfromchests.cfg, made the first time the game runs with the mod. r2modman and Thunderstore Mod Manager edit it under Config editor.

Display

Setting Default What it does
ShowHaveCounts true In the build menu, show how many of each material you HAVE (inventory + chests) next to how many you need.

General

Setting Default What it does
Enabled true Turn the mod on or off.
Radius 20 How far (in meters) from YOU a chest can be and still be used while building (also for BuildOrders: building its ghosts, hold E to build all, and its fetch key). Raise it to build far from your storehouse: 60 reaches across a big base. Chests only count while their area is loaded around you (about 100 m and more). Takes effect at once. In multiplayer the server's value applies.

🤖 Made with AI

Made with the help of Claude (Anthropic), with Claude Code: designed, written and checked together, and tried in the game.

🧪 About Quads Lab

Quads Lab is where Quad H (HardHeadHackerHead) builds software with AI, of every kind: these Valheim mods are one of its projects. Each mod is designed by a player, written with Claude Code and tested in our own world, with bobisme as our tester.

📜 Recent changes

  • 1.5.0 Now in your language: English, Russian, German, Chinese (Simplified), Portuguese (Brazil), Spanish, French, Polish and Turkish, following the game's own Language setting. The game's own names are used for its things (items, creatures, lands, stations). The translations were made with AI: to correct a line, or add a language, put a file in BepInEx/config/translations/com.quad.buildfromchests/ named after the game's name for the language (German.json...) with only the lines you change, copied from translations/English.json on GitHub.
  • 1.4.3 Fixed: it never takes from or puts into the game's Obliterator (what is in it burns when the lever is pulled), a Ledger Chest or the Arena's chests; only ordinary storage chests count.
  • 1.4.2 A clearer page: what it does, who needs it in multiplayer, how it gets on with other mods, and where to report a bug. The game itself is unchanged.

Every change is on the Changelog tab.

CHANGELOG

1.5.2

  • Fix: after leaving a world for the main menu and joining one again, the chests claimed just before could no longer be looked up, and building from chests could stop working until a restart (the game renumbers its object ids on each join).

1.5.1

  • Fixed in multiplayer: two players building from the same chest at the same moment could both be paid for with the same materials (a free piece). A chest another player's game was looking after is now taken over as soon as you need what is in it and counts a moment later, and a piece is only paid from chests that are yours by then. Smoother: with the hammer out, the chests in range are looked up once a second (sooner when you have moved a few metres) instead of almost every frame while you move, which mattered with a large Radius.

1.5.0

  • Now in your language: English, Russian, German, Chinese (Simplified), Portuguese (Brazil), Spanish, French, Polish and Turkish, following the game's own Language setting. The game's own names are used for its things (items, creatures, lands, stations). The translations were made with AI: to correct a line, or add a language, put a file in BepInEx/config/translations/com.quad.buildfromchests/ named after the game's name for the language (German.json...) with only the lines you change, copied from translations/English.json on GitHub.

1.4.3

  • Fixed: it never takes from or puts into the game's Obliterator (what is in it burns when the lever is pulled), a Ledger Chest or the Arena's chests; only ordinary storage chests count.

1.4.2

  • A clearer page: what it does, who needs it in multiplayer, how it gets on with other mods, and where to report a bug. The game itself is unchanged.

1.4.1

  • A new id, com.quad.buildfromchests (it was com.dhack.buildfromchests): your settings move over by themselves the first time it starts, and the old settings file is kept as a backup. Restart the game after this update. If an old copy is still installed beside it, this one stands down and says which file to delete, so the two never both run. The DLL now says it was made with AI, as Thunderstore asks. It also stands down next to Toxo's Craft From Chests, CraftFromChestsPlus, Teflon Ted's Craft From Chests, StoreAndCraft and SmartCraft-Storage, as it already did next to AzuCraftyBoxes and CraftFromContainers: two such mods count every chest twice.

Earlier

  • Fix: next to Adventure Backpacks, building could cost up to twice as much (the backpack and the chests both paid). Now the backpack pays its part and the chests only what is still missing. Fix: a piece the chests can no longer pay for (someone took the materials since the menu counted them) is no longer placed for less: you get a message instead. Graves, carts, ships, a companion's bag and chest and a backpack are no longer used as storage. With AzuCraftyBoxes, CraftFromContainers or ValheimPlus' craft-from-chest installed, this mod stands down (two would count every chest twice). In multiplayer the server's Radius applies.

  • Radius can now be set anywhere from 2 to 150 m (a slider in the configuration manager), and takes effect at once: raise it to build far from your storehouse, for instance a big BuildOrders blueprint at the edge of your base (BuildOrders' ghosts, hold-E build-all and fetch key use the same range).

  • Fix: in multiplayer, building with materials from a chest another player had open could lose or duplicate items. Chests in use are now left alone.

  • Lets BuildOrders fetch materials from the chests around you into your inventory (a small shared function it leaves for it).