Page 1 of 1

OldTileAndPosition data in script_raised_set_tiles

Posted: Tue Jul 30, 2024 3:49 pm
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.

Re: OldTileAndPosition data in script_raised_set_tiles

Posted: Tue Dec 31, 2024 1:06 pm
by jurgy
Could this be considered again? Thanks!