The macro "Auto_heal" for "Factorio" can be downloaded and used on any mouse and keyboard.
Installing the macro is with one movement in the Keyran program and increases your skill level in Factorio, if you follow the
instructions!
A macro for automatically restoring the hero's health at low values, about 1/5 of full, with additional functions.
Inside the macro, automatic detection of containers, for example, turrets, is implemented - if opened by accident, the script will close the menu itself and continue working without failures. Also, the script will automatically detect the presence of fish in the third slot of the inventory - if there is no fish, the macro will continue to work normally without causing errors.
For the script to function, the presence of fish in the third slot of the inventory is required.