2019-04-13 17:11:40 +02:00
|
|
|
stairsplus:register_all("default", "stone_block", "default:stone_block", {
|
|
|
|
description = "Stone Block",
|
|
|
|
tiles = {"default_stone_block.png"},
|
|
|
|
groups = {cracky=3},
|
|
|
|
sounds = default.node_sound_stone_defaults(),
|
|
|
|
})
|
|
|
|
|
|
|
|
stairsplus:register_all("mordefaulteblocks", "desert_stone_block", "default:desert_stone_block", {
|
|
|
|
description = "Desert Stone Block",
|
|
|
|
tiles = {"default_desert_stone_block.png"},
|
|
|
|
groups = {cracky=3},
|
|
|
|
sounds = default.node_sound_stone_defaults(),
|
|
|
|
})
|
|
|
|
|
|
|
|
stairsplus:register_all("default", "sandstone_block", "default:sandstone_block", {
|
|
|
|
description = "Sandstone Block",
|
|
|
|
tiles = {"default_sandstone_block.png"},
|
|
|
|
groups = {cracky=3},
|
|
|
|
sounds = default.node_sound_stone_defaults(),
|
|
|
|
})
|
|
|
|
|
|
|
|
stairsplus:register_all("default", "obsidian_block", "default:obsidian_block", {
|
|
|
|
description = "Obsidian Block",
|
|
|
|
tiles = {"default_obsidian_block.png"},
|
|
|
|
groups = {cracky=3},
|
|
|
|
sounds = default.node_sound_stone_defaults(),
|
|
|
|
})
|
|
|
|
|
|
|
|
stairsplus:register_all("default", "tinblock", "default:tinblock", {
|
|
|
|
description = "Tin Block",
|
|
|
|
tiles = {"default_tinblock.png"},
|
|
|
|
groups = {cracky=3},
|
|
|
|
sounds = default.node_sound_stone_defaults(),
|
|
|
|
})
|
|
|
|
|
|
|
|
stairsplus:register_all("trunks", "twigs", "trunks:twigs", {
|
|
|
|
description = "Twigs",
|
|
|
|
tiles = {"trunks_twigs.png"},
|
|
|
|
groups = {cracky=3},
|
|
|
|
sounds = default.node_sound_stone_defaults(),
|
|
|
|
})
|
|
|
|
|
|
|
|
stairsplus:register_all("illuna", "stonebrick", "illuna:stonebrick", {
|
|
|
|
description = "Illuna Stonebrick",
|
|
|
|
tiles = {"default_stone_brick.png"},
|
|
|
|
groups = {cracky=3},
|
|
|
|
sounds = default.node_sound_stone_defaults(),
|
|
|
|
glow = 3,
|
|
|
|
})
|
|
|
|
|
|
|
|
stairsplus:register_all("ethereal", "willow_trunk", "ethereal:willow_trunk", {
|
|
|
|
description = "Willow Trunk",
|
|
|
|
tiles = {"willow_trunk.png"},
|
|
|
|
groups = {cracky=3},
|
|
|
|
sounds = default.node_sound_stone_defaults(),
|
|
|
|
glow = 3,
|
|
|
|
})
|
2017-10-06 22:21:29 +02:00
|
|
|
|
2017-01-31 12:30:50 +01:00
|
|
|
local name = {"red", "green", "white", "black", "blue", "brown", "cyan",
|
|
|
|
"grey", "dark_green", "dark_grey", "magenta", "orange", "pink",
|
|
|
|
"red", "violet", "yellow"}
|
|
|
|
|
|
|
|
for i = 1, 16 do
|
|
|
|
local name = name[i]
|
2017-09-18 17:32:46 +02:00
|
|
|
stairsplus:register_all("moreblocks", "wool_"..name, "wool:"..name, {
|
|
|
|
description = name.." Wool",
|
|
|
|
tiles = {"wool_"..name..".png"},
|
2017-09-20 18:24:41 +02:00
|
|
|
groups = {snappy = 2, choppy = 2, oddly_breakable_by_hand = 3,
|
|
|
|
flammable = 3, wool = 1},
|
2017-09-18 18:48:47 +02:00
|
|
|
sounds = illuna.node_sound_wool(),
|
2017-09-18 17:32:46 +02:00
|
|
|
})
|
2017-09-18 18:48:47 +02:00
|
|
|
minetest.register_alias(name..":slab_block_1", "moreblocks:slab_wool_"..name.."_1")
|
|
|
|
minetest.register_alias(name..":slab_block_2", "moreblocks:slab_wool_"..name.."_2")
|
2017-01-31 12:30:50 +01:00
|
|
|
end
|
2017-09-18 17:32:46 +02:00
|
|
|
minetest.register_alias("wool:white_microslab", "moreblocks:slab_wool_white")
|
2017-01-31 12:30:50 +01:00
|
|
|
|
2016-08-11 14:32:06 +02:00
|
|
|
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:sandstone_block")
|
|
|
|
table.insert(circular_saw.known_stairs, "default:obsidian_block")
|
2017-12-19 22:13:35 +01:00
|
|
|
table.insert(circular_saw.known_stairs, "ethereal:willow_trunk")
|
2017-05-23 11:38:03 +02:00
|
|
|
table.insert(circular_saw.known_stairs, "illuna:stonebrick")
|