Phase diagram of twist storing lattice polymers in variable solvent quality