/*
	The name of modification - Calculator_rankings_battle
	Modification Author - Ekspoint
	Config Author - NooBooL
	Config Editor - WOT_Avenger
*/
/*
    --------------------------------------------------------------------------------------------------------------------------
	||           Macros         ||  ||                                  Description                                         ||
	--------------------------------------------------------------------------------------------------------------------------
    || {WN8}                    ||  || WN8 rating                                                                           ||
	|| {EFF}                    ||  || Player efficiency                                                                    ||
	|| {XWN8}                   ||  || XVM Scale for WN8 (values 00-99, XX for Tops)                                        ||
	|| {XEFF}                   ||  || XVM Scale for efficiency (values 00-99, XX for Tops)                                 ||
	|| {DIFF}                   ||  || Difference between damage done and expected damage for your tank                     ||
	|| {COEF}                   ||  || The effectiveness of battle damage on the current tank                               ||
	|| {DMG}                    ||  || Damage done                                                                          ||
	|| {LASTDMG}                ||  || Last damage done                                                                     ||
	|| {AVGDMG}                 ||	|| Average damage done	                                                                ||
	|| {AVGSHOTS}               ||  || Average damage caused for your number of shots                                       ||
	|| {MAINGUN}                ||  || High Caliber                                                                         ||
	|| {colorWN8}               ||  || Color depending on WN8 rating                                                        ||
	|| {colorEFF}               ||  || Color depending on player efficiency                                                 ||
	|| {colorXWN8}              ||  || Color depending on XVM Scale for WN8                                                 ||
	|| {colorXEFF}              ||  || Color depending on XVM Scale for efficiency                                          ||
	|| {colorDIFF}              ||  || Dynamic color according to the expected damage for your tank                         ||
    || {colorCOEF}              ||  || Dynamic color according for damage on the current tank for COEF                      ||
	|| {colorAVGDMG}            ||  || Dynamic color according to the average damage                                        ||
	--------------------------------------------------------------------------------------------------------------------------
*/
{
	    "settings": {
		    "enable": true,
			"dragEnable": true,                   // (Ctrl+LClick) and drag the mod wherever you want
			"reloadKey": "KEY_LALT and KEY_2",
		    "hotKeyEnable": "KEY_LALT and KEY_1"
		},
		// Background settings
        "background": {
		    "enable": false,
            "alpha": 50,
            "height": 27,
            "image": "gui/maps/bg.png",
            "width": 87,
            "x": -7,
            "y": -2
        },
		// Shadow Text settings
        "shadow": {
		    "enable": true,
            "alpha": 100,
            "angle": 90,
            "color": "#000000",
            "distance": 0,
            "size": 3,
            "strength": 200
        },
		// High Caliber settings
		"mainGun": {
            "dynamic": true,
            "mainGunIcon": "<img src='img://gui/maps/icons/achievement/32x32/mainGun.png' width='24' height='22' vspace='-8'>",
            "mainGunDoneIcon": "<img src='img://gui/maps/icons/library/done.png' width='22' height='22' vspace='-8'>",
            "mainGunFailureIcon": "<img src='img://gui/maps/icons/library/icon_alert_32x32.png' width='22' height='22' vspace='-8'>",
		    "format": "{mainGunIcon}{mainGunDoneIcon}{mainGunFailureIcon}<font color='#E0E06D'>{mainGun}</font>"
        },
		// Text settings
        "text": {
		    "enable": true,
			"alignX": "left", // Horizontal alignment [left, center, right]
            "alignY": "top",  // Vertical alignment   [top, center, bottom]
            "format": "<b><font color='#ffffff' size='15' face='$TitleFont'>WN8: <font color='{colorWN8}'>{WN8}</font></font></b>",
			"x": 125,
            "y": 37
        },
		// Dynamic colors for WN8, EFF, XWN8, XEFF, COEF, DIFF, AVGDMG
		"colors": [
			{"type": "COEF",        "value": 0.5,			"color": "#FE0E00"},
     	    {"type": "COEF",        "value": 0.7,			"color": "#FE7903"},
     	    {"type": "COEF",        "value": 0.9,			"color": "#F8F400"},
     	    {"type": "COEF",        "value": 1.2,			"color": "#60FF00"},
     	    {"type": "COEF",        "value": 1.9,			"color": "#02C9B3"},
            {"type": "COEF",        "value": 15,			"color": "#D042F3"},
             
			{"type": "DIFF",        "value": "less",        "color": "#FE0E00"},
            {"type": "DIFF",        "value": "same",        "color": "#FF9000"},
            {"type": "DIFF",        "value": "more",        "color": "#26FF26"},
         
			{"type": "AVGDMG",	    "value": "less",	    "color": "#60FF00"},
            {"type": "AVGDMG",	    "value": "more",	    "color": "#FE0E00"}
		]
}
/**
KEY_NONE, KEY_MOUSE0, KEY_MOUSE1, KEY_MOUSE2, KEY_MOUSE3, KEY_MOUSE4, KEY_MOUSE5, KEY_MOUSE6, KEY_MOUSE7,
KEY_A, KEY_B, KEY_C, KEY_D, KEY_E, KEY_F, KEY_G, KEY_H, KEY_I, KEY_J, KEY_K, KEY_L, KEY_M, KEY_N, KEY_O,
KEY_P, KEY_Q, KEY_R, KEY_S, KEY_T, KEY_U, KEY_V, KEY_W, KEY_X, KEY_Y, KEY_Z, KEY_0, KEY_1, KEY_2, KEY_3,
KEY_4, KEY_5, KEY_6, KEY_7, KEY_8, KEY_9, KEY_NUMPAD0, KEY_NUMPAD1, KEY_NUMPAD2, KEY_NUMPAD3, KEY_NUMPAD4,
KEY_NUMPAD5, KEY_NUMPAD6, KEY_NUMPAD7, KEY_NUMPAD8, KEY_NUMPAD9, KEY_NUMPADSTAR, KEY_ADD, KEY_NUMPADENTER,
KEY_NUMPADMINUS, KEY_NUMPADPERIOD, KEY_NUMPADSLASH, KEY_F1, KEY_F2, KEY_F3, KEY_F4, KEY_F5, KEY_F6, KEY_F7,
KEY_F8, KEY_F9, KEY_F10, KEY_F11, KEY_F12, KEY_F13, KEY_F14, KEY_F15, KEY_BACKSPACE, KEY_TAB, KEY_RETURN,
KEY_RSHIFT, KEY_LSHIFT, KEY_RCONTROL, KEY_LCONTROL, KEY_RALT, KEY_LALT, KEY_PAUSE, KEY_CAPSLOCK, KEY_ESCAPE,
KEY_SPACE, KEY_PGUP, KEY_PGDN, KEY_END, KEY_HOME, KEY_LEFTARROW, KEY_UPARROW, KEY_RIGHTARROW, KEY_DOWNARROW,
KEY_INSERT, KEY_DELETE, KEY_NUMLOCK, KEY_SCROLL, KEY_SEMICOLON, KEY_EQUALS, KEY_COMMA, KEY_MINUS, KEY_PERIOD,
KEY_SLASH, KEY_LBRACKET, KEY_BACKSLASH, KEY_RBRACKET, KEY_APOSTROPHE, KEY_AX, KEY_OEM_102
**/