diff --git a/extranodes/init.lua b/extranodes/init.lua index 929f7f8e..48713f72 100644 --- a/extranodes/init.lua +++ b/extranodes/init.lua @@ -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}, diff --git a/technic_worldgen/nodes.lua b/technic_worldgen/nodes.lua index 5adeb53f..2d9de46f 100644 --- a/technic_worldgen/nodes.lua +++ b/technic_worldgen/nodes.lua @@ -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 = true, + groups = {cracky=1}, + sounds = default.node_sound_stone_defaults(), +}) + minetest.register_node( ":technic:marble", { description = S("Marble"), tiles = { "technic_marble.png" }, @@ -149,6 +157,14 @@ minetest.register_craft({ } }) +minetest.register_craft({ + output = 'technic:granite_bricks 4', + recipe = { + {'technic:granite','technic:granite'}, + {'technic:granite','technic:granite'} + } +}) + minetest.register_alias("technic:diamond_block", "default:diamondblock") minetest.register_alias("technic:diamond", "default:diamond") minetest.register_alias("technic:mineral_diamond", "default:stone_with_diamond") diff --git a/technic_worldgen/textures/technic_granite_bricks.png b/technic_worldgen/textures/technic_granite_bricks.png new file mode 100644 index 00000000..1635f6e5 Binary files /dev/null and b/technic_worldgen/textures/technic_granite_bricks.png differ