<commit_before>/datum/game_mode/wizard/raginmages
	name = "<NAME>"
	config_tag = "raginmages"
	required_players = 20
	use_huds = 1
	var/max_mages = 0
	var/making_mage = 0
	var/mages_made = 1
	var/time_checked = 0

/datum/game_mode/wizard/announce()
	world << "<B>The current game mode is - Ragin' Mages!</B>"
	world << "<B>The <span class='warning'>Space Wizard Federation</span> is pissed, help defeat all the space wizards!</B>"

/datum/game_mode/wizard/raginmages/post_setup()
	..()
	if(!max_mages)
		max_mages = round(num_players() / 5)

/datum/game_mode/wizard/raginmages/greet_wizard(var/datum/mind/wizard, var/you_are=1)
	if (you_are)
		wizard.current << "<B>You are the Space Wizard!</B>"
	wizard.current << "<B>The Space Wizards Federation has given you the following tasks:</B>"

	var/obj_count = 1
	wizard.current << "<b>Objective Alpha</b>: Make sure the station pays for its actions against our diplomats"
	for(var/datum/objective/objective in wizard.objectives)
		wizard.current << "<B>Objective #[obj_count]</B>: [objective.explanation_text]"
		obj_count++
	return

/datum/game_mode/wizard/raginmages/check_finished()<commit_msg>fixes Ragin' Mages making only 1 mage<commit_after>/datum/game_mode/wizard/raginmages
	name = "<NAME>"
	config_tag = "raginmages"
	required_players = 20
	use_huds = 1
	var/max_mages = 0
	var/making_mage = 0
	var/mages_made = 1
	var/time_checked = 0

/datum/game_mode/wizard/announce()
	world << "<B>The current game mode is - <NAME>!</B>"
	world << "<B>The <span class='warning'>Space Wizard Federation</span> is pissed, help defeat all the space wizards!</B>"

/datum/game_mode/wizard/raginmages/post_setup()
	..()
	var/playercount = 0
	if(!max_mages)
		for(var/mob/living/player in mob_list)
			if(player.client && player.stat != 2)
				playercount += 1
			max_mages = round(playercount / 8)
			if(max_mages > 20)
				max_mages = 20
			if(max_mages < 1)
				max_mages = 1
/datum/game_mode/wizard/raginmages/greet_wizard(var/datum/mind/wizard, var/you_are=1)
	if (you_are)
		wizard.current << "<B>You are the Space Wizard!</B>"
	wizard.current << "<B>The Space Wizards Federation has given you the following tasks:</B>"

	var/obj_count = 1
	wizard.current << "<b>Objective Alpha</b>: Make sure the station pays for its actions against our diplomats"
	for(var/datum/objective/objective in wizard.objectives)
		wizard.current << "<B>Objective #[obj_count]</B>: [objective.explanation_text]"
		obj_count++
	return

/datum/game_mode/wizard/raginmages/check_finished()
{'fraction_non_alphanumeric': 0.14074960127591707, 'fraction_numerical': 0.011961722488038277, 'mean_word_length': 4.600446428571429, 'pattern_counts': {'":': 0, '<': 59, '<?xml version=': 0, '>': 35, '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': '2752362', 'n_tokens_mistral': 1026, 'n_tokens_neox': 950, 'n_words': 206}