It's a combination of foresight, empathy, and timing.
This morning, I was able to come through for my roommate.
It was one of those things that you just can't predict. She made a crack to marxdarx along the standard "You learn well, grasshopper!" lines. I made a crack at her, asking if she was comparing him to the dessert that involves mint and perhaps chocolate that is called a grasshopper. This, of course, set her up with a powerful chocolate/mint craving, and grumpiness that there was nothing to hand to calm it down.
I'd had the foresight. Tucked away in the secret parts of my room: girl scout cookies. Thin Mints. I know she likes them -- I know the whole household likes them. I'd gotten extra, and put some aside for those moments when a Thin Mint or two is just the thing to make the whole world just that much better.
I got tacklehugged. The cookies got cradled and called "precioussssssssss". We did not get between her and the cookies.
Hee. I love it when I can do this sort of thing.