Nature regeneration


A simple Factorio mod that makes all naturally occuring entities regenerate health over time.

Tweaks
3 months ago
2.0
183
Environment
Owner:
CaptainHook
Source:
https://github.com/staniond/nature_re...
Homepage:
N/A
License:
MIT
Created:
3 months ago
Latest Version:
1.1.0 (3 months ago)
Factorio version:
2.0
Downloaded by:
183 users

Nature regeneration

A simple mod that makes all naturally occuring entities (like rocks on Nauvis)
regenerate health over time (just like trees do).

Do you on accident touch a rock with your car and now you have to destroy it
or a 99.9% full health bar will haunt you for the rest of time? No more!

Also adds a command to heal all nature entities to max health, just type /regenerate-nature into chat.

Notes

Healing is quite heavy on UPS on large worlds (script has to iterate through all nature entities),
but healing is only done when at least one nature entity is damaged (should not be often) and with a very slow frequency.
You can adjust the healing frequency in map settings (once in 5s by default).
It is possible to disable healing over time in the map settings.
You can still use the /regenerate-nature command without any performance consequences while playing.

Entities that this mod applies health regen stat to are autodetected
(all entities that are autoplaceable by the map generator). Should also
work for modded/newly added entities.

In case some entities are missed, contact me please.