SyntaxHighlighter.brushes.triggers = function()
{
	var conditions = 'NoCondition CountdownTimer Command Bring Accumulate Kill CommandTheMost CommandsTheMostAt MostKills HighestScore MostResources Switch ElapsedTime Opponents Deaths CommandTheLeast CommandTheLeastAt LeastKills LowestScore LeastResources Score Always Never RawCond';
	var actions    = 'NoAction Victory Defeat PreserveTrigger Wait PauseGame UnpauseGame Transmission PlayWAV DisplayTextMessage CenterView CreateUnitWithProperties SetMissionObjectives SetSwitch SetCountdownTimer RunAIScript RunAIScriptAtLocation LeaderBoardControl LeaderBoardControlAtLocation LeaderBoardResources LeaderBoardKills LeaderBoardPoints KillUnit KillUnitsAtLocation RemoveUnit RemoveUnitAtLocation SetResources SetScore MinimapPing TalkingPortrait MuteUnitSpeech UnmuteUnitSpeech LeaderboardComputerPlayers LeaderboardGoalControl LeaderboardGoalControlAtLocation LeaderboardGoalResources LeaderboardGoalKills LeaderboardGoalPoints MoveLocation MoveUnit LeaderboardGreed SetNextScenario SetDoodadState SetInvincibility CreateUnit SetDeaths Order Comment GiveUnitstoPlayer ModifyUnitHitPoints ModifyUnitEnergy ModifyUnitShieldPoints ModifyUnitResourceAmount ModifyUnitHangerCount PauseTimer UnpauseTimer Draw SetAllianceStatus DisableDebugMode EnableDebugMode RawAct';
	var keywords   = 'include Current Player Player Set To Equals At Least Exactly At Most Foes Allies Neutral Players All Players Force Unused Non Allied Victory Players None Any Unit Men Buildings Factories Anywhere Location Ore Gas Ore and Gas Total Units Units and Buildings Kills Razings Kills and Razings Custom Switch Set Clear Cleared Add Subtract Move All Attack Patrol Default String String WAV Property Toggle Randomize Multiply Divide Cloaked Burrowed In Transit Hallucinated Invincible Unknown1 Unknown2 Unknown3 Unknown4 Unknown5 Unknown6 Unknown7 Unknown8 Unknown9 Unknown10 Unknown11 Owner Health Shields Energy Resources AmountInHanger UnknownAlways Display Only With Subtitles Zerg Available Zerg Used Zerg Max Terran Available Terran Used Terran Max Protoss Available Protoss Used Protoss Max Turn On Turn Off';

	this.regexList = [
					  { regex: /#.*$/gm,												css: 'comments' },
					  { regex: /Trigger\([^\)]+\):/gm,									css: 'color3' },
					  { regex: /(?:Ac|Condi)tions:/gm,									css: 'color2' },
					  { regex: new RegExp(this.getKeywords(keywords), 'gm'),				css: 'keyword' },
					  { regex: new RegExp(this.getKeywords(conditions), 'gm'),				css: 'color1' },
					  { regex: new RegExp(this.getKeywords(actions), 'gm'),				css: 'preprocessor' }
					  ];
};
SyntaxHighlighter.brushes.triggers.prototype = new SyntaxHighlighter.Highlighter();
SyntaxHighlighter.brushes.triggers.aliases   = ['pytrg','triggers','trigger','trg'];
