From bc48fc0c077a453c20d758318eee6ad6d06783b9 Mon Sep 17 00:00:00 2001 From: Linus Jahn Date: Tue, 11 Sep 2018 17:52:07 +0200 Subject: [PATCH] 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. --- LICENSE.txt | 1 + init.lua | 18 ++++++++++++++++++ textures/drawers_trim.png | Bin 0 -> 180 bytes 3 files changed, 19 insertions(+) create mode 100644 textures/drawers_trim.png diff --git a/LICENSE.txt b/LICENSE.txt index 3ff1ed4..60a1cdd 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -96,6 +96,7 @@ Copyright (C) 2014 Justin Aquadro (MIT): textures/drawers_spruce_wood_front_2.png textures/drawers_spruce_wood_front_4.png textures/drawers_spruce_wood.png + textures/drawers_trim.png textures/drawers_upgrade_diamond.png textures/drawers_upgrade_emerald.png textures/drawers_upgrade_gold.png 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 diff --git a/textures/drawers_trim.png b/textures/drawers_trim.png new file mode 100644 index 0000000000000000000000000000000000000000..ab398c47ab8e330926facf09eeae20bd975c26ab GIT binary patch literal 180 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!73?$#)eFPE^3h)VWEsnFy3^A@rvWxT9&j>at zh_Da~Y*7Kq#(KIqhH%KT9&}`6GUQ=6=qt^5Q|?cu1$#TQ1LMEF2F?+S6%w|uGj-g} zCd_?7WevygBUekR4=CseZMnd*$j$g-R&VpgjPH{VFy%Y6*iDKx*jBzFVd9hTziRJY bf6c#dGke*}Ic!Woix@mz{an^LB{Ts5o9H}T literal 0 HcmV?d00001