From ebc6e75da96f900a6307709fe443b1b7d4f77f23 Mon Sep 17 00:00:00 2001 From: Piezo_ Date: Fri, 31 May 2019 22:52:36 +0000 Subject: [PATCH] Use wood group by default in recipes --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index a6af3bb..c925325 100644 --- a/init.lua +++ b/init.lua @@ -85,7 +85,7 @@ kotatsu_table.pos_check = { kotatsu_table.register_table = function(name, desc, base, tiles, top, top_tiles, inv_image) base = base or "wool:white" --Seriously, though, don't omit base... tiles = tiles or (minetest.registered_nodes[base] or {tiles={"wool_white.png"}}).tiles - top = top or "default:wood" + top = top or "group:wood" top_tiles = top_tiles or (minetest.registered_nodes[top] or {tiles={"default_wood.png"}}).tiles inv_image = inv_image or "(kotatsu_base.png^[mask:"..tiles[1]..")^(kotatsu_top.png^[mask:"..top_tiles[1]..")" local kotatsu = name or ("kotatsu_table:table_"..string.gsub(base, ":", "_"))