Make chisel always available

This commit is contained in:
2025-12-09 14:44:26 +01:00
parent 4b2ecbabfc
commit 8a2d735aa6
8 changed files with 26 additions and 32 deletions

View File

@@ -1,8 +1,5 @@
local S = core.get_translator(core.get_current_modname())
-- Select between chisel tool or axes.
stripped_tree.enable_chisel = core.settings:get_bool("stripped_tree_enable_chisel")
-- Function to verify that stripped tree trunk exists
stripped_tree.has_stripped = function(pos)
local node = core.get_node(pos).name or pos
@@ -98,7 +95,7 @@ function stripped_tree.maybe_strip_trunk(pos, player, tool, wear)
end
-- Function to override axes
if stripped_tree.enable_chisel ~= true then
if stripped_tree.axes_strip_trees then
function stripped_tree.register_axes(mod_n, axe_types)
for _, axe_name in ipairs(axe_types) do
core.override_item(