group:cobble does not exist in MTG (#25)

This commit is contained in:
Github is a non-free platform owned by Microsoft. Reasonable alternatives exist, such as Gitea, Sourcehut. We need a federated, mastodon-like forge based on ForgeFed. See: https://forgefed.org 2023-12-13 20:30:18 +01:00 committed by GitHub
parent c382515bca
commit 88bb6bfce6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 4 deletions

View File

@ -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"},
}
})

View File

@ -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},
}
})