From 6b5425df7fd633b6bd26c8587bedc10f5dde6239 Mon Sep 17 00:00:00 2001 From: Kyler Ramsey Date: Tue, 22 Sep 2026 12:14:58 -0700 Subject: [PATCH 1/2] Docs: audit README, website and developer notes against v1.1.1 Name the BeaverBuddies Stability Fork as the co-op build (every release from 1.0.0 to 1.1.12 has what the bridge checks for), state the org co-op rule, call the game's tool "Copy settings" as the game does, fix the pre-release FAQ, quote the real "Set unavailable goods to 0%" line, and bring the site footers to the org standard. Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 10 ---------- README.md | 19 ++++++++++++------- docs/DEVELOPMENT.md | 8 ++++---- site/404.html | 5 +++-- site/faq.html | 20 +++++++++++--------- site/index.html | 17 +++++++++-------- site/install.html | 16 +++++++++------- site/troubleshooting.html | 17 +++++++++-------- 8 files changed, 57 insertions(+), 55 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e40d029..56084bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -62,13 +62,11 @@ First official release. Everything from v0.5.8, plus fixes from a code review be - Align percentage controls and limits with their headers; wrap the capacity summary and reduce horizontal padding. - Widen the editor to 440 UI units, bounded by the viewport, expanding left from the sidebar edge. Preserve the fixed Apply/Revert/total footer and screen-height cap. - ## v0.5.1 - Bound the allocation panel to available screen height and scroll its content independently. - Keep allocation totals and Apply/Clear/Revert controls outside the scrolling body. - ## v0.5.0 - One MixedStorage download and mod entry for single-player and multiplayer. @@ -76,27 +74,23 @@ First official release. Everything from v0.5.8, plus fixes from a code review be - Reject the obsolete separate addon with clear upgrade instructions. Preserve allocation save keys. - Add isolated loading tests with and without BeaverBuddies and legacy-addon detection. - ## v0.4.3 - Replace triangle clipping with complete native cell selection at allocation boundaries. - Validate primary/secondary mesh topology before selecting cells. Fit continuous or unrecognized meshes into their sections without cutting faces. - Keep exact gameplay limits; visual proportions approximate whole cells. Add partition and topology regression checks. - ## v0.4.2 - Replace the small inline contents summary with readable cards: 30px goods icons, bold names, 19px stored/limit counts, allocation percentages and stock fill bars. - Keep incoming and excess counts visible, and bound the summary height for large goods lists. - ## v0.4.1 (visual prototype fix) - Fix ambiguous native method lookup that caused mixed visuals to fall back to one good. - Resolve rendering methods by their argument types and validate nine native API signatures against the installed game assemblies. - Include full exception details in rendering fallback warnings. - ## v0.4.0 (visual prototype) - Divide native goods meshes into deterministic allocation-sized sections, filling each from its actual stock. @@ -104,13 +98,11 @@ First official release. Everything from v0.5.8, plus fixes from a code review be - Coalesce visual updates to at most five rebuilds per building per second. - Add offline mesh-clipping tests. In-game appearance and performance remain unverified. - ## v0.3.1 - Add a live top summary of applied percentages, stored quantities and limits for all allocated or stocked goods. - Include incoming deliveries and excess stock, independently of search and filters. - ## v0.3.0 - Add per-good Max buttons to assign 100% with one click. @@ -118,11 +110,9 @@ First official release. Everything from v0.5.8, plus fixes from a code review be - Preserve exact percentages and recalculate limits for each destination capacity. - Reject incompatible pastes atomically; apply changes through the existing multiplayer event path. - ## v0.2.0 - Use MixedStorage naming throughout the mod, multiplayer addon, assemblies, IDs, UI identifiers and allocation save data. - - Add Folktails small, large and underground piles. - Add Iron Teeth small and large industrial piles. - Preserve each storage building's native accepted goods and capacity. diff --git a/README.md b/README.md index 0fac20a..c9b3c01 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ Divide a building's capacity by percentage. For example, a 1,200-capacity wareho 1. Download **MixedStorage-v1.1.1.zip** above. On the release page, choose that file under **Assets**, not **Source code**. 2. Close Timberborn. Extract the ZIP's **MixedStorage** folder into your Timberborn **Mods** folder—normally `Documents\Timberborn\Mods` on Windows. 3. Check that `Documents\Timberborn\Mods\MixedStorage\version-1.1\manifest.json` exists. Avoid an extra nested MixedStorage folder. -4. Install **Harmony 2.4.1 or newer** if needed. Enable **Harmony** and **MixedStorage** in the game's mod manager, then restart when prompted. +4. Install **Harmony** 2.4.1 or newer from the [Steam Workshop](https://steamcommunity.com/sharedfiles/filedetails/?id=3284904751) if you don't have it. Enable **Harmony** and **MixedStorage** in the game's mod manager, then restart when prompted. **Upgrading?** Replace the existing MixedStorage files while the game is closed. Existing MixedStorage allocations are preserved. @@ -52,7 +52,7 @@ For the example above, enter `50` for carrots and `50` for gears, with everythin | **Copy allocations** | Copies a valid draft totaling 100%. | | **Paste allocations** | Pastes copied percentages into another building's draft. Click Apply there to confirm. | -Percentages allow **two decimal places**. Copy/paste adjusts item limits to the destination's capacity. The destination must accept every copied good with a nonzero percentage; an incompatible paste leaves the draft unchanged. Stock, hauling mode, and hauler priority are not copied. Copied settings last only for the current game process. +Percentages allow **two decimal places**. Copy/paste adjusts item limits to the destination's capacity. The destination must accept every copied good with a nonzero percentage; an incompatible paste leaves the draft unchanged. Stock, hauling mode, and hauler priority are not copied. Copied settings are kept until you close the game. ## Supported buildings @@ -65,7 +65,7 @@ Buildings keep their normal accepted goods. Warehouses do not gain pile-only goo ## Multiplayer with BeaverBuddies -Install the **same MixedStorage version on every computer**, alongside matching BeaverBuddies versions and Harmony. Enable BeaverBuddies as usual; MixedStorage automatically activates its bundled integration. +Co-op needs the [BeaverBuddies Stability Fork](https://timbermods.github.io/BeaverBuddies-Stability-Fork/). Every player installs the **same version of MixedStorage** (and the same Stability Fork build) and runs the **same game version**. Enable the Stability Fork as usual; MixedStorage turns on its bundled integration automatically. See [Compatibility and testing](#compatibility-and-testing) for which BeaverBuddies builds work. There is **no separate MixedStorage multiplayer download**. Single-player users do not need BeaverBuddies. @@ -78,7 +78,10 @@ Applied allocations synchronize through BeaverBuddies. Apply may briefly show a - **Incoming deliveries count toward limits.** If a reduction conflicts with goods already on their way, wait for delivery and try again. - **Storage modes still matter.** Accept, Obtain, Supply, Empty, and hauler priority continue to use the game's hauling system. - **World visuals are approximate.** Whole visible cells cannot always match a percentage exactly. Tiny shares may have no visible cell, some models may look narrower, and banners still show one representative good. Excess goods may not be fully represented. Use the summary for exact amounts; unsupported meshes fall back to the original visuals. -- **The game's Duplicate settings tool works with mixed storage.** Copying from a mixed building gives the target the same percentages. If the target does not accept all of those goods, or an incoming delivery conflicts, the target keeps its current goods and percentages and Player.log says why; the tool's other settings, such as the storage mode, are still copied. Copying from a building set to store nothing, such as one just built, leaves a mixed building's allocation as it is, so copying its storage mode (Accept, Obtain, Supply or Empty) from it does not wipe the allocation. Copying from a normal building that stores a good this one accepts turns a mixed building back into a normal one, unless a delivery already on its way would no longer fit (then it stays mixed and Player.log says why). To make such a normal building, pick a good for a building without an allocation in the goods dropdown of the game's building list. +- **The game's Copy settings tool works with mixed storage.** + - Copying from a mixed building gives the target the same percentages. If the target does not accept all of those goods, or an incoming delivery conflicts, the target keeps its current goods and percentages and Player.log says why. The tool's other settings, such as the storage mode, are still copied. + - Copying from a building set to store nothing, such as one just built, leaves a mixed building's allocation as it is. So copying its storage mode (Accept, Obtain, Supply or Empty) does not wipe the allocation. + - Copying from a normal building that stores a good this one accepts turns a mixed building back into a normal one. If a delivery already on its way would no longer fit, the building stays mixed and Player.log says why. To make such a normal building, pick a good for a building without an allocation in the goods dropdown of the game's building list. - **The mod's own text is in English.** Good names follow your game language. ## Having trouble? @@ -91,7 +94,7 @@ Applied allocations synchronize through BeaverBuddies. Apply may briefly show a | Lower limit is rejected | Wait for incoming deliveries to finish. | | Startup mentions the old addon | Remove or disable MixedStorage-BeaverBuddies, then fully restart. | | Apply says multiplayer support could not start with the installed BeaverBuddies | Install the BeaverBuddies build named under [Compatibility and testing](#compatibility-and-testing) on every computer. Player.log names what is missing. Single-player usually still works; if even that is refused, disable BeaverBuddies for single-player games. | -| Apply says MixedStorage cannot change allocations with this game version | A game update changed something MixedStorage relies on. Existing allocations still apply, but none can change (by Apply or Copy Settings) until you install the MixedStorage version made for your game version. In co-op, every player needs the same game version. | +| Apply says MixedStorage cannot change allocations with this game version | A game update changed something MixedStorage relies on. Existing allocations still apply, but none can change (by Apply or Copy settings) until you install the MixedStorage version made for your game version. In co-op, every player needs the same game version. | | Apply shows "Apply failed" | Report it with your Player.log; the message and log say what went wrong. | | Panel or visuals look wrong | Include a screenshot, resolution/UI scale, building type, and allocations in a report. | @@ -103,9 +106,11 @@ Close Timberborn, then disable MixedStorage in the mod manager or delete its fol ## Compatibility and testing -Built against **Timberborn 1.1.2.4**. Multiplayer integration was developed against **BeaverBuddies Stability Preview for Timberborn 1.1**; other builds are not guaranteed compatible. +Built against **Timberborn 1.1.2.4**. -Players have reported successful use of earlier builds, and the **v0.5.8 layout, including the dev-mode panel, and the v0.5.7 storage visuals have been verified in game**; v1.0.0 and v1.1.x leave both unchanged. The v1.0.0 and v1.1.x changes (Duplicate settings, error messages, loading damaged saves, the Supply mode order, the panel's reason for an unavailable Apply, patch order, and leaving mixed storage with a removed good or through the map editor's undo) have not been played in game yet. Automated allocation, geometry, native API, and optional multiplayer loading checks also pass, but these do not replace live gameplay testing. +The bundled multiplayer integration is built against the **[BeaverBuddies Stability Fork](https://github.com/timbermods/BeaverBuddies-Stability-Fork)** (formerly called Stability Preview), which is the build to use. Every Stability Fork release so far, 1.0.0 through 1.1.12, has everything the integration needs; install the latest. At startup, MixedStorage checks the installed BeaverBuddies for every part it uses. If anything is missing, it turns co-op Apply off rather than risk a desync, and Player.log names what is missing. The original [BeaverBuddies](https://github.com/thomaswp/BeaverBuddies) by thomaswp and contributors, and BeaverBuddies MultiColony (Beta), have not been tested with MixedStorage. + +Players have reported successful use of earlier builds, and the **v0.5.8 layout, including the dev-mode panel, and the v0.5.7 storage visuals have been verified in game**; v1.0.0 and v1.1.x leave both unchanged. The v1.0.0 and v1.1.x changes (Copy settings, error messages, loading damaged saves, the Supply mode order, the panel's reason for an unavailable Apply, patch order, and leaving mixed storage with a removed good or through the map editor's undo) have not been played in game yet. Automated allocation, geometry, native API, and optional multiplayer loading checks also pass, but these do not replace live gameplay testing. See the [changelog](CHANGELOG.md) for version history and [developer notes](docs/DEVELOPMENT.md) for build instructions and technical details. diff --git a/docs/DEVELOPMENT.md b/docs/DEVELOPMENT.md index d413607..3dbf9c0 100644 --- a/docs/DEVELOPMENT.md +++ b/docs/DEVELOPMENT.md @@ -2,10 +2,10 @@ ## Build -Use .NET SDK 8 and local Timberborn 1.1.2.4, Harmony, and BeaverBuddies dependencies. From the repository root: +Use .NET SDK 8 and local copies of Timberborn 1.1.2.4, Harmony, and the BeaverBuddies Stability Fork (its `BeaverBuddies.dll`). From the repository root: ```powershell -.\build.ps1 -GameDir 'C:\Games\Timberborn' -HarmonyPath 'C:\Mods\Harmony\0Harmony.dll' -BeaverBuddiesPath 'C:\Mods\BeaverBuddies\version-1.1\BeaverBuddies.dll' +.\build.ps1 -GameDir 'C:\Games\Timberborn' -HarmonyPath 'C:\Mods\Harmony\0Harmony.dll' -BeaverBuddiesPath 'C:\Mods\BeaverBuddies-Stability-Fork\version-1.1\BeaverBuddies.dll' ``` Replace example paths with your installation paths. BeaverBuddies is required to build the bridge, although optional for players. The script builds the base API, compiles the bridge, then rebuilds the main DLL with the bridge embedded. A bootstrap build alone is not a distributable release. Checks run before the unified ZIP is written to `dist/`. The ZIP is made with Windows' `tar.exe`, because `Compress-Archive` in Windows PowerShell 5.1 writes `\` path separators that some macOS and Linux tools extract as flat file names. The staging folder is emptied first, and the ZIP is written under a temporary name and only renamed once its file list is exactly the README, manifest and DLL under `MixedStorage/`. Game and third-party DLLs are referenced locally, not distributed. @@ -18,7 +18,7 @@ The allocation checks need no game files, so GitHub Actions also runs them on ev Percentages use integer units totaling 10,000. Whole-item limits use largest-remainder rounding with ordinal good-ID ordering for ties. Incoming reservations guard against conflicting limit reductions; existing excess stock is preserved. Copy/paste transfers percentages atomically into a draft and rejects incompatible goods. Hauling mode and priority are not copied. In Supply mode a mixed building offers its allocated goods with the most unreserved stock first, ordinal good IDs breaking ties (`AllocationPlan.SupplyCandidates`). Goods without unreserved stock are skipped: the game's search for a building to take one scans the whole district and can only fail, so skipping them never changes which good is carried. Those searches did fill the building's cached road route map, which a few of the game's path queries use only when it is already filled, so co-op players still need the same MixedStorage build. -The game's Duplicate settings tool calls `SingleGoodAllower.DuplicateFrom`. A mixed source applies its allocation to the target through the same checks as Apply. They run before the base game's copy of the single good, so when they reject it that copy is skipped and logged, and the target keeps its allocation or single good whether or not it was mixed. The tool copies each of the building's other settings separately, such as the storage mode (`StockpilePriority`), so those still apply. A source set to store nothing, such as a building just placed, leaves a mixed target's allocation alone (the base game would clear the target's good), so copying the storage mode from a new building does not wipe a tuned allocation, which has no undo. Any other source gives the target that building's single good, as in the base game, so a mixed target first leaves mixed mode (`StorageState.Deactivate`). That is the only way back to the base game's rules. The storage panel stores a single good as a 100% allocation, so such a source is a building given a single good in the goods dropdown of the game's building list (`StockpileDropdownProvider`, which still works on a building without an allocation; `AllowPatch` and `DisallowPatch` ignore it on a mixed one), a warehouse or pile from before the mod, or a storage the mod does not manage, such as the map editor's reserve storage or another mod's storage. Leaving lowers limits too, so it gets Apply's incoming-delivery guard: the base game has room only for the kept good, and none for it while any other good is in stock. A delivery that would no longer fit refuses the copy the same way, before the base game's copy runs. The decision is `AllocationPlan.PlanCopy`, and what the patch then does (leave, run the base game's copy, apply, or log a refusal) is `AllocationPlan.Steps`; the allocation tests cover both. BeaverBuddies replays the tool on every player (`DuplicationEvent`), and the decision reads only simulation state (accepted goods, capacity, stock and reservations), so every player decides the same. Leaving mixed mode announces every formerly allocated good the building accepts, because the game's `InventoryRegistry` caches which buildings have room for each good and only updates a good when it is announced. A good the building does not accept is limited to 0 by the game whatever the allocation says, and a saved allocation can name a good the game no longer knows (after a goods mod is removed), which `InventoryRegistry` would throw on, so neither is announced. During those announcements the visuals are pointed at the representative good, so the pile keeps showing what it holds. Loading also mirrors the save: a mixed building reloaded without an allocation (the map editor's undo) leaves mixed mode the same way, and one reloaded with another allocation announces the goods of both. A building loaded from a save is never mixed before its own load, so a normal save load announces nothing. A redraw queued before a building left mixed mode finds no allocation and puts the native pile back instead of disabling the mixed visuals. +The game's Copy settings tool (called Duplicate settings in the game's code and in these notes) calls `SingleGoodAllower.DuplicateFrom`. A mixed source applies its allocation to the target through the same checks as Apply. They run before the base game's copy of the single good, so when they reject it that copy is skipped and logged, and the target keeps its allocation or single good whether or not it was mixed. The tool copies each of the building's other settings separately, such as the storage mode (`StockpilePriority`), so those still apply. A source set to store nothing, such as a building just placed, leaves a mixed target's allocation alone (the base game would clear the target's good), so copying the storage mode from a new building does not wipe a tuned allocation, which has no undo. Any other source gives the target that building's single good, as in the base game, so a mixed target first leaves mixed mode (`StorageState.Deactivate`). That is the only way back to the base game's rules. The storage panel stores a single good as a 100% allocation, so such a source is a building given a single good in the goods dropdown of the game's building list (`StockpileDropdownProvider`, which still works on a building without an allocation; `AllowPatch` and `DisallowPatch` ignore it on a mixed one), a warehouse or pile from before the mod, or a storage the mod does not manage, such as the map editor's reserve storage or another mod's storage. Leaving lowers limits too, so it gets Apply's incoming-delivery guard: the base game has room only for the kept good, and none for it while any other good is in stock. A delivery that would no longer fit refuses the copy the same way, before the base game's copy runs. The decision is `AllocationPlan.PlanCopy`, and what the patch then does (leave, run the base game's copy, apply, or log a refusal) is `AllocationPlan.Steps`; the allocation tests cover both. BeaverBuddies replays the tool on every player (`DuplicationEvent`), and the decision reads only simulation state (accepted goods, capacity, stock and reservations), so every player decides the same. Leaving mixed mode announces every formerly allocated good the building accepts, because the game's `InventoryRegistry` caches which buildings have room for each good and only updates a good when it is announced. A good the building does not accept is limited to 0 by the game whatever the allocation says, and a saved allocation can name a good the game no longer knows (after a goods mod is removed), which `InventoryRegistry` would throw on, so neither is announced. During those announcements the visuals are pointed at the representative good, so the pile keeps showing what it holds. Loading also mirrors the save: a mixed building reloaded without an allocation (the map editor's undo) leaves mixed mode the same way, and one reloaded with another allocation announces the goods of both. A building loaded from a save is never mixed before its own load, so a normal save load announces nothing. A redraw queued before a building left mixed mode finds no allocation and puts the native pile back instead of disabling the mixed visuals. Every announcement goes through the game's private `SingleGoodAllower.InvokeDisallowedGoodsChangedEvent(string)`, looked up by signature when `ModStarter` starts. If a game update renames or changes it, `ModStarter` logs why and allocations are frozen instead of half-applied: Apply is refused with that reason, and so is every copy that would set or leave an allocation (from a mixed building, or onto one), while copies between single-good buildings work as in the base game. A mixed building stays mixed, and saved allocations keep limiting their buildings. The game still starts: `ModStarter` reads this through `AllocationProblem`, which also reports, rather than throws, a `StorageState` that cannot load at all. Frozen mode depends on the installed game, so every co-op player must run the same game version; BeaverBuddies only warns when they differ, and a player whose game lacks the method would refuse changes the others apply. @@ -32,7 +32,7 @@ Inspection of Timberborn 1.1.2.4's ModCodeStarter showed recursive DLL loading f The main DLL has no BeaverBuddies assembly reference. The bridge is an embedded resource named `MixedStorage.OptionalMultiplayer`, loaded only when BeaverBuddies is present. A scoped assembly resolver finds the already-loaded main mod, bridge, and BeaverBuddies assemblies. Initialization is idempotent. The obsolete separate addon is rejected to prevent conflicting integrations. -The runtime only binds a method's calls into BeaverBuddies when that method first runs, so at startup the bridge looks up every BeaverBuddies member it uses and loads its event type. If the installed BeaverBuddies lacks any of them, the bridge is skipped and Player.log names what is missing, instead of Apply failing silently later. Throwing instead would stop every later mod and the game itself from starting, because the game's mod starter does not catch exceptions. Without the bridge, Apply only changes allocations locally when BeaverBuddies reports no connection (`EventIO.IsNull`); in multiplayer, or when that cannot be read, it is refused with the startup reason, so nobody desyncs. Errors during Apply are shown in the panel's message line and logged in full. +The bridge is compiled against the BeaverBuddies Stability Fork. Every Stability Fork release so far (1.0.0 through 1.1.12) has the members it uses. The runtime only binds a method's calls into BeaverBuddies when that method first runs, so at startup the bridge looks up every BeaverBuddies member it uses and loads its event type (`MultiplayerStarter.CheckCompatibility`). If the installed BeaverBuddies lacks any of them, the bridge is skipped and Player.log names what is missing, instead of Apply failing silently later. Throwing instead would stop every later mod and the game itself from starting, because the game's mod starter does not catch exceptions. Without the bridge, Apply only changes allocations locally when BeaverBuddies reports no connection (`EventIO.IsNull`); in multiplayer, or when that cannot be read, it is refused with the startup reason, so nobody desyncs. Errors during Apply are shown in the panel's message line and logged in full. The bridge sends allocation changes through BeaverBuddies replay events. Its assembly identity differs from the former addon, so historical replay recordings may require the old mod versions. Allocation save keys remain unchanged. diff --git a/site/404.html b/site/404.html index 836649f..c7afa3c 100644 --- a/site/404.html +++ b/site/404.html @@ -51,7 +51,7 @@

That page wandered off

- + diff --git a/site/faq.html b/site/faq.html index f227d31..93766b5 100644 --- a/site/faq.html +++ b/site/faq.html @@ -50,18 +50,18 @@

General

Does it create goods or fill the building for me?

No. Percentages only reserve space. They don't create goods or instantly fill the building. Normal hauling rules decide what arrives and when.

Which buildings does it support?

Folktails: small, medium, and large warehouses; small, large, and underground piles. Iron Teeth: small, medium, and large warehouses; small industrial and large industrial piles.

Buildings keep their normal accepted goods. Tanks and map-editor reserve storage aren't included. See the supported buildings table.

Which Timberborn version does it need?

It's built against Timberborn 1.1.2.4. Other versions aren't guaranteed to work.

-
Why are some releases marked as pre-releases?

Newer builds are published as pre-releases first, and marked as the latest release once they've been checked in game. Automated checks cover the allocation math, geometry, native game API calls, and optional multiplayer loading, but they don't replace live gameplay testing.

Not sure which to download? The download button on this site offers the release marked Latest on GitHub (or, while there is none, the newest pre-release). To try a newer pre-release, choose it on the releases page.

-
Do I need BeaverBuddies?

No. Single-player doesn't need it. You only need BeaverBuddies for multiplayer.

+
Why are some releases marked as pre-releases?

Some builds have been published as pre-releases for testing before a full release. Automated checks cover the allocation math, geometry, native game API calls, and optional multiplayer loading, but they don't replace live gameplay testing.

Not sure which to download? The download button on this site offers the release marked Latest on GitHub (or, while there is none, the newest pre-release). To try a newer pre-release, choose it on the releases page.

+
Do I need BeaverBuddies?

No. Single-player doesn't need it. You only need BeaverBuddies for multiplayer, and the build to use is the BeaverBuddies Stability Fork.

What happens to my existing buildings and saves?

Buildings you haven't given an allocation keep working with the game's normal single-good setting, and the editor starts from that setting. Allocations you apply are saved with the building in your save file, and existing MixedStorage allocations are preserved when you upgrade.

What happens if I remove MixedStorage?

Close Timberborn, then disable MixedStorage in the mod manager or delete its folder. In saves that used it, each mixed building goes back to storing only its largest allocated good. As when you switch a warehouse to a different good in the base game, haulers empty out the other goods, and may move some of the kept good too, before the building fills with it again.

-
Is it an official Timberborn mod?

No. It's an independent community mod and isn't affiliated with Mechanistry.

+
Is it an official Timberborn mod?

No. It's an unofficial community mod and isn't affiliated with or endorsed by Mechanistry.

Using it

Why does the total have to be exactly 100%?

So the building's whole capacity is allocated. Apply stays unavailable until the total is exactly 100%, and the line under the list tells you how much is remaining or over.

What does 0% mean?

A good at 0% is disabled in that building. Leave goods you don't want at 0%.

How precise can percentages be?

Two decimal places, so down to 0.01%.

-
What does Max do? How do I go back to a single good?

Max sets that good to 100% and every other good to 0% in your draft. Click Apply 100% to confirm. That's also how you give one good the whole building again.

To turn a mixed building back into a normal single-good one, use the game's Duplicate settings tool from a normal building that stores a good this one accepts. To make such a building, pick a good for a building without an allocation, such as one just built, in the goods dropdown of the game's building list. If a delivery already on its way would no longer fit, the building stays mixed and Player.log says why; copy again once it has arrived. Once it is a normal building, clearing its good in that dropdown makes it store nothing. Copying from a building set to store nothing leaves the allocation as it is.

+
What does Max do? How do I go back to a single good?

Max sets that good to 100% and every other good to 0% in your draft. Click Apply 100% to confirm. That's also how you give one good the whole building again.

To turn a mixed building back into a normal single-good one, use the game's Copy settings tool from a normal building that stores a good this one accepts. To make such a building, pick a good for a building without an allocation, such as one just built, in the goods dropdown of the game's building list. If a delivery already on its way would no longer fit, the building stays mixed and Player.log says why; copy again once it has arrived. Once it is a normal building, clearing its good in that dropdown makes it store nothing. Copying from a building set to store nothing leaves the allocation as it is.

Are my edits applied immediately?

No. Edits are drafts until you click Apply. Revert discards them, and Clear all clears the draft. Current allocations stay active until you apply a valid replacement.

-
Can I copy an allocation to other buildings?

Yes. Click Copy allocations, select another building, click Paste allocations, then Apply. Item limits are recalculated for the destination's capacity, and the destination must accept every copied good with a nonzero percentage. Stock, hauling mode, and hauler priority aren't copied, and the copied settings last only for the current game session.

The game's own Duplicate settings tool works too and applies the percentages straight away. If the target doesn't accept all of those goods, or an incoming delivery conflicts, the target keeps its current goods and percentages and Player.log says why. The tool's other settings, such as the storage mode, are still copied.

+
Can I copy an allocation to other buildings?

Yes. Click Copy allocations, select another building, click Paste allocations, then Apply. Item limits are recalculated for the destination's capacity, and the destination must accept every copied good with a nonzero percentage. Stock, hauling mode, and hauler priority aren't copied, and the copied settings are kept only until you close the game.

The game's own Copy settings tool works too and applies the percentages straight away. If the target doesn't accept all of those goods, or an incoming delivery conflicts, the target keeps its current goods and percentages and Player.log says why. The tool's other settings, such as the storage mode, are still copied.

Do Accept, Obtain, Supply, Empty, and hauler priority still work?

Yes. Those continue to use the game's own hauling system.

Does the summary at the top change when I search or filter?

No. It always shows the applied settings and actual stock, including incoming and excess goods, regardless of search or filters.

Limits and stock

@@ -73,9 +73,10 @@

In the world

Why doesn't the visual split match my percentages exactly?

Whole visible cells can't always match a percentage exactly. Tiny shares may have no visible cell, some models may look narrower, and excess goods may not be fully represented. Use the summary for exact amounts.

Why does the banner show only one good?

Banners are single-good by design and show one representative good. If a model can't be divided, MixedStorage falls back to the original visuals.

Multiplayer and compatibility

-
Does it work in multiplayer?

Yes, through BeaverBuddies. Install the same MixedStorage version on every computer, alongside matching BeaverBuddies versions and Harmony. Applied allocations synchronize through BeaverBuddies, and Apply may briefly show a queued message until the next simulation tick.

+
Does it work in multiplayer?

Yes, through the BeaverBuddies Stability Fork. Every player installs the same version of MixedStorage (and the same Stability Fork build) and runs the same game version. Applied allocations synchronize through BeaverBuddies, and Apply may briefly show a queued message until the next simulation tick.

Is there a separate multiplayer add-on?

No. The integration is bundled and switches on automatically when BeaverBuddies is present. If you still have the old MixedStorage-BeaverBuddies add-on, remove or disable it.

-
What about old multiplayer replay recordings?

Old recordings may reference the former add-on and may need the original mod versions. The integration was developed against BeaverBuddies Stability Preview for Timberborn 1.1, and other builds aren't guaranteed to be compatible.

+
What about old multiplayer replay recordings?

Old recordings may reference the former add-on and may need the original mod versions.

+
Which BeaverBuddies builds work?

The integration is built against the Stability Fork (formerly called Stability Preview), and every Stability Fork release so far, 1.0.0 through 1.1.12, has everything it needs. Install the latest. At startup MixedStorage checks the installed BeaverBuddies, and if something is missing it turns multiplayer Apply off and names what's missing in Player.log. The original BeaverBuddies and BeaverBuddies MultiColony (Beta) haven't been tested with MixedStorage.

Is it compatible with other mods?

Other mods haven't been specifically tested. If you run into a conflict, open an issue and list your enabled mods.

Is MixedStorage translated?

No. The mod's own text is in English. Good names follow your game language.

The project

@@ -91,7 +92,7 @@

The project

- + diff --git a/site/index.html b/site/index.html index 696e949..3e3eae8 100644 --- a/site/index.html +++ b/site/index.html @@ -90,10 +90,10 @@

Divide a building's capacity, good by good

Mix goods by percentage

Give any good the building normally accepts a share of its capacity, down to 0.01%. Shares must total exactly 100%, so every slot has a purpose.

Stock at a glance

Summary cards show each good's icon, stored / limit count, allocated percentage, and a fill bar, including incoming deliveries and excess stock.

-

Quick setup

Search the goods list, show only allocated goods, click Max to give one good everything, or copy an allocation and paste it into another compatible building. The game's own Duplicate settings tool copies allocations too. Edits stay drafts until you Apply.

+

Quick setup

Search the goods list, show only allocated goods, click Max to give one good everything, or copy an allocation and paste it into another compatible building. The game's own Copy settings tool copies allocations too. Edits stay drafts until you Apply.

Safe with your stock

Lowering a limit never deletes goods. Extras are flagged as excess and leave the normal way, and deliveries already on their way are counted before a change is accepted.

Visible in the world

Warehouses and piles show the mix using the game's own goods models, divided by allocation. The panel always has the exact numbers.

-

Multiplayer-ready

BeaverBuddies support is built in and switches on automatically when BeaverBuddies is installed. Applied allocations synchronize between players.

+

Multiplayer-ready

Co-op support for the BeaverBuddies Stability Fork is built in and switches on automatically when it is installed. Applied allocations synchronize between players.

Looks native

Uses the game's own panel frames, buttons, input fields, checkbox, and scrollbar.

@@ -107,7 +107,7 @@

Divide a building's capacity, good by good

Try it

Play with the real panel

-

This is a working copy of the Storage Allocation panel, styled like the game. Edit percentages, then Apply, just as you would in Timberborn. It uses the mod's own rounding and messages.

+

This is a working copy of the Storage Allocation panel, styled like the game. Edit percentages, then Apply, as you would in Timberborn. It uses the mod's own rounding and messages.

@@ -133,7 +133,7 @@

Play with the real panel

Things to try

  1. Every good a Folktails warehouse accepts is in the list. Use Search or scroll, set Bread to 25 and Wheat flour to 75, then press Apply 100%. Bread is now over its new limit. Lowering a limit never deletes stock, so the extra shows as excess.
  2. -
  3. Type 60 next to 50. The total turns red and Apply stays unavailable until it's exactly 100%.
  4. +
  5. Type 60 into another good's box. The total turns red and Apply stays unavailable until it's exactly 100%.
  6. Load A tiny share to see the panel warn that a good rounds to 0 items.
  7. Press Copy allocations, switch to the other building, then Paste. The percentages carry over and the limits are recalculated for the new capacity.
@@ -233,7 +233,7 @@

Warehouses and piles, both factions

Game

Built against Timberborn 1.1.2.4.

Requires

Harmony 2.4.1 or newer, enabled alongside MixedStorage.

-

Optional

BeaverBuddies for multiplayer. Support is bundled; there's no separate add-on.

+

Optional

The BeaverBuddies Stability Fork for multiplayer. Support is bundled; there's no separate add-on.

@@ -255,7 +255,7 @@

Up and running in three steps

Project status

-

MixedStorage 1.1.1 is the current release. Its panel layout and storage visuals are unchanged from v0.5.8, which was checked in game. The changes since then (the game's Duplicate settings tool, clearer error messages, loading damaged saves, the Supply mode order, the reason shown when Apply is unavailable, patch order, and in 1.1.1 leaving mixed storage safely) haven't been played in game yet. Players have reported successful use of earlier builds, and automated checks cover the allocation math, mesh geometry, native game API calls, and optional multiplayer loading. Those checks don't replace live gameplay testing, particularly for multiplayer.

+

MixedStorage 1.1.1 is the current release. Its panel layout and storage visuals are unchanged from v0.5.8, which was checked in game. The changes since then (the game's Copy settings tool, clearer error messages, loading damaged saves, the Supply mode order, the reason shown when Apply is unavailable, patch order, and in 1.1.1 leaving mixed storage safely) haven't been played in game yet. Players have reported successful use of earlier builds, and automated checks cover the allocation math, mesh geometry, native game API calls, and optional multiplayer loading. Those checks don't replace live gameplay testing, particularly for multiplayer.

Found something odd? Check the troubleshooting guide or open an issue.

@@ -279,7 +279,7 @@

Ready to mix things up?

- +
diff --git a/site/install.html b/site/install.html index efd4906..6b7f2d5 100644 --- a/site/install.html +++ b/site/install.html @@ -55,7 +55,7 @@

Requirements

Timberborn 1.1.2.4

The version MixedStorage is built and tested against. Other versions aren't guaranteed.

Harmony 2.4.1 or newer

A required mod. Get it from the Steam Workshop if you don't have it.

-

BeaverBuddies (optional)

Only for multiplayer. Single-player doesn't need it.

+

BeaverBuddies Stability Fork (optional)

Only for multiplayer. Single-player doesn't need it.

@@ -130,7 +130,7 @@

The controls

-

Percentages allow two decimal places. Copy and paste adjusts item limits to the destination's capacity, and the destination must accept every copied good with a nonzero percentage. Stock, hauling mode, and hauler priority are not copied. Copied settings last only for the current game session.

+

Percentages allow two decimal places. Copy and paste adjusts item limits to the destination's capacity, and the destination must accept every copied good with a nonzero percentage. Stock, hauling mode, and hauler priority are not copied. Copied settings are kept until you close the game.

@@ -148,12 +148,13 @@

Coming from v0.4.x or earlier?

Multiplayer with BeaverBuddies

    -
  • Install the same MixedStorage version on every computer, alongside matching BeaverBuddies versions and Harmony.
  • -
  • Enable BeaverBuddies as usual. MixedStorage automatically turns on its bundled integration.
  • +
  • Co-op needs the BeaverBuddies Stability Fork.
  • +
  • Every player installs the same version of MixedStorage (and the same Stability Fork build) and runs the same game version.
  • +
  • Enable the Stability Fork as usual. MixedStorage automatically turns on its bundled integration.
  • There is no separate MixedStorage multiplayer download.
  • After upgrading, restart every computer's game and start a fresh multiplayer session.
-

The multiplayer integration was developed against BeaverBuddies Stability Preview for Timberborn 1.1. Other builds aren't guaranteed to be compatible.

+

The integration is built against the Stability Fork (formerly called Stability Preview), and every Stability Fork release so far, 1.0.0 through 1.1.12, has everything it needs. Install the latest. The original BeaverBuddies and BeaverBuddies MultiColony (Beta) haven't been tested with MixedStorage.

@@ -165,7 +166,7 @@

Multiplayer with BeaverBuddies

- + diff --git a/site/troubleshooting.html b/site/troubleshooting.html index 87b05a8..efe8263 100644 --- a/site/troubleshooting.html +++ b/site/troubleshooting.html @@ -55,19 +55,19 @@

Common problems

MixedStorage won't enable, or Harmony is missing

Why it happens

MixedStorage requires Harmony 2.4.1 or newer, and declares it as a required mod.

What to do

Install Harmony from the Steam Workshop, enable both Harmony and MixedStorage in the mod manager, and restart when prompted.

A startup error mentions the old MixedStorage-BeaverBuddies add-on

Why it happens

Since v0.5.0, multiplayer support is built into MixedStorage. The old separate add-on conflicts with it, and MixedStorage stops with this message: “MixedStorage now includes multiplayer support. Remove or disable the old MixedStorage-BeaverBuddies addon and restart Timberborn.”

What to do

Remove or disable MixedStorage-BeaverBuddies, then fully restart Timberborn. Keep BeaverBuddies itself if you play multiplayer.

An error says the bundled multiplayer integration is missing

Why it happens

BeaverBuddies is loaded, but the MixedStorage file doesn't contain its embedded multiplayer integration. That happens with a partial or incorrectly built copy. The message reads: “MixedStorage's bundled multiplayer integration is missing. Reinstall the complete release.”

What to do

Close the game, delete the existing MixedStorage folder from your Mods folder, and install the ZIP from the official release again.

-
Apply says multiplayer support could not start with the installed BeaverBuddies

Why it happens

MixedStorage's multiplayer support is built for a specific BeaverBuddies build. If the installed BeaverBuddies lacks something it needs, MixedStorage switches its multiplayer support off rather than let players' games drift out of sync, and writes the reason to Player.log at startup. The game still starts, and single-player allocations usually still work.

What to do

  • Install the BeaverBuddies build MixedStorage was developed against, BeaverBuddies Stability Preview for Timberborn 1.1, on every computer.
  • For single-player, you can also disable BeaverBuddies.
  • Search Player.log for [MixedStorage] to see what's missing, and include that line if you report it.
+
Apply says multiplayer support could not start with the installed BeaverBuddies

Why it happens

MixedStorage's multiplayer support is built against the BeaverBuddies Stability Fork. If the installed BeaverBuddies lacks something it needs, MixedStorage switches its multiplayer support off rather than let players' games drift out of sync, and writes the reason to Player.log at startup. The game still starts, and single-player allocations usually still work.

What to do

  • Install the latest BeaverBuddies Stability Fork on every computer. Every Stability Fork release so far, 1.0.0 through 1.1.12, has what MixedStorage needs. The original BeaverBuddies and BeaverBuddies MultiColony (Beta) haven't been tested with it.
  • For single-player, you can also disable BeaverBuddies.
  • Search Player.log for [MixedStorage] to see what's missing, and include that line if you report it.
Apply shows “Apply failed”

Why it happens

Something unexpected went wrong while applying the allocation. The panel shows a short reason, and Player.log has the full details.

What to do

Report it with the Player.log lines that start with [MixedStorage] and the steps that led to it.

-
A building lost its allocation

Why it happens

  • The game's Duplicate settings tool was used from a normal building. That turns a mixed building back into a normal single-good one, the same way it copies a single good between normal buildings.
  • Its saved allocation couldn't be read, for example because the save file was damaged. MixedStorage skips it rather than stop the whole save from loading. The building keeps its normal single good, and Player.log has a line starting [MixedStorage] Ignoring an unreadable saved allocation.

What to do

Set the percentages again and click Apply 100%. If a save keeps losing allocations, report it with that log line.

-
Duplicate settings didn't copy my allocation

Why it happens

The game's Duplicate settings tool applies a mixed building's percentages to the target straight away, using the same checks as Apply. If the target doesn't accept every allocated good, or an incoming delivery conflicts with a lower limit, the allocation isn't copied and the target keeps its current goods and percentages. The tool's other settings, such as the storage mode, are still copied. Copying from a normal building, which turns a mixed building back into a normal one, is skipped the same way when a delivery already on its way would no longer fit. Player.log has a line starting [MixedStorage] Copied allocations were not applied with the reason.

What to do

Copy to a building that accepts the same goods, or wait for incoming deliveries to finish and copy again. For a building that accepts different goods, set its percentages in its own Storage Allocation panel.

+
A building lost its allocation

Why it happens

  • The game's Copy settings tool was used from a normal building. That turns a mixed building back into a normal single-good one, the same way it copies a single good between normal buildings.
  • Its saved allocation couldn't be read, for example because the save file was damaged. MixedStorage skips it rather than stop the whole save from loading. The building keeps its normal single good, and Player.log has a line starting [MixedStorage] Ignoring an unreadable saved allocation.

What to do

Set the percentages again and click Apply 100%. If a save keeps losing allocations, report it with that log line.

+
Copy settings didn't copy my allocation

Why it happens

The game's Copy settings tool applies a mixed building's percentages to the target straight away, using the same checks as Apply. If the target doesn't accept every allocated good, or an incoming delivery conflicts with a lower limit, the allocation isn't copied and the target keeps its current goods and percentages. The tool's other settings, such as the storage mode, are still copied. Copying from a normal building, which turns a mixed building back into a normal one, is skipped the same way when a delivery already on its way would no longer fit. Player.log has a line starting [MixedStorage] Copied allocations were not applied with the reason.

What to do

Copy to a building that accepts the same goods, or wait for incoming deliveries to finish and copy again. For a building that accepts different goods, set its percentages in its own Storage Allocation panel.

There's no Storage Allocation panel when I select a building

Why it happens

Only the supported warehouses and piles get the panel. Tanks, map-editor reserve storage, and other storage buildings don't. It's also missing if the mod isn't enabled or failed to load.

What to do

  1. Compare your building with the supported list.
  2. Confirm MixedStorage and Harmony are both enabled.
  3. Search Player.log for [MixedStorage]. A working install logs a “loaded” line at startup, and a failure shows an error there.
-
Apply 100% is grayed out

Why it happens

Apply only unlocks when the draft is valid. The line under the goods list tells you which rule you're breaking:

  • Enter valid percentages (0–100, 2 decimals): one box has something invalid, such as letters, a negative number, more than two decimals, or a value over 100.
  • NN% / 100% — NN% remaining (or over): the total must be exactly 100%.
  • A good with a nonzero percentage isn't accepted by this building. Set it to 0%.
  • A multiplayer change is queued and hasn't been applied yet.

What to do

Fix the box or total the message points at. Max on one good gives you a valid draft instantly, and Revert restores the current settings. If a multiplayer change is queued, wait a moment for the next simulation tick.

+
Apply 100% is grayed out

Why it happens

Apply only unlocks when the draft is valid. The line under the goods list tells you which rule you're breaking:

  • Enter valid percentages (0–100, 2 decimals): one box has something invalid, such as letters, a negative number, more than two decimals, or a value over 100.
  • NN% / 100% — NN% remaining (or over): the total must be exactly 100%.
  • Set unavailable goods to 0% before applying: a good marked “(not accepted here)” or “(unavailable)” still has a percentage. A saved allocation can hold one after a goods mod is removed. Set it to 0%.
  • A multiplayer change is queued and hasn't been applied yet.

What to do

Fix the box or total the message points at. Max on one good gives you a valid draft instantly, and Revert restores the current settings. If a multiplayer change is queued, wait a moment for the next simulation tick.

Apply says “Wait for incoming deliveries to finish before lowering their limits”

Why it happens

Haulers are already carrying goods to this building, and the new limit would be lower than what's stored plus what's on its way. Incoming deliveries count toward limits.

What to do

Wait for the deliveries to finish, then click Apply again.

-
Paste allocations is grayed out or rejected

Why it happens

  • Nothing has been copied yet. Copy allocations works only on a valid draft totaling 100%.
  • Copied settings last only for the current game session, so restarting the game forgets them.
  • The destination must accept every good with a nonzero copied percentage. Otherwise you'll see “Cannot paste: this building does not accept all copied goods. Draft unchanged.”

What to do

Copy from a valid building, select a compatible destination, click Paste, and then click Apply to confirm. Stock, hauling mode, and hauler priority are never copied.

+
Paste allocations is grayed out or rejected

Why it happens

  • Nothing has been copied yet. Copy allocations works only on a valid draft totaling 100%.
  • Copied settings are kept only until you close the game, so restarting the game forgets them.
  • The destination must accept every good with a nonzero copied percentage. Otherwise you'll see “Cannot paste: this building does not accept all copied goods. Draft unchanged.”

What to do

Copy from a valid building, select a compatible destination, click Paste, and then click Apply to confirm. Stock, hauling mode, and hauler priority are never copied.

One of my goods has a limit of 0

Why it happens

Percentages become whole-item limits, and a tiny share of a small building can round down to zero items. The panel warns you: “N allocated good(s) round to 0 items. Increase their shares or use larger storage.” The limits still add up to the building's full capacity.

What to do

Increase that good's share, or use a larger storage building. The demo on the home page shows how the rounding works.

Stock is above the limit and shows as “excess”

Why it happens

You lowered a limit or changed the split while goods were already stored. MixedStorage never deletes goods; it flags the extras as excess in the summary.

What to do

Nothing is broken. The extra goods stay until they're used or hauled out through the game's normal hauling rules.

Goods aren't arriving after I Apply

Why it happens

Allocations reserve space. They don't create goods or move them. Normal hauling rules still decide what arrives and when.

What to do

Check the building's storage mode (Accept, Obtain, Supply, or Empty), hauler priority, and that the goods actually exist in the same district. Then let your haulers work.

The goods in the world look wrong, narrow, or show only one good

Why it happens

The in-world split is approximate on purpose. Whole visible cells can't always match a percentage exactly. Tiny shares may have no visible cell, some models look narrower, banners show one representative good, and excess goods may not be fully represented.

What to do

Use the summary cards for exact amounts. If a model can't be divided, MixedStorage falls back to the original visuals. If something looks truly broken, report it with a screenshot.

-
Multiplayer: Apply says “Queued for multiplayer”, or players see different settings

Why it happens

In multiplayer, applied allocations synchronize through BeaverBuddies, so Apply may briefly show a queued message until the next simulation tick. That's normal. Different settings between players usually mean mismatched installs.

What to do

  • Install the same MixedStorage version, matching BeaverBuddies versions, and Harmony on every computer.
  • After upgrading, restart every computer's game and start a fresh multiplayer session.
  • Old replay recordings may reference the former add-on and may need the original mod versions.
+
Multiplayer: Apply says “Queued for multiplayer”, or players see different settings

Why it happens

In multiplayer, applied allocations synchronize through BeaverBuddies, so Apply may briefly show a queued message until the next simulation tick. That's normal. Different settings between players usually mean mismatched installs.

What to do

  • Every player installs the same version of MixedStorage (and the same Stability Fork build) and runs the same game version.
  • After upgrading, restart every computer's game and start a fresh multiplayer session.
  • Old replay recordings may reference the former add-on and may need the original mod versions.
The panel looks cut off or misplaced at my resolution or UI scale

Why it happens

The editor is sized to your window and shares the entity window with the game's own panels. Older versions could push the Construction site panel off the bottom of the screen on unfinished buildings.

What to do

Update to the newest release. v0.5.5 fixed the cut-off Construction site panel, and v0.5.8 keeps the dev-mode panel on screen too. If it still looks wrong, report it with a screenshot, your resolution and UI scale, the building type, and its allocations.

@@ -98,7 +98,7 @@

Where the logs are

- + From daac68e6ef719540020a7bc463f206ce35c8e929 Mon Sep 17 00:00:00 2001 From: Kyler Ramsey Date: Tue, 22 Sep 2026 12:16:43 -0700 Subject: [PATCH 2/2] Docs: license under Timbermods as the copyright holder Co-Authored-By: Claude Opus 5.5 --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index 889aa57..9e2e92d 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2026 Kyler Ramsey +Copyright (c) 2026 Timbermods Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal