Page 1 of 1

[Twinsen][1.1.27] trees heal when healing_per_tick is 0

Posted: Fri Mar 19, 2021 2:02 am
by Honktown
It's a very minor issue, but it is not expected and not... counter-able in mods without knowing the actual healing per tick rate of trees (one would hope it's the same at best)

Re: [Twinsen][1.1.27] trees heal when healing_per_tick is 0

Posted: Fri Mar 19, 2021 11:19 am
by Twinsen
Fixed in Version: 1.1.28

Previously the value was hard-coded at 0.1/second.

Changed to work as follows:
healing_per_tick

Type: float
Default: 0.001666 for Prototype/Tree, 0 for the rest of entities.

The amount of health automatically regenerated per tick. The entity must be active for this to work. Trees will regenerate every 60 ticks with healing_per_tick*60 and they don't need to be active.