anchor.diff:  //Halfassed diamond-square algorithm with some fuckery since it's a single dimension array.
   /datum/ore_distribution/proc/populate_distribution_map()
   
  +	//Announce it!
  +	world << "<b><font color='red'>Generating resource distribution map.</b></font>"
  +
   	//Seed beginning values.
  -
   	var/x = 1
   	var/y = 1
   	var/size = real_size-1
  -
   	map[MAP_TOP_LEFT] =     (range/3)+rand(range/5)
   	map[MAP_TOP_RIGHT] =    (range/3)+rand(range/5)
   	map[MAP_BOTTOM_LEFT] =  (range/3)+rand(range/5)
  
positive.code: 
  	var/random_variance_chance = 25
  	var/random_element = 0.5
  
  //Called by the drilling rigs each process().
  /datum/ore_distribution/proc/get_ore(var/x,var/y)
  	return "Nope."
  
  /datum/ore_distribution/proc/map_is_sane()
  	if(!map) return 0
  
negative.code: 		tx = origin_x
  		ty += chunk_size
  
  	world << "<b><font color='red'Resource map generation complete.</font></b>"
  	return
  
  #undef MAP_CELL
  #undef MAP_CENTRE
  