Timberborn

Timberborn

Not enough ratings
Buff & Debuff System [U7 ✅]
   
Award
Favorite
Favorited
Unfavorite
Mod
File Size
Posted
Updated
132.168 KB
24 Feb @ 2:52pm
21 Jun @ 11:24pm
10 Change Notes ( view )

Subscribe to download
Buff & Debuff System [U7 ✅]

In 1 collection by Luke ✞ Jesus Saves ✞
U7 Compatible Mods (My mods only)
75 items
Description
This mod serves as a foundational feature for other mods to build upon. This mod does not do anything on its own, it offers a robust system for implementing buffs and debuffs.

Documentation for Developers including a Quick Start guide, a Step-by-step guide is available here: https://datvm.github.io/TimberbornMods/BuffDebuff/

With this mod, you can effortlessly apply buffs or debuffs to any in-game entity, such as Beavers, Manufactories, Buildings, or other objects. The mod includes pre-built UI components, a manager, and common use case classes, allowing you to focus on creating the desired effects without worrying about debugging or implementation details.

Global Wellbeing is an example mod that I use this system to buff Beavers.
Buff & Debuff Demo is a mod created using the Step-by-step guide for making a mod with Buff & Debuff System[datvm.github.io]

===
Mod source code and donation: https://github.com/datvm/TimberbornMods

v7.1.2: Fixed a crash with Macro Management due to Component inheritance.
13 Comments
MastaMOMO 11 Apr @ 1:37pm 
Thanks for the cool mod Luke, also thanks for taking care of us!
鸡【蛋柿】子 10 Apr @ 7:23pm 
希望可以出一个优化mod加载的mod 现在加载mod 进入游戏 只会显示背景图 无法确认加载情况以及加载进度
Luke ✞ Jesus Saves ✞  [author] 10 Apr @ 6:41pm 
Hi, thanks. I am aware of the changes from yesterday's update. Any mod that needs saving/loading broke and need to be updated. I will do it later though, busy today.
OutsiderX 10 Apr @ 4:15pm 
Ooph, Same errors here. Did a stripdown test and getting a crash when starting a new map/loading

v0.7.3.1-20877bb-xsw
MissingMethodException: Method not found: bool Timberborn.WorldPersistence.ISingletonLoader.HasSingleton(Timberborn.WorldPersistence.SingletonKey)
BuffDebuff.BuffEntityService.Load () (at D:/Personal/Mods/Timberborn/TimberbornMods/BuffDebuff/Entities/BuffEntityService.cs:63)
Timberborn.SingletonSystem.SingletonLifecycleService.LoadSingletons () (at <a00d649e079a4a109c9d6aef3597daa8>:0)
Timberborn.SingletonSystem.SingletonLifecycleService.LoadAll () (at <a00d649e079a4a109c9d6aef3597daa8>:0)
Timberborn.SingletonSystem.SingletonLifecycleUnityAdapter.Start () (at <a00d649e079a4a109c9d6aef3597daa8>:0)
鸡【蛋柿】子 10 Apr @ 7:42am 
Configurable & Moddable Lights Moddable and Unlockable Recipe
Buff & Debuff System Save Everyday
其中有是重要依赖项mod 导致依赖它的mod无法验证
鸡【蛋柿】子 10 Apr @ 7:13am 
v0.7.3.1-20877bb-xsw
MissingMethodException: Method not found: bool Timberborn.WorldPersistence.ISingletonLoader.HasSingleton(Timberborn.WorldPersistence.SingletonKey)
BuffDebuff.BuffEntityService.Load () (at D:/Personal/Mods/Timberborn/TimberbornMods/BuffDebuff/Entities/BuffEntityService.cs:63)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Timberborn.SingletonSystem.SingletonLifecycleService.LoadSingletons_Patch2(Timberborn.SingletonSystem.SingletonLifecycleService)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Timberborn.SingletonSystem.SingletonLifecycleService.LoadAll_Patch1(Timberborn.SingletonSystem.SingletonLifecycleService)
Timberborn.SingletonSystem.SingletonLifecycleUnityAdapter.Start () (at <a00d649e079a4a109c9d6aef3597daa8>:0)
Luke ✞ Jesus Saves ✞  [author] 7 Mar @ 5:30pm 
That's very strange. did you subscribe like a few days before your first comment? Maybe when I was uploading, I didn't set the required items yet? Anyway it should work properly now I hope :)
Greystar 7 Mar @ 8:46am 
It did not and it was not when I subscribed to it. Neither of the required mods said they needed anything in their Required items list when I subscribed to them if they had I wouldn't have said anything.
Luke ✞ Jesus Saves ✞  [author] 4 Mar @ 1:12pm 
Hi, I have it in both the Description and the Required Items (the right-side bar) of Global Wellbeing :) When you subscribe to Global Wellbeing, Steam should have prompted you to subscribe to this mod as well.
Greystar 4 Mar @ 9:53am 
This mod is required for Global Well Being Might want to indicate that in the description of the other mod.