From 40230857add47aa20fe504f4610eddfa20745bfb Mon Sep 17 00:00:00 2001 From: LNJ Date: Sun, 9 Apr 2017 22:31:31 +0200 Subject: Make 1x1, 1x2 and 2x2 drawers disableable The new settings for the minetest.conf are: `drawers_disable_1x1` `drawers_disable_1x2` `drawers_disable_2x2` --- init.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'init.lua') diff --git a/init.lua b/init.lua index 766f3e8..ac2ca27 100755 --- a/init.lua +++ b/init.lua @@ -43,6 +43,10 @@ else end +drawers.enable_1x1 = not core.setting_getbool("drawers_disable_1x1") +drawers.enable_1x2 = not core.setting_getbool("drawers_disable_1x2") +drawers.enable_2x2 = not core.setting_getbool("drawers_disable_2x2") + -- -- Load files -- -- cgit v1.2.3