From 5e8b1e068c0778e861cb724d7ed2cb119bab51f5 Mon Sep 17 00:00:00 2001 From: teknomunk Date: Tue, 11 Jun 2024 18:20:24 -0500 Subject: [PATCH] Add settings file --- mods/CORE/vl_tuning/settings.lua | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 mods/CORE/vl_tuning/settings.lua diff --git a/mods/CORE/vl_tuning/settings.lua b/mods/CORE/vl_tuning/settings.lua new file mode 100644 index 000000000..238c4faa4 --- /dev/null +++ b/mods/CORE/vl_tuning/settings.lua @@ -0,0 +1,6 @@ +local mod = vl_tuning + +mod.keep_inventory = vl_tuning.setting("gamerule:keepInventory", "bool", { + default = minetest.settings:get_bool("mcl_keepInventory", false), +}) +