anchor.diff:  //                                          //
   //////////////////////////////////////////////
   
  -/datum/dynamic_ruleset/roundstart/malf_ai
  +/datum/dynamic_ruleset/roundstart/delayed/malf_ai
   	name = "Malfunctioning AI"
   	config_tag = "malf_ai"
   	antag_datum = /datum/antagonist/traitor
  
positive.code: 	cost = 35
  	requirements = list(101,101,80,70,60,60,50,50,40,40)
  	high_population_requirement = 35
  	var/autotraitor_cooldown = 450 // 15 minutes (ticks once per 2 sec)
  
  /datum/dynamic_ruleset/roundstart/malf_ai/trim_candidates()
  	..()
  	candidates = candidates[CURRENT_LIVING_PLAYERS]
  	for(var/mob/living/player in candidates)
  
negative.code: 		if(player.mind && (player.mind.special_role || player.mind.antag_datums?.len > 0))
  			candidates -= player
  
  /datum/dynamic_ruleset/roundstart/delayed/malf_ai/execute()
  	if(!candidates || !candidates.len)
  		return FALSE
  	var/mob/living/silicon/ai/M = pick(candidates)
  