1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2024-11-17 07:40:32 +01:00

Building Blocks simplify name for stairs

This commit is contained in:
Jat15 2017-09-26 15:17:16 +02:00
parent 48be7ddef1
commit c786e3ae05

View File

@ -1,14 +1,14 @@
local S = homedecor_i18n.gettext
minetest.register_node("building_blocks:Adobe", {
minetest.register_node("building_blocks:adobe", {
tiles = {"building_blocks_Adobe.png"},
description = S("Adobe"),
is_ground_content = true,
groups = {crumbly=3},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("building_blocks:Roofing", {
minetest.register_node("building_blocks:roofing", {
tiles = {"building_blocks_Roofing.png"},
is_ground_content = true,
description = S("Roof block"),
@ -45,7 +45,7 @@ minetest.register_craft({
}
})
minetest.register_craft({
output = 'building_blocks:Adobe 3',
output = 'building_blocks:adobe 3',
recipe = {
{"default:sand"},
{"default:clay"},
@ -54,10 +54,10 @@ minetest.register_craft({
})
minetest.register_craft({
output = 'building_blocks:Roofing 10',
output = 'building_blocks:roofing 10',
recipe = {
{"building_blocks:Adobe", "building_blocks:Adobe"},
{"building_blocks:Adobe", "building_blocks:Adobe"},
{"building_blocks:adobe", "building_blocks:adobe"},
{"building_blocks:adobe", "building_blocks:adobe"},
}
})
minetest.register_craft({
@ -347,7 +347,7 @@ if minetest.get_modpath("moreblocks") then
end
minetest.unregister_item("moreblocks:tar")
minetest.register_alias("moreblocks:tar", "building_blocks:Tar")
minetest.register_alias("moreblocks:tar", "building_blocks:tar")
stairsplus:register_all(
"building_blocks",
@ -549,24 +549,29 @@ minetest.register_craft({
}
})
minetest.register_alias("tar", "building_blocks:Tar")
minetest.register_alias("tar", "building_blocks:tar")
minetest.register_alias("fakegrass", "building_blocks:fakegrass")
minetest.register_alias("tar_knife", "building_blocks:knife")
minetest.register_alias("adobe", "building_blocks:Adobe")
minetest.register_alias("building_blocks_roofing", "building_blocks:Roofing")
minetest.register_alias("adobe", "building_blocks:adobe")
minetest.register_alias("building_blocks_roofing", "building_blocks:roofing")
minetest.register_alias("hardwood", "building_blocks:hardwood")
minetest.register_alias("sticks", "building_blocks:sticks")
minetest.register_alias("building_blocks:faggot", "building_blocks:sticks")
minetest.register_alias("marble", "building_blocks:Marble")
minetest.register_alias("marble", "building_blocks:marble")
minetest.register_node("building_blocks:Tar", {
minetest.register_alias("building_blocks:Adobe", "building_blocks:adobe")
minetest.register_alias("building_blocks:Roofing", "building_blocks:roofing")
minetest.register_alias("building_blocks:Tar", "building_blocks:tar")
minetest.register_alias("building_blocks:Marble", "building_blocks:marble")
minetest.register_node("building_blocks:tar", {
description = S("Tar"),
tiles = {"building_blocks_tar.png"},
is_ground_content = true,
groups = {crumbly=1, tar_block = 1},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("building_blocks:Marble", {
minetest.register_node("building_blocks:marble", {
description = S("Marble"),
tiles = {"building_blocks_marble.png"},
is_ground_content = true,
@ -580,13 +585,13 @@ minetest.register_craft({
})
minetest.register_craft({
type = "fuel",
recipe = "building_blocks:Tar",
recipe = "building_blocks:tar",
burntime = 40,
})
minetest.register_craft({
type = "cooking",
output = "building_blocks:Tar",
output = "building_blocks:tar",
recipe = "building_blocks:tar_base",
})
@ -603,7 +608,7 @@ minetest.register_tool("building_blocks:knife", {
})
minetest.register_craft({
output = "building_blocks:Marble 9",
output = "building_blocks:marble 9",
recipe = {
{"default:clay", "group:tar_block", "default:clay"},
{"group:tar_block","default:clay", "group:tar_block"},