Noita
Not enough ratings
HP Regeneration
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
21.611 KB
6 Apr @ 7:32pm
8 Apr @ 7:12am
3 Change Notes ( view )

Subscribe to download
HP Regeneration

Description
Regenerate health automatically every few seconds. Lots of configuration options. Now uses 0 custom tags!
9 Comments
Insomniac 11 Jul @ 5:43am 
@gbromios alhamdulillah
gbromios  [author] 9 Jul @ 8:44pm 
@insomniac cathedrals everywhere for those with eyes to see
gbromios  [author] 9 Jul @ 8:44pm 
@anarcher idk i only ever used this one
Insomniac 6 Jul @ 9:35pm 
im so fucked up i thought the squiggles on the hp bar was a paint drawing of Saddam Hussein
anarcher 10 Apr @ 12:27am 
What's the difference between this mod and this:
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3043763250
gbromios  [author] 7 Apr @ 1:11pm 
funny you should mention it, that's pretty much what I just did. Originally I wasn't aware of the limitation on custom tags, and just noticed it while i was reading docs. Not knowing that, my reasoning was that i would avoid creating a different table if I could just query each variable where i needed it. The code was nicer that way too, even if there wasn't any practical performance benefit.

Anyway, the real laziness was me not wanting to refactor in spite of learning this fact, but I had some time this afternoon so I just did it.
Copi 7 Apr @ 10:02am 
wouldn't it be much simpler to loop over all variable storage components and assign them to a string indexed table by the name field of them? I do appreciate that you acknowledged the tag usage in the description though
gbromios  [author] 7 Apr @ 9:31am 
@Copi I have an entity with a bunch of variable storage components and I'm using the tags to grab them with very little effort during the regen script. I will probably get around to refactoring it a bit, but I just wanted to mention it in the description in case someone had a lot of mods and didn't expect something like this to blow their stuff up
Copi 7 Apr @ 8:33am 
I have to wonder why this mod uses so many tags, even if lazy