A South Tyneside former soldier who “fell off the grid” into offending went on an 18-theft spree from shops to feed a crack cocaine habit, a court heard.