<commit_before>/datum/disease/parrot_possession
	name = "<NAME>"
	max_stages = 1
	spread_text = "Paranormal"
	spread_flags = VIRUS_SPREAD_SPECIAL
	disease_flags = CURABLE
	cure_text = "Holy Water."
	cures = list("holywater")
	cure_chance = 20
	agent = "Avian Vengence"
	viable_mobtypes = list(/mob/living/carbon/human)
	desc = "Subject is possesed by the vengeful spirit of a parrot. Call the priest."
	severity = VIRUS_SEVERITY_MEDIUM
	var/mob/living/simple_animal/parrot/Poly/ghost/parrot

/datum/disease/parrot_possession/stage_act()
	..()
	if(!parrot || parrot.loc != affected_mob)
		cure()
	else if(prob(parrot.speak_chance))
		affected_mob.say(pick(parrot.speech_buffer))

/datum/disease/parrot_possession/cure()
	if(parrot && parrot.loc == affected_mob)
		parrot.forceMove(affected_mob.drop_location())
		affected_mob.visible_message("<span class='danger'>[parrot] is violently driven out of [affected_mob]!</span>", "<span class='userdanger'>[parrot] bursts out of your chest!</span>")
	..()<commit_msg>Fixes a parrot posession runtime (#31879)<commit_after>/datum/disease/parrot_possession
	name = "<NAME>"
	max_stages = 1
	spread_text = "Paranormal"
	spread_flags = VIRUS_SPREAD_SPECIAL
	disease_flags = CURABLE
	cure_text = "Holy Water."
	cures = list("holywater")
	cure_chance = 20
	agent = "Avian Vengence"
	viable_mobtypes = list(/mob/living/carbon/human)
	desc = "Subject is possesed by the vengeful spirit of a parrot. Call the priest."
	severity = VIRUS_SEVERITY_MEDIUM
	var/mob/living/simple_animal/parrot/Poly/ghost/parrot

/datum/disease/parrot_possession/stage_act()
	..()
	if(!parrot || parrot.loc != affected_mob)
		cure()
	else if(prob(parrot.speak_chance))
		if(parrot.speech_buffer.len)
			affected_mob.say(pick(parrot.speech_buffer))

/datum/disease/parrot_possession/cure()
	if(parrot && parrot.loc == affected_mob)
		parrot.forceMove(affected_mob.drop_location())
		affected_mob.visible_message("<span class='danger'>[parrot] is violently driven out of [affected_mob]!</span>", "<span class='userdanger'>[parrot] bursts out of your chest!</span>")
	..()
{'fraction_non_alphanumeric': 0.1340057636887608, 'fraction_numerical': 0.005283381364073006, 'mean_word_length': 5.591772151898734, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '3211491', 'n_tokens_mistral': 848, 'n_tokens_neox': 777, 'n_words': 142}