Add Cactus Brick
This commit is contained in:
parent
46ef36663b
commit
5f2a72fd85
@ -240,13 +240,6 @@ minetest.register_craft({
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "xdecor:moonbrick",
|
||||
recipe = {
|
||||
{"default:brick", "default:stone"}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "xdecor:multishelf",
|
||||
recipe = {
|
||||
|
22
nodes.lua
22
nodes.lua
@ -435,13 +435,23 @@ xdecor.register("plant_pot", {
|
||||
sounds = default.node_sound_stone_defaults()
|
||||
})
|
||||
|
||||
xdecor.register("moonbrick", {
|
||||
drawtype = "normal",
|
||||
description = "Moon Brick",
|
||||
tiles = {"xdecor_moonbrick.png"},
|
||||
groups = {cracky=2},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
|
||||
for _, b in pairs({{"cactus", "cactus"}, {"moon", "stone"}}) do
|
||||
xdecor.register(b[1].."brick", {
|
||||
drawtype = "normal",
|
||||
description = b[1]:gsub("^%l", string.upper).." Brick",
|
||||
tiles = {"xdecor_"..b[1].."brick.png"},
|
||||
groups = {cracky=2},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "xdecor:"..b[1].."brick",
|
||||
recipe = {
|
||||
{"default:brick", "default:"..b[2]}
|
||||
}
|
||||
})
|
||||
end
|
||||
|
||||
xdecor.register("multishelf", {
|
||||
description = "Multi Shelf",
|
||||
|
BIN
textures/xdecor_cactusbrick.png
Normal file
BIN
textures/xdecor_cactusbrick.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 886 B |
@ -13,7 +13,7 @@ local nodes = { -- Nodes allowed to be cut.
|
||||
"default:glass", "default:obsidian_glass",
|
||||
|
||||
"xdecor:coalstone_tile", "xdecor:desertstone_tile", "xdecor:stone_rune", "xdecor:stone_tile",
|
||||
"xdecor:hard_clay", "xdecor:packed_ice", "xdecor:moonbrick",
|
||||
"xdecor:cactusbrick", "xdecor:hard_clay", "xdecor:packed_ice", "xdecor:moonbrick",
|
||||
"xdecor:woodframed_glass", "xdecor:wood_tile",
|
||||
|
||||
"oresplus:emerald_block", "oresplus:glowstone",
|
||||
|
Loading…
Reference in New Issue
Block a user