Some way to detect fast-replace for entities

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
User avatar
Reika
Filter Inserter
Filter Inserter
Posts: 582
Joined: Tue May 19, 2015 1:56 am
Contact:

Some way to detect fast-replace for entities

Post by Reika »

Whether that is a dedicated on_fast_replace event or a new parameter onto on_entity_built - basically some way to get a reference to both entities (or at least some unique ID like a unit_number) to allow copying of data mapped to the old entity to be re-applied to the new one.
Image

Post Reply

Return to “Modding interface requests”