<commit_before>//------------------------------------------------------------------------------
// Revenge Of The Cats: Ethernet
// Copyright (C) 2008, mEthLab Interactive
//------------------------------------------------------------------------------

function showMainMenu(%client)
{
	%newtxt = om_init();

	%bg = %newtext @ "\n\n\n<bitmap:share/ui/rotc/logo>";

	%mutators = "";
	for(%i = 0; %i < getRecordCount($MissionInfo::MutatorDesc); %i++)
	{
		%line1 = getRecord($MissionInfo::MutatorDesc, %i);
		%mut1 = getWord(%line1, 0);
		for(%j = 0; %j < getWordCount($Pref::Server::Mutators); %j++)
		{
			%mut2 = getWord($Pref::Server::Mutators, %j);
			if(%mut2 $= %mut1)
			{
				%mutators = %mutators @ "\t\t * " @ %line1 @ "\n";
				break;
			}
		}
	}

	if(%mutators $= "")
		%mutators = "Mutators: None (Standard Game)";
	else
		%mutators = ""
			@ "<spush><color:FF8888>"
			@ "Game has been modified with the following mutators:\n"
			@ "<spop>" @ %mutators;

	%fg = %newtxt @<commit_msg>Small fix<commit_after>//------------------------------------------------------------------------------
// Revenge Of The Cats: Ethernet
// Copyright (C) 2008, mEthLab Interactive
//------------------------------------------------------------------------------

function showMainMenu(%client)
{
	%newtxt = om_init();

	%bg = %newtext @ "\n\n\n<bitmap:share/ui/rotc/logo>";

	%mutators = "";
	for(%i = 0; %i < getRecordCount($MissionInfo::MutatorDesc); %i++)
	{
		%line1 = getRecord($MissionInfo::MutatorDesc, %i);
		%mut1 = getWord(%line1, 0);
		for(%j = 0; %j < getWordCount($Pref::Server::Mutators); %j++)
		{
			%mut2 = getWord($Pref::Server::Mutators, %j);
			if(%mut2 $= %mut1)
			{
				%mutators = %mutators @ "\t\t * " @ %line1 @ "\n";
				break;
			}
		}
	}

	if(%mutators $= "")
		%mutators = "Mutators: None (Standard Game)\n";
	else
		%mutators = ""
			@ "<spush><color:FF8888>"
			@ "Game has been modified with the following mutators:\n"
			@ "<spop>" @ %mutators;

	%fg = %newtxt @
{'fraction_non_alphanumeric': 0.338855421686747, 'fraction_numerical': 0.018072289156626505, 'mean_word_length': 1.9438700147710488, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 11, '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': '5495811', 'n_tokens_mistral': 767, 'n_tokens_neox': 678, 'n_words': 135}