diff --git a/moreblocks.lua b/moreblocks.lua index 04495e2..e01de9e 100644 --- a/moreblocks.lua +++ b/moreblocks.lua @@ -60,15 +60,16 @@ local name = {"red", "green", "white", "black", "blue", "brown", "cyan", for i = 1, 16 do local name = name[i] - register_stair_slab_panel_micro(name, "block", "wool:"..name, - {cracky=3}, - {"wool_"..name..".png"}, - name .. "wool", - "block", - 0 - ) - table.insert(circular_saw.known_stairs, "wool:"..name) + stairsplus:register_all("moreblocks", "wool_"..name, "wool:"..name, { + description = name.." Wool", + tiles = {"wool_"..name..".png"}, + groups = {oddly_breakabe_by_hand=1}, + sounds = default.node_sound_defaults(), + }) + minetest.register_alias(name..":slab_block_1", "moreblocks:slab_wool_"..name) + minetest.register_alias(name..":slab_block_2", "moreblocks:slab_wool_"..name) end +minetest.register_alias("wool:white_microslab", "moreblocks:slab_wool_white") table.insert(circular_saw.known_stairs, "default:stone_block") table.insert(circular_saw.known_stairs, "default:desert_stone_block")