From bc48fc0c077a453c20d758318eee6ad6d06783b9 Mon Sep 17 00:00:00 2001 From: Linus Jahn Date: Tue, 11 Sep 2018 17:52:07 +0200 Subject: Add Wooden Trim for easy drawer network connections This node is only used for connecting drawers, so that they are all in one drawer network and can be used with a drawer controller. --- init.lua | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'init.lua') diff --git a/init.lua b/init.lua index 2e079eb..ebdf5fb 100755 --- a/init.lua +++ b/init.lua @@ -314,6 +314,24 @@ elseif core.get_modpath("mcl_core") and mcl_core then }) end +-- +-- Register drawer trim +-- + +core.register_node("drawers:trim", { + description = S("Wooden Trim"), + tiles = {"drawers_trim.png"}, + groups = {drawer = 1, choppy = 3, oddly_breakable_by_hand = 2} +}) + +core.register_craft({ + output = "drawers:trim 6", + recipe = { + {"group:stick", "group:wood", "group:stick"}, + {"group:wood", "group:wood", "group:wood"}, + {"group:stick", "group:wood", "group:stick"} + } +}) -- -- Register drawer upgrade template -- cgit v1.2.3