Add granite brick node (#593)

This commit is contained in:
SFENCE 2021-10-27 06:42:32 +02:00 committed by SmallJoker
parent 49d4105a2b
commit a296446da1
4 changed files with 23 additions and 1 deletions

@ -27,6 +27,12 @@ if minetest.get_modpath("moreblocks") then
tiles={"technic_granite.png"},
})
stairsplus:register_all("technic", "granite_bricks", "technic:granite_bricks", {
description=S("Granite Bricks"),
groups={cracky=1, not_in_creative_inventory=1},
tiles={"technic_granite_bricks.png"},
})
stairsplus:register_all("technic", "concrete", "technic:concrete", {
description=S("Concrete"),
groups={cracky=3, not_in_creative_inventory=1},

@ -54,6 +54,14 @@ minetest.register_node( ":technic:granite", {
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node( ":technic:granite_bricks", {
description = S("Granite Bricks"),
tiles = { "technic_granite_bricks.png" },
is_ground_content = false,
groups = {cracky=1},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node( ":technic:marble", {
description = S("Marble"),
tiles = { "technic_marble.png" },
@ -65,7 +73,7 @@ minetest.register_node( ":technic:marble", {
minetest.register_node( ":technic:marble_bricks", {
description = S("Marble Bricks"),
tiles = { "technic_marble_bricks.png" },
is_ground_content = true,
is_ground_content = false,
groups = {cracky=3},
sounds = default.node_sound_stone_defaults(),
})
@ -133,6 +141,14 @@ minetest.register_node(":technic:stainless_steel_block", {
sounds = default.node_sound_stone_defaults()
})
minetest.register_craft({
output = 'technic:granite_bricks 4',
recipe = {
{'technic:granite','technic:granite'},
{'technic:granite','technic:granite'}
}
})
minetest.register_craft({
output = 'technic:marble_bricks 4',
recipe = {

Binary file not shown.

After

Width:  |  Height:  |  Size: 782 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 782 B