Allow the quality of a entity to be changable at runtime

Things that we aren't going to implement
MrSmoothieHuman
Fast Inserter
Fast Inserter
Posts: 128
Joined: Sat Aug 05, 2023 1:20 am
Contact:

Allow the quality of a entity to be changable at runtime

Post by MrSmoothieHuman »

Wanted to ask about the possibility of allowing the quality of a building to be changable at runtime? I'm not sure how feasible it'd be, but i know a lot of modders would like to make use of it in some capacity.
I personally want to use it to create beacons that can change their beacon range without entity swapping, since this seems to be the only way to do it within those constraints :lol:

(i am also partially curious if this even feasible, i know quality has been pretty locked down for a while but im interested in how much could be done and exposed to the API :] )
coder? i hardly know her!
Rseding91
Factorio Staff
Factorio Staff
Posts: 15847
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Allow the quality of a entity to be changable at runtime

Post by Rseding91 »

I looked into it early on and it's functionally not possible. It's identical to asking for "Allow changing the name of an entity runtime". The only way to do it is destroy the old entity and create a new one with the new name.

The only way to change the quality of an entity runtime is to destroy the entity and create a new one with a different quality.
If you want to get ahold of me I'm almost always on Discord.
MrSmoothieHuman
Fast Inserter
Fast Inserter
Posts: 128
Joined: Sat Aug 05, 2023 1:20 am
Contact:

Re: Allow the quality of a entity to be changable at runtime

Post by MrSmoothieHuman »

fair, its what i expected - glad to hear it was considered though!
coder? i hardly know her!
Post Reply

Return to “Won't implement”