IMO, health of the underbody and the frame is the most important.
AHC, Engine, Transmission etc. is fixable and rebuildable, but it will not be worth the investment (not the cheapest truck to fix), if the frame rots through over the years.
The cargo tray could be attached to existing mounting...