summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorForbiddenJ <justinscomputercreations@gmail.com>2017-03-01 16:28:40 -0600
committerForbiddenJ <justinscomputercreations@gmail.com>2017-03-01 16:28:40 -0600
commit7ab8825460ad26a4697fec52a11c864a6cddde63 (patch)
treea63f861628bb733e335c0f98b9d3fbf689834b76 /init.lua
parente8529e7742a24290f592011e1b02f336e9cc7e59 (diff)
Make trash configurable but preserve default functionality
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index 67bc56e..6929600 100644
--- a/init.lua
+++ b/init.lua
@@ -45,6 +45,9 @@ unified_inventory = {
-- "Lite" mode
lite_mode = minetest.setting_getbool("unified_inventory_lite"),
+
+ -- Trash enabled
+ trash_enabled = (minetest.setting_getbool("unified_inventory_trash") ~= false),
pagecols = 8,
pagerows = 10,