anchor.diff:  
   	if(. & N_NORTH)
   		if(. & N_WEST)
  -			SET_ADJ_IN_DIR(src, ., NORTHWEST)
  +			SET_ADJ_IN_DIR(src, ., NORTHWEST, N_NORTHWEST)
   
   		if(. & N_EAST)
  -			SET_ADJ_IN_DIR(src, ., N_NORTHEAST)
  +			SET_ADJ_IN_DIR(src, ., NORTHEAST, N_NORTHEAST)
   
   	if(. & N_SOUTH)
   		if(. & N_WEST)
  -			SET_ADJ_IN_DIR(src, ., SOUTHWEST)
  +			SET_ADJ_IN_DIR(src, ., SOUTHWEST, N_SOUTHWEST)
   
   		if(. & N_EAST)
  -			SET_ADJ_IN_DIR(src, ., SOUTHEAST)
  +			SET_ADJ_IN_DIR(src, ., SOUTHEAST, N_SOUTHEAST)
   
   	icon_state = "[base_icon_state]-[.]"
   
  
positive.code: #define DEFAULT_UNDERLAY_ICON_STATE 	"plating"
  
  
  #define SET_ADJ_IN_DIR(source, junction, direction) \
  	do { \
  		var/turf/neighbor = get_step(source, direction); \
  		if(!neighbor) { \
  			if(source.smoothing_flags & SMOOTH_BORDER) { \
  				junction |=  direction; \
  			}; \
  		}; \
  		else { \
  
negative.code: 						if(!(source.canSmoothWith[target] & thing.smoothing_groups[target])) { \
  							continue; \
  						}; \
  						junction |= direction_flag; \
  						break; \
  					}; \
  					if(junction & direction_flag) { \
  						break; \
  					}; \
  				}; \
  