Skip to content

Commit a296446

Browse files
sfenceSmallJoker
authored andcommitted
Add granite brick node (#593)
1 parent 49d4105 commit a296446

File tree

4 files changed

+23
-1
lines changed

4 files changed

+23
-1
lines changed

extranodes/init.lua

+6
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ if minetest.get_modpath("moreblocks") then
2727
tiles={"technic_granite.png"},
2828
})
2929

30+
stairsplus:register_all("technic", "granite_bricks", "technic:granite_bricks", {
31+
description=S("Granite Bricks"),
32+
groups={cracky=1, not_in_creative_inventory=1},
33+
tiles={"technic_granite_bricks.png"},
34+
})
35+
3036
stairsplus:register_all("technic", "concrete", "technic:concrete", {
3137
description=S("Concrete"),
3238
groups={cracky=3, not_in_creative_inventory=1},

technic_worldgen/nodes.lua

+17-1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,14 @@ minetest.register_node( ":technic:granite", {
5454
sounds = default.node_sound_stone_defaults(),
5555
})
5656

57+
minetest.register_node( ":technic:granite_bricks", {
58+
description = S("Granite Bricks"),
59+
tiles = { "technic_granite_bricks.png" },
60+
is_ground_content = false,
61+
groups = {cracky=1},
62+
sounds = default.node_sound_stone_defaults(),
63+
})
64+
5765
minetest.register_node( ":technic:marble", {
5866
description = S("Marble"),
5967
tiles = { "technic_marble.png" },
@@ -65,7 +73,7 @@ minetest.register_node( ":technic:marble", {
6573
minetest.register_node( ":technic:marble_bricks", {
6674
description = S("Marble Bricks"),
6775
tiles = { "technic_marble_bricks.png" },
68-
is_ground_content = true,
76+
is_ground_content = false,
6977
groups = {cracky=3},
7078
sounds = default.node_sound_stone_defaults(),
7179
})
@@ -133,6 +141,14 @@ minetest.register_node(":technic:stainless_steel_block", {
133141
sounds = default.node_sound_stone_defaults()
134142
})
135143

144+
minetest.register_craft({
145+
output = 'technic:granite_bricks 4',
146+
recipe = {
147+
{'technic:granite','technic:granite'},
148+
{'technic:granite','technic:granite'}
149+
}
150+
})
151+
136152
minetest.register_craft({
137153
output = 'technic:marble_bricks 4',
138154
recipe = {
Loading
Loading

0 commit comments

Comments
 (0)