


A work in progress project for generating random maps for timberborn. It uses several open source projects, including the works of Caps_Errors (initial python code), reddit user u/savanik (updated with river handling) and myself, MSterczewski (some plugin modeling), R-T-B (additions of new plant life, porting to the game as a plugin, and such).
Before you proceed, you should be aware this plugin will likely only work on windows installs of the game, due to the included python script it has to fire as an exe. Mac users might be able to make use of the python script in it's raw form on the source repo, but no promises.
Generating a map is simple! Install the plugin, and generate a new map! Be aware all maps will be square due a limitation of the generator, using the largest dimension, and all will be based roughly around a single river system. I am open to expanding this in the future.
Once the map is generated, feel free to run the water sim, drop a starting location somewhere nice, and load in. That's reall all there is to it, and most of the maps it makes are playable, though you may want to load a few times to "optimze" your start. I won't judge you... heh.
Please note that because of how this mod hooks into another dev language (python) it may trigger some antiviruses. This is a false positive.
In order to install the mod follow the instructions from BepInEx website: https://docs.bepinex.dev/articles/user_guide/installation/index.html
Changelog:
v0.1.0: Initial Release.
v0.1.1: Make rivers more shallow and integrate water errorsion to smooth them so flow is not impeded.
v0.1.2: Hotfix to prevent floodplains being way too common.
v0.1.3: Reduce spawn of mines to roughly same as stock, also add second dimension to be usable as a seed parameter since maps are always square anyways. If you don't want a seed, having the dimensions exactly square behaves as before. Also unlocked generating larger maps, but unsure if it works well.
If you have any feedback, please reach out to me at github