diff --git a/extranodes/init.lua b/extranodes/init.lua index 42c7d67..8f8c6a9 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 d4d3e4c..dfd545b 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" }, @@ -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 = { diff --git a/technic_worldgen/textures/technic_granite_bricks.png b/technic_worldgen/textures/technic_granite_bricks.png new file mode 100644 index 0000000..1635f6e Binary files /dev/null and b/technic_worldgen/textures/technic_granite_bricks.png differ diff --git a/technic_worldgen/textures/x32/technic_granite_bricks.png b/technic_worldgen/textures/x32/technic_granite_bricks.png new file mode 100644 index 0000000..1635f6e Binary files /dev/null and b/technic_worldgen/textures/x32/technic_granite_bricks.png differ