How does a rattlesnake survives the harsh conditions in Great Basin?

it uses shade from plants and brush to keep its body temoerature low and only hunts when it absolutely needs food