Yo.
To add to what everyone else said, i would say that mood affects lucid dreaming as much as you let it affect it, yesterday i was in pretty poor mood due to some IWL stuff before the nap, but while falling asleep i kept thinking that i will have lucid dream and that it will make my mood better, and i had it, and it made my mood indeed better. I hope that helps.