Asteroids cannot be given healing property?

Place to get help with not working mods / modding interface.
a4194304
Manual Inserter
Manual Inserter
Posts: 3
Joined: Sun Feb 04, 2024 8:30 am
Contact:

Asteroids cannot be given healing property?

Post by a4194304 »

Adding code like

Code: Select all

data.raw.asteroid["huge-promethium-asteroid"].healing_per_tick = 5
will correctly show healing as 300/s in factoriopedia, but it won't take effect.
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 4288
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: Asteroids cannot be given healing property?

Post by boskid »

Currently that is a limitation that only some entities (mainly ones that need update) support auto heal: units, spider units, turrets, enemy spawners and characters. Trees are an exception since they can regenerate without being updatable.

Looks like asteroids are updatable but they were not made to support healing_per_tick.
Post Reply

Return to “Modding help”