
"sessionStatistic": {
	
	"noBattles": {
		"icon": "",
		"background": "{{config}}skins/default/images/sessionStatisticBackgroundNull.png",
		"message": "<br><br><p align='center'><font face='$TitleFont' size='15' color='#E9E2BF'>PMOD - Сессионная статистика</font><br><br>Привет {{PlayerName}}, для отображения изменений в статистике нужно провести хотя бы один бой!</p> "
	},
	
	"pages": [
		
		// Общая статистика
		{
			"pageName": "overalStatistic",
			"macroses": "overal",
			"messageBackground": {
				"enable": true,
				"path": "{{config}}skins/default/images/sessionStatisticBackground{{c:WN8}}.png"
			},
			"templateWrapper": [
				"<font size='14' color='#A3A09B'><textformat leading='2' tabstops='[0,90,150]'>{{items}}</textformat></font>",
				"<br><img src='img://{{config}}skins/default/images/null.png' height='6' width='200'><br>",
				"<a href='event:showPage:tanksEfficiency'>На танках</a>&nbsp;&nbsp;&nbsp;&nbsp;",
				"<a href='event:resetStatistic'>Очистить</a>&nbsp;&nbsp;&nbsp;&nbsp;",
				"<a href='event:reloadConfig'>[R]</a>"
			],
			"templateItem": [
				"Победы<tab><tab><font color='#F5F2E1'>{{Wins}} / {{Battles}}</font><tab>{{UM:rgWinrate}}<font color='{{c:WinRate}}'>{{WinRate}}%</font>{{UM:line}}",
				"Опыт<tab><tab><font color='#F5F2E1'>{{XP}}</font><tab>{{UM:rgXP}}<font color='{{c:AvgXP}}'>{{AvgXP}}</font>{{UM:line}}",
				"Урон<tab><tab><font color='#F5F2E1'>{{DamageDealt}}</font><tab>{{UM:rgDamage}}<font color='{{c:AvgDamageDealt}}'>{{AvgDamageDealt}}</font>{{UM:line}}",
				"Фраги<tab><tab><font color='#F5F2E1'>{{Frags}}</font><tab>{{UM:rgFrags}}<font color='{{c:AvgFrags}}'>{{AvgFrags}}</font>{{UM:line}}",
				"Кредиты<tab><tab><font color='{{c:AccountCredits}}'>{{AccountCredits}}</font><tab>{{UM:rgCredits}}<font color='{{c:PureCredits}}'>{{PureCredits}}</font>"
			],
			"colors": {
				"WinRate": [{"value": 47, "color": "#EE0000"}, {"value": 49, "color": "#FE7903"}, {"value": 52, "color": "#F8F400"}, {"value": 57, "color": "#60FF00"}, {"value": 64, "color": "#02C9B3"}, {"value": 101, "color": "#D042F3"}],
				"AvgDamageDealt": [{"value": 800, "color": "#EE0000"}, {"value": 1500, "color": "#FE7903"}, {"value": 2000, "color": "#F8F400"}, {"value": 2500, "color": "#60FF00"}, {"value": 3000, "color": "#02C9B3"}, {"value": 9999,  "color": "#D042F3"}],
				"AvgFrags": [{"value": 0.6, "color": "#EE0000"}, {"value": 0.8,  "color": "#FE7903"}, {"value": 1,    "color": "#F8F400"}, {"value": 1.3,  "color": "#60FF00"}, {"value": 2,    "color": "#02C9B3"}, {"value": 999,   "color": "#D042F3"}],
				"AvgXP": [{"value": 0,   "color": "#D6D7D4"}, {"value": 201, "color": "#EE0000"}, {"value": 301,  "color": "#FE7903"}, {"value": 601,  "color": "#F8F400"}, {"value": 801,  "color": "#60FF00"}, {"value": 1101, "color": "#02C9B3"}, {"value": 99999, "color": "#D042F3"}],
				"PureCredits": [{"value": 0, "color": "#D44B5D"}, {"value": 9999999, "color": "#C3D84C"}],
				"AccountCredits": [{"value": 0, "color": "#D44B5D"}, {"value": 9999999, "color": "#C3D84C"}],
				"WN8": [{"value": 315, "color": "Red"}, {"value": 760,  "color": "Orange"}, {"value": 1325, "color": "Yellow"}, {"value": 1980, "color": "Green"}, {"value": 2570, "color": "Cyan"}, {"value": 9999,  "color": "Purple"}],
				"DiffWinrate": [{"value": 0, "color": "red"}, {"value": 9999999, "color": "green"}],
				"DiffAvgDamageDealt": [{"value": 0, "color": "red"}, {"value": 9999999, "color": "green"}],
				"DiffAvgFrags": [{"value": 0, "color": "red"}, {"value": 9999999, "color": "green"}],
				"DiffAvgXP": [{"value": 0, "color": "red"}, {"value": 9999999, "color": "green"}]
			},
			"userMacros": {
				"UM:line": "<br><img src='img://{{config}}skins/default/images/line.png' height='2' width='200'><br>",
				"UM:rgWinrate": "<img src='img://{{config}}skins/default/images/{{c:DiffWinrate}}.png' width='11' height='10'>",
				"UM:rgXP": "<img src='img://{{config}}skins/default/images/{{c:DiffAvgXP}}.png' width='11' height='10'>",
				"UM:rgDamage": "<img src='img://{{config}}skins/default/images/{{c:DiffAvgDamageDealt}}.png' width='11' height='10'>",
				"UM:rgFrags": "<img src='img://{{config}}skins/default/images/{{c:DiffAvgFrags}}.png' width='11' height='10'>",
				"UM:rgCredits": "<img src='img://{{config}}skins/default/images/null.png' width='11' height='10'>"
			}
		},
		
		// Эфективность на всех танках списком
		{
			"pageName": "tanksEfficiency",
			"macroses": "byTanks",
			"templateWrapper": [
				"<font size='14' color='#A3A09B'><textformat leading='2' tabstops='[75,125,165]'>",
				"<a href='event:sortPage:VehicleLocalNameShort'>Танк</a>",
				"<tab><a href='event:sortPage:WinRate'>Победы</a>",
				"<tab><a href='event:sortPage:AvgDamageDealt'>Урон</a>",
				"<tab><a href='event:sortPage:WN8'>WN8</a>",
				"{{UM:headerLine}}{{items}}</textformat></font>{{UM:headerLine}}",
				"<a href='event:showPage:overalStatistic'>Общая</a>&nbsp;&nbsp;&nbsp;&nbsp;",
				"<a href='event:resetStatistic'>Очистить</a>&nbsp;&nbsp;&nbsp;&nbsp;",
				"<a href='event:reloadConfig'>[R]</a>"
			],
			"templateConnector": "<br><img src='img://{{config}}skins/default/images/line.png' height='2' width='210' vspace='-3'><br>",
			"templateItem": "<font size='12' color='#E5D8BE'><a href='event:showPage:tankEfficiency:{{tank_id}}'>{{CM:infoIcon}}</a>{{UM:name}}{{UM:battles}}{{UM:damage}}{{UM:rating}}</font>",
			"itemsSortingMacros": "Battles:desc",
			"colors": {
				"AvgDamageDealt": [{"value": 800, "color": "#EE0000"}, {"value": 1500, "color": "#FE7903"}, {"value": 2000, "color": "#F8F400"}, {"value": 2500, "color": "#60FF00"}, {"value": 3000, "color": "#02C9B3"}, {"value": 9999,  "color": "#D042F3"}],
				"WinRate": [{"value": 47, "color": "#EE0000"}, {"value": 49, "color": "#FE7903"}, {"value": 52, "color": "#F8F400"}, {"value": 57, "color": "#60FF00"}, {"value": 64, "color": "#02C9B3"}, {"value": 101, "color": "#D042F3"}],
				"WN8": [{"value": 355,  "color": "#FE0E00"}, {"value": 820,  "color": "#FE7903"}, {"value": 1370, "color": "#F8F400"}, {"value": 2020, "color": "#60FF00"}, {"value": 2620, "color": "#02C9B3"}, {"value": 99999, "color": "#D042F3"}]
			},
			"userMacros": {
				"UM:headerLine": "<br><img src='img://{{config}}skins/default/images/null.png' height='6' width='200'><br>",
				"UM:name": "<font color='#E4D5C2'>{{VehicleLocalNameShort}}</font>",
				"UM:battles": "<tab><font color='{{c:WinRate}}'>{{Wins}}/{{Battles}}</font>",
				"UM:damage": "<tab><font color='{{c:AvgDamageDealt}}'>{{AvgDamageDealt}}</font>",
				"UM:rating": "<tab><font color='{{c:WN8}}'>{{WN8}} ({{XWN8}})</font>"
			}
		},
		
		// Эфективность на отдельном танке
		{
			"pageName": "tankEfficiency",
			"macroses": "byTank",
			"messageBackground": {
				"enable": true,
				"path": "{{config}}skins/default/images/sessionStatisticBackground{{c:WN8}}.png"
			},
			"templateWrapper": [
				"<font size='14' color='#A3A09B'><textformat leading='2' tabstops='[0,90,150]'>{{items}}</textformat></font>{{CM:verticalDelimiter1px}}",
				"<a href='event:showPage:tanksEfficiency'>На танках</a>&nbsp;&nbsp;&nbsp;&nbsp;",
				"<a href='event:resetStatistic'>Очистить</a>&nbsp;&nbsp;&nbsp;&nbsp;",
				"<a href='event:reloadConfig'>[R]</a>"
			],
			"templateItem": [
				"техника: {{VehicleLocalNameShort}}<br>",
				"Победы<tab><tab><font color='#F5F2E1'>{{Wins}} / {{Battles}}</font><tab>{{UM:rgWinrate}}<font color='{{c:WinRate}}'>{{WinRate}}%</font>{{UM:line}}",
				"Опыт<tab><tab><font color='#F5F2E1'>{{XP}}</font><tab>{{UM:rgXP}}<font color='{{c:AvgXP}}'>{{AvgXP}}</font>{{UM:line}}",
				"Урон<tab><tab><font color='#F5F2E1'>{{DamageDealt}}</font><tab>{{UM:rgDamage}}<font color='{{c:AvgDamageDealt}}'>{{AvgDamageDealt}}</font>{{UM:line}}",
				"Фраги<tab><tab><font color='#F5F2E1'>{{Frags}}</font><tab>{{UM:rgFrags}}<font color='{{c:AvgFrags}}'>{{AvgFrags}}</font>{{UM:line}}"
			],
			"colors": {
				"WinRate": [{"value": 47, "color": "#EE0000"}, {"value": 49, "color": "#FE7903"}, {"value": 52, "color": "#F8F400"}, {"value": 57, "color": "#60FF00"}, {"value": 64, "color": "#02C9B3"}, {"value": 101, "color": "#D042F3"}],
				"AvgDamageDealt": [{"value": 800, "color": "#EE0000"}, {"value": 1500, "color": "#FE7903"}, {"value": 2000, "color": "#F8F400"}, {"value": 2500, "color": "#60FF00"}, {"value": 3000, "color": "#02C9B3"}, {"value": 9999,  "color": "#D042F3"}],
				"AvgFrags": [{"value": 0.6, "color": "#EE0000"}, {"value": 0.8,  "color": "#FE7903"}, {"value": 1,    "color": "#F8F400"}, {"value": 1.3,  "color": "#60FF00"}, {"value": 2,    "color": "#02C9B3"}, {"value": 999,   "color": "#D042F3"}],
				"AvgXP": [{"value": 0,   "color": "#D6D7D4"}, {"value": 201, "color": "#EE0000"}, {"value": 301,  "color": "#FE7903"}, {"value": 601,  "color": "#F8F400"}, {"value": 801,  "color": "#60FF00"}, {"value": 1101, "color": "#02C9B3"}, {"value": 99999, "color": "#D042F3"}],
				"PureCredits": [{"value": 0, "color": "#D44B5D"}, {"value": 9999999, "color": "#C3D84C"}],
				"AccountCredits": [{"value": 0, "color": "#D44B5D"}, {"value": 9999999, "color": "#C3D84C"}],
				"WN8": [{"value": 315, "color": "Red"}, {"value": 760,  "color": "Orange"}, {"value": 1325, "color": "Yellow"}, {"value": 1980, "color": "Green"}, {"value": 2570, "color": "Cyan"}, {"value": 9999,  "color": "Purple"}],
				"DiffWinrate": [{"value": 0, "color": "red"}, {"value": 9999999, "color": "green"}],
				"DiffAvgDamageDealt": [{"value": 0, "color": "red"}, {"value": 9999999, "color": "green"}],
				"DiffAvgFrags": [{"value": 0, "color": "red"}, {"value": 9999999, "color": "green"}],
				"DiffAvgXP": [{"value": 0, "color": "red"}, {"value": 9999999, "color": "green"}]
			},
			"userMacros": {
				"UM:line": "<br><img src='img://{{config}}skins/default/images/line.png' height='2' width='200'><br>",
				"UM:rgWinrate": "<img src='img://{{config}}skins/default/images/{{c:DiffWinrate}}.png' width='11' height='10'>",
				"UM:rgXP": "<img src='img://{{config}}skins/default/images/{{c:DiffAvgXP}}.png' width='11' height='10'>",
				"UM:rgDamage": "<img src='img://{{config}}skins/default/images/{{c:DiffAvgDamageDealt}}.png' width='11' height='10'>",
				"UM:rgFrags": "<img src='img://{{config}}skins/default/images/{{c:DiffAvgFrags}}.png' width='11' height='10'>"
			}
		}
		
	],
	
	"commonMacros": {
		
		"CM:infoIcon": "<img src='img://gui/maps/icons/library/BattleResultIcon-1.png' width='16' height='16' vspace='-4'>",
		"CM:settingsIcon": "<img src='img://gui/maps/icons/library/gear.png' width='16' height='16' vspace='-4'>",
		
		"CM:verticalDelimiter1px": "<br><img src='img://{{config}}skins/default/images/null.png' height='1' width='200'><br>",
		"CM:verticalDelimiter5px": "<br><img src='img://{{config}}skins/default/images/null.png' height='5' width='200'><br>",
		"CM:verticalDelimiter10px": "<br><img src='img://{{config}}skins/default/images/null.png' height='10' width='200'><br>"
		
	}
}