From 8ca8c0088ea3b0e51f21bb7f48f8645470cf542a Mon Sep 17 00:00:00 2001 From: Milan* Date: Mon, 18 Sep 2017 17:32:46 +0200 Subject: [PATCH] attempt to improve wool registrations on moreblocks --- moreblocks.lua | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) 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")