<commit_before>/mob/living/simple_animal/borer
	name = "<NAME>"
	desc = "A small, quivering, slug-like creature."
	icon_state = "brainslug"
	icon_living = "brainslug"
	icon_dead = "brainslug_dead"
	health = 20
	maxHealth = 20
	melee_damage_lower = 5
	melee_damage_upper = 5
	attacktext = "chomps"
	attack_sound = 'sound/weapons/bite.ogg'
	pass_flags = PASSTABLE | PASSMOB
	mob_size = MOB_SIZE_SMALL
	faction = list("creature")
	ventcrawler = 2
	atmos_requirements = list("min_oxy" = 0, "max_oxy" = 0, "min_tox" = 0, "max_tox" = 0, "min_co2" = 0, "max_co2" = 0, "min_n2" = 0, "max_n2" = 0)

	var/mob/living/carbon/human/victim = null
	var/mob/living/captive_brain/host_brain = null
	var/docile = 0
	var/controlling = 0
	var/chemicals = 50
	var/used_dominate
	var/used_control
	var/influence = 0
	var/borer_chems = list()
	var/dominate_cooldown = 150
	var/control_cooldown = 3000


/mob/living/simple_animal/borer/New()
	..()
	name = "[pick("Primary","Secondary","Tertiary","Quaternary")] Borer ([rand(100,999)])"
	borer_chems += /datum/borer_chem/mannitol
	borer_chems += /datum/borer_chem/bicaridine
	borer_chems += /datum/borer_chem/kelotane
	borer_chems += /datum/borer_chem/charcoal
	borer_chems += /datum/borer_chem/ephedrine
	borer_chems += /datum/borer_chem/leporazine
	borer_chems += /datum/borer_chem/perfluorodecalin
	borer_chems += /datum/borer_chem/spacedrugs

/mob/living/simple_animal/borer/Stat()
	..()

	if(statpanel("Status"))
		stat(null, "Chemicals: [chemicals]")
		if(victim)
			stat(null, "Influence: [influence]%")

/mob/living/simple_animal/borer/Life()

	..()

	if(victim)

		if(stat != UNCONSCIOUS && victim.stat != UNCONSCIOUS)
			if(chemicals < 250)
				chemicals++
			if(influence < 100)
				influence += 0.5
				if(influence == 100)
					src << "<span class='boldnotice'>You are one with [victim] you both aid eachother in their needs and establish a mutally beneficial relationship.</span>"
					victim << "<span class='boldnotice'>You are one with [src] you both aid eachother in their needs and establish a mutally beneficial relationship.</span>"
				if(influence == 80)
					victim << "<span class='boldnotice'>You feel [src]'s power grow to extreme levels. You beging to feel unbeatable.</span>"
				if(influence == 50)
					victim << "<span class='danger'>You don't feel like yourself.</span>"

		if(stat != DEAD && victim.stat != DEAD)

			if(victim.reagents.has_reagent("sugar"))
				if(!docile)
					if(controlling)
						victim << "<span class='boldnotice'>You feel the soporific flow of sugar in your host's blood, lulling you into docility.</span>"
					else
						src << "<span class='boldnotice'>You feel the soporific flow of sugar in your host's blood, lulling you into docility.</span>"
					docile = 1
					influence -= 1
			else
				if(docile)
					if(controlling)
						victim << "<span class='boldnotice'>You shake off your lethargy as the sugar leaves your host's blood.</span>"
					else
						src << "<span class='boldnotice'>You shake off your lethargy as the sugar leaves your host's blood.</span>"
					docile = 0
			if(controlling)

				if(docile)
					victim << "<span class='boldnotice'>You are feeling far too docile to continue controlling your host...</span>"
					victim.release_control()
					return

				if(prob(5))
					victim.adjustBrainLoss(rand(1,2))

				if(prob(victim.brainloss/20))
					victim.say("*[pick(list("blink","blink_r","choke","aflap","drool","twitch","twitch_s","gasp"))]")

/mob/living/simple_animal/borer/say(message)
	if(!victim)
		src << "<span class='boldnotice'>You cannot speak without a host.</span>"

	if(influence > 80)
		victim << "<span class='green'><b>[name] telepathicaly shouts... </b></span><span class='userdanger'>[message]</span"
		src << "<span class='green'><b>[name] telepathicaly shouts... </b></span><span class='userdanger'>[message]</span>"
	else if(influence > 40)
		victim << "<span class='green'><b>[name] telepathicaly says... </b></span>[message]"
		src << "<span class='green'><b>[name] telepathicaly says... </b></span>[message]"
	else
		victim << "<span class='green'><b>[name] telepathicaly whispers... </b></span><i>[message]</i>"
		src << "<span class='green'><b>[name] telepathicaly whispers... </b></span><i>[message]</i>"

/mob/living/simple_animal/borer/attack_animal()
	return
<commit_msg>Another fix.<commit_after>/mob/living/simple_animal/borer
	name = "<NAME>"
	desc = "A small, quivering, slug-like creature."
	icon_state = "brainslug"
	icon_living = "brainslug"
	icon_dead = "brainslug_dead"
	health = 20
	maxHealth = 20
	melee_damage_lower = 5
	melee_damage_upper = 5
	attacktext = "chomps"
	attack_sound = 'sound/weapons/bite.ogg'
	pass_flags = PASSTABLE | PASSMOB
	mob_size = MOB_SIZE_SMALL
	faction = list("creature")
	ventcrawler = 2
	atmos_requirements = list("min_oxy" = 0, "max_oxy" = 0, "min_tox" = 0, "max_tox" = 0, "min_co2" = 0, "max_co2" = 0, "min_n2" = 0, "max_n2" = 0)

	var/mob/living/carbon/human/victim = null
	var/mob/living/captive_brain/host_brain = null
	var/docile = 0
	var/controlling = 0
	var/chemicals = 50
	var/used_dominate
	var/used_control
	var/influence = 0
	var/borer_chems = list()
	var/dominate_cooldown = 150
	var/control_cooldown = 3000


/mob/living/simple_animal/borer/New()
	..()
	name = "[pick("Primary","Secondary","Tertiary","Quaternary")] Borer ([rand(100,999)])"
	borer_chems += /datum/borer_chem/mannitol
	borer_chems += /datum/borer_chem/bicaridine
	borer_chems += /datum/borer_chem/kelotane
	borer_chems += /datum/borer_chem/charcoal
	borer_chems += /datum/borer_chem/ephedrine
	borer_chems += /datum/borer_chem/leporazine
	borer_chems += /datum/borer_chem/perfluorodecalin
	borer_chems += /datum/borer_chem/spacedrugs

/mob/living/simple_animal/borer/Stat()
	..()

	if(statpanel("Status"))
		stat(null, "Chemicals: [chemicals]")
		if(victim)
			stat(null, "Influence: [influence]%")

/mob/living/simple_animal/borer/Life()

	..()

	if(victim)

		if(stat != UNCONSCIOUS && victim.stat != UNCONSCIOUS)
			if(chemicals < 250)
				chemicals++
			if(influence < 100)
				influence += 0.5
				if(influence == 100)
					src << "<span class='boldnotice'>You are one with [victim] you both aid eachother in their needs and establish a mutally beneficial relationship.</span>"
					victim << "<span class='boldnotice'>You are one with [src] you both aid eachother in their needs and establish a mutally beneficial relationship.</span>"
				if(influence == 80)
					victim << "<span class='boldnotice'>You feel [src]'s power grow to extreme levels. You beging to feel unbeatable.</span>"
				if(influence == 50)
					victim << "<span class='danger'>You don't feel like yourself.</span>"

		if(stat != DEAD && victim.stat != DEAD)

			if(victim.reagents.has_reagent("sugar"))
				if(!docile)
					if(controlling)
						victim << "<span class='boldnotice'>You feel the soporific flow of sugar in your host's blood, lulling you into docility.</span>"
					else
						src << "<span class='boldnotice'>You feel the soporific flow of sugar in your host's blood, lulling you into docility.</span>"
					docile = 1
					influence -= 1
			else
				if(docile)
					if(controlling)
						victim << "<span class='boldnotice'>You shake off your lethargy as the sugar leaves your host's blood.</span>"
					else
						src << "<span class='boldnotice'>You shake off your lethargy as the sugar leaves your host's blood.</span>"
					docile = 0
			if(controlling)

				if(docile)
					victim << "<span class='boldnotice'>You are feeling far too docile to continue controlling your host...</span>"
					victim.release_control()
					return

				if(prob(5))
					victim.adjustBrainLoss(rand(1,2))

				if(prob(victim.brainloss/20))
					victim.say("*[pick(list("blink","blink_r","choke","aflap","drool","twitch","twitch_s","gasp"))]")

/mob/living/simple_animal/borer/say(message)
	if(!victim)
		src << "<span class='boldnotice'>You cannot speak without a host.</span>"

	if(influence > 80)
		victim << "<span class='green'><b>[name] telepathicaly shouts... </b></span><span class='userdanger'>[message]</span"
		src << "<span class='green'><b>[name] telepathicaly shouts... </b></span><span class='userdanger'>[message]</span>"
	else if(influence > 40)
		victim << "<span class='green'><b>[name] telepathicaly says... </b></span>[message]"
		src << "<span class='green'><b>[name] telepathicaly says... </b></span>[message]"
	else
		victim << "<span class='green'><b>[name] telepathicaly whispers... </b></span><i>[message]</i>"
		src << "<span class='green'><b>[name] telepathicaly whispers... </b></span><i>[message]</i>"

/mob/living/simple_animal/borer/UnarmedAttack()
	return

{'fraction_non_alphanumeric': 0.1616266944734098, 'fraction_numerical': 0.014830263005445488, 'mean_word_length': 4.273060476481368, 'pattern_counts': {'":': 0, '<': 177, '<?xml version=': 0, '>': 111, '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': '3429792', 'n_tokens_mistral': 3676, 'n_tokens_neox': 3068, 'n_words': 685}