Food and heroin were at the forefront of Mark Hadaway’s mind when he attempted to steal a £100 drill from B&Q in Grantham.
Hadaway, of Oxford Street, Grantham, admitted theft after stealing the Makita drill from the London Road store on October 18.
Staff were suspicious of Hadaway and after he made a hasty exit from the premises he was stopped and the drill was found.
Paul Wood, prosecuting, said Hadaway told police his landlady had taken all of his money and he needed food.
However, Giles Tyas, defending, conceded Hadaway also stole to buy heroin.
Mr Tyas said: “The offence was committed effectively not just to buy food but to spend some money on drugs to top up his methadone addiction.”
Hadaway, 42, was sentenced a 12-month community order including supervision and drug rehabilitation. He must also pay £85 costs and a £15 surcharge.