diff --git a/extranodes/init.lua b/extranodes/init.lua index 11fabe2..165ba0d 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..90888e4 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 = 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 = { diff --git a/technic_worldgen/textures/technic_granite_bricks.png b/technic_worldgen/textures/technic_granite_bricks.png new file mode 100644 index 0000000..3688b75 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..3688b75 Binary files /dev/null and b/technic_worldgen/textures/x32/technic_granite_bricks.png differ