Someone told me yesterday there's one specific protein in your brain that modulates craving.
https://en.wikipedia.org/wiki/FOSB
The amount of time after experiencing a rewarding stimulus that you want more of it is how long this protein takes to decay.
Or so we currently think. I think this is pretty new science.