Timberborn

Timberborn

Not enough ratings
[For Modders] Moddable Bindito [U7 ✅]
   
Award
Favorite
Favorited
Unfavorite
Mod
File Size
Posted
Updated
63.906 KB
4 Apr @ 1:54pm
10 Jul @ 9:37am
5 Change Notes ( view )

Subscribe to download
[For Modders] Moddable Bindito [U7 ✅]

In 1 collection by Luke ✞ Jesus Saves ✞
U7 Compatible Mods (My mods only)
75 items
Description
Allow modders to perform some in-depth modifications to Bindito.

About this mod

With this mod, you can run your services before ISpecService or PrefabGroupService and perform certain modifications as well. If you need anything, I can also add more points of access.

While waiting for documentations™️, you can check how to use it through interfaces at https://github.com/datvm/TimberbornMods/blob/master/ModdableBindito/. All public members are documented. An example is my mod Brain-Power Scientific Project's https://github.com/datvm/TimberbornMods/blob/master/ScientificProjects/BrainPowerSPs/Patches/PrefabModifier.cs that can modify a prefab based on save info and still before the tools/buildings are loaded.

Also provide a Remove extension method to remove an existing binding to replace it with your own (Decorator Pattern).

This mod does NOT need Harmony.

If you need any support or feedback, feel free to contact me on Timberborn's official Discord ( https://discord.gg/timberborn, on #mod-users[discord.com] channel), or @theapologist316

===
v7.1.4: Prefabs should now be replaced correctly.
v7.1.3: Should now work with both Automation and TimberApi (hopefully).
v7.1.2: Technical update: ModdableSpecService is now a SpecService (for ISpecService)
v7.1.1: it can work with the latest version of TimberApi.
17 Comments
nnnnnneko2016 6 Jul @ 7:04pm 
OK! I'll go and have a look. Thanks!:steamhappy:
Luke ✞ Jesus Saves ✞  [author] 3 Jul @ 2:11am 
You can go to Discord, people are very helpful there :)
nnnnnneko2016 3 Jul @ 2:00am 
I want to send it, but I don't know where the log is. QAQ
Luke ✞ Jesus Saves ✞  [author] 2 Jul @ 8:26pm 
Could you send me the crash log (on Discussion tab or on Discord) please? Thanks.
nnnnnneko2016 2 Jul @ 6:53pm 
Still crashed.T_T
One of my favorite mod
Luke ✞ Jesus Saves ✞  [author] 2 Jul @ 10:02am 
v7.1.3: Should now work with both Automation and TimberApi (hopefully).
Luke ✞ Jesus Saves ✞  [author] 30 Jun @ 6:07am 
Yes, it is known, please see the comment below.
Panchito Mágico 30 Jun @ 5:52am 
I think this mod is causing an issue for me with TimberApi (which is required by some of my mods: RotatingSun, MoreGroups). I posted the entire log in Discord but I ask here just in case.

NullReferenceException: Object reference not set to an instance of an object
at TimberApi.SpecificationSystem.GeneratedSpecLoader.PostLoad () [0x00057] in <514fe957c82a4375b887fa4e42e2be35>:0
at TimberApi.SingletonSystem.SingletonLifecycleServicePatcher+<>c.<LoadAllPrefix>b__0_1 (TimberApi.SingletonSystem.ITimberApiPostLoadableSingleton singleton) [0x00000] in <0673fedbcca9497a90c561275f1aa775>:0
at TimberApi.SingletonSystem.SingletonLifecycleServicePatcher.LoadSingleton[T] (System.Collections.Generic.IEnumerable`1[T] singletons, System.Action`1[T] action) [0x00012] in <0673fedbcca9497a90c561275f1aa775>:0
...

Any ideas? Thanks :)
Luke ✞ Jesus Saves ✞  [author] 24 Jun @ 12:21pm 
This version works with Automation (but not TimberApi). 7.1.1 (which you can download from mod.io) works with TimberAPi but not Automation.
Vas 24 Jun @ 5:28am 
Hopefully the steam version of this can be fixed again soon. I definitely need Automation to really play proper.