diff options
author | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2016-11-28 14:46:42 -0500 |
---|---|---|
committer | Vanessa Ezekowitz <vanessaezekowitz@gmail.com> | 2016-11-28 14:46:42 -0500 |
commit | e6c380d8c5c0451dd18402de642bcd8f9ad521db (patch) | |
tree | d9ef967ea04f05ea892448fa8564ca9246036cfd /init.lua | |
parent | 4a22f8e4dafecf1a8c3747cef235a1754e4a012d (diff) |
allow user to disable bags
via minetest.conf --> unified_inventory_bags = false
(default is to enable)
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -76,7 +76,10 @@ dofile(modpath.."/api.lua") dofile(modpath.."/internal.lua") dofile(modpath.."/callbacks.lua") dofile(modpath.."/register.lua") -dofile(modpath.."/bags.lua") + +if minetest.setting_getbool("unified_inventory_bags") ~= false then + dofile(modpath.."/bags.lua") +end dofile(modpath.."/item_names.lua") |