From 9b80251f01b082f9b63095b034cfd44d9804d0f2 Mon Sep 17 00:00:00 2001 From: Kyler Ramsey Date: Thu, 24 Sep 2026 01:34:07 -0700 Subject: [PATCH] README and site: short and plain, for players The README (85 -> 77 lines, 1224 -> 703 words) and the four site pages rewritten in the new writing style: one idea per sentence, labels exactly as in game, each thing said once, no internals and no history. Every fact checked against the code and the localization CSV. - README: the contradictory "features new in 1.1.0 have not been playtested" line is gone. "Played extensively" is said once, in a Status section that matches the site's word for word. "New in 1.1.0" / "Earlier versions" are dropped (the release notes carry them; the README links there). Build, checks and how it works moved to a new DEVELOPING.md. - Site: shorter answers, troubleshooting fixes as numbered steps, the FAQ build answer links to DEVELOPING.md, and the hero status note links to the status section instead of repeating it. - CLAUDE.md: new "Writing README and website text" section; content rules and the release checklist point at it. PRODUCT.md: the voice line, and version history now lives in the release notes. Co-Authored-By: Claude Opus 5.5 --- CLAUDE.md | 32 ++++++++-- DEVELOPING.md | 29 +++++++++ PRODUCT.md | 9 +-- README.md | 98 ++++++++++++++---------------- docs/faq.html | 42 ++++++------- docs/index.html | 30 +++++----- docs/install.html | 47 +++++++-------- docs/troubleshooting.html | 123 ++++++++++++++++++++++---------------- 8 files changed, 233 insertions(+), 177 deletions(-) create mode 100644 DEVELOPING.md diff --git a/CLAUDE.md b/CLAUDE.md index 2bd545d..a12cc1c 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -20,6 +20,25 @@ in `source/`, game assets and localization in `packaging/PersistentWorkAreas/ver (`packaging/PersistentWorkAreas/version-1.1/Localizations/enUS_PersistentWorkAreas.csv`), the release notes. Where the site and README disagree, the README wins (for example co-op: every player installs the same version). +## Writing README and website text + +Kyler, 2026-09-24: "simplicity and elegance is effective and desirable." Every change to the README, the website +text and the player docs follows these rules. + +- **Write for a Timberborn player** who wants to download, install and use the mod. Developer detail goes in + `DEVELOPING.md` (build, checks, how it works), `VALIDATION.md` (what is tested) or the GitHub release notes + (version history); link to it rather than repeating it. +- **Short.** One idea per sentence, most under about 20 words. A paragraph or FAQ answer is one to three sentences, + a troubleshooting answer a few numbered steps. +- **Lead with the action.** Menu paths as arrow chains; on-screen labels in bold, exactly as in game. +- **Say each thing once**, where a player would look for it; link to it elsewhere. +- **Plain words.** No internals (class names, ids, formats) unless the player needs them to act. +- **Cut** filler, repeated caveats, edge cases a player won't meet, and history ("since …", "no longer", older + builds). Describe the mod as it is now. +- **Check every fact against the code** before writing it; changelogs lag. +- **Keep, briefly:** credits, the unofficial line, the status, and safety facts. +- **Reread as a new player before publishing.** Every step works as written, and nothing is said twice. + ## Website - **Where:** `docs/`: `index.html` (Overview), `install.html`, `troubleshooting.html`, `faq.html`, `404.html`, @@ -81,10 +100,12 @@ in `source/`, game assets and localization in `packaging/PersistentWorkAreas/ver ### Content rules -- Describe the mod as it is now. No "New in", "added in", "since version" on player pages; version history lives in - the README's "New in …" / "Earlier versions" and the GitHub release notes (no CHANGELOG file). Upgrade facts players +- All text follows *Writing README and website text* above. +- Describe the mod as it is now. No "New in", "added in", "since version" in the README or on player pages; version + history lives in the GitHub release notes (no CHANGELOG file), and the README links to them. Upgrade facts players need (replace the whole folder; pins are kept) are the exception. -- Status matches README/VALIDATION exactly. Every current feature has been played extensively in game (1.1.0 on +- Status matches README/VALIDATION exactly: the README's Status lists and the site's `#status` lists are word for + word the same, and "played extensively" is said there only. Every current feature has been played extensively in game (1.1.0 on 1.1.2.4), so none carries the marker today. A new feature not yet played gets `Checked, not played in game yet.` after it, and loses it once played. Never invent numbers, reviews, screenshots, download counts. No og image exists; don't fake one. @@ -111,7 +132,8 @@ in `source/`, game assets and localization in `packaging/PersistentWorkAreas/ver ### Update the website for a new release -When asked to "update the website for the latest release, consistent with the design": +When asked to "update the website for the latest release, consistent with the design" (write every change by +*Writing README and website text* above): 1. Read the release and the docs: `gh release list -R timbermods/PersistentWorkAreas -L 5`, `gh release view -R timbermods/PersistentWorkAreas`, README, VALIDATION.md, the localization CSV, `packaging/PersistentWorkAreas/version-1.1/manifest.json`. List every player-facing change. @@ -119,7 +141,7 @@ When asked to "update the website for the latest release, consistent with the de `grep -rnE "1\.1\.2\.4|version-1\.1|142|\b77\b|\b65\b|unplayed|Not played|playtested" docs`. There is no version number in the static HTML (the badge is filled by site.js), and no `data-release-pinned`. The places: - `index.html`: `` and `og:description`; hero `.facts` (three) and `.status-note` - ("Stable." + played summary); `#features` move sheets; `#how` legend (outlines / doesn't); `#details` + ("Stable.", the version badge and the link to `#status`); `#features` move sheets; `#how` legend (outlines / doesn't); `#details` notes sheet; `#compat` title block (Game version, Other mods, Co-op, Saves); `#status` Tested / Not played yet (check counts, game version); `.cta` install steps. - `install.html`: `#requirements` (game version), zip name pattern, the folder tree (`version-1.1` and its diff --git a/DEVELOPING.md b/DEVELOPING.md new file mode 100644 index 0000000..1b7934a --- /dev/null +++ b/DEVELOPING.md @@ -0,0 +1,29 @@ +# Developing Persistent Work Areas + +The [README](README.md) and the [website](https://timbermods.github.io/PersistentWorkAreas/) are for players. This page is for building and checking the mod. + +## How it works + +It is a local display only. It does not patch game methods, change simulation or building data, send multiplayer events, or modify saves; the pins live in their own small local file. It uses the same navigation queries as the game's selected-building visualizer and a separate instance of its outline renderer. The renderer reflection is isolated in `source/NativeOutline.cs`; if it fails, pinning turns off for that map only. + +The BeaverBuddies Stability Fork's co-op join check compares only the game and BeaverBuddies builds, so this mod doesn't affect joining. + +[VALIDATION.md](VALIDATION.md) has the details: the pin file, refresh planning, what the checks cover and the release playtest checklist. + +## Build from source + +Install the .NET 8 SDK and have Timberborn installed, then run: + +```powershell +.\build.ps1 -GameDir 'C:\Program Files (x86)\Steam\steamapps\common\Timberborn' +``` + +The script builds the mod, runs every check, and creates `dist\PersistentWorkAreas-v.zip`, with the version from `manifest.json`. No game, Unity, Harmony, or BeaverBuddies DLLs are redistributed. The game DLLs are used only as build references. + +Without the game, `dotnet run --project tests/Checks.csproj -c Release` runs only the checks that need no game files (pin, refresh-planning, planting-tool and pin-file logic) and reports the rest as skipped. GitHub Actions runs them for pull requests and pushes to `main`. + +## Text and releases + +All UI text is in `packaging/PersistentWorkAreas/version-1.1/Localizations/enUS_PersistentWorkAreas.csv`; the checks confirm the DLL has no hard-coded UI text. + +Version history is in the GitHub release notes. When a release becomes Latest, `.github/workflows/latest-release.yml` updates the README lines ending in `` and the site's version text. diff --git a/PRODUCT.md b/PRODUCT.md index 92ec3d7..1869d8c 100644 --- a/PRODUCT.md +++ b/PRODUCT.md @@ -149,9 +149,9 @@ community range-overlay mods is on record; don't invent one. Timber Together, frame rate in a very large colony, every other mod. Say so plainly in the "What is tested, and what isn't" section, without alarm. A feature added later and not yet played carries "Checked, not played in game yet." next to it until it is. -- **Describe the mod as it is now.** Version history belongs in the changelog: the README's "New in 1.1.0" / "Earlier - versions" and the GitHub release notes (there is no separate CHANGELOG file). The site has no "since version" or - "new in" lines; keep it that way. Keep only the upgrade facts players need: +- **Describe the mod as it is now.** Version history belongs in the GitHub release notes (there is no separate + CHANGELOG file); the README links to them. The site and README have no "since version" or "new in" lines; keep it + that way. Keep only the upgrade facts players need: close the game, replace the whole `PersistentWorkAreas` folder (copying only the DLL shows raw text keys), pins are kept because they live outside the mod folder. - **Sources of truth:** `README.md`, `VALIDATION.md`, the localization CSV and the release notes. Where the site and @@ -160,7 +160,8 @@ community range-overlay mods is on record; don't invent one. ## Brand Commitments - **Voice:** a fellow player explaining a small, useful mod. Clear, exact, friendly, never hype. Short sentences; the - exact names players see in game. + exact names players see in game. Short and plain: one idea per sentence, each thing said once, no internals and no + history (see CLAUDE.md, *Writing README and website text*). - **Native fidelity is the claim:** the outline is the game's own; the site's illustrations say they're illustrations ("Interactive illustration, not a game screenshot.") until real screenshots exist. - **No official Timberborn logos or key art.** The game's own item and building icons are allowed where used (none are diff --git a/README.md b/README.md index 575bbdc..3478cc9 100644 --- a/README.md +++ b/README.md @@ -1,85 +1,77 @@ # Persistent Work Areas -Keep a building's working-area outline visible after deselecting it, including while painting crops, planting trees, or using other tools. +A Timberborn mod that keeps a building's working-area outline on screen after you deselect it. Plant, build and plan with the outline in view. -**Website:** has the feature overview, an install guide, troubleshooting, and an FAQ. +**Website:** : overview, install guide, troubleshooting and FAQ. -## New in 1.1.0 - -- **Planting tools show their planters.** Pick a crop or tree in the planting tools and the working areas of every building that can plant it appear on their own: farmhouses for crops, aquatic farmhouses for aquatic crops, and foresters for trees and bushes, including ones still under construction. They disappear when you leave the tool. **Clear pinned areas** clears only your pins. -- **Pins are remembered.** Each settlement's pins are kept on your own computer in `PersistentWorkAreas\Pins.txt`, next to your Timberborn `Saves` folder, and come back when you load that settlement. They are never written into the save, so each co-op player keeps their own. -- **Faster refreshes with many pins.** A path or terrain change now re-checks only the pinned buildings it can reach, and selecting a pinned building no longer recalculates every pin. -- **Translatable text.** All UI text now comes from `Localizations/enUS_PersistentWorkAreas.csv`, so a translation is one more CSV. The English text is unchanged. +## Install -When updating, replace the whole `PersistentWorkAreas` folder. The new DLL reads its text from the CSV, so copying only the DLL over 1.0.0 shows raw keys. +1. Close Timberborn. +2. Download `PersistentWorkAreas-v1.1.0.zip` from **Assets** on the [latest release](https://github.com/timbermods/PersistentWorkAreas/releases/latest). Don't use the `-source.zip` or the **Source code** archives. +3. Extract it into your Timberborn `Mods` folder, normally `Documents\Timberborn\Mods`. You should get `Mods\PersistentWorkAreas\version-1.1\manifest.json`, with `PersistentWorkAreas.dll` beside it. +4. Start Timberborn and enable **Persistent Work Areas** in the mod manager. Restart if asked. -1.1.0 passes 142 automated checks and has been playtested extensively in game. +You need Timberborn **1.1.2.4** or a compatible 1.1 build. No other mods are needed: not Harmony, Mod Settings or BeaverBuddies. -### Earlier versions +**To update,** close the game and replace the whole `PersistentWorkAreas` folder, not just the DLL. Your pins are kept. -- **1.0.0:** First stable release, with no behavior changes from 0.1.3, tested in game single-player and in a two-player BeaverBuddies Stability Fork session. The game-log line reads its version number from the mod itself, and the release zip uses standard `/` folder separators. -- **0.1.3:** Documentation correction only. The game itself draws a Builder's Hut's range outline while it is selected; that is vanilla behavior, not something this mod adds or changes. -- **0.1.2:** Builder's Huts can no longer be pinned, so they no longer show a "Working area" panel. -- **0.1.1:** The pin control gained a clearly drawn checkbox, an ON/OFF badge, a bordered panel, and hover/keyboard-focus highlighting. -- **0.1.0:** First preview. +## Pin a working area -## Install +1. Select a farmhouse, forester, lumberjack flag, gatherer or another building that shows a working area. +2. In its **WORKING AREA** section, click **Keep working area visible** so it reads **ON**. +3. Deselect the building. The outline stays while you plant, build or use other tools. -1. Close Timberborn. -2. Download `PersistentWorkAreas-v1.1.0.zip` from **Assets** on the [latest release](https://github.com/timbermods/PersistentWorkAreas/releases/latest). Don't use the `-source.zip` or the **Source code** archives. -3. Extract it into your Timberborn `Mods` folder (normally `Documents\Timberborn\Mods`). The result should be `Mods\PersistentWorkAreas\version-1.1\manifest.json` with `PersistentWorkAreas.dll` beside it. -4. Start Timberborn and enable **Persistent Work Areas** in the mod manager. Restart if prompted. +Pin as many buildings as you like. Overlapping areas merge into one outline. Deleting a pinned building removes its pin. -Requires Timberborn **1.1.2.4** or a compatible 1.1 build. Built and tested on Timberborn 1.1.2.4. Later versions may change the internal renderer API. +## Planting tools -No other mods are required: not Harmony, Mod Settings or BeaverBuddies. The mod works the same in single-player and in co-op. If you play co-op with the BeaverBuddies Stability Fork, keep that installation as it is. For co-op, every player installs the same version of the mod and runs the same game version; that is the tested setup. Pins are always local to each player. The mod sends nothing over the network, so a player without it shouldn't cause a desync, but running it on only one computer has not been playtested. +Pick a crop or tree in the planting tools, and every building that can plant it is outlined. That's farmhouses for crops, aquatic farmhouses for aquatic crops, and foresters for trees and bushes. The outlines go when you leave the tool; they aren't pins. -## Use +## Clear pins -- Select a farm, forester, lumberjack flag, gatherer, or another building with a terrain/road-spill working range. -- Check **Keep working area visible**. -- Deselect it and use your planting/building tools. The outline remains. -- Pick a crop or tree in the planting tools and the working areas of the buildings that plant it appear on their own: every farmhouse for crops (aquatic farmhouses for aquatic crops) and every forester for trees and bushes, including ones still under construction. They disappear when you leave the planting tool; your pins stay. -- Pin additional buildings as needed. Overlapping pinned areas merge into a combined outline. -- Click **Clear pinned areas (N)** at the top right to remove every pin, without finding or selecting any building. Areas the planting tool shows stay until you leave that tool. -- For a keyboard shortcut, assign **Clear all pinned working areas** under **Persistent Work Areas** in the game's key-binding settings. It starts unbound to avoid taking an existing shortcut. -- To remove just one pin, select its building and uncheck the checkbox. +- **One pin:** select the building and click **Keep working area visible** again, so it reads **OFF**. +- **All pins:** click **Clear pinned areas (N)** at the top right. It shows while anything is pinned. +- **With a key:** Settings → Key bindings → Persistent Work Areas → **Clear all pinned working areas**. It starts unbound. -The currently selected building still uses its normal game outline. After you clear the pins, deselecting a building hides its outline again, as in the base game. Deleting a pinned building removes its pin. +## Pins are remembered -### Where pins are kept +Each settlement's pins are kept on your computer in `Documents\Timberborn\PersistentWorkAreas\Pins.txt`, never in the save. They come back when you load any save of that settlement. To forget every pin, delete that file. -Pins are remembered for each settlement on your own computer, in `PersistentWorkAreas\Pins.txt` next to your Timberborn `Saves` folder (on Windows, `Documents\Timberborn\PersistentWorkAreas\Pins.txt`). When you load any save of that settlement, the latest pins you set there come back. A different settlement starts with none. +## Co-op -- Pins are never written into the save, so co-op players each keep their own. -- A co-op guest's game names the settlement after the host's save, which changes with every resync, so a guest's pins usually do not come back. The host's should come back. -- The file keeps the 100 settlements you loaded or changed most recently. -- To forget every pin, delete that file. +The mod works the same in single-player and co-op. For co-op, every player installs the same version of the mod and runs the same game version. -### Limits and translations +Pins are local: each player keeps their own, and nothing is sent over the network. A co-op guest's pins usually don't come back after a resync, because the guest's settlement is named after the host's save. -The mod supports navigation-based working areas. It does not pin district road coloring, effect-radius overlays that are not navigation-based, or building-placement ghosts. +## Good to know -UI text is currently English. The panel, button and key-binding text is all in `version-1.1/Localizations/enUS_PersistentWorkAreas.csv` (in the repository, under `packaging/PersistentWorkAreas/`), so a translation is one more file in that folder with the same keys, named for the game's language code (for example `deDE_PersistentWorkAreas.csv`). Keep `{0}` in the clear-button text: it becomes the pin count. +- **Display only.** It changes nothing in the game and never writes to your save, so you can remove it at any time. +- **If a game update breaks the outline,** pinning turns off for that map and the panel says so. Nothing else is affected. +- **Working areas only.** It doesn't pin district road coloring, effect-radius overlays, building-placement ghosts or Builder's Huts. The outline a selected Builder's Hut shows is the game's own. +- **English text.** A translation is one more CSV in `version-1.1\Localizations`, with the keys of `enUS_PersistentWorkAreas.csv` and named for the game's language code (for example `deDE_PersistentWorkAreas.csv`). Keep `{0}` in the clear-button text: it becomes the pin count. -## Compatibility and validation +Something not working? See [Troubleshooting](https://timbermods.github.io/PersistentWorkAreas/troubleshooting.html), or [open an issue](https://github.com/timbermods/PersistentWorkAreas/issues/new) with your game log. -Designed for compatibility with the **BeaverBuddies Stability Fork**, but it doesn't depend on any BeaverBuddies build and works in single-player without one. It is a local display only. It does not patch game methods, change simulation or building data, send multiplayer events, or modify saves; the pins live in their own small local file. It uses the same navigation queries as the game's selected-building visualizer and a separate instance of its outline renderer. The Stability Fork's co-op join check compares only the game and BeaverBuddies builds, so this mod doesn't affect joining. Co-op has been tested only with the Stability Fork, not with the original [BeaverBuddies](https://github.com/thomaswp/BeaverBuddies) or Timber Together. +## Status -The release build passes 142 automated checks. 77 of them test the pin, refresh-planning, planting-tool and pin-file logic without the game, and 65 check the mod against the installed game's assemblies and blueprints. Version 1.0.0 was tested in game on Timberborn 1.1.2.4, both single-player and in a two-player BeaverBuddies Stability Fork session with the mod installed on both computers. The features new in 1.1.0 have not been playtested in game yet. See `VALIDATION.md` for what was checked and how. +The mod is **stable**. -## Build from source +**Tested** -Install the .NET 8 SDK and have Timberborn installed, then run: +- Every feature, played extensively in game on 1.1.2.4: pinning and clearing, the pinned outlines, the planting-tool outlines, pins remembered between sessions, outlines keeping up with terrain and path changes, and the panel text. +- Pinning, clearing and the outlines in a two-player Stability Fork co-op session, with the mod on both computers. +- 142 automated checks: 77 that need no game (they also run on every change), and 65 against the installed game's own assemblies and blueprints. -```powershell -.\build.ps1 -GameDir 'C:\Program Files (x86)\Steam\steamapps\common\Timberborn' -``` +**Not played yet** -The script builds the mod, runs checks, and creates `dist\PersistentWorkAreas-v1.1.0.zip`. No game, Unity, Harmony, or BeaverBuddies DLLs are redistributed. The game DLLs are used only as build references. +- The mod on only one computer in a co-op game. +- The original BeaverBuddies, and Timber Together. +- Frame rate in a very large colony, and other mods alongside it. -Without the game, `dotnet run --project tests/Checks.csproj -c Release` runs only the checks that need no game files (pin, refresh-planning, planting-tool and pin-file logic) and reports the rest as skipped. GitHub Actions runs them for pull requests and pushes to `main`. +What changed in each version is in the [release notes](https://github.com/timbermods/PersistentWorkAreas/releases). To build from source or run the checks, see [DEVELOPING.md](DEVELOPING.md). ## License -MIT. See [LICENSE](LICENSE). +MIT. See [LICENSE](LICENSE). Maintained by [Timbermods](https://github.com/timbermods). + +An unofficial community mod for Timberborn. Not affiliated with or endorsed by Mechanistry. diff --git a/docs/faq.html b/docs/faq.html index f904ea7..a9d2f21 100644 --- a/docs/faq.html +++ b/docs/faq.html @@ -36,7 +36,7 @@

Frequently asked questions

-

Quick answers about what the mod does, what it doesn't, and how safe it is. Something not working? Try Troubleshooting.

+

Quick answers about what the mod does and doesn't do. Something not working? Try Troubleshooting.

@@ -51,15 +51,15 @@

Frequently asked questions

The basics

What does Persistent Work Areas do? -

Timberborn normally shows a building's working-area outline only while you have that building selected. This mod adds a Keep working area visible checkbox to the building's panel. Turn it on and the outline stays on screen after you deselect, so you can plant crops, place trees or build with the boundary in view.

+

Timberborn shows a building's working area only while it's selected. This mod adds a Keep working area visible checkbox to the building's panel. Turn it on, and the outline stays after you deselect, so you can plant and build with it in view.

How do I pin a working area? -

Select a building such as a farm or forester, click the Keep working area visible row in the WORKING AREA section so it reads ON, then deselect. Full steps are on the overview.

+

Select a building such as a farmhouse or forester. In its WORKING AREA section, click Keep working area visible so it reads ON, then deselect it.

Which buildings can I pin? -

Any building that shows a terrain or road-spill working range when selected in the base game, for example farms, foresters, lumberjack flags and gatherers. Builder's Huts are excluded on purpose (see below).

+

Any building that shows a working area when selected, such as farmhouses, foresters, lumberjack flags and gatherers. Builder's Huts are the exception (why).

Can I pin more than one building? @@ -70,14 +70,14 @@

The basics

  • One pin: select the building and uncheck its box.
  • -
  • All pins: click Clear pinned areas (N) at the top right, or press the key you assigned under Settings > Key bindings > Persistent Work Areas.
  • +
  • All pins: click Clear pinned areas (N) at the top right, or press the key you assigned.
  • Deleting a pinned building also removes its pin.
Why does the building I'm selecting look the same whether or not it's pinned? -

A selected building always uses the game's normal outline. The pinned outline takes over when you deselect it, which is the point of the mod. The ON/OFF badge in the panel shows the pin state.

+

A selected building always shows the game's normal outline. The pinned outline takes over when you deselect it. The ON/OFF badge in the panel shows whether it's pinned.

@@ -85,27 +85,27 @@

The basics

Safety and compatibility

Which Timberborn version do I need? -

Timberborn 1.1.2.4 or a compatible 1.1 build. It was built and tested on 1.1.2.4. A later game version could change the internal outline renderer the mod borrows. If that happens, pinning disables itself for the map, the panel says so, and nothing else is affected.

+

Timberborn 1.1.2.4 or a compatible 1.1 build; it's tested on 1.1.2.4. If a later game version breaks the outline, pinning turns off for that map and the panel says so. Nothing else is affected.

Is it safe for my saves? Can I remove it mid-game? -

Yes. The mod never writes to your save files and doesn't change buildings, beavers or the simulation. Pins are kept in their own small file outside your saves. You can disable or delete the mod at any time and your colony loads as normal.

+

Yes. The mod never writes to your saves and doesn't change buildings, beavers or the simulation. You can disable or delete it at any time, and your colony loads as normal.

Does it work in multiplayer? Do both players need it? -

Yes. It's designed for compatibility with the BeaverBuddies Stability Fork, but it doesn't need BeaverBuddies and works the same in single-player. The mod sends nothing over the network and pins are purely local, so what one player pins never appears for another. For co-op, every player installs the same version of the mod and runs the same game version. That's the setup tested in a two-player co-op session. Because the mod only draws on your own screen, it shouldn't strictly need to be installed by both players, but using it on only one hasn't been playtested. It hasn't been tested with the original BeaverBuddies or Timber Together.

+

Yes. It works with the BeaverBuddies Stability Fork, and the same in single-player. For co-op, every player installs the same version of the mod and runs the same game version (what's been played). Pins are local, so what you pin never shows for anyone else.

Does it change gameplay or give an advantage? -

No. It only draws an outline the game already knows how to compute for a selected building, using the same navigation queries. It doesn't alter what buildings can reach or do.

+

No. It only draws the outline the game already shows for a selected building. It doesn't change what buildings can reach or do.

Does it need other mods, Harmony or BeaverBuddies? -

No. It's standalone and uses no Harmony patches, so it doesn't rewrite game methods. It has no required mods.

+

No. It has no required mods and uses no Harmony patches.

Will it conflict with other mods? -

Because it patches nothing, conflicts are unlikely, but it hasn't been tested against every mod. If you hit a problem, report it along with your mod list.

+

Unlikely, since it patches nothing, but it hasn't been tested with every mod. If you hit a problem, report it with your mod list.

@@ -113,31 +113,31 @@

Safety and compatibility

Features and limits

Why can't I pin a Builder's Hut? -

The game attaches an internal road-spill range to every Builder's Hut. It isn't a working area you'd want to keep on screen, so the mod doesn't show the pin panel for Builder's Huts.

+

The game gives every Builder's Hut a road-spill range, but it isn't a working area you'd want to keep on screen. So Builder's Huts get no pin.

Then why does a Builder's Hut still show an outline when I select it? -

That outline is drawn by Timberborn itself, not by this mod. It appears for the same internal range mentioned above. To check, disable the mod and select a Builder's Hut: you'll see the same outline. The mod doesn't change it.

+

That outline is Timberborn's own, for the same range. To check, disable the mod and select a Builder's Hut: the outline is still there.

Do my pins survive saving and loading? -

Yes. Each settlement's pins are remembered on your own computer in Documents\Timberborn\PersistentWorkAreas\Pins.txt and come back when you load any save of that settlement. They are never written into the save itself, so the mod can't affect a saved colony. A different settlement starts with no pins, and a co-op guest's pins usually don't come back after a resync, because the guest's settlement is named after the host's save. To forget every pin, delete that file.

+

Yes. Each settlement's pins are kept on your computer, never in the save, and come back when you load any save of that settlement. They live in Documents\Timberborn\PersistentWorkAreas\Pins.txt; delete it to forget every pin. Pins gone?

Why do farmhouse or forester outlines appear when I pick a crop or tree? -

Picking a crop or tree in the planting tools outlines the working area of every building that can plant it: farmhouses for crops, aquatic farmhouses for aquatic crops, and foresters for trees and bushes, including ones still under construction. The outlines go away when you leave the planting tool. Clear pinned areas removes only your pins, not these.

+

Picking a crop or tree in the planting tools outlines every building that can plant it, even one still under construction. That's farmhouses for crops, aquatic farmhouses for aquatic crops, and foresters for trees and bushes. The outlines go when you leave the tool, and Clear pinned areas (N) doesn't remove them.

Can it pin district road colors, effect radii or placement ghosts? -

No. It supports navigation-based working areas only. Those other overlays aren't included.

+

No. It pins working areas only.

Is it translated? -

Not yet. The mod's text is English only, but all of it lives in one file, version-1.1/Localizations/enUS_PersistentWorkAreas.csv. A translation is one more file there with the same keys, named for the game's language code, for example deDE_PersistentWorkAreas.csv.

+

Not yet: the text is English, all in version-1.1/Localizations/enUS_PersistentWorkAreas.csv. A translation is one more file there with the same keys, named for the game's language code, for example deDE_PersistentWorkAreas.csv. Keep {0} in the clear-button text: it becomes the pin count.

Will it slow down my game? -

It's designed not to. A terrain or path change re-checks only the pinned buildings it can reach, at most five times per second, and selecting a building redraws from what was already worked out. All outlines share one combined mesh, nothing runs while there are no pins and no planting tool is open, and the mesh is released once nothing is drawn. If you notice a drop in a very large colony, let us know.

+

It's built not to. A terrain or path change re-checks only the pinned buildings it can reach, and nothing runs while nothing is pinned and no planting tool is open. If you notice a drop in a very large colony, let us know.

@@ -149,11 +149,11 @@

The project

How do I report a bug or suggest a feature? -

Open an issue on GitHub. For bugs, include your mod and game versions and any [PersistentWorkAreas] lines from your game log; here's what helps.

+

Open an issue on GitHub. For a bug, here's what helps.

Can I build it from source? -

Yes. Install the .NET 8 SDK and Timberborn, clone the repository, and run .\build.ps1 from PowerShell. It builds the mod, runs its checks and produces a zip. Game and Unity DLLs are used only as build references and are never redistributed. The source is available under the MIT license.

+

Yes. See DEVELOPING.md in the repository. The source is under the MIT license.

Is this an official mod? diff --git a/docs/index.html b/docs/index.html index 5636a3b..e266dad 100644 --- a/docs/index.html +++ b/docs/index.html @@ -42,7 +42,7 @@

Persistent Work Areas

Keep the outline. Keep planting.

-

A Timberborn mod. The game shows a building's working area only while it's selected, so the outline vanishes the moment you pick a planting tool. Pin the ones you care about and they stay on screen while you plant, build and plan.

+

A Timberborn mod. The game shows a building's working area only while it's selected. Pin the ones you care about, and they stay on screen while you plant, build and plan.

  • The game's own outline, kept. Check Keep working area visible on a farmhouse, forester or gatherer, then deselect it.
  • The planting tools show their planters. Pick a crop or tree and the buildings that can plant it are outlined for you.
  • @@ -52,7 +52,7 @@

    Persistent Work Areas

    Download latest release Install guide
-

Stable. Every feature has been played extensively in game, and pinning also in two-player co-op. What is tested, and what isn't

+

Stable. What is tested, and what isn't

@@ -89,23 +89,22 @@

Persistent Work Areas

Three things it does in game

-

Timberborn draws a working area only while its building is selected. This mod keeps the ones you choose, and brings them back when you need them most.

  • Pin a working area

    -

    Select a farmhouse, forester, lumberjack flag, gatherer or any building that shows a working range, and check Keep working area visible. Deselect it and the outline stays. Pin as many as you like; where they overlap they merge into one outline.

    +

    Select a farmhouse, forester, gatherer or other building that shows a working area. Check Keep working area visible and deselect it: the outline stays. Pin as many as you like; overlapping areas merge into one outline.

  • Plant with the planters in view

    -

    Pick a crop or tree in the planting tools and every building that can plant it is outlined on its own: farmhouses for crops, aquatic farmhouses for aquatic crops, foresters for trees and bushes. They go away when you leave the tool.

    +

    Pick a crop or tree in the planting tools, and every building that can plant it is outlined. That's farmhouses for crops, aquatic farmhouses for aquatic crops, and foresters for trees and bushes. The outlines go when you leave the tool.

  • Clear them all at once

    -

    Clear pinned areas (N) appears at the top right while anything is pinned. You can also bind a key to it. Uncheck one building to drop just its pin; deleting a pinned building drops its pin too.

    +

    Click Clear pinned areas (N) at the top right, or bind a key to it. To drop one pin, uncheck its building. Deleting a pinned building drops its pin too.

@@ -115,7 +114,7 @@

Clear them all at once

How it works

-

It draws with the game's own outline renderer and the same navigation queries the game uses for a selected building, so a pinned outline is the game's own outline, kept. It follows terrain, paths, the visible level and construction mode.

+

A pinned outline is the game's own outline for that building, drawn the same way. It follows terrain, paths, the visible level and construction mode.

What it outlines

    @@ -137,13 +136,12 @@

    How it works

    Good to know

    -

    The mod does one thing and stays out of the way.

    -

    Pins are remembered, not saved

    Each settlement's pins are kept on your computer in Documents\Timberborn\PersistentWorkAreas\Pins.txt and come back when you load that settlement. They're never written to your save, so the mod can't affect a colony, and each co-op player keeps their own.

    -

    Fails on its own

    If a game update changes the internals the outline renderer relies on, pinning turns itself off for that map and says so in the panel and the game log. Nothing else is affected.

    -

    Light on a large colony

    A terrain or path change re-checks only the pinned buildings it can reach, at most five times a second. Nothing runs while nothing is pinned and no planting tool is open.

    -

    English, translatable

    The panel text is English; a translation is one CSV file in the mod's Localizations folder.

    +

    Pins are remembered, not saved

    Each settlement's pins are kept on your computer and come back when you load that settlement. They're never written to your save, and each co-op player keeps their own. Where they're kept

    +

    Fails on its own

    If a game update breaks the outline, pinning turns off for that map. The panel and the game log say so; nothing else is affected.

    +

    Light on a large colony

    A terrain or path change re-checks only the pinned buildings it can reach. Nothing runs while nothing is pinned and no planting tool is open.

    +

    English, translatable

    The text is English. A translation is one CSV file in the mod's Localizations folder (how).

    @@ -153,9 +151,9 @@

    Good to know

    Compatibility

    -
    Game version

    Timberborn 1.1.2.4 or a compatible 1.1 build. Built and tested on 1.1.2.4 on Windows; a later version may change the renderer the mod borrows.

    -
    Other mods

    None required, not even Harmony or Mod Settings. It patches no game methods.

    -
    Co-op

    Works in single player and co-op, and doesn't need any BeaverBuddies build. Every player installs the same version of the mod and runs the same game version: the tested setup, with the BeaverBuddies Stability Fork. It sends nothing over the network; pins stay on each player's computer.

    Not played yet: the mod on only one of the computers, the original BeaverBuddies, and Timber Together.

    +
    Game version

    Timberborn 1.1.2.4 or a compatible 1.1 build. Tested on 1.1.2.4 on Windows.

    +
    Other mods

    None required: not Harmony, Mod Settings or BeaverBuddies.

    +
    Co-op

    Works in single player and co-op. Every player installs the same version of the mod and runs the same game version.

    Saves

    Untouched. You can remove the mod at any time.

    @@ -172,7 +170,7 @@

    What is tested, and what isn't

    Tested

      -
    • Every feature, played extensively in game on 1.1.2.4: pinning and clearing, the pinned outlines, the planting-tool outlines, pins remembered between sessions, the refresh and the panel text.
    • +
    • Every feature, played extensively in game on 1.1.2.4: pinning and clearing, the pinned outlines, the planting-tool outlines, pins remembered between sessions, outlines keeping up with terrain and path changes, and the panel text.
    • Pinning, clearing and the outlines in a two-player Stability Fork co-op session, with the mod on both computers.
    • 142 automated checks: 77 that need no game (they also run on every change), and 65 against the installed game's own assemblies and blueprints.
    diff --git a/docs/install.html b/docs/install.html index 6ed1c74..40f78f8 100644 --- a/docs/install.html +++ b/docs/install.html @@ -36,7 +36,7 @@

    Install guide

    -

    Extract one folder, enable the mod, and you're done. It takes about a minute.

    +

    Extract one folder and enable the mod. It takes about a minute.

    @@ -58,26 +58,26 @@

    Install guide

    Requirements

    • Timberborn 1.1.2.4 or a compatible 1.1 build.
    • -
    • Nothing else. No other mods are required: not Harmony, Mod Settings or BeaverBuddies.
    • -
    • A Mods folder inside your Timberborn user folder, normally Documents\Timberborn\Mods. If it doesn't exist yet, start the game once or create it yourself.
    • +
    • No other mods: not Harmony, Mod Settings or BeaverBuddies.
    • +
    • A Mods folder in your Timberborn user folder, normally Documents\Timberborn\Mods. If it's missing, start the game once or create it.
    -

    The mod has been built and tested on Windows. If your Timberborn user folder is somewhere else, extract into the Mods folder there instead.

    +

    Tested on Windows. If your Timberborn user folder is elsewhere, use the Mods folder there.

    Install

    1. Close Timberborn

      -

      Mods are loaded when the game starts, so quit it first.

      +

      Mods load when the game starts, so quit it first.

    2. Download the zip

      -

      Get the newest release from GitHub. Under Assets, choose the file named like PersistentWorkAreas-vX.Y.Z.zip. Don't use the one ending in -source.zip or the Source code archives, which contain only the source code.

      +

      Under Assets on the newest release, choose the file named like PersistentWorkAreas-vX.Y.Z.zip. Don't use the one ending in -source.zip or the Source code archives.

    3. Extract it into your Mods folder

      -

      Right-click the zip, choose Extract All, and pick Documents\Timberborn\Mods. The result must look exactly like this, with manifest.json and the DLL side by side inside version-1.1:

      +

      Right-click the zip, choose Extract All, and pick Documents\Timberborn\Mods. You should get this, with manifest.json and the DLL side by side in version-1.1:

      Documents\Timberborn\Mods\
         PersistentWorkAreas\
           version-1.1\
      @@ -88,19 +88,19 @@ 

      Extract it into your Mods folder

      Localizations\ README.md VALIDATION.md
      -

      If you see PersistentWorkAreas\PersistentWorkAreas\version-1.1, the folder is nested one level too deep. Move the inner folder up.

      +

      If you see PersistentWorkAreas\PersistentWorkAreas\version-1.1, it's nested one level too deep. Move the inner folder up.

    4. Start Timberborn and enable the mod

      -

      Open the game's mod manager, enable Persistent Work Areas. If the game asks to restart so the change takes effect, let it.

      +

      In the mod manager, enable Persistent Work Areas. Restart if the game asks.

    Check that it works

      -
    1. Load a colony and select a farm, forester or lumberjack flag.
    2. -
    3. At the top of its info panel you should see a WORKING AREA section with a Keep working area visible row and an OFF badge.
    4. -
    5. Click the row so it reads ON, then deselect the building. Its outline should stay on screen, and a Clear pinned areas (1) button appears at the top right.
    6. +
    7. Load a colony and select a farmhouse, forester or lumberjack flag.
    8. +
    9. At the top of its panel, find the WORKING AREA section: a Keep working area visible row with an OFF badge.
    10. +
    11. Click the row so it reads ON, then deselect the building. The outline stays, and Clear pinned areas (1) appears at the top right.
    @@ -109,36 +109,31 @@

    Check that it works

    Click to pin this outline while planting or building.

    Illustration of the panel, not a screenshot.
    -

    You can also confirm the mod loaded in the game log: search it for [PersistentWorkAreas] and look for this line, with your version in place of <version>. See where to find the log.

    +

    The game log also shows that the mod loaded. Search it for this line (where to find the log):

    [PersistentWorkAreas] <version> loaded.
    -

    If something doesn't look right, head to Troubleshooting.

    +

    Something wrong? See Troubleshooting.

    Optional key binding

    -

    The mod adds one shortcut, Clear all pinned working areas. It starts unbound so it can't take over a key you already use.

    -
      -
    1. Open the game's Settings and go to Key bindings.
    2. -
    3. Find the Persistent Work Areas group.
    4. -
    5. Assign a key to Clear all pinned working areas. Pick one that isn't used by a tool you have active while planting.
    6. -
    +

    Go to Settings → Key bindings → Persistent Work Areas, and assign a key to Clear all pinned working areas. It starts unbound. Pick a key your planting tools don't use.

    Using it with BeaverBuddies

    -

    The mod is designed for compatibility with the BeaverBuddies Stability Fork, but it doesn't need BeaverBuddies and works the same in single-player. Leave your existing BeaverBuddies installation as it is.

    +

    It works with the BeaverBuddies Stability Fork, but doesn't need it. Leave your BeaverBuddies install as it is.

    Pins are local -

    Each player pins and clears on their own computer, and nothing is sent over the network. For co-op, every player installs the same version of the mod and runs the same game version; that's the setup that has been tested. Running it on only one computer hasn't been playtested.

    +

    Each player pins and clears on their own computer, and nothing is sent over the network. For co-op, every player installs the same version of the mod and runs the same game version; that's the tested setup.

    Updating

    1. Close Timberborn.
    2. Download the newest zip from the latest release.
    3. -
    4. Delete the old Mods\PersistentWorkAreas folder, then extract the new zip into Mods as before.
    5. -
    6. Start the game and confirm Persistent Work Areas is still enabled in the mod manager.
    7. +
    8. Delete the old Mods\PersistentWorkAreas folder, then extract the new zip into Mods.
    9. +
    10. Start the game and check that Persistent Work Areas is still enabled.
    -

    Replace the whole folder rather than only the DLL: the mod reads its text from the Localizations folder beside it. Your pins are kept outside the mod folder, in Documents\Timberborn\PersistentWorkAreas\Pins.txt, so updating keeps them.

    +

    Replace the whole folder, not just the DLL: the DLL needs the files beside it. Your pins are kept, because they live outside the mod folder.

    Uninstalling

    -

    Disable the mod in the mod manager, or close the game and delete Documents\Timberborn\Mods\PersistentWorkAreas. Your saves are unaffected because the mod never writes to them. To remove the remembered pins too, delete the Documents\Timberborn\PersistentWorkAreas folder.

    +

    Disable the mod in the mod manager, or close the game and delete Documents\Timberborn\Mods\PersistentWorkAreas. Your saves are unaffected. To forget the remembered pins too, delete the Documents\Timberborn\PersistentWorkAreas folder.

diff --git a/docs/troubleshooting.html b/docs/troubleshooting.html index a5fef4a..8ba8fd5 100644 --- a/docs/troubleshooting.html +++ b/docs/troubleshooting.html @@ -36,7 +36,7 @@

Troubleshooting

-

Find your symptom below. If nothing here helps, send a report with your game log and we'll dig in.

+

Find your symptom below. If nothing helps, send a report with your game log.

@@ -45,7 +45,7 @@

Troubleshooting

Problems
  • Mod isn't in the mod manager
  • -
  • No "Working area" panel
  • +
  • No WORKING AREA section
  • "Pinning is unavailable"
  • Pinned, but no outline
  • Outline is out of date
  • @@ -71,29 +71,29 @@

    The mod doesn't appear in the mod manager

    1. Close Timberborn.
    2. -
    3. Open Documents\Timberborn\Mods and check that this file exists: PersistentWorkAreas\version-1.1\manifest.json.
    4. -
    5. If it is at PersistentWorkAreas\PersistentWorkAreas\version-1.1\manifest.json instead, move the inner folder up a level.
    6. -
    7. Make sure you extracted the zip rather than opening it and dragging a single file out. PersistentWorkAreas.dll must sit next to manifest.json.
    8. -
    9. Start the game again. See the install steps for the exact layout.
    10. +
    11. In Documents\Timberborn\Mods, check that PersistentWorkAreas\version-1.1\manifest.json exists, with PersistentWorkAreas.dll beside it.
    12. +
    13. If it's at PersistentWorkAreas\PersistentWorkAreas\version-1.1 instead, move the inner folder up a level.
    14. +
    15. If files are missing, extract the whole zip again, as in the install steps.
    16. +
    17. Start the game.
    -

    I select a building but there's no "Working area" panel

    +

    I select a building but there's no WORKING AREA section

    Likely causes
      -
    • The mod isn't enabled. Check the mod manager, and restart if it asked you to.
    • -
    • The building doesn't have a working area. The panel only appears for buildings that show a terrain or road-spill outline when selected in the base game, such as farms, foresters, lumberjack flags and gatherers.
    • -
    • It's a Builder's Hut. These are deliberately excluded. See below.
    • -
    • The building is only a placement preview (a ghost you haven't placed yet).
    • +
    • The mod isn't enabled. Check the mod manager, and restart if the game asks.
    • +
    • The building has no working area. The section appears only for buildings that show one when selected, such as farmhouses, foresters, lumberjack flags and gatherers.
    • +
    • It's a Builder's Hut, which can't be pinned (why).
    • +
    • It's a placement preview you haven't placed yet.
    Fix
    -
    Try a farm or forester first. If the panel appears there, the mod is working and the other building has no pinnable area. If it doesn't appear on a farm either, check the log.
    +
    Try a farmhouse or forester. If the section shows there, the mod works and the other building has nothing to pin. If not, check the log.
    @@ -101,13 +101,13 @@

    I select a building but there's no "Working area" panel

    The panel says "Working-area pinning is unavailable. Check the game log."

    What it means
    -
    The outline renderer failed for this map. This normally happens when a game update has changed the internal renderer the mod borrows. The mod turns pinning off for the map and leaves everything else in the game alone.
    +
    The outline failed on this map, usually because a game update changed something the mod relies on. Pinning is off for this map; nothing else in the game is affected.
    Fix
    1. Look for a newer version on the releases page and update.
    2. -
    3. Otherwise find the log, search for Outline disabled for this map, and report it with that line and its stack trace.
    4. -
    5. Reloading the map resets the mod, but it will fail again if the cause is a game change.
    6. +
    7. Otherwise, find the log, search for Outline disabled for this map, and report it with that line and the error after it.
    8. +
    9. Reloading the map turns pinning back on, but it fails again if a game change is the cause.
    @@ -119,14 +119,20 @@

    I pinned a building but no outline is showing

    Likely causes
      -
    • The pin isn't on. The row should read ON, and a Clear pinned areas (N) button should be showing at the top right. If not, the pin was removed or never registered.
    • -
    • It isn't connected to a path. The area is measured from the building's entrance, exactly as the game does for its own outline. A building with no reachable entrance has no area to draw.
    • -
    • Visible level. Like the game's outline, pinned areas follow the visible-level setting. Parts above the level you're viewing are hidden.
    • +
    • The pin isn't on. The row should read ON, and Clear pinned areas (N) should show at the top right.
    • +
    • Its entrance can't be reached. The area is measured from the building's entrance, as the game does. With no reachable entrance, there's nothing to draw.
    • +
    • Visible level. Parts of the area above the level you're viewing are hidden, as with the game's outline.
    • Pinning is unavailable on this map.
    Fix
    -
    Make sure the pin reads ON, raise the visible level, and check the building has a working path to it. If it still doesn't show, uncheck and re-check the box to force a refresh. Note that while a pinned building is selected, the game draws its normal outline, and the pinned outline takes over when you deselect it.
    +
    +
      +
    1. Check that the pin reads ON, then deselect the building.
    2. +
    3. Raise the visible level, and make sure a path reaches the building.
    4. +
    5. Still nothing? Uncheck and re-check the box to refresh it.
    6. +
    +
    @@ -134,9 +140,15 @@

    I pinned a building but no outline is showing

    The outline doesn't match my recent terrain or path changes

    What to expect
    -
    Outlines recalculate when terrain, paths or construction mode change near a pinned building, at most five times per second, so a change can take a moment to show. Selection and visible-level changes redraw from the last result right away.
    +
    Outlines update after terrain, path or construction-mode changes, at most five times a second. A change can take a moment to show.
    Fix
    -
    Wait a second. If it's still stale, uncheck and re-check the building's box to rebuild it, and report it if it keeps happening, saying what you changed.
    +
    +
      +
    1. Wait a second.
    2. +
    3. Still out of date? Uncheck and re-check the building's box.
    4. +
    5. If it keeps happening, report it and say what you changed.
    6. +
    +
    @@ -144,9 +156,16 @@

    The outline doesn't match my recent terrain or path changes

    My pins disappeared

    Why
    -
    Pins are remembered for each settlement in Documents\Timberborn\PersistentWorkAreas\Pins.txt, never in your save. A different settlement starts with none. A co-op guest's pins usually don't come back after a resync, because the guest's settlement is named after the host's save. Deleting a pinned building removes its pin, Clear pinned areas removes all of them, and deleting Pins.txt forgets every settlement's pins. Outlines that appeared because a planting tool was open go away when you leave the tool; they were never pins.
    +
    +
      +
    • Pins belong to a settlement. A different settlement starts with none.
    • +
    • A co-op guest's pins usually don't come back after a resync, because the guest's settlement is named after the host's save.
    • +
    • Deleting a pinned building removes its pin, and Clear pinned areas (N) removes them all.
    • +
    • Outlines from a planting tool go when you leave the tool; they were never pins.
    • +
    +
    Fix
    -
    Load a save of the same settlement, or pin the buildings again. If pins don't come back for the same settlement, look in Player.log for a [PersistentWorkAreas] Pinned areas not warning and report it.
    +
    Load a save of the same settlement, or pin the buildings again. If the same settlement's pins don't come back, search the log for [PersistentWorkAreas] Pinned areas not and report it.
    @@ -154,9 +173,9 @@

    My pins disappeared

    I can't find the "Clear pinned areas" button

    Why
    -
    It sits at the top right of the screen and only appears while at least one building is pinned. Its label shows how many pins you have, for example Clear pinned areas (2).
    +
    It's at the top right of the screen, and shows only while something is pinned. Its label counts your pins, for example Clear pinned areas (2).
    Fix
    -
    Pin a building and look at the top right. To remove a single pin, select that building and uncheck its box.
    +
    Pin a building and look at the top right. To remove one pin, select its building and uncheck its box.
    @@ -166,14 +185,14 @@

    My "clear" key binding does nothing

    Likely causes
      -
    • It's unbound by default. Assign a key under Settings > Key bindings > Persistent Work Areas > Clear all pinned working areas.
    • -
    • Nothing is pinned. The shortcut only acts when there's at least one pin.
    • -
    • Another game action uses the same key. Choose a different one.
    • -
    • You're holding an extra modifier key (Shift, Ctrl or Alt) that isn't part of the binding. The shortcut ignores presses with extra modifiers.
    • +
    • It starts unbound. Assign a key under Settings → Key bindings → Persistent Work Areas → Clear all pinned working areas.
    • +
    • Nothing is pinned. The key acts only when something is.
    • +
    • Another game action uses the same key.
    • +
    • You're holding an extra modifier key (Shift, Ctrl or Alt) that isn't part of the binding.
    Fix
    -
    Pin a building, then press the key on its own. You can always use the top-right button instead.
    +
    Pin a building, then press the key on its own. If another action uses it, pick a different key. The top-right button always works.
    @@ -181,9 +200,9 @@

    My "clear" key binding does nothing

    A Builder's Hut shows an outline when I select it

    Why
    -
    That outline comes from Timberborn itself. The game gives every Builder's Hut a road-spill range and draws it while the hut is selected. Persistent Work Areas doesn't draw it and doesn't change it. The mod doesn't offer a pin for Builder's Huts.
    +
    That outline is the game's own: Timberborn draws it while a Builder's Hut is selected. The mod doesn't draw or change it, and Builder's Huts can't be pinned.
    Fix
    -
    Nothing to fix. To confirm, disable the mod, restart, and select a Builder's Hut: the same outline appears.
    +
    Nothing to fix. To check, disable the mod, restart and select a Builder's Hut: the same outline appears.
    @@ -191,9 +210,9 @@

    A Builder's Hut shows an outline when I select it

    It stopped working after a Timberborn update

    Why
    -
    The mod is built and tested on Timberborn 1.1.2.4. It borrows the game's own outline renderer, so a later game version can change something it relies on. When that happens pinning disables itself for the map (see above) and the rest of the game is unaffected.
    +
    The mod is tested on Timberborn 1.1.2.4. A later game version can change something the outline relies on. Pinning then turns off for the map (see above), and the rest of the game is unaffected.
    Fix
    -
    Check the releases page for a build that supports your game version, or open an issue that says which game version you're on.
    +
    Check the releases page for a version that supports your game, or open an issue with your game version.
    @@ -203,10 +222,10 @@

    Co-op and BeaverBuddies

    Things to know
      -
    • Pins are local. Pinning or clearing on your computer never changes what your partner sees.
    • -
    • The mod doesn't patch the game, run simulation code or send multiplayer events, so it shouldn't cause desyncs. If you suspect it, disable it on the affected computer and see if the problem goes away.
    • -
    • It's designed for compatibility with the BeaverBuddies Stability Fork but doesn't depend on it. For co-op, every player installs the same version of the mod and runs the same game version; that's the tested setup. Running it on only one computer hasn't been playtested.
    • -
    • A multiplayer resync reloads the map. The host's pins should come back. A guest's pins usually don't, because the guest's settlement is named after the host's save. That's expected.
    • +
    • Pins are local. Pinning or clearing never changes what other players see.
    • +
    • The mod changes nothing in the game and sends nothing over the network, so it shouldn't cause desyncs. If you suspect it, disable it on every computer and see if the problem goes away.
    • +
    • After a resync, the host's pins should come back. A guest's pins usually don't, because the guest's settlement is named after the host's save.
    • +
    • For the co-op setup, see the FAQ.
    @@ -216,31 +235,31 @@

    Co-op and BeaverBuddies

    Slowdowns with many pins

    What to expect
    -
    A terrain or path change re-checks only the pinned buildings it can reach, at most five times per second. Nothing runs while nothing is pinned and no planting tool is open. All outlines share one combined mesh. Opening a planting tool works out every matching farmhouse's or forester's area at once, which can take a moment in a very large colony.
    +
    A terrain or path change re-checks only the pinned buildings it can reach. Opening a planting tool works out every matching building's area at once, which can take a moment in a very large colony.
    Fix
    -
    Clear pins you no longer need. If you still see a drop in frame rate, report it with roughly how many pins and how large your colony is.
    +
    Clear pins you no longer need. If the frame rate still drops, report it with roughly how many pins you have and how large your colony is.

    Finding the game log

    -

    Timberborn writes a log every time it runs. On Windows it is here:

    +

    On Windows, Timberborn writes its log here:

    %USERPROFILE%\AppData\LocalLow\Mechanistry\Timberborn\Player.log
    -

    Paste that into the File Explorer address bar to open it. Player-prev.log next to it is the previous session, which is useful if the game crashed. Search the file for [PersistentWorkAreas]. You'll see:

    +

    Paste that into the File Explorer address bar to open it. After a crash, open Player-prev.log beside it instead. Search the log for [PersistentWorkAreas]:

      -
    • [PersistentWorkAreas] <version> loaded. when the mod started normally.
    • -
    • Outline disabled for this map: followed by an error, when the renderer failed.
    • -
    • Renderer cleanup failed: followed by an error, if freeing the outline hit a problem.
    • -
    • Pinned areas not restored from or Pinned areas not saved to, followed by the path of Pins.txt and an error, if the pin file couldn't be read or written.
    • +
    • [PersistentWorkAreas] <version> loaded. The mod started normally.
    • +
    • Outline disabled for this map: and an error. The outline failed.
    • +
    • Renderer cleanup failed: and an error. Removing the outline hit a problem.
    • +
    • Pinned areas not restored from or Pinned areas not saved to, the path of Pins.txt and an error. The pin file couldn't be read or written.
    -

    No [PersistentWorkAreas] lines at all means the game never loaded the mod, so go back to the first fix.

    +

    No [PersistentWorkAreas] lines at all means the game never loaded the mod. Go back to the first fix.

    Reporting a problem

    -

    Open an issue on GitHub and include as much of this as you can:

    +

    Open an issue on GitHub with as much of this as you can:

      -
    • The mod version (from the mod manager, or the [PersistentWorkAreas] ... loaded log line) and your Timberborn version.
    • -
    • Whether you use BeaverBuddies, and which other mods are enabled.
    • -
    • What you did, what you expected, and what happened instead.
    • -
    • Any [PersistentWorkAreas] lines from Player.log, with the full error text.
    • +
    • The mod version (from the mod manager or the loaded. log line) and your Timberborn version.
    • +
    • Whether you use BeaverBuddies, and your other mods.
    • +
    • What you did, what you expected, and what happened.
    • +
    • Every [PersistentWorkAreas] line from Player.log, with the full error text.