You are viewing a potentially older version of this package. View all versions.
AzNean-Treehouse_Branch_Clear-0.2.13 icon

Treehouse Branch Clear

Hides the branches and leaves of trees you built on, so they stop poking through your treehouse.

By AzNean
Date uploaded 2 weeks ago
Version 0.2.13
Download link AzNean-Treehouse_Branch_Clear-0.2.13.zip
Downloads 37
Dependency string AzNean-Treehouse_Branch_Clear-0.2.13

This mod requires the following mods to function

BepInEx-BepInExPack_IL2CPP-6.0.788 icon
BepInEx-BepInExPack_IL2CPP

BepInEx pack for IL2CPP x64 Unity games. Preconfigured and ready to use.

Preferred version: 6.0.788

README

Treehouse Branch Clear

Hides the branches and leaves of any tree that carries something you built (log build or crafted structure), so they no longer poke through the floor and walls of your treehouse. The trunk stays. Other trees are untouched.

It works on its own, on builds you place and on builds already in your save. Nothing is written to the save: remove the mod and the trees look as before.

Tree by tree

Look at the trunk of a tree you built on: the game's use prompt appears on the trunk, at a player's height (same key as for the rest of the game). Use it to show that tree's branches again, or hide them again. A message on screen confirms it. The choice is kept for each save, in BepInEx/config/aznan.sotf.treehousebranchclear.trees.txt.

Multiplayer

Only changes what you see, on your own computer. Each player who wants it installs it; the host and other players don't need it. Tree choices are your own too: they don't change what other players see.

A player who joins someone else's game: the game tells them which trees carry a build only for builds finished while they are in the game. For older builds, the mod takes the tree nearest to each piece built on a tree ([Multiplayer] GuestLinkMeters, 2 m by default), checked again every SafetyNetSeconds.

Settings

Change them in your mod manager's config editor (aznan.sotf.treehousebranchclear.cfg):

  • [General] Enabled: turn the mod on or off.
  • [Trees]:
    • Keywords: words in a material's name that mark it as leaves or branches. The log lists the materials of each tree it clears, to adjust these words.
    • TrunkKeywords: words that mark the trunk; a material with one of them is never hidden.
    • Radius: how far around you trees are checked.
    • NeighbourRadius: also clears trees this close to a tree you built on (0 = off).
  • [Prompt]:
    • Enabled: show the prompt on trunks (off = no prompt; choices already made stay).
    • Icon: which of the game's prompt icons shows on the trunk, chosen from the list of the game's own icons (screen.use by default: the use prompt, which shows how long you hold the key).
    • Height: how high above the base of the trunk the prompt stays.
    • Reach, AimWidth: how close to the trunk you must be, and how precisely you must look at it (the defaults match the game's own reach for picking things up).
  • [Texts] HiddenMessage, ShownMessage, MessageSeconds: the confirmation message (empty text = automatic, in the game's language).
  • [Performance]:
    • SafetyNetSeconds: extra re-check of nearby trees, in case a build was missed (builds are normally caught as you place them; 0 = off).
    • PromptCheckSeconds: how often the mod checks which trunk you look at.
  • [Debug] FullLogging: writes every step to the BepInEx log (decisions, values read, failures with their cause), to send with a bug report. Off by default: then only loading, version and errors are written.

Contact

Contact me on X (@aznantriks) or Reddit (u/aznan-triks).

CHANGELOG

Changelog

0.2.19

  • Tree choices are now kept per save: single player games no longer share them, and a single player game no longer takes a multiplayer game's choices.
  • A new game's choices follow it into its save slot at its first save.

0.2.18

  • The diagnostic log (Debug/FullLogging) now says why each tree is cleared or kept, and no longer lists every build piece that is not on a tree.
  • A guest's log notes the tree links once per world instead of again as they move around.

0.2.17

  • Fixed: using furniture by the trunk inside a treehouse no longer flips the tree's branches too.

0.2.16

  • Faster for a player who joins a game: the mod now reads the game's own list of treehouse pieces instead of searching the whole world for them every 30 seconds.

0.2.15

  • Fixed: a player who joins a game still could not use the prompt on treehouse trees nor see their branches cleared. The mod now finds the tree each treehouse is attached to, the way the game stores it, instead of looking around the base of the tree only.

0.2.14

  • Fixed: in a game you host, the trees where you chose to keep the branches were shared with your other hosted games and could be lost after reloading. Choices now belong to each world; your earlier choices are kept.

0.2.13

  • The log now always says how many trees were linked to a build for a player who joined, so a problem can be found without the full log.

0.2.12

  • In multiplayer, a player who joins now also sees the branches cleared on treehouses built before they joined, and can use the prompt on them (the game only told them about builds finished while they played). New [Multiplayer] GuestLinkMeters setting.

0.2.11

  • The prompt now appears only when the trunk is within the game's own reach for picking things up (it was about twice as far). Reach is now 1.9 m and AimWidth 0.6 m; if you never changed them, they update by themselves, once.

0.2.10

  • Added how to contact me.

0.2.9

  • Fixed: branches showed again after loading a save a second time without restarting the game.

0.2.8

  • Changing how close you must be to the trunk now applies to the prompt right away, without restarting the game.

0.2.7

  • Listed in the right categories on Thunderstore.

0.2.6

  • New icon.

0.2.5

  • New Debug setting FullLogging: writes every step to the BepInEx log, to send with a bug report (off by default).

0.2.4

  • Number settings have no limits any more: type any value (the advised range is in each setting's description).
  • The prompt icon is now chosen from a list of the game's own icons; your choice is kept.

0.2.3

  • Settings are grouped in the same order in every mod; your values are kept.

0.2.2

  • Brought back the game's use prompt, which shows how long you hold the key.
  • The prompt now stays fixed on the trunk, at a player's height above its base (height can be changed).

0.2.1

  • The trunk prompt now shows the game's take icon instead of the knife, and you can pick another of the game's icons in the settings.

0.2.0

  • Choose tree by tree: look at the trunk of a tree you built on and the game's "use" prompt appears; press it to hide or show that tree's branches.
  • Your choice is remembered for each save, in a small file of the mod (your save is never touched).
  • A message on screen confirms each choice, in the game's language.

0.1.5

  • New icon of its own.

0.1.4

  • New method: only the leaves and branches of a tree you built on are made invisible, and the trunk stays. 0.1.2 and 0.1.3 hid nothing on most trees.
  • The log now says, once per tree, which tree was cleared and how many of its parts were hidden.
  • Removed the "LogTreeParts" setting: that line is now always written.

0.1.3

  • Much lighter on your game: trees are checked only when you place or remove a build, instead of every 3 seconds.
  • Each tree part is judged once and remembered, instead of again and again.
  • The "RefreshSeconds" setting became "SafetyNetSeconds" (a rare extra check, every 30 seconds by default).

0.1.2

  • Fixed whole trees turning invisible: a tree part is now hidden only when it holds nothing but leaves or branches, never the trunk.
  • New setting listing the words that mark the trunk, so those parts always stay.

0.1.1

  • Removed the F7 key: turn it on or off in the settings.
  • Branches no longer stay hidden on trees with no build next to them.
  • New setting to also clear trees standing next to the one you built on.

0.1.0

  • First version: branches and leaves disappear from trees you built on.