small tweaks

This commit is contained in:
unknown 2022-01-02 15:14:59 -05:00
parent f88f39992e
commit 422f1c1d84
2 changed files with 10 additions and 4 deletions

View File

@ -1,5 +1,5 @@
local function create_stone_types(name, rgroups, sgroups, blgroups, brgroups)
local rgp = rgroups or {dig_stone = 3, stairable = 1, wallable = 1, stonelike = 1}
local rgp = rgroups or {dig_stone = 3, stairable = 1, wallable = 1, stonelike = 1, rubble = 1}
local sgp = sgroups or {dig_stone = 2, stairable = 1, wallable = 1, stonelike = 1, stone = 1}
local blgp = blgroups or {dig_stone = 1, stairable = 1, stonelike = 1}
local brgp = brgroups or {dig_stone = 1, stairable = 1, wallable = 1, stonelike = 1}
@ -35,6 +35,12 @@ local function create_stone_types(name, rgroups, sgroups, blgroups, brgroups)
sounds = fl_stone.sounds.stone(),
groups = sgp,
})
minetest.register_craft({
type = "cooking",
output = "fl_stone:" .. name,
recipe = "fl_stone:" .. name .. "_rubble",
cooktime = 5,
})
minetest.register_node("fl_stone:" .. name .. "_block", {
description = name .. " block",
tiles = {"farlands_" .. name .. "_block.png"},

View File

@ -273,8 +273,8 @@ minetest.register_node("fl_workshop:furnace_active", {
minetest.register_craft({
output = "fl_workshop:furnace",
recipe = {
{"group:stone", "group:stone", "group:stone"},
{"group:stone", "", "group:stone"},
{"group:stone", "group:stone", "group:stone"},
{"group:rubble", "group:rubble", "group:rubble"},
{"group:rubble", "", "group:rubble"},
{"group:rubble", "group:rubble", "group:rubble"},
},
})