LISTMENU "MainMenu"
{
	IfGame(Doom, Chex)
	{
		StaticPatch 84, 0, "JH_LOGOS"
		Position 97, 74
		IfOption(ReadThis)
		{
			Position 97, 62
		}
	}
	TextItem "$MNU_NEWGAME", "n", "PlayerclassMenu"
	TextItem "RGA2 Options", "g", "RGAMenu"
	ifOption(SwapMenu)
	{
		TextItem "$MNU_LOADGAME", "l", "LoadGameMenu"
		TextItem "$MNU_SAVEGAME", "s", "SaveGameMenu"
		TextItem "$MNU_OPTIONS","o", "OptionsMenu"
	}
	else
	{
		TextItem "$MNU_OPTIONS","o", "OptionsMenu"
		TextItem "$MNU_LOADGAME", "l", "LoadGameMenu"
		TextItem "$MNU_SAVEGAME", "s", "SaveGameMenu"
	}
	ifOption(ReadThis)
	{
		TextItem "$MNU_INFO","r", "ReadThisMenu"
	}
	TextItem "$MNU_QUITGAME", "q", "QuitMenu"
}

OptionMenu "RGAMENU"
{
	Title "RGA2 OPTIONS"
	StaticText "Main Options", 1
	StaticText "Keybinds:", 1
	Control "GZ/Zan Reload", "+reload"
	Control "RGA Reload", "reload"
	Control "Throw grenade", "grenade"
	Control "Throw stun", "stun"
	Control "Throw incendiary", "incendiary"
	Control "Knife attack", "knife"
	Control "Drop Weapon", "dropcurrent"
	Control "Remove Weapon Attachment", "removeattachment"
	StaticText ""
	Control "Change voice", "voice"
	Control "View current perks", "perks"
	Control "Reset Deathmatch Class", "resetclass"
	StaticText ""
	Control "Activate Item", "invuse"
	Control "Next Item", "invnext"
	Control "Previous Item", "invprev"	
	StaticText ""
	Submenu "Clientside Options", "RGACLIENT"
	Submenu "Xp, Perks-Serverside Options", "RGASERVER"
	Submenu "CVars-Serverside Options", "RGASERVER2"
}

OptionMenu "RGASERVER"
{
	Title "RGA2 OPTIONS"
	StaticText "Serverside Options-Xp, Perks", 1
	Slider "EXP Multiplier %", "ref_xpmultiply", 0, 1000, 100
	StaticText "0 disables Experience gain"
	Slider "EXP share range", "ref_xpshare", 0, 5, 1
	StaticText "0 disables Experience share"
	Option "Infinite ranks", "ref_rankmighty", "OnOff"
	StaticText "Gain EXP for more rewards (max 50) while rank 40"
	StaticText ""
	Slider "Health regeneration", "ref_regenrate", 0, 5, 1
	StaticText "0 lets the game mode decide"
	StaticText ""
	//Option "One Man Army Slots", "ref_omatier", "OMASlots"
	//StaticText "Choose which weaponslots One Man Army gives"
	//StaticText ""
	Option "Clean Slate perks", "ref_cleanpower", "CleanPowers"
	StaticText "Choose which perks Clean Slate class starts with"
	StaticText ""
	//Option "Attachment Remover", "ref_detacher", "Detacher"
	//StaticText "Choose how the Remove Attachment tool works"
	Option "Medallions", "klade_medallions", "OnOff"
	StaticText "Medallions are removed from the game"
	StaticText ""
	Option "TacticalNuke", "Tactical_Nuke", "OnOff"
	StaticText "Klade Medallion Tactical Nuke is disabled"
	StaticText ""
}

OptionMenu "RGASERVER2"
{
	Title "RGA2 OPTIONS"
	StaticText "Serverside Options-CVars", 1
	Option "Coop Mode", "ref_thrubullets", "OnOff"
	StaticText "Shoot through allies when friendly fire is off"
	Option "Voices allowed", "ref_voice", "OnOff"
	StaticText "Toggle player voices on or off"
	StaticText ""
	StaticText ""
	Option "Monsters Stay Dead", "ref_staydead", "OnOff"
	StaticText "Disable last stand zombies, ghosts, demon revivals"
	Option "Monsters cannot summon", "ref_nosummon", "OnOff"
	StaticText "Disable greater monsters summoning lesser ones"
	StaticText ""
	StaticText ""
	Option "Janitor Mode", "ref_janitor", "Janitor"
	StaticText "Culls monster corpses and shell casings over time for performance"
	StaticText ""
	StaticText "Archviles become monster summoners if"
	StaticText "Janitor mode on and no monster summoning off"
}

OptionMenu "RGACLIENT"
{
	Title "RGA2 OPTIONS"
	StaticText "Clientside Options", 1
	Option "Hint Texts", "ref_hints", "HintTexts"
	StaticText ""
	Option "Hit Indicators", "ref_indicators", "OnOff"
	Option "Hit Sound", "ref_hitsound", "OnOff"
	Option "Kill Sound", "ref_killsound", "KillSounds"
	StaticText ""
	Option "EXP Indicators", "ref_xpdisplay", "OnOff"
	Option "Display at rank 40", "ref_xpmighty", "OnOff", "ref_xpdisplay"
	Slider "Horizontal offset", "ref_xpoffsetx", -6, 6, 1
	Slider "Vertical offset", "ref_xpoffsety", -6, 4, 1
	StaticText ""
	Option "Quiet Stingers", "ref_stingers", "OnOff"
	StaticText "Reduces stingers for class select, rank up, attachments"
	StaticText ""
	Option "Low performance Mode", "ref_toaster", "OnOff"
	StaticText "Disables torch, burning barrel effects for performance"
}

OptionValue OMASlots
{
	0, "1 Shotgun/SMG"
	1, "1 Assault Rifle"
	2, "Both"
}

OptionValue CleanPowers
{
	0, "None"
	1, "Sleight of Hand"
	2, "SoH & One Man Army"
}

OptionValue Detacher
{
	0, "Disabled"
	1, "Discards attachment"
	2, "Refunds award"
}

OptionValue HintTexts
{
	0, "Off"
	1, "Basic Hints"
	2, "Full Hints"
}

OptionValue KillSounds
{
	0, "Off"
	1, "Simple"
	2, "Loud"
}

OptionValue Janitor
{
	0, "Off"
	1, "Monsters"
	2, "Shell Casings"
	3, "Monsters & Shell casings"
}