I want to place Concrete automatically, but only on placable tiles. There is a "can_place_entity" function in documentation, but I would like to achieve the same thing for tiles. For example I want to prevent my code to auto-build on water tiles.
I can do :
Code: Select all
if surface.get_tile(position).name ~= "water" then ...
How can I achieve this?
Regards