Mods / HotPoultice — Makes Poultices Heal-over-Time
Category:
#QoL
#Tweak
Author: goxmeor
Side: Both
Created: May 4th 2021 at 6:23 AM
Last modified: May 4th 2021 at 6:24 AM
Downloads: 597
Follow Unfollow 6
Author: goxmeor
Side: Both
Created: May 4th 2021 at 6:23 AM
Last modified: May 4th 2021 at 6:24 AM
Downloads: 597
Follow Unfollow 6
Latest file for v1.14.8:
HotPoultice-1.0.0.zip
1-click install
This mod changes poultices to be heal-over-time (HoT) instead of instantaneous.
All poultices take 8 seconds to finish working. More powerful poultices will restore more health per tick. The total amount of healing is unchanged.
BuffStuff
This mod mostly exists as a proof of concept and sample implementation of the BuffStuff library.
BuffStuff is included as a git submodule in src/
.
Version | For Game version | Downloads | Release date | Changelog | Download | 1-click mod install* |
---|---|---|---|---|---|---|
v1.0.0 | 597 | May 4th 2021 at 6:24 AM | Show | HotPoultice-1.0.0.zip | Install now |
Tried on 1.18 and it didnt work :(
Heads up, there's an
System.MissingFieldException: Field not found: 'Vintagestory.API.Common.CollectibleObject.Attributes'
error when playing on v1.15.7
"Relatively simple" indeed... .dll files scare me, I can barely even open and read them right now.
I don't want to apply it to _all_ healing, since a mod may want to have both Heal Over Time and Instant Heal items. It should be relatively simple for Expanded Foods to add the BuffStuff library, copy the HealOverTimeBuff from this mod, and apply it instead of healing directly. All the code you'd need is already written in this mod's source, except that instead of using Harmony patching, you could just add the buff directly, since you control the code you want modified.
This mod would not be a dependency. BuffStuff is meant to be copied around to other mods as required.
Uhh... you know.... mods? :D
I guess there are only the poultices normally, oops. Expanded Foods adds healing to various foods and it'd be neat if my jelly-filled, syrup-covered berry bread restored 8 HP over 30 seconds instead of healing instantly.
However, I'm not that good of a coder, so it's not a big deal!
What other forms of healing are there? Pull Requests welcome ;)
Hey goxmeor, do you think you could make a version of this that automatically applies to all forms of healing in the game?
Do it, Tyron! Make this mod obsolete!
Heh. Been wanting to add that to VS for the last 3 major updates :D