Move production_health_effect

Things that we aren't going to implement
Moterius
Burner Inserter
Burner Inserter
Posts: 19
Joined: Wed Jun 07, 2023 7:39 am
Contact:

Move production_health_effect

Post by Moterius »

I'm trying to make entities that only last a given time, but am assuming that keeping track of it using script would cause a lot more lag than letting the engine do it natively would. I'd like for production_health_effect to be moved to EntityWithOwner / EntityWithHealth and the properties changed to 'active' and 'inactive'.

Specifically, I am interested in this for inserters and pumps. I am trying to model wear on the entities that are most likely to be affected by it.
Rseding91
Factorio Staff
Factorio Staff
Posts: 15671
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Move production_health_effect

Post by Rseding91 »

Sorry, but no. This logic on assembling machines already forces them to be active at all times and has a negative performance cost to exist. It's also ripe for crashes due to mod errors/mod interference.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Won't implement”