From 0b531cbec53cd2cbd7c2bde17205d3e87f8c97b2 Mon Sep 17 00:00:00 2001 From: SFENCE Date: Wed, 27 Oct 2021 06:42:32 +0200 Subject: [PATCH] Add granite brick node. --- extranodes/init.lua | 6 ++++++ technic_worldgen/nodes.lua | 16 ++++++++++++++++ .../textures/technic_granite_bricks.png | Bin 0 -> 887 bytes .../textures/x32/technic_granite_bricks.png | Bin 0 -> 887 bytes 4 files changed, 22 insertions(+) create mode 100644 technic_worldgen/textures/technic_granite_bricks.png create mode 100644 technic_worldgen/textures/x32/technic_granite_bricks.png 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 0000000000000000000000000000000000000000..1635f6e5f67dfa807497dbe5e828ea1eca91102d GIT binary patch literal 887 zcmV--1Bm>IP)T7(h>wg zfG+~V2nLfmg|tpmi?i?qOCgxs9*QE9(&7}eDb)VVru*V4P1E4Ps~+w35{~2J*ftrf z!Z+Xl#fJwS?B$ZjFMAkG!3Mok*1tZN&mXX&|8mgq=&gYz;T{2j>1YyLlr(G`lLne+(tGSN9f;){W z)k2Pona9;^PUL&YhNjV*I)q7`idDe(R&@I#t_Bl!Ivtj)fV0sYEfM2tI_IQ!O`}|7 z;U^<<1uTy1a`w#})UN3TT(PucB5szs!Et5haNB61^fIM?- z+N}mHE6+~7NUK)n(dmHk!sFf>JLr0XS~kv1thky?iODM8K6%PGjPYVHLM`YC%(V*j zQiix;Fdo=oWT<9y{QU2b&W1(O$WdE|5S1HLOjDs<$unGds5g$!-foAq7AKidX~)wL zNrX{ER!`tA1wpW4Z>K=nOyMIF21~+KL_=4RDwY+60epJ@E}9&2{Nx|*-Y(J|d%Syi z2cemK_4P3#6dWDwa(3QhJhc(wij1x!*Q^Q~6_Z;zo#*`#or;bY2E5a@h!IfA=*(Rg zEf(j`lT$>LAitL9=(SB&VTe2!UehR=jJ<&WMssY(BZ?vh*JB(Ja^rd!x`Cv|h$0zP z3OL%|Q2X7Vf!R{?C``4TgXT10N9-UelrM$oChqiPWc%$&*C^-%N_ffVCnX0y3o;(s|JZX>*wo+|(V N002ovPDHLkV1g?0n$G|L literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..1635f6e5f67dfa807497dbe5e828ea1eca91102d GIT binary patch literal 887 zcmV--1Bm>IP)T7(h>wg zfG+~V2nLfmg|tpmi?i?qOCgxs9*QE9(&7}eDb)VVru*V4P1E4Ps~+w35{~2J*ftrf z!Z+Xl#fJwS?B$ZjFMAkG!3Mok*1tZN&mXX&|8mgq=&gYz;T{2j>1YyLlr(G`lLne+(tGSN9f;){W z)k2Pona9;^PUL&YhNjV*I)q7`idDe(R&@I#t_Bl!Ivtj)fV0sYEfM2tI_IQ!O`}|7 z;U^<<1uTy1a`w#})UN3TT(PucB5szs!Et5haNB61^fIM?- z+N}mHE6+~7NUK)n(dmHk!sFf>JLr0XS~kv1thky?iODM8K6%PGjPYVHLM`YC%(V*j zQiix;Fdo=oWT<9y{QU2b&W1(O$WdE|5S1HLOjDs<$unGds5g$!-foAq7AKidX~)wL zNrX{ER!`tA1wpW4Z>K=nOyMIF21~+KL_=4RDwY+60epJ@E}9&2{Nx|*-Y(J|d%Syi z2cemK_4P3#6dWDwa(3QhJhc(wij1x!*Q^Q~6_Z;zo#*`#or;bY2E5a@h!IfA=*(Rg zEf(j`lT$>LAitL9=(SB&VTe2!UehR=jJ<&WMssY(BZ?vh*JB(Ja^rd!x`Cv|h$0zP z3OL%|Q2X7Vf!R{?C``4TgXT10N9-UelrM$oChqiPWc%$&*C^-%N_ffVCnX0y3o;(s|JZX>*wo+|(V N002ovPDHLkV1g?0n$G|L literal 0 HcmV?d00001