<commit_before>#define ASH_WALKER_SPAWN_THRESHOLD 2
//The ash walker den consumes corpses or unconscious mobs to create ash walker eggs. For more info on those, check ghost_role_spawners.dm
/mob/living/simple_animal/hostile/spawner/lavaland/ash_walker
	name = "necropolis tendril nest"
	desc = "A vile tendril of corruption. It's surrounded by a nest of rapidly growing eggs..."
	icon_state = "ash_walker_nest"
	icon_living = "ash_walker_nest"
	icon_dead = "ash_walker_nest"
	faction = list("ashwalker")
	health = 200
	maxHealth = 200
	loot = list(/obj/effect/collapse)
	var/meat_counter = 6

/mob/living/simple_animal/hostile/spawner/lavaland/ash_walker/death()
	new /obj/item/device/assembly/signaler/anomaly (get_step(loc, pick(GLOB.alldirs)))
	return ..()

/mob/living/simple_animal/hostile/spawner/lavaland/ash_walker/handle_automated_action()
	consume()
	return ..()

/mob/living/simple_animal/hostile/spawner/lavaland/ash_walker/proc/consume()
	for(var/mob/living/H in view(src, 1)) //Only for corpse right next to/on same tile
		if(H.stat)
			visible_message("<span class='warning'>Serrated tendrils eagerly pull [H] to [src], tearing the body apart as its blood seeps over the eggs.</span>")
			playsound(get_turf(src),'sound/magic/demon_consume.ogg', 100, 1)
			if(ismegafauna(H))
				meat_counter += 20
			else<commit_msg>Ashwalker tendrils now drop everything on victims before consuming (#31177)<commit_after>#define ASH_WALKER_SPAWN_THRESHOLD 2
//The ash walker den consumes corpses or unconscious mobs to create ash walker eggs. For more info on those, check ghost_role_spawners.dm
/mob/living/simple_animal/hostile/spawner/lavaland/ash_walker
	name = "<NAME>"
	desc = "A vile tendril of corruption. It's surrounded by a nest of rapidly growing eggs..."
	icon_state = "ash_walker_nest"
	icon_living = "ash_walker_nest"
	icon_dead = "ash_walker_nest"
	faction = list("ashwalker")
	health = 200
	maxHealth = 200
	loot = list(/obj/effect/collapse)
	var/meat_counter = 6

/mob/living/simple_animal/hostile/spawner/lavaland/ash_walker/death()
	new /obj/item/device/assembly/signaler/anomaly (get_step(loc, pick(GLOB.alldirs)))
	return ..()

/mob/living/simple_animal/hostile/spawner/lavaland/ash_walker/handle_automated_action()
	consume()
	return ..()

/mob/living/simple_animal/hostile/spawner/lavaland/ash_walker/proc/consume()
	for(var/mob/living/H in view(src, 1)) //Only for corpse right next to/on same tile
		if(H.stat)
			visible_message("<span class='warning'>Serrated tendrils eagerly pull [H] to [src], tearing the body apart as its blood seeps over the eggs.</span>")
			playsound(get_turf(src),'sound/magic/demon_consume.ogg', 100, 1)
			for(var/obj/item/W in H)
				if(!H.dropItemToGround(W))
					qdel(W)
			if(ismegafauna(H))
				meat_counter += 20
			else
{'fraction_non_alphanumeric': 0.11857707509881422, 'fraction_numerical': 0.012576356449874237, 'mean_word_length': 4.836477987421383, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5320696', 'n_tokens_mistral': 1125, 'n_tokens_neox': 984, 'n_words': 229}