Fix minetest-mods/moreblocks#98
Caused by cf1b054a99, 6a996eb86a and minetest/minetest_game@2f46103ff8.
For some unknown reason `default:glass` and `obsidian:glass` have `paramtype2 = "glasslikeliquidlevel"`. After the refactor of `stairsplus/registrations.lua`, all of the source node's defs are passed along to `stairsplus:register_all()`. Prior to cf1b054a99 the paramtype2 setting was discarded.
* Refactor stairsplus registrations
- Reorganize and remove redundant code.
- Remove sunlight_propagates=true and default to paramtype="light".
This causes cut blocks to have a shadow but not completely block light.
- Fix several bugs (#90, #91, #92).
* Readd sunlight_propagates=true for compatibility.
* Make wool sawable
Based on my simple research https://github.com/minetest-mods/moreblocks/issues/71 enabling wool should not cause major slowdowns.
Code pasted from gloopblocks
* List wool as optional dependancy
* Added check for wool dependancy
* Make life easier for translators
For all glasslike drawtype nodes, the tiles contain up to 2
textures. The second texture is for "connected" glass, but that
likely is a transparent texture. If we use the `tiles` def without
modification, we will make all those slabs/slopes transparent on all
sides except the top.
To fix, we remove the tiles[2] from the tiledef in case the node is
a glasslike drawtype.