OldTileAndPosition data in script_raised_set_tiles

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
jurgy
Inserter
Inserter
Posts: 30
Joined: Wed Feb 27, 2019 5:55 pm
Contact:

OldTileAndPosition data in script_raised_set_tiles

Post by jurgy »

Is it possible to expose the OldTileAndPosition data when a script runs set_tiles with raise_event=true? This would match the behavior of on_player_built_tile and on_robot_built_tile.

Currently it's not possible to run cleanup code of my mod's tiles when they are removed by a script unless I store the position of each of these tiles in global table when they are first placed and then grab the position from the event.
jurgy
Inserter
Inserter
Posts: 30
Joined: Wed Feb 27, 2019 5:55 pm
Contact:

Re: OldTileAndPosition data in script_raised_set_tiles

Post by jurgy »

Could this be considered again? Thanks!
Post Reply

Return to “Modding interface requests”