by nsd » Sun Dec 28, 2014 22:06
I think this can easily be done, but since I'm new to lua, I might be wrong. So, here goes:
At least for dirt slabs:
For every dirt_with_grass block:
1) Check if the node above is air. If not, stop.
2) Check if there is a dirt_with_grass block above any of the 4 laterally adjacent nodes.
3) Place a dirt_with_grass slab one node above the block you were originally looking at. Done!
Oh, and bump!