Where does feature inspiration come from?
Watching Stargate episodes and going "That'd be cool"
Implementation ideas?
Pen and paper flow diagrams and pseudo-code.
Coffee also helps this process.
Watching stuff and thinking "this would be cool" works for me too. Although there are more "this would be cool" situations than my mod work as there is simply a lot, maybe too much cool stuff you could implement.
I'm not for coffee or paper stuff though, the only time I drafted something on paper was for the layout of a mission. And I like to drink green tea.
I get headaches from coffee

.