{
	${"EZorg/Translation.json"},

	"SkinDescription": {
		"Author": "EZorg",
		"Name": "WN8 SessionStat",
		"Version": "1.3",
		"Description": "txt:Description"
	},
	"ShowStatIn": 0,
	"ScrollStep": 10,
	"PopUpResultLife": 10000.0,
	"PopUpResultHiding": 2000.0,
	"OriginalResults": false,
	"InBattleResult": true,
	
	"StatisticSessions": {
		"Overall": {
			"Reset": {"ResetAfter": 1, "ResetTime": 4},
			"BattleTypes": [0,1,3,4,5,7,20,21,12,13,14,15]
		}
	},
	
	"ResultName": {"Win": "txt:Win", "Defeat": "txt:Defeat", "Draw": "txt:Draw"},
	
	"InBattleResultPattern": [
		"<font color='{{c:BattleResult}}' size='25'>{{BattleResultName}}</font><textformat tabstops='[55]'>",
		"\n<img src='img://gui/maps/icons/library/TournamentBattleResultIcon-1.png' width='14' height='14' vspace='-1'><font color='#BBBBBB'>txt:Map:</font>\t<font color='#FFCC42'>{{BattleMapName}}</font>",
		"\n<img src='img://gui/maps/icons/library/ClanBattleResultIcon-1.png' width='14' height='14' vspace='-1'><font color='#BBBBBB'>txt:Tank:</font>\t<font color='#FFCC42'>{{BattleTankName}}</font>"
	],	

	"ResultPattern": {
		"template": ["{{um:Results}}"]
	},
	
	"Achievements": {
		"Battle": {
			"Header": "<p>txt:Ach</p><font color='#D3D3D3'>",
			"Body": "{{AchName}}",
			"Separator": ", ",
			"Footer": "</font>"
		}
	},
		
	"Pages": {
		"First": "Overall",
		"NoBattle": {
			"template": [
				"<p align='center'><font color='#E0E0E0' size='16'>{{UserName}}\ntxt:NoBattle</font></p>",
				"\n\n<font size='12' color='#545454'>",
				"txt:Mod: <a href='event:{{ModURL}}'><font color='#545454'>{{ModVersion}}</font></a>\n",
				"txt:Skin: '{{SkinName}}' ver:{{SkinVersion}}\n",
				"txt:Autor: {{SkinAuthor}}\n\n",
				"<p align='justify'>{{SkinDescription}}</p></font>"
			],
			"icon": "",
			"bgIcon": ""
		},
		"Overall": {
			"template": [
				"<font size='14' color='#FFCC66'><textformat leading='-3' tabstops='[90,170]'>",
				"WN8:\t<b><font color='{{c:Overall_XWN8}}'>{{Overall_WN8}}({{Overall_XWN8}})</font>\t{{Overall_BattleLevelAvg:1f}}</b> txt:Level\n",
				"txt:Wins:\t<b><font color='{{c:Overall_WinCounter:r}}'>{{Overall_WinCounter}}/{{Overall_BattleCounter}}</font>\t<font color='{{c:Overall_WinCounter:r}}'>{{Overall_WinCounter:r}}%</font></b>\n",
				"txt:Damage:\t<b><font color='{{c:Overall_DamageDealtAvg}}'>{{Overall_DamageDealt}}</font>\t<font color='{{c:Overall_DamageDealtAvg}}'>{{Overall_DamageDealtAvg}}</font></b>\n",
				"txt:Frags:\t<b><font color='{{c:Overall_KillsAvg}}'>{{Overall_Kills}}</font>\t<font color='{{c:Overall_KillsAvg}}'>{{Overall_KillsAvg:2f}}</font></b>\n",
				"txt:Spot:\t<b><font color='{{c:Overall_SpottedAvg}}'>{{Overall_Spotted}}</font>\t<font color='{{c:Overall_SpottedAvg}}'>{{Overall_SpottedAvg:2f}}</font></b>\n",
				"txt:Capture:\t<b><font color='{{c:Overall_CapturePointsAvg}}'>{{Overall_CapturePoints}}</font>\t<font color='{{c:Overall_CapturePointsAvg}}'>{{Overall_CapturePointsAvg:2f}}</font></b>\n",
				"txt:Diff:\t<b><font color='{{c:Overall_DroppedCapturePointsAvg}}'>{{Overall_DroppedCapturePoints}}</font>\t<font color='{{c:Overall_DroppedCapturePointsAvg}}'>{{Overall_DroppedCapturePointsAvg:2f}}</font></b>\n",
				"txt:Exp:\t<b><font color='{{c:Overall_OriginalXPAvg}}'>{{Overall_OriginalXP}}</font>\t<font color='{{c:Overall_OriginalXPAvg}}'>{{Overall_OriginalXPAvg}}</font></b>\n",
				"txt:Credits:\t<b><font color='{{c:Overall_CreditDebit}}'>{{Overall_CreditDebit}}</font>\t<font color='{{c:Overall_CreditDebitAvg}}'>{{Overall_CreditDebitAvg}}</font></b>\n",
				"\n\n{{um:ButtonTanks}}  {{um:ButtonReset}}"
			],
			"icon": "img://gui/maps/icons/library/ClanBattleResultIcon-1.png",
			"bgIcon": "img://../res_mods/configs/BBMods/EZorg/img/{{c:Overall_XWN8}}.png"
		},
		"Tanks": {
			"template": [
				"<font size='14' color='#FFCC66'><textformat leading='-2' tabstops='[70,125,170]'>txt:Tank\ttxt:tankWins\ttxt:Damage\tWN8</font>\n",
				"{{Overall_TanksStat}}",
				"\n\n{{um:ButtonOverall}}"
			],
			"icon": "img://gui/maps/icons/library/ClanBattleResultIcon-1.png",
			"bgIcon": "img://../res_mods/configs/BBMods/EZorg/img/{{c:Overall_XWN8}}.png"
		}
	},
	
	"Overall_TanksStat": {
		"SortKey": "BattleCounter#des",
		"template": [
			"<font size='13' color='#FFE6B3'>{{TankNameShort}}</font>",
			"\t<font color='{{c:WinCounter:r}}'>{{WinCounter}}/{{BattleCounter}}</font>",
			"\t<font color='{{c:DamageDealtAvg}}'>{{DamageDealtAvg}}</font>",
			"\t<font color='{{c:XWN8}}'>{{WN8}}</font>\n"
		]
	},	
	
	"UserMacros": {
		"um:Results": [
			"<p><font color='#D3D3D3' size='14'><b>{{BattleResultName}}!</b></font></p>",
			"<p>txt:Battle: {{BattleMapName}}</p>",
			"<p>txt:Vehicle: {{BattleTankName}}</p>",
			"<p>txt:ExpReceived: <font color='#D3D3D3'>{{BattleXP}}</font> {{BattleDailyXPFactor}}</p>",
			"<p>txt:Team: <font color='#D3D3D3'>{{BattleTmenXP}}</font></p>",
			"<p>txt:CreditsReceived: <font color='#D3D3D3'>{{BattleCredits}}</font></p>",
			"<p>WN8: <font color='{{c:BattleWN8}}'>{{BattleWN8}} ({{BattleXWN8}})</font></p>",
			"{{BattleAchievements}} {{um:ButtonResult}}"
		],
		"um:ButtonOverall": ["<a href='event:Page:Overall'>txt:BtnOverall</a>"],
		"um:ButtonTanks": ["<a href='event:Page:Tanks'>txt:BtnTanks</a>"],
		"um:ButtonReset": ["<a href='event:Reset'>txt:BtnReset</a>"],
		"um:ButtonResult": ["\n\n<a href='event:showBattleResults'>txt:BtnResult</a>"]
	},

	"ColorNames": {
		"very_bad": "#FE0E00",
		"bad": "#FE7903",
		"normal": "#F8F400",
		"good": "#60FF00",
		"very_good": "#02C9B3",
		"unique": "#D042F3"
	},

	"ColorAliases": {
		"XWN": ["XWGR", "XEFF", "XBS", "XWN6", "XWN7", "XWN8", "XWN8K"],
		"DamageAvg": ["AssistedAvg", "AssistedRadioAvg", "AssistedTrackAvg", "BlockedByArmorAvg", "DamageDealtAvg", "SniperDamageAvg", "DamageDealt"],
		"DroppedCapturePoints": ["DroppedCapturePointsAvg"],
		"CapturePoints": ["CapturePointsAvg"],
		"XP": ["OriginalXPAvg", "TmenXP"],
		"WN8": ["WN8K"]
	},

	"Colors": {
		"BattleLevelAvg":		[{"value": 2, "color": "very_bad"}, {"value": 3, "color": "bad"}, {"value": 5, "color": "normal"}, {"value": 7, "color": "good"}, {"value": 9, "color": "very_good"}, {"value": 13, "color": "unique"}],
		"BattleTimerAvg":		[{"value": 180, "color": "very_bad"}, {"value": 300, "color": "bad"}, {"value": 420, "color": "normal"}, {"value": 600, "color": "good"}, {"value": 720, "color": "very_good"}, {"value": 840, "color": "unique"}],
		"DamageAvg":			[{"value": 500, "color": "very_bad"}, {"value": 750, "color": "bad"}, {"value": 1000, "color": "normal"}, {"value": 1800, "color": "good"}, {"value": 2500, "color": "very_good"}, {"value": 9999, "color": "unique"}],
		"DamageRating":			[{"value": 40, "color": "very_bad"}, {"value": 50, "color": "bad"}, {"value": 65, "color": "normal"}, {"value": 85, "color": "good"}, {"value": 95, "color": "very_good"}, {"value": 100, "color": "unique"}],
		"DroppedCapturePoints": [{"value": 0.6, "color": "very_bad"}, {"value": 0.8, "color": "bad"}, {"value": 1, "color": "normal"}, {"value": 1.3, "color": "good"}, {"value": 2, "color": "very_good"}, {"value": 999, "color": "unique"}],
		"CapturePoints": 		[{"value": 1.2, "color": "very_bad"}, {"value": 1.6, "color": "bad"}, {"value": 2, "color": "normal"}, {"value": 2.6, "color": "good"}, {"value": 4, "color": "very_good"}, {"value": 999, "color": "unique"}],
		"FreeXP": 				[{"value": 7,   "color": "very_bad"}, {"value": 10,   "color": "bad"}, {"value": 20,   "color": "normal"}, {"value": 27,   "color": "good"}, {"value": 37,   "color": "very_good"}, {"value": 999, "color": "unique"}],
		"Kills":				[{"value": 0, "color": "very_bad"}, {"value": 1, "color": "bad"}, {"value": 2, "color": "normal"}, {"value": 6, "color": "good"}, {"value": 12, "color": "very_good"}, {"value": 15, "color": "unique"}],
		"KillsAvg":				[{"value": 0.6, "color": "very_bad"}, {"value": 0.8, "color": "bad"}, {"value": 1, "color": "normal"}, {"value": 1.3, "color": "good"}, {"value": 2, "color": "very_good"}, {"value": 15, "color": "unique"}],
		"RatioDamageWN8":		[{"value": 0.6, "color": "very_bad"}, {"value": 0.8, "color": "bad"}, {"value": 1, "color": "normal"}, {"value": 1.3, "color": "good"}, {"value": 2, "color": "very_good"}, {"value": 15, "color": "unique"}],
		"SpottedAvg":			[{"value": 0.6, "color": "very_bad"}, {"value": 1, "color": "bad"}, {"value": 1.5, "color": "normal"}, {"value": 2, "color": "good"}, {"value": 5, "color": "very_good"}, {"value": 15, "color": "unique"}],
		"WinCounter:r":			[{"value": 46.9, "color": "very_bad"}, {"value": 48.9, "color": "bad"}, {"value": 52.9, "color": "normal"}, {"value": 57.9, "color": "good"}, {"value": 64.9, "color": "very_good"}, {"value": 101, "color": "unique"}],
		"XP":					[{"value": 135, "color": "very_bad"}, {"value": 201, "color": "bad"}, {"value": 401, "color": "normal"}, {"value": 535, "color": "good"}, {"value": 735, "color": "very_good"}, {"value": 99999, "color": "unique"}],
		"XPAvg":				[{"value": 401, "color": "very_bad"}, {"value": 601, "color": "bad"}, {"value": 1201, "color": "normal"}, {"value": 1601, "color": "good"}, {"value": 2201, "color": "very_good"}, {"value": 99999, "color": "unique"}],

		"WGR":					[{"value": 2554, "color": "very_bad"}, {"value": 4434, "color": "bad"}, {"value": 6514, "color": "normal"}, {"value": 8729, "color": "good"}, {"value": 10174, "color": "very_good"}, {"value": 99999, "color": "unique"}],
		"EFF":					[{"value": 609, "color": "very_bad"}, {"value": 874, "color": "bad"}, {"value": 1174, "color": "normal"}, {"value": 1539, "color": "good"}, {"value": 1879, "color": "very_good"}, {"value": 99999, "color": "unique"}],
		"BS":					[{"value": 719, "color": "very_bad"}, {"value": 1919, "color": "bad"}, {"value": 3904, "color": "normal"}, {"value": 6699, "color": "good"}, {"value": 9599, "color": "very_good"}, {"value": 99999, "color": "unique"}],
		"WN6":					[{"value": 469, "color": "very_bad"}, {"value": 859, "color": "bad"}, {"value": 1224, "color": "normal"}, {"value": 1634, "color": "good"}, {"value": 1989, "color": "very_good"}, {"value": 99999, "color": "unique"}],
		"WN7":					[{"value": 504, "color": "very_bad"}, {"value": 864, "color": "bad"}, {"value": 1224, "color": "normal"}, {"value": 1634, "color": "good"}, {"value": 1994, "color": "very_good"}, {"value": 99999, "color": "unique"}],
		"WN8":					[{"value": 399, "color": "very_bad"}, {"value": 899, "color": "bad"}, {"value": 1469, "color": "normal"}, {"value": 2179, "color": "good"}, {"value": 2879, "color": "very_good"}, {"value": 99999, "color": "unique"}],
		"XWN":					[{"value": 16, "color": "very_bad"}, {"value": 33, "color": "bad"}, {"value": 52, "color": "normal"}, {"value": 75, "color": "good"}, {"value": 92, "color": "very_good"}, {"value": 999, "color": "unique"}],

		"Result":				[{"value": "Defeat", "color": "#C40900"}, {"value": "Draw", "color": "#D86704"}, {"value": "Win", "color": "#46B700"}],

		"Any":					[{"value": -0.0000001, "color": "very_bad"}, {"value": 0, "color": "#A1A1A1"}, {"value": 9999999, "color": "#3DDA56"}]
	}
}
