Would it be nicer to to do 
if(T.dna.uni_identity == D.uni_identity)
&&(T.dna.strucbal == blabla)
&& ..

I don't know if either way is really cleaner, but byond might be also able to optimise this more.