diff --git a/functions.lua b/functions.lua index fc73ec1..2f0e133 100644 --- a/functions.lua +++ b/functions.lua @@ -1,6 +1,6 @@ stripped_tree = {} --Select between chisel tool or axes. -stripped_tree.ENABLE_CHISEL = true +stripped_tree.ENABLE_CHISEL = core.settings:get_bool"stripped_tree_enable_chisel" local creative_mode = minetest.settings:get_bool("creative_mode") --Function to verify that stripped tree trunk exists diff --git a/settingstypes.txt b/settingstypes.txt new file mode 100644 index 0000000..d5ae3b1 --- /dev/null +++ b/settingstypes.txt @@ -0,0 +1,2 @@ +# Choose between using axes or chisels to get the stripped trees +stripped_tree_enable_chisel (Enable Chisel) bool true