2020-08-04 19:16:51 +02:00
|
|
|
local S = minetest.get_translator("building_blocks")
|
2017-09-27 15:29:20 +02:00
|
|
|
|
|
|
|
if minetest.get_modpath("moreblocks") or minetest.get_modpath("stairs") then
|
|
|
|
minetest.register_alias("building_blocks:slab_tar", "stairs:slab_Tar")
|
|
|
|
minetest.register_alias("building_blocks:stair_tar", "stairs:stair_Tar")
|
2017-09-27 17:05:20 +02:00
|
|
|
minetest.register_alias("building_blocks:slab_marble", "stairs:slab_Marble")
|
|
|
|
minetest.register_alias("building_blocks:stair_marble", "stairs:stair_Marble")
|
2017-09-27 15:29:20 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
if minetest.get_modpath("moreblocks") then
|
2022-06-24 18:01:26 +02:00
|
|
|
minetest.register_alias_force("moreblocks:tar", "building_blocks:Tar")
|
2017-09-27 15:29:20 +02:00
|
|
|
stairsplus:register_alias_all("building_blocks", "tar", "building_blocks", "Tar")
|
|
|
|
stairsplus:register_alias_all("building_blocks", "marble", "building_blocks", "Marble")
|
2017-11-20 18:26:57 +01:00
|
|
|
stairsplus:register_alias_all("moreblocks", "tar", "building_blocks", "Tar")
|
2018-10-25 19:03:25 +02:00
|
|
|
|
|
|
|
if minetest.get_modpath("gloopblocks") then
|
|
|
|
minetest.register_alias("building_blocks:gravel_spread", "gloopblocks:slab_gravel_1")
|
|
|
|
end
|
2017-09-27 15:29:20 +02:00
|
|
|
end
|
|
|
|
|
2017-09-27 17:05:20 +02:00
|
|
|
minetest.register_alias("adobe", "building_blocks:Adobe")
|
2017-09-27 15:29:20 +02:00
|
|
|
minetest.register_alias("fakegrass", "building_blocks:fakegrass")
|
2017-09-27 17:05:20 +02:00
|
|
|
minetest.register_alias("hardwood", "building_blocks:hardwood")
|
2017-09-27 15:29:20 +02:00
|
|
|
minetest.register_alias("tar_knife", "building_blocks:knife")
|
2017-09-27 17:05:20 +02:00
|
|
|
minetest.register_alias("marble", "building_blocks:Marble")
|
2017-09-27 15:29:20 +02:00
|
|
|
minetest.register_alias("building_blocks_roofing", "building_blocks:Roofing")
|
|
|
|
minetest.register_alias("sticks", "building_blocks:sticks")
|
|
|
|
minetest.register_alias("building_blocks:faggot", "building_blocks:sticks")
|
2017-09-27 17:05:20 +02:00
|
|
|
minetest.register_alias("tar", "building_blocks:Tar")
|
2017-09-27 15:29:20 +02:00
|
|
|
|
|
|
|
if not minetest.get_modpath("technic") then
|
|
|
|
minetest.register_node( ":technic:granite", {
|
|
|
|
description = S("Granite"),
|
|
|
|
tiles = { "technic_granite.png" },
|
|
|
|
is_ground_content = true,
|
2022-05-03 21:21:14 +02:00
|
|
|
groups = {cracky=1, dig_stone=2},
|
|
|
|
_sound_def = {
|
|
|
|
key = "node_sound_stone_defaults",
|
|
|
|
},
|
2017-09-27 15:29:20 +02:00
|
|
|
})
|
|
|
|
minetest.register_craft({
|
|
|
|
output = "technic:granite 9",
|
|
|
|
recipe = {
|
|
|
|
{ "group:tar_block", "group:marble", "group:tar_block" },
|
|
|
|
{ "group:marble", "group:tar_block", "group:marble" },
|
|
|
|
{ "group:tar_block", "group:marble", "group:tar_block" }
|
|
|
|
},
|
|
|
|
})
|
|
|
|
if minetest.get_modpath("moreblocks") then
|
|
|
|
stairsplus:register_all("technic", "granite", "technic:granite", {
|
|
|
|
description=S("Granite"),
|
|
|
|
groups={cracky=1, not_in_creative_inventory=1},
|
|
|
|
tiles={"technic_granite.png"},
|
|
|
|
})
|
|
|
|
end
|
2017-11-20 18:26:57 +01:00
|
|
|
end
|