She will lay the eggs wherever she can. If the conditions are not optimal (i.e. we as keepers did not provide dry substrate with proper heat), she will still lay them, even though she probably knows that they will not survive. Being that we keep these animals in captivity, they do not have the opportunity to seek out optimal conditions for egg laying, if we do not provide them to the gravid dame.