group:cobble
does not exist in MTG (#25)
This commit is contained in:
parent
c382515bca
commit
88bb6bfce6
@ -3,7 +3,8 @@ minetest.register_alias("castle:pavement_brick", "castle_masonry:pavement_brick"
|
||||
minetest.register_alias("castle:roofslate", "castle_masonry:roofslate")
|
||||
|
||||
local S = minetest.get_translator("castle_masonry")
|
||||
|
||||
local has_mcl = minetest.get_modpath("mcl_core")
|
||||
local cobble = has_mcl and "mcl_core:cobble" or "default:cobble"
|
||||
|
||||
|
||||
minetest.register_node("castle_masonry:pavement_brick", {
|
||||
@ -20,8 +21,8 @@ minetest.register_node("castle_masonry:pavement_brick", {
|
||||
minetest.register_craft({
|
||||
output = "castle_masonry:pavement_brick 4",
|
||||
recipe = {
|
||||
{"group:stone", "group:cobble"},
|
||||
{"group:cobble", "group:stone"},
|
||||
{"group:stone", cobble},
|
||||
{cobble, "group:stone"},
|
||||
}
|
||||
})
|
||||
|
||||
|
@ -6,6 +6,7 @@ local desert_stone = has_mcl and "mcl_core:redsandstone" or "default:desert_ston
|
||||
local sandstone = has_mcl and "mcl_core:sandstone" or "default:sandstone"
|
||||
local stonebrick = has_mcl and "mcl_core:stonebrick" or "default:stonebrick"
|
||||
local obsidian = has_mcl and "mcl_core:obsidian" or "default:obsidian"
|
||||
local cobble = has_mcl and "mcl_core:cobble" or "default:cobble"
|
||||
|
||||
|
||||
minetest.register_alias("castle:stonewall", "castle_masonry:stonewall")
|
||||
@ -40,7 +41,7 @@ minetest.register_node("castle_masonry:rubble", {
|
||||
minetest.register_craft({
|
||||
output = "castle_masonry:stonewall",
|
||||
recipe = {
|
||||
{"group:cobble"},
|
||||
{cobble},
|
||||
{desert_stone},
|
||||
}
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user