Original: The screenplay , written by Hampton Fancher and David Peoples , is based loosely on the novel Do Androids Dream of Electric Sheep ?
Simplified: It was based on the book Do Androids Dream of Electric Sheep ?