This page will discuss motivation and emotions, machine style. Programs are already motivated to do what they have
been programmed to do: this includes biological machines like ants, people and dogs. At no point is "free will" required
in order to have feelings. If something hurts, it just hurts, free will or no free will.
Having feelings and emotions is very much the same problem as getting semantics from syntax--
a problem with a storied history in the field of mental metaphysics. But one only needs to google "autonomous agents"
to learn how quickly we are creating digital socities with needs, reputations and the like.
I have content available to upload here on these topics, as time permits, or