diff options
author | LNJ <git@lnj.li> | 2017-04-09 22:31:31 +0200 |
---|---|---|
committer | LNJ <git@lnj.li> | 2017-04-09 22:31:31 +0200 |
commit | 40230857add47aa20fe504f4610eddfa20745bfb (patch) | |
tree | 687c8f0c885ec20a0ed84ad4484a22b032e742a6 /init.lua | |
parent | 76d5e3ba9fb268135896cc5003ba7e6e16c36cd6 (diff) |
Make 1x1, 1x2 and 2x2 drawers disableable
The new settings for the minetest.conf are:
`drawers_disable_1x1`
`drawers_disable_1x2`
`drawers_disable_2x2`
Diffstat (limited to 'init.lua')
-rwxr-xr-x | init.lua | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 -- |