attempt to improve wool registrations on moreblocks

This commit is contained in:
Milan* 2017-09-18 17:32:46 +02:00
parent 836d1d9122
commit 8ca8c0088e

View File

@ -60,15 +60,16 @@ local name = {"red", "green", "white", "black", "blue", "brown", "cyan",
for i = 1, 16 do for i = 1, 16 do
local name = name[i] local name = name[i]
register_stair_slab_panel_micro(name, "block", "wool:"..name, stairsplus:register_all("moreblocks", "wool_"..name, "wool:"..name, {
{cracky=3}, description = name.." Wool",
{"wool_"..name..".png"}, tiles = {"wool_"..name..".png"},
name .. "wool", groups = {oddly_breakabe_by_hand=1},
"block", sounds = default.node_sound_defaults(),
0 })
) minetest.register_alias(name..":slab_block_1", "moreblocks:slab_wool_"..name)
table.insert(circular_saw.known_stairs, "wool:"..name) minetest.register_alias(name..":slab_block_2", "moreblocks:slab_wool_"..name)
end 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:stone_block")
table.insert(circular_saw.known_stairs, "default:desert_stone_block") table.insert(circular_saw.known_stairs, "default:desert_stone_block")