During that serial's first episode, The Third Doctor got pissed when it ate his fifteen-pence and didn't dispense anything so he Venusian Akido'ed the hell out of it and filled his pockets with sweets which he later gleefully offered to everyone he met for the next three episodes of the story, sometimes taking several minutes of screen time as he and the other hashed out the various qualities of the assorted candies.
Neil Gaiman, interviewed in Doctor Who Magazine (#23, page 17) said "I saw this episode when I was like seven and thought it was the funniest goddamn thing I'd ever seen. For years afterward, every time I saw a vending machine, I simply had to break into it and then run off, my fists full of chocolate bars."
Tom Baker is also said to have been inspired by this moment and introduced the jelly babies his Fourth Doctor became known for. He later switched to handing out weirder English candies such as "cinnamon roundabouts," "tickling dingles," and "gleet runnies."