diff options
author | Linus Jahn <lnj@kaidan.im> | 2018-09-11 17:52:07 +0200 |
---|---|---|
committer | Linus Jahn <lnj@kaidan.im> | 2018-09-11 17:52:07 +0200 |
commit | bc48fc0c077a453c20d758318eee6ad6d06783b9 (patch) | |
tree | edb375334b6fb2415e3c08c1393812ed49addc67 /init.lua | |
parent | 8702b6ac927342043697f3930fa14b96131ab3b5 (diff) |
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.
Diffstat (limited to 'init.lua')
-rwxr-xr-x | init.lua | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -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 |