# OBSOLETE -- this script is no longer called

#Species are NOT the same
if (species1 ~= species2) 
  attraction = (distance-20)/20

#species are the same
else if (distance < 4)
  attraction = -1 * (4-distance)/4
else if (distance < 8)
  attraction = 0
else if (distance < 12)
  attraction = (distance-8)/4
else
  attraction = 1
endif


endif
endif
endif
#attraction = -1