Tobbert-AutomaticBeaverMigration icon

AutomaticBeaverMigration

Automates migration of beavers between districts

Last updated 2 years ago
Total downloads 1159
Total rating 0 
Categories Mods
Dependency string Tobbert-AutomaticBeaverMigration-1.0.1
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack_Timberborn-5.4.19 icon
BepInEx-BepInExPack_Timberborn

BepInEx pack for Timberborn. Preconfigured and ready to use.

Preferred version: 5.4.19
Timberborn_Central-TimberAPI-0.3.1 icon
Timberborn_Central-TimberAPI

Unofficial API to enable easier Timberborn modding

Preferred version: 0.3.1

README

AutomaticBeaverMigration

For those colony builders that would like to streamline the migration proces, there now is AutomaticBeaverMigration. This plugin adds functionality to Districts so that they automatically migrate your beavers to a desired amount. This plugins hopes to better optimise how you use your districts.

Disclaimer

This plugin is currently only supported in the experimental version of Timberborn.

How to use

The will add a simple UI fragment on the District UI. Example image below.

DistrictUI

Main toggle

The toggle at the top lets you enable or disable the automatic migration in case of emergency.

Priority

The priority buttons indicate the priority. The higher priority districts will be first to get beavers from other districts.

Setting the desired amount of beavers

You can set the amount of beavers you desire per type.

  • If the district has more beaver than it desires, it will try to migrate them to a district that has less beavers than it desires.
  • If a district has less beavers than it desires, it will try to receive beavers based on the priority.
  • In case all districts have more beavers than they desires, nothing will happen and all beavers will stay in their district.

Force migration

There is a button to force the migration based on the desired beavers in all districts if you ever need it :D

Installing

Recommended way to install this mod is through Thunderstore. You can install this plugin manually by cloning the repo, building it and adding the dll to your bepinex plugins folder. This plugin is dependent on the magnificent TimberAPI.

Problems?

In case you experience problems, message me in modding channel of the the Timberborn discord or message me directly. I will try to fix it as soon as possible. :D

Changelog

1.0.1 - 7.7.2022

  • Updated to be compatible with the experimental update on 6.7.2022.
  • Small removals and changes to the code.

1.0.0 - 25.6.2022

  • Fixed a bug related to the migration of golems.

0.1.2 - 24.6.2022

  • Fixed listener events.
  • Fixed OnEvent calls.
  • Removed unnecessary code.

0.1.1 - 24.6.2022

  • Fixed image not working.

0.1.0 - 24.6.2022

  • Released the plugin.