Add Cactus Brick

This commit is contained in:
kilbith 2015-09-21 23:07:37 +02:00
parent 46ef36663b
commit 5f2a72fd85
4 changed files with 17 additions and 14 deletions

View File

@ -240,13 +240,6 @@ minetest.register_craft({
} }
}) })
minetest.register_craft({
output = "xdecor:moonbrick",
recipe = {
{"default:brick", "default:stone"}
}
})
minetest.register_craft({ minetest.register_craft({
output = "xdecor:multishelf", output = "xdecor:multishelf",
recipe = { recipe = {

View File

@ -435,13 +435,23 @@ xdecor.register("plant_pot", {
sounds = default.node_sound_stone_defaults() sounds = default.node_sound_stone_defaults()
}) })
xdecor.register("moonbrick", {
drawtype = "normal", for _, b in pairs({{"cactus", "cactus"}, {"moon", "stone"}}) do
description = "Moon Brick", xdecor.register(b[1].."brick", {
tiles = {"xdecor_moonbrick.png"}, drawtype = "normal",
groups = {cracky=2}, description = b[1]:gsub("^%l", string.upper).." Brick",
sounds = default.node_sound_stone_defaults(), 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", { xdecor.register("multishelf", {
description = "Multi Shelf", description = "Multi Shelf",

Binary file not shown.

After

Width:  |  Height:  |  Size: 886 B

View File

@ -13,7 +13,7 @@ local nodes = { -- Nodes allowed to be cut.
"default:glass", "default:obsidian_glass", "default:glass", "default:obsidian_glass",
"xdecor:coalstone_tile", "xdecor:desertstone_tile", "xdecor:stone_rune", "xdecor:stone_tile", "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", "xdecor:woodframed_glass", "xdecor:wood_tile",
"oresplus:emerald_block", "oresplus:glowstone", "oresplus:emerald_block", "oresplus:glowstone",