First of all, I am very new to modding in Factorio. I found the list of events here: https://lua-api.factorio.com/latest/events.html and I successfully used them for a few tests.
I want to do some magic BEFORE the player builds a tile. I found "on_pre_build" but I could not find any "pre" version of "on_player_built_tile". Am I blind?!
Where is on_pre_player_built_tile ?
Re: Where is on_pre_player_built_tile ?
I think there never was one, because tiles never performed any checks before being placed (and deleted colliding entities). BUT in the most recent update, tile building has to check for collisions, so it might now be necessary/possible to add a pre-tile-placed event.
My mods: Multiple Unit Train Control, Smart Artillery Wagons
Maintainer of Vehicle Wagon 2, Cargo Ships, Honk
Maintainer of Vehicle Wagon 2, Cargo Ships, Honk
Re: Where is on_pre_player_built_tile ?
Ok. Thanks so far!