1) Start a new game or load a savegame.
2) Place a concrete tile one the ground.
3) Stand on the concrete tile and execute the following command
Code: Select all
/c game.player.print(game.player.surface.get_tile(game.player.position.x,game.player.position.y).name);game.player.print(game.player.surface.get_hidden_tile(game.player.position))
Expected behavior : The first print should show "concrete", the second one shoud show the tile name of what is under the concrete (in the screenshot, grass-dry).
Actual behavior : The first print show concrete, the second one show "nil".
With a bit of test I manage to find that you get the correct hidden tile when you request the tile position just above the concrete tile.
If you stand on the tile above the concrete and run the previous command, the print will be "name of the tile you are standing on, and the second print will show the name of the tile under the concrete. In this screenshot we see that the first print show us the tile we are on (dirt) and the second print (hidden_tile) return the tile that is under the concrete (grass-dry)
Using numeric position instead of player position have the same result.
Edit : Changed factorio version to 0.13.17.