From 814a3337f3002f28a629dc3304433f24db92be02 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), +}) +