if minetest.get_modpath("woodsoil") ~= nil then farming.add_soil("woodsoils:dirt_with_leaves_1") farming.add_soil("woodsoils:dirt_with_leaves_2") farming.add_soil("woodsoils:grass_with_leaves_1") farming.add_soil("woodsoils:grass_with_leaves_2") end