AzNean-Treehouse_Branch_Clear icon

Treehouse Branch Clear

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

By AzNean
Last updated a week ago
Total downloads 896
Total rating 0 
Categories Mods Misc
Dependency string AzNean-Treehouse_Branch_Clear-0.2.19
Dependants 0 other packages depend on this package

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

What it does: Hides the branches and leaves of trees that carry your builds, so they stop poking through your treehouse.
How to use: Nothing to do: it works on its own, on new and existing builds.
Multiplayer: Only changes what you see; each player who wants it installs it.

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 world (all saves of the same game), 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 never tells them which trees carry a build. The mod reads the tree each piece built on a tree is attached to, or else takes the tree whose trunk is nearest to the piece on the ground ([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).