anchor.diff:  	else if(bodytemperature > maxbodytemp)
   		adjustBruteLoss(20)
   
  +#undef SPIDER_IDLE
   #undef SPINNING_WEB
   #undef LAYING_EGGS
   #undef MOVING_TO_TARGET
  
positive.code: 	poison_per_bite = 3
  	var/atom/movable/cocoon_target
  	var/fed = 0
  
  //hunters have the most poison and move the fastest, so they can find prey
  /mob/living/simple_animal/hostile/poison/giant_spider/hunter
  
negative.code: 				continue
  			if(Adjacent(O))
  				choices += O
  		var/temp_input = input(src,"What do you wish to cocoon?") in null|choices
  		if(temp_input && !cocoon_target)
  			cocoon_target = temp_input
  
  	if(stat != DEAD && cocoon_target && Adjacent(cocoon_target) && !cocoon_target.anchored)
  		if(busy == SPINNING_COCOON)
  			return //we're already doing this, don't cancel out or anything
  		busy = SPINNING_COCOON
  		visible_message("<span class='notice'>\the [src] begins to secrete a sticky substance around \the [cocoon_target].</span>")
  		stop_automated_movement = TRUE
  		walk(src,0)
  		if(do_after(src, 50, target = cocoon_target))
  			if(busy == SPINNING_COCOON)
  				var/obj/structure/spider/cocoon/C = new(cocoon_target.loc)
  				if(isliving(cocoon_target))
  					var/mob/living/L = cocoon_target
  					if(L.blood_volume && (L.stat != DEAD || !consumed_mobs[L.tag])) //if they're not dead, you can consume them anyway
  						consumed_mobs[L.tag] = TRUE
  						fed++
  						visible_message("<span class='danger'>\the [src] sticks a proboscis into \the [L] and sucks a viscous substance out.</span>")
  						L.death() //you just ate them, they're dead.
  					else
  						to_chat(src, "<span class='warning'>[L] cannot sate your hunger!</span>")
  				cocoon_target.forceMove(C)
  
  				if(cocoon_target.density || ismob(cocoon_target))
  					C.icon_state = pick("cocoon_large1","cocoon_large2","cocoon_large3")
  	cocoon_target = null
  	busy = SPIDER_IDLE
  	stop_automated_movement = FALSE
  
  /mob/living/simple_animal/hostile/poison/giant_spider/nurse/verb/LayEggs()
  	set name = "Lay Eggs"
  