summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua19
1 files changed, 19 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index cec359a..c722af7 100644
--- a/init.lua
+++ b/init.lua
@@ -185,4 +185,23 @@ else
default.node_sound_wood_defaults())
+end
+
+-- registering the wood type with drawers mod
+if minetest.get_modpath("drawers") and default then
+
+ drawers.register_drawer(":drawers:maple", {
+ description = "Maple",
+ tiles1 = drawers.node_tiles_front_other("drawers_maple_wood_front_1.png",
+ "drawers_maple_wood.png"),
+ tiles2 = drawers.node_tiles_front_other("drawers_maple_wood_front_2.png",
+ "drawers_maple_wood.png"),
+ tiles4 = drawers.node_tiles_front_other("drawers_maple_wood_front_4.png",
+ "drawers_maple_wood.png"),
+ groups = {choppy = 3, oddly_breakable_by_hand = 2},
+ sounds = drawers.WOOD_SOUNDS,
+ drawer_stack_max_factor = 4 * 8, -- normal chest size
+ material = drawers.WOOD_ITEMSTRING
+ })
+
end \ No newline at end of file