dreamt last night that I was in a small store (like a bodega) when it got robbed. the only people there were me, the store clerk/owner (older guy) and an old woman. a guy wearing a ski mask opened the door and tossed what looked like a small aerosol can in, as if it was going to go off like a tear gas canister. but nothing happened, so the guy and accomplice come in, one of them with a small handgun in hand. while they were busy getting cash from the register, I quickly and discreetly took my cash out of my wallet, put it in my pocket and tossed the wallet behind some canned veg on the shelf, thinking that if they demand my money I'd give them the cash and say I don't have a wallet (thus allowing me to retrieve my driver's license and credit cards once they leave). I don't think anyone got hurt, the dream just set of ended.
weird...on one hand it was alarming but (in my dream) I also felt happy about thinking quickly and acting to retain the contents of my wallet, since cash is much more easily replaced than than cards and a license. and it never crossed my mind to try and play the hero, fight back, etc. I was just "hey, no problem, here you go!" (as I'd probably do in real life).