Timberborn

Timberborn

352 ratings
TimberApi
3
4
2
2
   
Award
Favorite
Favorited
Unfavorite
Mod
File Size
Posted
Updated
767.116 KB
13 Jul, 2024 @ 4:30am
31 May @ 5:13am
20 Change Notes ( view )

Subscribe to download
TimberApi

Description
TimberAPI supports modders to create new content in Timberborn.

Featues
  • Custom bottombar, providing customization options based on specifications and better Tool acces for modders.
  • SceneManager to check what scene is active.
  • Extended default options for IObjectLoader.
  • SpecificationGenerator, this gives the ability to generate specifications within code.
  • Changed the lifecycle of PrefabCollection so it's loaded before any other SingletonLifecycle.

Breaking changes

Bottom bar
The rework of the bottombar can cause crashes or not showing custom Tools that are implemented the original way.
Modders that want to add custom tool should implement it with TimberApi otherwise it won't be compatible when TimberApi is installed.

This is a technical limitations how the base game bottombar is build and TimberApi can't fix this issue.
Note: This problem already existed since Timberborn update 3.
Popular Discussions View All (2)
13
3 Jul @ 12:53pm
TimberApi ERROR.
MacArni
9
25 Feb @ 12:22pm
Update 0.7 experimetell
Granatapfel
161 Comments
Panchito Mágico 12 Jul @ 5:59am 
Please compatibility with Config. Factions </3
Scroller 3 Jul @ 7:36am 
@TheBloodEyes - Thanks for letting us know.
TheBloodEyes  [author] 3 Jul @ 1:49am 
@Scroller The author fixed the issue, it was as easily fixable on his side. So everything should work now.
Scroller 21 Jun @ 6:40am 
@Air - The author of that mod has said that they can't do a fix because it actually needs to be done for -this- mod.
Air 20 Jun @ 10:01pm 
For anyone having trouble. Right now the mod Moddable Bindito [For Modders] is causing the error with its recent update.
YemCilmaz 20 Jun @ 10:16am 
+++
TimberApi.SingletonSystem.SingletonLifecycleServicePatcher.LoadSingleton[T] (System.Collections.Generic.IEnumerable`1[T] singletons, System.Action`1[T] action) (at <0673fedbcca9497a90c561275f1aa775>:0)
TimberApi.SingletonSystem.SingletonLifecycleServicePatcher.LoadAllPrefix (Timberborn.SingletonSystem.ISingletonRepository ____singletonRepository) (at <0673fedbcca9497a90c561275f1aa775>:0)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Timberborn.SingletonSystem.SingletonLifecycleService.LoadAll_Patch1(Timberborn.SingletonSystem.SingletonLifecycleService)
Timberborn.SingletonSystem.SingletonLifecycleUnityAdapter.Start () (at <9117b1294fcf4df390fc07f3eef2285e>:0)
YemCilmaz 20 Jun @ 10:16am 
I am having a problem with the following error log and with the existing update..

v0.7.9.4-957f3c3-sw
NullReferenceException: Object reference not set to an instance of an object
TimberApi.SpecificationSystem.GeneratedSpecLoader.PostLoad () (at <514fe957c82a4375b887fa4e42e2be35>:0)
TimberApi.SingletonSystem.SingletonLifecycleServicePatcher+<>c.<LoadAllPrefix>b__0_1 (TimberApi.SingletonSystem.ITimberApiPostLoadableSingleton singleton) (at <0673fedbcca9497a90c561275f1aa775>:0)+++
oliverrook 5 Jun @ 4:24pm 
Alright. This mod does work with only it and harmony enabled, so it must be a conflict.
oliverrook 5 Jun @ 4:22pm 
*Just this and harmony
oliverrook 5 Jun @ 4:22pm 
I seem to also be getting the crash some people are talking about with the UIBuilder class. Will test to see if it works with only this mod enabled.