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 0000000..ab398c4 Binary files /dev/null and b/textures/drawers_trim.png differ