// This file has been automatically generated.

#include "AppHdr.h"
#include "libutil.h"
#include "tiledef-main.h"

static unsigned int _tile_main_count[TILE_MAIN_MAX - TILE_FEAT_MAX] =
{
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    2,
    1,
    2,
    1,
    2,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    4,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    2,
    1,
    2,
    1,
    2,
    1,
    5,
    1,
    1,
    1,
    1,
    4,
    1,
    1,
    1,
    3,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    2,
    1,
    2,
    1,
    2,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    12,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    3,
    1,
    1,
    2,
    1,
    2,
    1,
    9,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    4,
    1,
    1,
    1,
    4,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    29,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    15,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    29,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    8,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    23,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    10,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    30,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    2,
    1,
    7,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    10,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    7,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    10,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    5,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    6,
    1,
    1,
    1,
    1,
    1,
    1,
    2,
    1,
    2,
    1,
    2,
    1,
    2,
    1,
    2,
    1,
    2,
    1,
    2,
    1,
    2,
    1,
    2,
    1,
    2,
    1,
    2,
    1,
    2,
    1,
    2,
    1,
    2,
    1,
    2,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    5,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    6,
    1,
    1,
    1,
    1,
    1,
    6,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    3,
    1,
    1,
    2,
    1,
    2,
    1,
    2,
    1,
    1,
    2,
    1,
    8,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    2,
    1,
    8,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    4,
    1,
    1,
    1,
    2,
    1,
    2,
    1,
    2,
    1,
    3,
    1,
    1,
    8,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    8,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    8,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    6,
    1,
    1,
    1,
    1,
    1,
    1,
    2,
    1,
    1,
    1,
    2,
    1,
    2,
    1,
    2,
    1,
    4,
    1,
    1,
    1,
    3,
    1,
    1,
    3,
    1,
    1,
    4,
    1,
    1,
    1,
    5,
    1,
    1,
    1,
    1,
    4,
    1,
    1,
    1,
    4,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    2,
    1,
    8,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    3,
    1,
    1,
    1,
    8,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    8,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    8,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    8,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    8,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    2,
    1,
    2,
    1,
    2,
    1,
    2,
    1,
    8,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    2,
    1,
    1,
    1,
    1,
    8,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    4,
    1,
    1,
    1,
    1,
    4,
    1,
    1,
    1,
    8,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    6,
    1,
    1,
    1,
    1,
    1,
    4,
    1,
    1,
    1,
    8,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    8,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    3,
    1,
    1,
    3,
    1,
    1,
    3,
    1,
    1,
    3,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    3,
    1,
    1,
    1,
    2,
    1,
    2,
    1,
    4,
    1,
    1,
    1,
    4,
    1,
    1,
    1,
    4,
    1,
    1,
    1,
    2,
    1,
    1,
    1,
    1,
    5,
    1,
    1,
    1,
    1,
    1,
    1,
    4,
    1,
    1,
    1,
    1,
    3,
    1,
    1,
    3,
    1,
    1,
    2,
    1,
    3,
    1,
    1,
    4,
    1,
    1,
    1,
    4,
    1,
    1,
    1,
    4,
    1,
    1,
    1,
    4,
    1,
    1,
    1,
    1,
    3,
    1,
    1,
    3,
    1,
    1,
    4,
    1,
    1,
    1,
    4,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
};

unsigned int tile_main_count(tileidx_t idx)
{
    ASSERT_RANGE(idx, TILE_FEAT_MAX, TILE_MAIN_MAX);
    return _tile_main_count[idx - TILE_FEAT_MAX];
}

static tileidx_t _tile_main_basetiles[TILE_MAIN_MAX - TILE_FEAT_MAX] =
{
    0,
    1,
    2,
    3,
    4,
    5,
    6,
    7,
    8,
    9,
    10,
    11,
    12,
    13,
    14,
    15,
    16,
    17,
    18,
    19,
    20,
    21,
    22,
    23,
    24,
    25,
    26,
    27,
    28,
    29,
    30,
    31,
    32,
    33,
    34,
    35,
    36,
    37,
    38,
    39,
    40,
    41,
    42,
    43,
    44,
    45,
    46,
    47,
    48,
    49,
    50,
    51,
    52,
    53,
    54,
    55,
    56,
    57,
    58,
    59,
    60,
    61,
    62,
    63,
    64,
    65,
    66,
    67,
    68,
    69,
    70,
    71,
    72,
    73,
    74,
    75,
    76,
    77,
    78,
    79,
    80,
    81,
    82,
    83,
    84,
    85,
    86,
    87,
    88,
    89,
    90,
    91,
    92,
    93,
    94,
    95,
    96,
    97,
    98,
    99,
    100,
    101,
    102,
    103,
    104,
    105,
    106,
    107,
    108,
    109,
    110,
    111,
    112,
    113,
    114,
    115,
    116,
    117,
    118,
    119,
    120,
    121,
    122,
    123,
    124,
    125,
    126,
    127,
    128,
    129,
    130,
    131,
    132,
    133,
    134,
    135,
    136,
    137,
    138,
    139,
    140,
    141,
    142,
    143,
    144,
    145,
    146,
    147,
    148,
    149,
    150,
    151,
    152,
    153,
    154,
    155,
    156,
    157,
    158,
    159,
    160,
    161,
    162,
    163,
    164,
    165,
    166,
    167,
    168,
    169,
    170,
    171,
    172,
    173,
    174,
    175,
    176,
    177,
    178,
    179,
    180,
    181,
    182,
    183,
    184,
    185,
    186,
    187,
    188,
    189,
    190,
    191,
    192,
    193,
    194,
    195,
    196,
    197,
    198,
    199,
    200,
    201,
    202,
    203,
    204,
    205,
    206,
    207,
    208,
    209,
    210,
    211,
    212,
    213,
    214,
    215,
    216,
    217,
    218,
    219,
    220,
    221,
    222,
    223,
    224,
    225,
    226,
    227,
    228,
    229,
    230,
    231,
    232,
    233,
    234,
    235,
    236,
    237,
    238,
    239,
    240,
    241,
    242,
    243,
    244,
    245,
    246,
    247,
    248,
    249,
    250,
    251,
    252,
    253,
    254,
    255,
    256,
    257,
    258,
    259,
    260,
    261,
    262,
    263,
    264,
    265,
    266,
    267,
    268,
    269,
    270,
    271,
    272,
    273,
    274,
    275,
    276,
    277,
    278,
    279,
    280,
    281,
    282,
    283,
    284,
    285,
    286,
    287,
    288,
    289,
    290,
    291,
    292,
    293,
    294,
    295,
    296,
    297,
    298,
    299,
    300,
    301,
    302,
    303,
    304,
    305,
    306,
    307,
    308,
    309,
    310,
    311,
    312,
    313,
    314,
    315,
    316,
    317,
    318,
    319,
    320,
    321,
    322,
    323,
    324,
    325,
    326,
    327,
    328,
    329,
    330,
    331,
    332,
    333,
    334,
    335,
    336,
    337,
    338,
    339,
    340,
    341,
    342,
    343,
    344,
    345,
    346,
    347,
    348,
    349,
    350,
    351,
    352,
    353,
    354,
    355,
    356,
    357,
    358,
    359,
    360,
    361,
    362,
    363,
    364,
    365,
    366,
    367,
    368,
    369,
    370,
    371,
    372,
    373,
    374,
    375,
    376,
    377,
    378,
    379,
    380,
    381,
    382,
    383,
    384,
    385,
    386,
    387,
    388,
    389,
    390,
    391,
    392,
    393,
    394,
    395,
    396,
    397,
    398,
    399,
    400,
    401,
    402,
    403,
    404,
    405,
    406,
    407,
    408,
    409,
    410,
    411,
    412,
    413,
    414,
    415,
    416,
    417,
    418,
    419,
    420,
    421,
    422,
    423,
    424,
    425,
    426,
    427,
    428,
    429,
    429,
    431,
    431,
    433,
    433,
    435,
    436,
    437,
    438,
    439,
    440,
    441,
    442,
    443,
    444,
    445,
    446,
    447,
    448,
    449,
    450,
    451,
    452,
    453,
    454,
    455,
    456,
    457,
    458,
    459,
    460,
    461,
    462,
    463,
    464,
    465,
    466,
    467,
    468,
    469,
    470,
    471,
    472,
    473,
    474,
    475,
    476,
    477,
    478,
    479,
    480,
    481,
    482,
    483,
    484,
    485,
    486,
    487,
    488,
    489,
    490,
    491,
    492,
    493,
    493,
    493,
    493,
    497,
    498,
    499,
    500,
    501,
    502,
    503,
    504,
    505,
    506,
    507,
    508,
    509,
    510,
    511,
    512,
    513,
    514,
    515,
    516,
    517,
    518,
    519,
    520,
    520,
    522,
    522,
    524,
    524,
    526,
    526,
    526,
    526,
    526,
    531,
    531,
    531,
    531,
    535,
    535,
    535,
    538,
    539,
    540,
    541,
    542,
    543,
    543,
    545,
    545,
    547,
    547,
    549,
    550,
    551,
    552,
    553,
    554,
    555,
    556,
    557,
    558,
    559,
    560,
    561,
    562,
    563,
    564,
    565,
    566,
    567,
    568,
    569,
    570,
    571,
    572,
    573,
    574,
    575,
    576,
    577,
    578,
    579,
    580,
    581,
    582,
    583,
    584,
    585,
    586,
    587,
    588,
    589,
    590,
    591,
    592,
    593,
    594,
    595,
    596,
    597,
    598,
    599,
    599,
    599,
    599,
    599,
    599,
    599,
    599,
    599,
    599,
    599,
    599,
    611,
    612,
    613,
    614,
    615,
    616,
    617,
    618,
    619,
    620,
    621,
    622,
    623,
    624,
    625,
    626,
    627,
    628,
    629,
    630,
    631,
    632,
    633,
    634,
    635,
    636,
    637,
    637,
    637,
    640,
    640,
    642,
    642,
    644,
    644,
    644,
    644,
    644,
    644,
    644,
    644,
    644,
    653,
    654,
    655,
    655,
    655,
    655,
    659,
    659,
    659,
    659,
    663,
    664,
    665,
    666,
    667,
    668,
    669,
    670,
    671,
    672,
    673,
    674,
    675,
    676,
    677,
    678,
    679,
    680,
    681,
    682,
    683,
    684,
    685,
    686,
    687,
    688,
    689,
    690,
    691,
    692,
    693,
    694,
    695,
    696,
    697,
    698,
    699,
    699,
    699,
    699,
    699,
    699,
    699,
    699,
    699,
    699,
    699,
    699,
    699,
    699,
    699,
    699,
    699,
    699,
    699,
    699,
    699,
    699,
    699,
    699,
    699,
    699,
    699,
    699,
    699,
    728,
    728,
    728,
    728,
    728,
    728,
    728,
    728,
    728,
    728,
    728,
    728,
    728,
    728,
    728,
    743,
    744,
    745,
    746,
    747,
    748,
    749,
    750,
    751,
    752,
    753,
    754,
    755,
    756,
    757,
    758,
    759,
    760,
    761,
    762,
    763,
    764,
    765,
    766,
    767,
    767,
    767,
    767,
    767,
    767,
    767,
    767,
    767,
    767,
    767,
    767,
    767,
    767,
    767,
    767,
    767,
    767,
    767,
    767,
    767,
    767,
    767,
    767,
    767,
    767,
    767,
    767,
    767,
    796,
    796,
    796,
    796,
    796,
    796,
    796,
    796,
    804,
    805,
    806,
    807,
    808,
    809,
    810,
    811,
    812,
    813,
    814,
    815,
    816,
    817,
    818,
    819,
    820,
    820,
    820,
    820,
    820,
    820,
    820,
    820,
    820,
    820,
    820,
    820,
    820,
    820,
    820,
    820,
    820,
    820,
    820,
    820,
    820,
    820,
    820,
    843,
    844,
    845,
    846,
    847,
    848,
    849,
    850,
    851,
    852,
    853,
    854,
    855,
    856,
    857,
    858,
    859,
    860,
    861,
    862,
    863,
    864,
    865,
    866,
    867,
    868,
    869,
    870,
    871,
    872,
    873,
    874,
    875,
    875,
    875,
    875,
    875,
    875,
    875,
    875,
    875,
    875,
    885,
    885,
    885,
    885,
    885,
    885,
    885,
    885,
    885,
    885,
    885,
    885,
    885,
    885,
    885,
    885,
    885,
    885,
    885,
    885,
    885,
    885,
    885,
    885,
    885,
    885,
    885,
    885,
    885,
    885,
    915,
    915,
    917,
    917,
    917,
    917,
    917,
    917,
    917,
    924,
    925,
    926,
    927,
    928,
    929,
    930,
    931,
    932,
    933,
    934,
    935,
    936,
    937,
    938,
    939,
    940,
    941,
    942,
    943,
    944,
    945,
    946,
    947,
    948,
    949,
    950,
    951,
    952,
    953,
    954,
    955,
    956,
    957,
    958,
    959,
    960,
    961,
    962,
    963,
    964,
    965,
    966,
    967,
    968,
    969,
    970,
    971,
    972,
    973,
    974,
    975,
    976,
    977,
    978,
    979,
    980,
    981,
    982,
    983,
    984,
    985,
    986,
    987,
    988,
    989,
    990,
    991,
    992,
    993,
    993,
    993,
    993,
    993,
    993,
    993,
    993,
    993,
    993,
    1003,
    1003,
    1003,
    1003,
    1003,
    1003,
    1003,
    1010,
    1011,
    1012,
    1013,
    1014,
    1015,
    1016,
    1017,
    1018,
    1019,
    1020,
    1021,
    1022,
    1023,
    1023,
    1023,
    1023,
    1023,
    1023,
    1023,
    1023,
    1023,
    1023,
    1033,
    1034,
    1035,
    1036,
    1037,
    1038,
    1039,
    1040,
    1041,
    1042,
    1043,
    1043,
    1043,
    1043,
    1043,
    1048,
    1049,
    1050,
    1051,
    1052,
    1053,
    1054,
    1055,
    1056,
    1057,
    1058,
    1059,
    1060,
    1061,
    1062,
    1063,
    1064,
    1065,
    1066,
    1067,
    1068,
    1069,
    1070,
    1071,
    1072,
    1073,
    1074,
    1075,
    1076,
    1077,
    1078,
    1079,
    1080,
    1081,
    1082,
    1083,
    1084,
    1085,
    1086,
    1087,
    1088,
    1089,
    1090,
    1091,
    1092,
    1093,
    1094,
    1094,
    1094,
    1094,
    1094,
    1094,
    1100,
    1101,
    1101,
    1103,
    1103,
    1105,
    1105,
    1107,
    1107,
    1109,
    1109,
    1111,
    1111,
    1113,
    1113,
    1115,
    1115,
    1117,
    1117,
    1119,
    1119,
    1121,
    1121,
    1123,
    1123,
    1125,
    1125,
    1127,
    1127,
    1129,
    1129,
    1131,
    1132,
    1133,
    1134,
    1135,
    1136,
    1137,
    1138,
    1139,
    1140,
    1141,
    1142,
    1143,
    1144,
    1145,
    1146,
    1147,
    1148,
    1149,
    1150,
    1151,
    1152,
    1153,
    1154,
    1155,
    1156,
    1157,
    1158,
    1159,
    1160,
    1161,
    1162,
    1163,
    1164,
    1165,
    1166,
    1167,
    1168,
    1169,
    1170,
    1171,
    1172,
    1173,
    1174,
    1175,
    1176,
    1177,
    1178,
    1179,
    1180,
    1181,
    1182,
    1183,
    1184,
    1185,
    1186,
    1187,
    1188,
    1189,
    1190,
    1191,
    1192,
    1193,
    1194,
    1195,
    1196,
    1197,
    1198,
    1199,
    1200,
    1201,
    1202,
    1203,
    1204,
    1205,
    1206,
    1207,
    1208,
    1209,
    1210,
    1211,
    1212,
    1213,
    1214,
    1215,
    1216,
    1217,
    1218,
    1219,
    1220,
    1221,
    1222,
    1223,
    1224,
    1225,
    1226,
    1227,
    1228,
    1229,
    1230,
    1231,
    1232,
    1233,
    1234,
    1235,
    1236,
    1237,
    1238,
    1239,
    1240,
    1241,
    1242,
    1243,
    1244,
    1245,
    1246,
    1247,
    1248,
    1249,
    1250,
    1251,
    1252,
    1253,
    1254,
    1255,
    1256,
    1257,
    1258,
    1259,
    1260,
    1261,
    1262,
    1263,
    1264,
    1265,
    1266,
    1267,
    1268,
    1269,
    1270,
    1271,
    1272,
    1273,
    1274,
    1275,
    1276,
    1277,
    1278,
    1279,
    1280,
    1281,
    1282,
    1283,
    1284,
    1285,
    1286,
    1287,
    1288,
    1289,
    1290,
    1291,
    1292,
    1293,
    1294,
    1295,
    1296,
    1297,
    1298,
    1299,
    1300,
    1301,
    1302,
    1303,
    1304,
    1305,
    1306,
    1307,
    1308,
    1308,
    1308,
    1308,
    1308,
    1313,
    1314,
    1315,
    1316,
    1317,
    1318,
    1318,
    1318,
    1318,
    1318,
    1318,
    1324,
    1324,
    1324,
    1324,
    1324,
    1324,
    1330,
    1331,
    1332,
    1333,
    1334,
    1335,
    1336,
    1337,
    1338,
    1339,
    1340,
    1341,
    1342,
    1343,
    1344,
    1345,
    1346,
    1347,
    1348,
    1349,
    1350,
    1351,
    1352,
    1353,
    1354,
    1355,
    1356,
    1357,
    1358,
    1359,
    1360,
    1361,
    1362,
    1363,
    1364,
    1365,
    1366,
    1367,
    1368,
    1369,
    1370,
    1371,
    1372,
    1373,
    1374,
    1375,
    1376,
    1377,
    1378,
    1379,
    1380,
    1381,
    1382,
    1383,
    1384,
    1385,
    1386,
    1387,
    1388,
    1389,
    1390,
    1391,
    1392,
    1393,
    1394,
    1395,
    1395,
    1395,
    1398,
    1398,
    1400,
    1400,
    1402,
    1402,
    1404,
    1405,
    1405,
    1407,
    1407,
    1407,
    1407,
    1407,
    1407,
    1407,
    1407,
    1415,
    1415,
    1417,
    1417,
    1417,
    1417,
    1417,
    1417,
    1417,
    1417,
    1425,
    1425,
    1425,
    1425,
    1429,
    1429,
    1431,
    1431,
    1433,
    1433,
    1435,
    1435,
    1435,
    1438,
    1438,
    1438,
    1438,
    1438,
    1438,
    1438,
    1438,
    1446,
    1446,
    1446,
    1446,
    1446,
    1446,
    1446,
    1446,
    1454,
    1454,
    1454,
    1454,
    1454,
    1454,
    1454,
    1454,
    1462,
    1462,
    1462,
    1462,
    1462,
    1462,
    1468,
    1469,
    1469,
    1471,
    1472,
    1473,
    1473,
    1475,
    1475,
    1477,
    1477,
    1479,
    1479,
    1479,
    1479,
    1483,
    1483,
    1483,
    1486,
    1486,
    1486,
    1489,
    1489,
    1489,
    1489,
    1493,
    1493,
    1493,
    1493,
    1493,
    1498,
    1498,
    1498,
    1498,
    1502,
    1502,
    1502,
    1502,
    1506,
    1507,
    1508,
    1509,
    1510,
    1511,
    1512,
    1512,
    1514,
    1514,
    1514,
    1514,
    1514,
    1514,
    1514,
    1514,
    1522,
    1523,
    1523,
    1523,
    1526,
    1527,
    1527,
    1527,
    1527,
    1527,
    1527,
    1527,
    1527,
    1535,
    1535,
    1535,
    1535,
    1535,
    1535,
    1535,
    1535,
    1543,
    1543,
    1543,
    1543,
    1543,
    1543,
    1543,
    1543,
    1551,
    1551,
    1551,
    1551,
    1551,
    1551,
    1551,
    1551,
    1559,
    1560,
    1561,
    1562,
    1563,
    1564,
    1565,
    1565,
    1565,
    1565,
    1565,
    1565,
    1565,
    1565,
    1573,
    1573,
    1575,
    1575,
    1577,
    1577,
    1579,
    1579,
    1581,
    1581,
    1581,
    1581,
    1581,
    1581,
    1581,
    1581,
    1589,
    1589,
    1591,
    1592,
    1593,
    1594,
    1594,
    1594,
    1594,
    1594,
    1594,
    1594,
    1594,
    1602,
    1602,
    1602,
    1602,
    1606,
    1607,
    1607,
    1607,
    1607,
    1611,
    1611,
    1611,
    1611,
    1611,
    1611,
    1611,
    1611,
    1619,
    1619,
    1619,
    1619,
    1619,
    1619,
    1625,
    1625,
    1625,
    1625,
    1629,
    1629,
    1629,
    1629,
    1629,
    1629,
    1629,
    1629,
    1637,
    1638,
    1639,
    1639,
    1639,
    1639,
    1639,
    1639,
    1639,
    1639,
    1647,
    1647,
    1647,
    1650,
    1650,
    1650,
    1653,
    1653,
    1653,
    1656,
    1656,
    1656,
    1659,
    1660,
    1661,
    1662,
    1663,
    1664,
    1664,
    1664,
    1667,
    1668,
    1668,
    1670,
    1670,
    1672,
    1672,
    1672,
    1672,
    1676,
    1676,
    1676,
    1676,
    1680,
    1680,
    1680,
    1680,
    1684,
    1684,
    1686,
    1687,
    1688,
    1689,
    1689,
    1689,
    1689,
    1689,
    1694,
    1695,
    1696,
    1696,
    1696,
    1696,
    1700,
    1701,
    1701,
    1701,
    1704,
    1704,
    1704,
    1707,
    1707,
    1709,
    1709,
    1709,
    1712,
    1712,
    1712,
    1712,
    1716,
    1716,
    1716,
    1716,
    1720,
    1720,
    1720,
    1720,
    1724,
    1724,
    1724,
    1724,
    1728,
    1729,
    1729,
    1729,
    1732,
    1732,
    1732,
    1735,
    1735,
    1735,
    1735,
    1739,
    1739,
    1739,
    1739,
    1743,
    1744,
    1745,
    1746,
    1747,
    1748,
    1749,
    1750,
    1751,
    1752,
    1753,
    1754,
    1755,
    1756,
    1757,
    1758,
    1759,
    1760,
};

tileidx_t tile_main_basetile(tileidx_t idx)
{
    ASSERT_RANGE(idx, TILE_FEAT_MAX, TILE_MAIN_MAX);
    return _tile_main_basetiles[idx - TILE_FEAT_MAX] + TILE_FEAT_MAX;
}

static int _tile_main_probs[TILE_MAIN_MAX - TILE_FEAT_MAX] =
{
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    2,
    1,
    2,
    1,
    2,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    2,
    3,
    4,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    2,
    1,
    2,
    1,
    2,
    1,
    2,
    3,
    4,
    5,
    1,
    2,
    3,
    4,
    1,
    2,
    3,
    1,
    1,
    1,
    1,
    1,
    1,
    2,
    1,
    2,
    1,
    2,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    2,
    3,
    4,
    5,
    6,
    7,
    8,
    9,
    10,
    11,
    12,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    2,
    3,
    1,
    2,
    1,
    2,
    1,
    2,
    3,
    4,
    5,
    6,
    7,
    8,
    9,
    1,
    1,
    1,
    2,
    3,
    4,
    1,
    2,
    3,
    4,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    2,
    3,
    4,
    5,
    6,
    7,
    8,
    9,
    10,
    11,
    12,
    13,
    14,
    15,
    16,
    17,
    18,
    19,
    20,
    21,
    22,
    23,
    24,
    25,
    26,
    27,
    28,
    29,
    1,
    2,
    3,
    4,
    5,
    6,
    7,
    8,
    9,
    10,
    11,
    12,
    13,
    14,
    15,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    2,
    3,
    4,
    5,
    6,
    7,
    8,
    9,
    10,
    11,
    12,
    13,
    14,
    15,
    16,
    17,
    18,
    19,
    20,
    21,
    22,
    23,
    24,
    25,
    26,
    27,
    28,
    29,
    1,
    2,
    3,
    4,
    5,
    6,
    7,
    8,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    2,
    3,
    4,
    5,
    6,
    7,
    8,
    9,
    10,
    11,
    12,
    13,
    14,
    15,
    16,
    17,
    18,
    19,
    20,
    21,
    22,
    23,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    2,
    3,
    4,
    5,
    6,
    7,
    8,
    9,
    10,
    1,
    2,
    3,
    4,
    5,
    6,
    7,
    8,
    9,
    10,
    11,
    12,
    13,
    14,
    15,
    16,
    17,
    18,
    19,
    20,
    21,
    22,
    23,
    24,
    25,
    26,
    27,
    28,
    29,
    30,
    1,
    2,
    1,
    2,
    3,
    4,
    5,
    6,
    7,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    2,
    3,
    4,
    5,
    6,
    7,
    8,
    9,
    10,
    1,
    2,
    3,
    4,
    5,
    6,
    7,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    2,
    3,
    4,
    5,
    6,
    7,
    8,
    9,
    10,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    2,
    3,
    4,
    5,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    2,
    3,
    4,
    5,
    6,
    1,
    1,
    2,
    1,
    2,
    1,
    2,
    1,
    2,
    1,
    2,
    1,
    2,
    1,
    2,
    1,
    2,
    1,
    2,
    1,
    2,
    1,
    2,
    1,
    2,
    1,
    2,
    1,
    2,
    1,
    2,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    2,
    3,
    4,
    5,
    1,
    1,
    1,
    1,
    1,
    1,
    2,
    3,
    4,
    5,
    6,
    1,
    2,
    3,
    4,
    5,
    6,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    2,
    3,
    1,
    2,
    1,
    2,
    1,
    2,
    1,
    1,
    2,
    1,
    2,
    3,
    4,
    5,
    6,
    7,
    8,
    1,
    2,
    1,
    2,
    3,
    4,
    5,
    6,
    7,
    8,
    1,
    2,
    3,
    4,
    1,
    2,
    1,
    2,
    1,
    2,
    1,
    2,
    3,
    1,
    2,
    3,
    4,
    5,
    6,
    7,
    8,
    1,
    2,
    3,
    4,
    5,
    6,
    7,
    8,
    1,
    2,
    3,
    4,
    5,
    6,
    7,
    8,
    1,
    2,
    3,
    4,
    5,
    6,
    1,
    1,
    2,
    1,
    1,
    1,
    2,
    1,
    2,
    1,
    2,
    1,
    2,
    3,
    4,
    1,
    2,
    3,
    1,
    2,
    3,
    1,
    2,
    3,
    4,
    1,
    2,
    3,
    4,
    5,
    1,
    2,
    3,
    4,
    1,
    2,
    3,
    4,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    2,
    1,
    2,
    3,
    4,
    5,
    6,
    7,
    8,
    1,
    1,
    2,
    3,
    1,
    1,
    2,
    3,
    4,
    5,
    6,
    7,
    8,
    1,
    2,
    3,
    4,
    5,
    6,
    7,
    8,
    1,
    2,
    3,
    4,
    5,
    6,
    7,
    8,
    1,
    2,
    3,
    4,
    5,
    6,
    7,
    8,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    2,
    3,
    4,
    5,
    6,
    7,
    8,
    1,
    2,
    1,
    2,
    1,
    2,
    1,
    2,
    1,
    2,
    3,
    4,
    5,
    6,
    7,
    8,
    1,
    2,
    1,
    1,
    1,
    1,
    2,
    3,
    4,
    5,
    6,
    7,
    8,
    1,
    2,
    3,
    4,
    1,
    1,
    2,
    3,
    4,
    1,
    2,
    3,
    4,
    5,
    6,
    7,
    8,
    1,
    2,
    3,
    4,
    5,
    6,
    1,
    2,
    3,
    4,
    1,
    2,
    3,
    4,
    5,
    6,
    7,
    8,
    1,
    1,
    1,
    2,
    3,
    4,
    5,
    6,
    7,
    8,
    1,
    2,
    3,
    1,
    2,
    3,
    1,
    2,
    3,
    1,
    2,
    3,
    1,
    1,
    1,
    1,
    1,
    1,
    2,
    3,
    1,
    1,
    2,
    1,
    2,
    1,
    2,
    3,
    4,
    1,
    2,
    3,
    4,
    1,
    2,
    3,
    4,
    1,
    2,
    1,
    1,
    1,
    1,
    2,
    3,
    4,
    5,
    1,
    1,
    1,
    2,
    3,
    4,
    1,
    1,
    2,
    3,
    1,
    2,
    3,
    1,
    2,
    1,
    2,
    3,
    1,
    2,
    3,
    4,
    1,
    2,
    3,
    4,
    1,
    2,
    3,
    4,
    1,
    2,
    3,
    4,
    1,
    1,
    2,
    3,
    1,
    2,
    3,
    1,
    2,
    3,
    4,
    1,
    2,
    3,
    4,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
    1,
};

int tile_main_probs(tileidx_t idx)
{
    ASSERT_RANGE(idx, TILE_FEAT_MAX, TILE_MAIN_MAX);
    return _tile_main_probs[idx - TILE_FEAT_MAX];
}

static int _tile_main_dominoes[TILE_MAIN_MAX - TILE_FEAT_MAX] =
{
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
};

int tile_main_dominoes(tileidx_t idx)
{
    ASSERT_RANGE(idx, TILE_FEAT_MAX, TILE_MAIN_MAX);
    return _tile_main_dominoes[idx - TILE_FEAT_MAX];
}

static const char *_tile_main_name[TILE_MAIN_MAX - TILE_FEAT_MAX] =
{
    "UNRAND_AIR",
    "UNRAND_CEKUGOB",
    "UNRAND_FOUR_WINDS",
    "UNRAND_BLOODLUST",
    "UNRAND_SHIELDING",
    "UNRAND_VITALITY",
    "UNRAND_FINGER_AMULET",
    "UNRAND_AMULET_INVISIBILITY",
    "UNRAND_DREAMSHARD_NECKLACE",
    "UNRAND_ELEMENTAL_VULNERABILITY",
    "UNRAND_HERMITS_PENDANT",
    "UNRAND_DREAMDUST_NECKLACE",
    "UNRAND_WUCAD_MU",
    "UNRAND_DISPATER",
    "UNRAND_FAERIE",
    "UNRAND_IGNORANCE",
    "UNRAND_AUGMENTATION",
    "UNRAND_THIEF",
    "UNRAND_BULLSEYE",
    "UNRAND_DYROVEPREVA",
    "UNRAND_BEAR_SPIRIT",
    "UNRAND_MISFORTUNE",
    "UNRAND_FLASH",
    "UNRAND_HOOD_ASSASSIN",
    "UNRAND_LEAR",
    "UNRAND_ZHOR",
    "UNRAND_SALAMANDER",
    "UNRAND_WAR",
    "UNRAND_RESISTANCE",
    "UNRAND_FOLLY",
    "UNRAND_MAXWELL",
    "UNRAND_DRAGONMASK",
    "UNRAND_NIGHT",
    "UNRAND_DRAGON_KING",
    "UNRAND_ALCHEMIST",
    "UNRAND_FENCERS",
    "UNRAND_STARLIGHT",
    "UNRAND_RATSKIN_CLOAK",
    "UNRAND_GONG",
    "UNRAND_RCLOUDS",
    "UNRAND_PONDERING",
    "UNRAND_LIGHTNING_SCALES",
    "UNRAND_BLACK_KNIGHT_HORSE",
    "UNRAND_DRAGONSKIN",
    "UNRAND_MOON_TROLL_LEATHER_ARMOUR",
    "UNRAND_SPIDER",
    "UNRAND_HIGH_COUNCIL",
    "UNRAND_ORANGE_CRYSTAL_PLATE_ARMOUR",
    "UNRAND_ETHERIC_CAGE",
    "UNRAND_ETERNAL_TORMENT",
    "UNRAND_VINES",
    "UNRAND_KRYIAS",
    "UNRAND_TALOS",
    "UNRAND_WARLOCK_MIRROR",
    "UNRAND_BATTLE",
    "UNRAND_EMBRACE",
    "UNRAND_SEVEN_LEAGUE_BOOTS",
    "UNRAND_POWER_GLOVES",
    "UNRAND_DELATRAS_GLOVES",
    "UNRAND_MOUNTAIN_BOOTS",
    "UNRAND_SLICK_SLIPPERS",
    "UNRAND_VICTORY",
    "UNRAND_STORM_QUEEN",
    "UNRAND_GADGETEER",
    "UNRAND_CHARLATANS_ORB",
    "UNRAND_JUSTICARS_REGALIA",
    "UNRAND_SKULL_OF_ZONGULDROK",
    "UNRAND_FISTICLOAK",
    "UNRAND_VAINGLORY",
    "UNRAND_SCARF_INVISIBILITY",
    "UNRAND_SHADOWS",
    "UNRAND_HARE",
    "UNRAND_TORTOISE",
    "UNRAND_MAGE",
    "UNRAND_OCTOPUS_KING_RING",
    "UNRAND_SINGING_SWORD",
    "UNRAND_TROG",
    "UNRAND_VARIABILITY",
    "UNRAND_PRUNE",
    "UNRAND_POWER",
    "UNRAND_OLGREB",
    "UNRAND_VAMPIRES_TOOTH",
    "UNRAND_CURSES",
    "UNRAND_TORMENT",
    "UNRAND_ZONGULDROK",
    "UNRAND_CEREBOV",
    "UNRAND_ASMODEUS",
    "UNRAND_BLOODBANE",
    "UNRAND_FLAMING_DEATH",
    "UNRAND_BRILLIANCE",
    "UNRAND_LEECH",
    "UNRAND_CHILLY_DEATH",
    "UNRAND_MORG",
    "UNRAND_FINISHER",
    "UNRAND_PUNK",
    "UNRAND_ZEPHYR",
    "UNRAND_SKULLCRUSHER",
    "UNRAND_GUARD",
    "UNRAND_ZEALOT_SWORD",
    "UNRAND_DAMNATION",
    "UNRAND_DREAD_KNIGHT",
    "UNRAND_EOS",
    "UNRAND_BOTONO",
    "UNRAND_OCTOPUS_KING",
    "UNRAND_ARGA",
    "UNRAND_ELEMENTAL_STAFF",
    "UNRAND_SNIPER",
    "UNRAND_PIERCER",
    "UNRAND_WYRMBANE",
    "UNRAND_SPRIGGANS_KNIFE",
    "UNRAND_PLUTONIUM_SWORD",
    "UNRAND_UNDEADHUNTER",
    "UNRAND_SNAKEBITE",
    "UNRAND_CRYSTAL_SPEAR",
    "UNRAND_CAPTAIN",
    "UNRAND_DEMON_AXE",
    "UNRAND_AUTUMN_KATANA",
    "UNRAND_DEVASTATOR",
    "UNRAND_WOE",
    "UNRAND_DARK_MAUL",
    "UNRAND_ARC_BLADE",
    "UNRAND_SPELLBINDER",
    "UNRAND_ORDER",
    "UNRAND_FIRESTARTER",
    "UNRAND_MAJIN",
    "UNRAND_GYRE",
    "UNRAND_FROSTBITE",
    "UNRAND_THERMIC_ENGINE",
    "UNRAND_RIFT",
    "UNRAND_WOODCUTTERS_AXE",
    "UNRAND_THROATCUTTER",
    "UNRAND_MEEK",
    "UNRAND_CONDEMNATION",
    "UNRAND_LOCHABER_AXE",
    "UNRAND_FORCE_LANCE",
    "UNRAND_HOLY_AXE",
    "UNRAND_MULE",
    "UNRAND_BLOWGUN_ASSASSIN",
    "UNRAND_ACCURACY",
    "UNRAND_STORM_BOW",
    "UNRAND_WYRMBANE1",
    "UNRAND_WYRMBANE2",
    "UNRAND_WYRMBANE3",
    "UNRAND_WYRMBANE4",
    "WPN_CLUB",
    "WPN_CLUB_MAGIC",
    "WPN_MACE",
    "WPN_MACE_MAGIC",
    "WPN_MACE_RANDART",
    "WPN_GREAT_MACE",
    "WPN_GREAT_MACE_MAGIC",
    "WPN_GREAT_MACE_RANDART",
    "WPN_FLAIL",
    "WPN_FLAIL_MAGIC",
    "WPN_FLAIL_RANDART",
    "WPN_DIRE_FLAIL",
    "WPN_DIRE_FLAIL_MAGIC",
    "WPN_DIRE_FLAIL_RANDART",
    "WPN_MORNINGSTAR",
    "WPN_MORNINGSTAR_MAGIC",
    "WPN_MORNINGSTAR_RANDART",
    "WPN_EVENINGSTAR",
    "WPN_EVENINGSTAR_MAGIC",
    "WPN_EVENINGSTAR_RANDART",
    "WPN_HAMMER",
    "WPN_HAMMER_MAGIC",
    "WPN_HAMMER_RANDART",
    "WPN_WHIP",
    "WPN_WHIP_MAGIC",
    "WPN_WHIP_RANDART",
    "WPN_GIANT_CLUB",
    "WPN_GIANT_CLUB_MAGIC",
    "WPN_GIANT_CLUB_RANDART",
    "WPN_GIANT_SPIKED_CLUB",
    "WPN_GIANT_SPIKED_CLUB_MAGIC",
    "WPN_GIANT_SPIKED_CLUB_RANDART",
    "WPN_DEMON_WHIP",
    "WPN_DEMON_WHIP_MAGIC",
    "WPN_DEMON_WHIP_RANDART",
    "WPN_SACRED_SCOURGE",
    "WPN_DAGGER",
    "WPN_DAGGER_MAGIC",
    "WPN_DAGGER_RANDART",
    "WPN_SHORT_SWORD",
    "WPN_SHORT_SWORD_MAGIC",
    "WPN_SHORT_SWORD_RANDART",
    "WPN_RAPIER",
    "WPN_RAPIER_MAGIC",
    "WPN_RAPIER_RANDART",
    "WPN_QUICK_BLADE",
    "WPN_QUICK_BLADE_MAGIC",
    "WPN_QUICK_BLADE_RANDART",
    "WPN_FALCHION",
    "WPN_FALCHION_MAGIC",
    "WPN_FALCHION_RANDART",
    "WPN_SCIMITAR",
    "WPN_SCIMITAR_MAGIC",
    "WPN_SCIMITAR_RANDART",
    "WPN_LONG_SWORD",
    "WPN_LONG_SWORD_MAGIC",
    "WPN_LONG_SWORD_RANDART",
    "WPN_GREAT_SWORD",
    "WPN_GREAT_SWORD_MAGIC",
    "WPN_GREAT_SWORD_RANDART",
    "WPN_DOUBLE_SWORD",
    "WPN_DOUBLE_SWORD_MAGIC",
    "WPN_DOUBLE_SWORD_RANDART",
    "WPN_TRIPLE_SWORD",
    "WPN_TRIPLE_SWORD_MAGIC",
    "WPN_TRIPLE_SWORD_RANDART",
    "WPN_DEMON_BLADE",
    "WPN_DEMON_BLADE_MAGIC",
    "WPN_DEMON_BLADE_RANDART",
    "WPN_BLESSED_BLADE",
    "WPN_HAND_AXE",
    "WPN_HAND_AXE_MAGIC",
    "WPN_HAND_AXE_RANDART",
    "WPN_WAR_AXE",
    "WPN_WAR_AXE_MAGIC",
    "WPN_WAR_AXE_RANDART",
    "WPN_BROAD_AXE",
    "WPN_BROAD_AXE_MAGIC",
    "WPN_BROAD_AXE_RANDART",
    "WPN_BATTLEAXE",
    "WPN_BATTLEAXE_MAGIC",
    "WPN_BATTLEAXE_RANDART",
    "WPN_EXECUTIONERS_AXE",
    "WPN_EXECUTIONERS_AXE_MAGIC",
    "WPN_EXECUTIONERS_AXE_RANDART",
    "WPN_SPEAR",
    "WPN_SPEAR_MAGIC",
    "WPN_SPEAR_RANDART",
    "WPN_TRIDENT",
    "WPN_TRIDENT_MAGIC",
    "WPN_TRIDENT_RANDART",
    "WPN_HALBERD",
    "WPN_HALBERD_MAGIC",
    "WPN_HALBERD_RANDART",
    "WPN_SCYTHE",
    "WPN_SCYTHE_MAGIC",
    "WPN_SCYTHE_RANDART",
    "WPN_GLAIVE",
    "WPN_GLAIVE_MAGIC",
    "WPN_GLAIVE_RANDART",
    "WPN_BARDICHE",
    "WPN_BARDICHE_MAGIC",
    "WPN_BARDICHE_RANDART",
    "WPN_PARTISAN",
    "WPN_PARTISAN_MAGIC",
    "WPN_PARTISAN_RANDART",
    "WPN_DEMON_TRIDENT",
    "WPN_DEMON_TRIDENT_MAGIC",
    "WPN_DEMON_TRIDENT_RANDART",
    "WPN_TRISHULA",
    "WPN_STAFF",
    "WPN_QUARTERSTAFF",
    "WPN_QUARTERSTAFF_MAGIC",
    "WPN_QUARTERSTAFF_RANDART",
    "WPN_LAJATANG",
    "WPN_LAJATANG_MAGIC",
    "WPN_LAJATANG_RANDART",
    "WPN_STAFF_MUMMY",
    "WPN_XMAS_SCYTHE",
    "WPN_APRIL_STAFF1",
    "WPN_APRIL_STAFF2",
    "WPN_BLOWGUN",
    "WPN_BLOWGUN_MAGIC",
    "WPN_SLING",
    "WPN_SLING_MAGIC",
    "WPN_SLING_RANDART",
    "WPN_SHORTBOW",
    "WPN_SHORTBOW_MAGIC",
    "WPN_SHORTBOW_RANDART",
    "WPN_ORCBOW",
    "WPN_ORCBOW_MAGIC",
    "WPN_ORCBOW_RANDART",
    "WPN_LONGBOW",
    "WPN_LONGBOW_MAGIC",
    "WPN_LONGBOW_RANDART",
    "WPN_HAND_CANNON",
    "WPN_HAND_CANNON_MAGIC",
    "WPN_HAND_CANNON_RANDART",
    "WPN_ARBALEST",
    "WPN_ARBALEST_MAGIC",
    "WPN_ARBALEST_RANDART",
    "WPN_TRIPLE_CROSSBOW",
    "WPN_TRIPLE_CROSSBOW_MAGIC",
    "BRAND_FLAMING",
    "BRAND_FREEZING",
    "BRAND_HOLY_WRATH",
    "BRAND_ELECTROCUTION",
    "BRAND_ORC_SLAYING",
    "BRAND_DRAGON_SLAYING",
    "BRAND_VENOM",
    "BRAND_PROTECTION",
    "BRAND_DRAINING",
    "BRAND_SPEED",
    "BRAND_HEAVY",
    "BRAND_FLAME",
    "BRAND_FROST",
    "BRAND_VAMPIRISM",
    "BRAND_PAIN",
    "BRAND_ANTIMAGIC",
    "BRAND_DISTORTION",
    "BRAND_REACHING",
    "BRAND_RETURNING",
    "BRAND_CHAOS",
    "BRAND_EVASION",
    "BRAND_CONFUSION",
    "BRAND_PENETRATION",
    "BRAND_REAPING",
    "BRAND_SPECTRAL",
    "BRAND_REBUKE",
    "BRAND_VALOUR",
    "BRAND_ENTANGLING",
    "BRAND_SUNDERING",
    "BRAND_CONCUSSION",
    "BRAND_DEVIOUS",
    "BRAND_DISPERSAL",
    "BRAND_EXPLOSION",
    "BRAND_POISONED",
    "BRAND_CURARE",
    "BRAND_ELECTRIC",
    "BRAND_SICKNESS",
    "BRAND_SLOWING",
    "BRAND_PARALYSIS",
    "BRAND_FRENZY",
    "BRAND_SLEEP",
    "BRAND_BLINDING",
    "BRAND_ACID",
    "BRAND_FOUL_FLAME",
    "MODIFIER_CHAOTIC",
    "MI_STONE",
    "MI_STONE0",
    "MI_SLING_BULLET",
    "MI_SLING_BULLET_MAGIC",
    "MI_SLING_BULLET_STEEL",
    "MI_SLING_BULLET_STEEL_MAGIC",
    "MI_SLING_BULLET_SILVER",
    "MI_SLING_BULLET_SILVER_MAGIC",
    "MI_SLING_BULLET0",
    "MI_SLING_BULLET0_MAGIC",
    "MI_SLING_BULLET_STEEL0",
    "MI_SLING_BULLET_STEEL0_MAGIC",
    "MI_SLING_BULLET_SILVER0",
    "MI_SLING_BULLET_SILVER0_MAGIC",
    "MI_ARROW",
    "MI_ARROW_MAGIC",
    "MI_ARROW_STEEL",
    "MI_ARROW_STEEL_MAGIC",
    "MI_ARROW_SILVER",
    "MI_ARROW_SILVER_MAGIC",
    "MI_ARROW0",
    "MI_ARROW1",
    "MI_ARROW2",
    "MI_ARROW3",
    "MI_ARROW4",
    "MI_ARROW5",
    "MI_ARROW6",
    "MI_ARROW7",
    "MI_BOLT",
    "MI_BOLT_MAGIC",
    "MI_BOLT_STEEL",
    "MI_BOLT_STEEL_MAGIC",
    "MI_BOLT_SILVER",
    "MI_BOLT_SILVER_MAGIC",
    "MI_BOLT0",
    "MI_BOLT1",
    "MI_BOLT2",
    "MI_BOLT3",
    "MI_BOLT4",
    "MI_BOLT5",
    "MI_BOLT6",
    "MI_BOLT7",
    "MI_BOOMERANG",
    "MI_BOOMERANG_MAGIC",
    "MI_BOOMERANG_SILVER",
    "MI_BOOMERANG0",
    "MI_BOOMERANG1",
    "MI_BOOMERANG2",
    "MI_BOOMERANG3",
    "MI_DART",
    "MI_DART_MAGIC",
    "MI_DART_BLINDING",
    "MI_DART_CURARE",
    "MI_DART_FRENZY",
    "MI_DART_POISONED",
    "MI_DART_DISJUNCTION",
    "MI_DART0",
    "MI_DART1",
    "MI_DART2",
    "MI_DART3",
    "MI_DART4",
    "MI_DART5",
    "MI_DART6",
    "MI_DART7",
    "MI_JAVELIN",
    "MI_JAVELIN_MAGIC",
    "MI_JAVELIN_STEEL",
    "MI_JAVELIN_STEEL_MAGIC",
    "MI_JAVELIN_SILVER",
    "MI_JAVELIN_SILVER_MAGIC",
    "MI_JAVELIN0",
    "MI_JAVELIN1",
    "MI_JAVELIN2",
    "MI_JAVELIN3",
    "MI_JAVELIN4",
    "MI_JAVELIN5",
    "MI_JAVELIN6",
    "MI_JAVELIN7",
    "MI_THROWING_NET",
    "MI_THROWING_NET0",
    "MI_THROWING_NET1",
    "MI_THROWING_NET2",
    "MI_THROWING_NET3",
    "MI_THROWING_NET4",
    "MI_THROWING_NET5",
    "MI_THROWING_NET6",
    "MI_THROWING_NET7",
    "MI_LARGE_ROCK",
    "MI_LARGE_ROCK0",
    "MI_SLUG0",
    "MI_SLUG1",
    "MI_SLUG2",
    "MI_SLUG3",
    "MI_SLUG4",
    "MI_SLUG5",
    "MI_SLUG6",
    "MI_SLUG7",
    "ARM_ROBE",
    "ARM_ROBE_1",
    "ARM_ROBE_MAGIC",
    "ARM_ROBE_MAGIC_1",
    "ARM_ROBE_RANDART",
    "ARM_ROBE_RANDART_1",
    "ARM_LEATHER_ARMOUR",
    "ARM_LEATHER_ARMOUR_MAGIC",
    "ARM_LEATHER_ARMOUR_RANDART",
    "ARM_RING_MAIL",
    "ARM_RING_MAIL_MAGIC",
    "ARM_RING_MAIL_RANDART",
    "ARM_SCALE_MAIL",
    "ARM_SCALE_MAIL_MAGIC",
    "ARM_SCALE_MAIL_RANDART",
    "ARM_CHAIN_MAIL",
    "ARM_CHAIN_MAIL_MAGIC",
    "ARM_CHAIN_MAIL_RANDART",
    "ARM_PLATE_ARMOUR",
    "ARM_PLATE_ARMOUR_MAGIC",
    "ARM_PLATE_ARMOUR_RANDART",
    "ARM_CRYSTAL_PLATE_ARMOUR",
    "ARM_CRYSTAL_PLATE_ARMOUR_MAGIC",
    "ARM_CRYSTAL_PLATE_ARMOUR_RANDART",
    "ARM_ANIMAL_SKIN",
    "ARM_ANIMAL_SKIN_MAGIC",
    "ARM_ANIMAL_SKIN_RANDART",
    "ARM_TROLL_LEATHER_ARMOUR",
    "ARM_TROLL_LEATHER_ARMOUR_RANDART",
    "ARM_FIRE_DRAGON_ARMOUR",
    "ARM_FIRE_DRAGON_ARMOUR_RANDART",
    "ARM_ICE_DRAGON_ARMOUR",
    "ARM_ICE_DRAGON_ARMOUR_RANDART",
    "ARM_STEAM_DRAGON_ARMOUR",
    "ARM_STEAM_DRAGON_ARMOUR_RANDART",
    "ARM_ACID_DRAGON_ARMOUR",
    "ARM_ACID_DRAGON_ARMOUR_RANDART",
    "ARM_QUICKSILVER_DRAGON_ARMOUR",
    "ARM_QUICKSILVER_DRAGON_ARMOUR_RANDART",
    "ARM_STORM_DRAGON_ARMOUR",
    "ARM_STORM_DRAGON_ARMOUR_RANDART",
    "ARM_SHADOW_DRAGON_ARMOUR",
    "ARM_SHADOW_DRAGON_ARMOUR_RANDART",
    "ARM_GOLDEN_DRAGON_ARMOUR",
    "ARM_GOLDEN_DRAGON_ARMOUR_RANDART",
    "ARM_SWAMP_DRAGON_ARMOUR",
    "ARM_SWAMP_DRAGON_ARMOUR_RANDART",
    "ARM_PEARL_DRAGON_ARMOUR",
    "ARM_PEARL_DRAGON_ARMOUR_RANDART",
    "DEEP_TROLL_LEATHER",
    "IRON_TROLL_LEATHER",
    "ARM_CLOAK",
    "ARM_CLOAK_MAGIC",
    "ARM_CLOAK_GLOWING",
    "ARM_CLOAK_RANDART",
    "ARM_SCARF",
    "ARM_SCARF_SHINY",
    "ARM_SCARF_RUNED",
    "ARM_SCARF_GLOWING",
    "ARM_SCARF_RANDART",
    "ARM_BARDING",
    "ARM_BARDING_MAGIC",
    "ARM_BARDING_RANDART",
    "ARM_ORB",
    "ARM_ORB_RANDART",
    "ARM_ORB_RANDART_1",
    "ARM_ORB_RANDART_2",
    "ARM_ORB_RANDART_3",
    "ARM_BUCKLER",
    "ARM_BUCKLER_MAGIC",
    "ARM_BUCKLER_RANDART",
    "ARM_BUCKLER_SPRIGGAN",
    "ARM_KITE_SHIELD",
    "ARM_KITE_SHIELD_MAGIC",
    "ARM_KITE_SHIELD_RANDART",
    "ARM_TOWER_SHIELD",
    "ARM_TOWER_SHIELD_MAGIC",
    "ARM_TOWER_SHIELD_RANDART",
    "KITE_SHIELD_DEEP_DWARF",
    "KITE_SHIELD_DEEP_DWARF_SCION",
    "TOWER_SHIELD_DEEP_DWARF_DEATH_KNIGHT",
    "KITE_SHIELD_DONALD",
    "TOWER_SHIELD_LOUISE",
    "THELM_CAP",
    "THELM_CAP_JESTER",
    "THELM_HAT_EXPLORER",
    "THELM_HAT_EXPLORER2",
    "THELM_HAT_WIGLAF",
    "THELM_HAT_SANTA",
    "THELM_HAT_APRIL1",
    "THELM_HAT_APRIL2",
    "THELM_HAT",
    "THELM_ARCHER",
    "THELM_HAT_MAGIC",
    "THELM_ARCHER2",
    "THELM_HAT_RANDART",
    "THELM_HAT_WIZARD",
    "THELM_HELM",
    "THELM_HELM_1",
    "THELM_HELM_2",
    "THELM_HELM_3",
    "THELM_HELM_4",
    "THELM_HELM_MAGIC",
    "THELM_HELM_MAGIC_1",
    "THELM_HELM_MAGIC_2",
    "THELM_HELM_MAGIC_3",
    "THELM_HELM_RANDART",
    "THELM_HELM_RANDART_1",
    "THELM_HELM_RANDART_2",
    "ARM_GLOVES",
    "ARM_GLOVES_SHINY",
    "ARM_GLOVES_RUNED",
    "ARM_GLOVES_GLOWING",
    "ARM_GLOVES_RANDART",
    "ARM_BOOTS",
    "ARM_BOOTS_1",
    "ARM_BOOTS_MAGIC",
    "ARM_BOOTS_MAGIC_1",
    "ARM_BOOTS_RANDART",
    "ARM_BOOTS_RANDART_1",
    "ARM_BOOTS_APRIL1",
    "ARM_BOOTS_APRIL2",
    "BRAND_ARM_RUNNING",
    "BRAND_ARM_FIRE_RESISTANCE",
    "BRAND_ARM_COLD_RESISTANCE",
    "BRAND_ARM_POISON_RESISTANCE",
    "BRAND_ARM_SEE_INVISIBLE",
    "BRAND_ARM_INVISIBILITY",
    "BRAND_ARM_STRENGTH",
    "BRAND_ARM_DEXTERITY",
    "BRAND_ARM_INTELLIGENCE",
    "BRAND_ARM_PONDEROUSNESS",
    "BRAND_ARM_FLYING",
    "BRAND_ARM_MAGIC_RESISTANCE",
    "BRAND_ARM_PROTECTION",
    "BRAND_ARM_STEALTH",
    "BRAND_ARM_RESISTANCE",
    "BRAND_ARM_POSITIVE_ENERGY",
    "BRAND_ARM_ARCHMAGI",
    "BRAND_ARM_CORROSION_RESISTANCE",
    "BRAND_ARM_REFLECTION",
    "BRAND_ARM_SPIRIT_SHIELD",
    "BRAND_ARM_HURLING",
    "BRAND_ARM_JUMPING",
    "BRAND_ARM_REPULSION",
    "BRAND_ARM_CLOUD_IMMUNE",
    "BRAND_ARM_HARM",
    "BRAND_ARM_SHADOWS",
    "BRAND_ARM_LUNGING",
    "BRAND_ARM_INFUSION",
    "BRAND_ARM_LIGHT",
    "BRAND_ARM_RAGE",
    "BRAND_ARM_MAYHEM",
    "BRAND_ARM_GUILE",
    "BRAND_ARM_ENERGY",
    "BRAND_ARM_SNIPING",
    "BRAND_ARM_ICE",
    "BRAND_ARM_FIRE",
    "BRAND_ARM_AIR",
    "BRAND_ARM_EARTH",
    "BRAND_ARM_ARCHERY",
    "BRAND_ARM_COMMAND",
    "BRAND_ARM_DEATH",
    "BRAND_ARM_RESONANCE",
    "BRAND_ARM_PARRYING",
    "BRAND_ARM_GLASS",
    "BRAND_ARM_PYROMANIA",
    "BRAND_ARM_STARDUST",
    "BRAND_ARM_MESMERISM",
    "BRAND_ARM_ATTUNEMENT",
    "WAND_OFFSET",
    "WAND_OFFSET_1",
    "WAND_OFFSET_2",
    "WAND_OFFSET_3",
    "WAND_OFFSET_4",
    "WAND_OFFSET_5",
    "WAND_OFFSET_6",
    "WAND_OFFSET_7",
    "WAND_OFFSET_8",
    "WAND_OFFSET_9",
    "WAND_OFFSET_10",
    "WAND_OFFSET_11",
    "WAND_FLAME",
    "WAND_REMOVEME",
    "WAND_REMOVEME9",
    "WAND_REMOVEME7",
    "WAND_REMOVEME2",
    "WAND_REMOVEME6",
    "WAND_PARALYSIS",
    "WAND_REMOVEME3",
    "WAND_REMOVEME4",
    "WAND_REMOVEME10",
    "WAND_REMOVEME5",
    "WAND_DIGGING",
    "WAND_ICEBLAST",
    "WAND_REMOVEME8",
    "WAND_REMOVEME11",
    "WAND_POLYMORPH",
    "WAND_CHARMING",
    "WAND_ACID",
    "WAND_REMOVEME14",
    "WAND_MINDBURST",
    "WAND_REMOVEME13",
    "WAND_REMOVEME12",
    "WAND_LIGHT",
    "WAND_QUICKSILVER",
    "WAND_ROOTS",
    "WAND_WARPING",
    "FOOD_RATION",
    "FOOD_RATION_1",
    "FOOD_RATION_2",
    "FOOD_HONEYCOMB",
    "FOOD_HONEYCOMB_1",
    "FOOD_PIZZA",
    "FOOD_PIZZA_1",
    "FOOD_FRUIT_FIRST",
    "FOOD_FRUIT_FIRST_1",
    "FOOD_FRUIT_FIRST_2",
    "FOOD_FRUIT_FIRST_3",
    "FOOD_FRUIT_FIRST_4",
    "FOOD_FRUIT_FIRST_5",
    "FOOD_FRUIT_FIRST_6",
    "FOOD_FRUIT_FIRST_7",
    "FOOD_FRUIT_FIRST_8",
    "FOOD_FRUIT_LAST",
    "FOOD_FRUIT_INVENTORY",
    "FOOD_BONE_HUMANOID",
    "FOOD_BONE_HUMANOID_1",
    "FOOD_BONE_HUMANOID_2",
    "FOOD_BONE_HUMANOID_3",
    "FOOD_BONE",
    "FOOD_BONE_1",
    "FOOD_BONE_2",
    "FOOD_BONE_3",
    "FOOD_CHUNK",
    "FOOD_CHUNK_ROTTING",
    "FOOD_CHUNK_FORBIDDEN",
    "FOOD_CHUNK_INEDIBLE",
    "FOOD_ROTTING",
    "FOOD_FORBIDDEN",
    "FOOD_INEDIBLE",
    "SCROLL",
    "SCR_IDENTIFY",
    "SCR_TELEPORTATION",
    "SCR_FEAR",
    "SCR_NOISE",
    "SCR_REMOVE_CURSE",
    "SCR_UNHOLY_CREATION",
    "SCR_ENCHANT_WEAPON",
    "SCR_ENCHANT_ARMOUR",
    "SCR_TORMENT",
    "SCR_RANDOM_USELESSNESS",
    "SCR_CURSE_WEAPON",
    "SCR_CURSE_ARMOUR",
    "SCR_IMMOLATION",
    "SCR_BLINKING",
    "SCR_REVELATION",
    "SCR_FOG",
    "SCR_ACQUIREMENT",
    "SCR_ENCHANT_WEAPON_II",
    "SCR_BRAND_WEAPON",
    "SCR_RECHARGING",
    "SCR_ENCHANT_WEAPON_III",
    "SCR_HOLY_WORD",
    "SCR_VULNERABILITY",
    "SCR_SILENCE",
    "SCR_AMNESIA",
    "SCR_CURSE_JEWELLERY",
    "SCR_POISON",
    "SCR_BUTTERFLIES",
    "RING_NORMAL_OFFSET",
    "RING_NORMAL_OFFSET_1",
    "RING_NORMAL_OFFSET_2",
    "RING_NORMAL_OFFSET_3",
    "RING_NORMAL_OFFSET_4",
    "RING_NORMAL_OFFSET_5",
    "RING_NORMAL_OFFSET_6",
    "RING_NORMAL_OFFSET_7",
    "RING_NORMAL_OFFSET_8",
    "RING_NORMAL_OFFSET_9",
    "RING_NORMAL_OFFSET_10",
    "RING_NORMAL_OFFSET_11",
    "RING_NORMAL_OFFSET_12",
    "RING_NORMAL_OFFSET_13",
    "RING_NORMAL_OFFSET_14",
    "RING_NORMAL_OFFSET_15",
    "RING_NORMAL_OFFSET_16",
    "RING_NORMAL_OFFSET_17",
    "RING_NORMAL_OFFSET_18",
    "RING_NORMAL_OFFSET_19",
    "RING_NORMAL_OFFSET_20",
    "RING_NORMAL_OFFSET_21",
    "RING_NORMAL_OFFSET_22",
    "RING_NORMAL_OFFSET_23",
    "RING_NORMAL_OFFSET_24",
    "RING_NORMAL_OFFSET_25",
    "RING_NORMAL_OFFSET_26",
    "RING_NORMAL_OFFSET_27",
    "RING_NORMAL_OFFSET_28",
    "RING_RANDART_OFFSET",
    "RING_RANDART_OFFSET_1",
    "RING_RANDART_OFFSET_2",
    "RING_RANDART_OFFSET_3",
    "RING_RANDART_OFFSET_4",
    "RING_RANDART_OFFSET_5",
    "RING_RANDART_OFFSET_6",
    "RING_RANDART_OFFSET_7",
    "RING_RANDART_OFFSET_8",
    "RING_RANDART_OFFSET_9",
    "RING_RANDART_OFFSET_10",
    "RING_RANDART_OFFSET_11",
    "RING_RANDART_OFFSET_12",
    "RING_RANDART_OFFSET_13",
    "RING_RANDART_OFFSET_14",
    "RING_REGENERATION",
    "RING_PROTECTION",
    "RING_PROTECTION_FROM_FIRE",
    "RING_POISON_RESISTANCE",
    "RING_PROTECTION_FROM_COLD",
    "RING_STRENGTH",
    "RING_SLAYING",
    "RING_SEE_INVISIBLE",
    "RING_RESIST_CORROSION",
    "RING_ATTENTION",
    "RING_TELEPORTATION",
    "RING_EVASION",
    "RING_SUSTAIN_ATTRIBUTES",
    "RING_STEALTH",
    "RING_DEXTERITY",
    "RING_INTELLIGENCE",
    "RING_WIZARDRY",
    "RING_MAGICAL_POWER",
    "RING_FLIGHT",
    "RING_POSITIVE_ENERGY",
    "RING_WILLPOWER",
    "RING_FIRE",
    "RING_ICE",
    "RING_TELEPORT_CONTROL",
    "AMU_NORMAL_OFFSET",
    "AMU_NORMAL_OFFSET_1",
    "AMU_NORMAL_OFFSET_2",
    "AMU_NORMAL_OFFSET_3",
    "AMU_NORMAL_OFFSET_4",
    "AMU_NORMAL_OFFSET_5",
    "AMU_NORMAL_OFFSET_6",
    "AMU_NORMAL_OFFSET_7",
    "AMU_NORMAL_OFFSET_8",
    "AMU_NORMAL_OFFSET_9",
    "AMU_NORMAL_OFFSET_10",
    "AMU_NORMAL_OFFSET_11",
    "AMU_NORMAL_OFFSET_12",
    "AMU_NORMAL_OFFSET_13",
    "AMU_NORMAL_OFFSET_14",
    "AMU_NORMAL_OFFSET_15",
    "AMU_NORMAL_OFFSET_16",
    "AMU_NORMAL_OFFSET_17",
    "AMU_NORMAL_OFFSET_18",
    "AMU_NORMAL_OFFSET_19",
    "AMU_NORMAL_OFFSET_20",
    "AMU_NORMAL_OFFSET_21",
    "AMU_NORMAL_OFFSET_22",
    "AMU_NORMAL_OFFSET_23",
    "AMU_NORMAL_OFFSET_24",
    "AMU_NORMAL_OFFSET_25",
    "AMU_NORMAL_OFFSET_26",
    "AMU_NORMAL_OFFSET_27",
    "AMU_NORMAL_OFFSET_28",
    "AMU_RANDART_OFFSET",
    "AMU_RANDART_OFFSET_1",
    "AMU_RANDART_OFFSET_2",
    "AMU_RANDART_OFFSET_3",
    "AMU_RANDART_OFFSET_4",
    "AMU_RANDART_OFFSET_5",
    "AMU_RANDART_OFFSET_6",
    "AMU_RANDART_OFFSET_7",
    "AMU_RAGE",
    "AMU_HARM",
    "AMU_ACROBAT",
    "AMU_MANA_REGENERATION",
    "AMU_THE_GOURMAND",
    "AMU_REMOVEME1",
    "AMU_REMOVEME2",
    "AMU_INACCURACY",
    "AMU_NOTHING",
    "AMU_GUARDIAN_SPIRIT",
    "AMU_FAITH",
    "AMU_REFLECTION",
    "AMU_REGENERATION",
    "AMU_WILDSHAPE",
    "AMU_ALCHEMY",
    "AMU_DISSIPATION",
    "POTION_OFFSET",
    "POTION_OFFSET_1",
    "POTION_OFFSET_2",
    "POTION_OFFSET_3",
    "POTION_OFFSET_4",
    "POTION_OFFSET_5",
    "POTION_OFFSET_6",
    "POTION_OFFSET_7",
    "POTION_OFFSET_8",
    "POTION_OFFSET_9",
    "POTION_OFFSET_10",
    "POTION_OFFSET_11",
    "POTION_OFFSET_12",
    "POTION_OFFSET_13",
    "POTION_OFFSET_14",
    "POTION_OFFSET_15",
    "POTION_OFFSET_16",
    "POTION_OFFSET_17",
    "POTION_OFFSET_18",
    "POTION_OFFSET_19",
    "POTION_OFFSET_20",
    "POTION_OFFSET_21",
    "POTION_OFFSET_22",
    "POT_CURING",
    "POT_HEAL_WOUNDS",
    "POT_HASTE",
    "POT_MIGHT",
    "POT_BRILLIANCE",
    "POT_ATTRACTION",
    "POT_REMOVEME2",
    "POT_REMOVEME3",
    "POT_REMOVEME4",
    "POT_ENLIGHTENMENT",
    "POT_POISON",
    "POT_SLOWING",
    "POT_CANCELLATION",
    "POT_AMBROSIA",
    "POT_INVISIBILITY",
    "POT_PORRIDGE",
    "POT_MOONSHINE",
    "POT_REMOVEME5",
    "POT_REMOVE_ME",
    "POT_EXPERIENCE",
    "POT_MAGIC",
    "POT_REMOVEME6",
    "POT_REMOVEME7",
    "POT_BERSERK_RAGE",
    "POT_REMOVEME8",
    "POT_MUTATION",
    "POT_RESISTANCE",
    "POT_BLOOD",
    "POT_BLOOD_COAGULATED",
    "POT_LIGNIFY",
    "POT_REMOVEME9",
    "POT_REMOVEME10",
    "GIZMO",
    "GIZMO_1",
    "GIZMO_2",
    "GIZMO_3",
    "GIZMO_4",
    "GIZMO_5",
    "GIZMO_6",
    "GIZMO_7",
    "GIZMO_8",
    "GIZMO_9",
    "BOOK",
    "BOOK_1",
    "BOOK_2",
    "BOOK_3",
    "BOOK_4",
    "BOOK_5",
    "BOOK_6",
    "BOOK_7",
    "BOOK_8",
    "BOOK_9",
    "BOOK_10",
    "BOOK_11",
    "BOOK_12",
    "BOOK_13",
    "BOOK_14",
    "BOOK_15",
    "BOOK_16",
    "BOOK_17",
    "BOOK_18",
    "BOOK_19",
    "BOOK_20",
    "BOOK_21",
    "BOOK_22",
    "BOOK_23",
    "BOOK_24",
    "BOOK_25",
    "BOOK_26",
    "BOOK_27",
    "BOOK_28",
    "BOOK_29",
    "BOOK_MANUAL",
    "BOOK_MANUAL_1",
    "BOOK_RANDART",
    "BOOK_RANDART_1",
    "BOOK_RANDART_2",
    "BOOK_RANDART_3",
    "BOOK_RANDART_4",
    "BOOK_RANDART_5",
    "BOOK_RANDART_6",
    "PARCHMENT_LEFT_CONJURATIONS",
    "PARCHMENT_LEFT_HEXES",
    "PARCHMENT_LEFT_FIRE",
    "PARCHMENT_LEFT_ICE",
    "PARCHMENT_LEFT_NECROMANCY",
    "PARCHMENT_LEFT_SUMMONING",
    "PARCHMENT_LEFT_TRANSLOCATIONS",
    "PARCHMENT_LEFT_ALCHEMY",
    "PARCHMENT_LEFT_EARTH",
    "PARCHMENT_LEFT_AIR",
    "PARCHMENT_LEFT_FORGECRAFT",
    "PARCHMENT_LEFT_CONJURATIONS_HIGH",
    "PARCHMENT_LEFT_HEXES_HIGH",
    "PARCHMENT_LEFT_FIRE_HIGH",
    "PARCHMENT_LEFT_ICE_HIGH",
    "PARCHMENT_LEFT_NECROMANCY_HIGH",
    "PARCHMENT_LEFT_SUMMONING_HIGH",
    "PARCHMENT_LEFT_TRANSLOCATIONS_HIGH",
    "PARCHMENT_LEFT_ALCHEMY_HIGH",
    "PARCHMENT_LEFT_EARTH_HIGH",
    "PARCHMENT_LEFT_AIR_HIGH",
    "PARCHMENT_LEFT_FORGECRAFT_HIGH",
    "PARCHMENT_RIGHT_CONJURATIONS",
    "PARCHMENT_RIGHT_HEXES",
    "PARCHMENT_RIGHT_FIRE",
    "PARCHMENT_RIGHT_ICE",
    "PARCHMENT_RIGHT_NECROMANCY",
    "PARCHMENT_RIGHT_SUMMONING",
    "PARCHMENT_RIGHT_TRANSLOCATIONS",
    "PARCHMENT_RIGHT_ALCHEMY",
    "PARCHMENT_RIGHT_EARTH",
    "PARCHMENT_RIGHT_AIR",
    "PARCHMENT_RIGHT_FORGECRAFT",
    "PARCHMENT_RIGHT_CONJURATIONS_HIGH",
    "PARCHMENT_RIGHT_HEXES_HIGH",
    "PARCHMENT_RIGHT_FIRE_HIGH",
    "PARCHMENT_RIGHT_ICE_HIGH",
    "PARCHMENT_RIGHT_NECROMANCY_HIGH",
    "PARCHMENT_RIGHT_SUMMONING_HIGH",
    "PARCHMENT_RIGHT_TRANSLOCATIONS_HIGH",
    "PARCHMENT_RIGHT_ALCHEMY_HIGH",
    "PARCHMENT_RIGHT_EARTH_HIGH",
    "PARCHMENT_RIGHT_AIR_HIGH",
    "PARCHMENT_RIGHT_FORGECRAFT_HIGH",
    "PARCHMENT_SINGLE_CONJURATIONS",
    "PARCHMENT_SINGLE_HEXES",
    "PARCHMENT_SINGLE_FIRE",
    "PARCHMENT_SINGLE_ICE",
    "PARCHMENT_SINGLE_NECROMANCY",
    "PARCHMENT_SINGLE_SUMMONING",
    "PARCHMENT_SINGLE_TRANSLOCATIONS",
    "PARCHMENT_SINGLE_ALCHEMY",
    "PARCHMENT_SINGLE_EARTH",
    "PARCHMENT_SINGLE_AIR",
    "PARCHMENT_SINGLE_FORGECRAFT",
    "PARCHMENT_SINGLE_CONJURATIONS_HIGH",
    "PARCHMENT_SINGLE_HEXES_HIGH",
    "PARCHMENT_SINGLE_FIRE_HIGH",
    "PARCHMENT_SINGLE_ICE_HIGH",
    "PARCHMENT_SINGLE_NECROMANCY_HIGH",
    "PARCHMENT_SINGLE_SUMMONING_HIGH",
    "PARCHMENT_SINGLE_TRANSLOCATIONS_HIGH",
    "PARCHMENT_SINGLE_ALCHEMY_HIGH",
    "PARCHMENT_SINGLE_EARTH_HIGH",
    "PARCHMENT_SINGLE_AIR_HIGH",
    "PARCHMENT_SINGLE_FORGECRAFT_HIGH",
    "PARCHMENT_LOW",
    "PARCHMENT_MID",
    "PARCHMENT_HIGH",
    "STAFF_OFFSET",
    "STAFF_OFFSET_1",
    "STAFF_OFFSET_2",
    "STAFF_OFFSET_3",
    "STAFF_OFFSET_4",
    "STAFF_OFFSET_5",
    "STAFF_OFFSET_6",
    "STAFF_OFFSET_7",
    "STAFF_OFFSET_8",
    "STAFF_OFFSET_9",
    "STAFF_RANDART_OFFSET",
    "STAFF_RANDART_OFFSET_1",
    "STAFF_RANDART_OFFSET_2",
    "STAFF_RANDART_OFFSET_3",
    "STAFF_RANDART_OFFSET_4",
    "STAFF_RANDART_OFFSET_5",
    "STAFF_RANDART_OFFSET_6",
    "STAFF_WIZARDRY",
    "STAFF_POWER",
    "STAFF_FIRE",
    "STAFF_COLD",
    "STAFF_POISON",
    "STAFF_ENERGY",
    "STAFF_NECROMANCY",
    "STAFF_CONJURATION",
    "STAFF_ENCHANTMENT",
    "STAFF_SUMMONING",
    "STAFF_AIR",
    "STAFF_EARTH",
    "STAFF_CHANNELING",
    "ROD",
    "ROD_1",
    "ROD_2",
    "ROD_3",
    "ROD_4",
    "ROD_5",
    "ROD_6",
    "ROD_7",
    "ROD_8",
    "ROD_9",
    "ROD_LIGHTNING",
    "ROD_SUMMONING",
    "ROD_IGNITION",
    "ROD_CLOUDS",
    "ROD_DESTRUCTION",
    "ROD_INACCURACY",
    "ROD_WARDING",
    "ROD_SHADOWS",
    "ROD_IRON",
    "ROD_VENOM",
    "ORB",
    "ORB_1",
    "ORB_2",
    "ORB_3",
    "ORB_4",
    "UNCOLLECTED_ORB",
    "MISC_BOTTLED_EFREET",
    "MISC_CRYSTAL_BALL_OF_ENERGY",
    "MISC_FAN_OF_GALES",
    "MISC_FAN_OF_GALES_INERT",
    "MISC_LAMP_OF_FIRE",
    "MISC_LAMP_OF_FIRE_INERT",
    "MISC_STONE_OF_TREMORS",
    "MISC_STONE_OF_TREMORS_INERT",
    "MISC_PHIAL_OF_FLOODS",
    "MISC_PHIAL_OF_FLOODS_INERT",
    "MISC_LIGHTNING_ROD",
    "MISC_LIGHTNING_ROD_INERT",
    "MISC_TIN_OF_TREMORSTONES",
    "MISC_TIN_OF_TREMORSTONES_INERT",
    "MISC_CONDENSER_VANE",
    "MISC_CONDENSER_VANE_INERT",
    "MISC_LANTERN_OF_SHADOWS",
    "MISC_HORN_OF_GERYON",
    "MISC_BOX_OF_BEASTS",
    "MISC_BOX_OF_BEASTS_INERT",
    "MISC_SACK_OF_SPIDERS",
    "MISC_SACK_OF_SPIDERS_INERT",
    "MISC_PHANTOM_MIRROR",
    "MISC_ZIGGURAT",
    "MISC_QUAD_DAMAGE",
    "MISC_TAMBOURINE",
    "MISC_TAMBOURINE_INERT",
    "MISC_SHOP_VOUCHER",
    "MISC_RUNE_OF_ZOT",
    "RUNE_TARTARUS",
    "RUNE_COCYTUS",
    "RUNE_DIS",
    "RUNE_GEHENNA",
    "RUNE_CEREBOV",
    "RUNE_GLOORX_VLOQ",
    "RUNE_MNOLEG",
    "RUNE_LOM_LOBON",
    "RUNE_SNAKE",
    "RUNE_SWAMP",
    "RUNE_SHOALS",
    "RUNE_SPIDER",
    "RUNE_SLIME",
    "RUNE_VAULTS",
    "RUNE_TOMB",
    "RUNE_ABYSS",
    "RUNE_DEMONIC",
    "RUNE_DEMONIC_1",
    "RUNE_DEMONIC_2",
    "RUNE_DEMONIC_3",
    "RUNE_DEMONIC_4",
    "RUNE_DEMONIC_5",
    "RUNE_ELVEN",
    "GEM_DUNGEON",
    "GEM_DUNGEON_1",
    "GEM_ORC",
    "GEM_ORC_1",
    "GEM_ELF",
    "GEM_ELF_1",
    "GEM_LAIR",
    "GEM_LAIR_1",
    "GEM_SWAMP",
    "GEM_SWAMP_1",
    "GEM_SHOALS",
    "GEM_SHOALS_1",
    "GEM_SNAKE",
    "GEM_SNAKE_1",
    "GEM_SPIDER",
    "GEM_SPIDER_1",
    "GEM_SLIME",
    "GEM_SLIME_1",
    "GEM_VAULTS",
    "GEM_VAULTS_1",
    "GEM_CRYPT",
    "GEM_CRYPT_1",
    "GEM_TOMB",
    "GEM_TOMB_1",
    "GEM_DEPTHS",
    "GEM_DEPTHS_1",
    "GEM_ZOT",
    "GEM_ZOT_1",
    "GEM_GENERIC",
    "GEM_GENERIC_1",
    "TALISMAN_SNAKE",
    "TALISMAN_MAW",
    "TALISMAN_BLADE",
    "TALISMAN_STATUE",
    "TALISMAN_DRAGON",
    "TALISMAN_STORM",
    "TALISMAN_DEATH",
    "TALISMAN_VAMPIRE",
    "TALISMAN_RIMEHORN",
    "TALISMAN_SPIDER",
    "TALISMAN_QUILL",
    "TALISMAN_HIVE",
    "TALISMAN_AQUA",
    "TALISMAN_SPHINX",
    "TALISMAN_WEREWOLF",
    "TALISMAN_INKWELL",
    "TALISMAN_FORTRESS",
    "TALISMAN_SCARAB",
    "TALISMAN_MEDUSA",
    "TALISMAN_PROTEAN",
    "TALISMAN_EEL",
    "TALISMAN_SPORE",
    "BAUBLE_FLUX",
    "MISC_UNCOLLECTED_RUNE_OF_ZOT",
    "UNCOLLECTED_RUNE_TARTARUS",
    "UNCOLLECTED_RUNE_COCYTUS",
    "UNCOLLECTED_RUNE_DIS",
    "UNCOLLECTED_RUNE_GEHENNA",
    "UNCOLLECTED_RUNE_CEREBOV",
    "UNCOLLECTED_RUNE_GLOORX_VLOQ",
    "UNCOLLECTED_RUNE_MNOLEG",
    "UNCOLLECTED_RUNE_LOM_LOBON",
    "UNCOLLECTED_RUNE_SNAKE",
    "UNCOLLECTED_RUNE_SWAMP",
    "UNCOLLECTED_RUNE_SHOALS",
    "UNCOLLECTED_RUNE_SPIDER",
    "UNCOLLECTED_RUNE_SLIME",
    "UNCOLLECTED_RUNE_VAULTS",
    "UNCOLLECTED_RUNE_TOMB",
    "UNCOLLECTED_RUNE_ABYSS",
    "UNCOLLECTED_RUNE_DEMONIC",
    "UNCOLLECTED_RUNE_ELVEN",
    "GOLD01",
    "GOLD02",
    "GOLD03",
    "GOLD04",
    "GOLD05",
    "GOLD06",
    "GOLD07",
    "GOLD08",
    "GOLD09",
    "GOLD10",
    "GOLD16",
    "GOLD19",
    "GOLD23",
    "GOLD25",
    "ITEM_PAGE_NEXT",
    "ITEM_PAGE_PREVIOUS",
    "CORPSE_CLOCKROACH",
    "CORPSE_RADROACH",
    "CORPSE_BAT",
    "CORPSE_RAVEN",
    "CORPSE_CAUSTIC_SHRIKE",
    "CORPSE_SHARD_SHRIKE",
    "CORPSE_JACKAL",
    "CORPSE_HOUND",
    "CORPSE_HOWLER_MONKEY",
    "CORPSE_WARG",
    "CORPSE_WOLF",
    "CORPSE_HOG",
    "CORPSE_HELL_HOUND",
    "CORPSE_OBLIVION_HOUND",
    "CORPSE_RAIJU",
    "CORPSE_HELL_HOG",
    "CORPSE_BLACK_BEAR",
    "CORPSE_POLAR_BEAR",
    "CORPSE_FELID",
    "CORPSE_FRILLED_LIZARD",
    "CORPSE_IGUANA",
    "CORPSE_BASILISK",
    "CORPSE_SEISMOSAURUS",
    "CORPSE_KOMODO_DRAGON",
    "CORPSE_RAT",
    "CORPSE_QUOKKA",
    "CORPSE_RIVER_RAT",
    "CORPSE_HELL_RAT",
    "CORPSE_SCORPION",
    "CORPSE_EMPEROR_SCORPION",
    "CORPSE_TARANTELLA",
    "CORPSE_JUMPING_SPIDER",
    "CORPSE_WOLF_SPIDER",
    "CORPSE_REDBACK",
    "CORPSE_ORB_SPIDER",
    "CORPSE_BROODMOTHER",
    "CORPSE_CULICIVORA",
    "CORPSE_DEMONIC_CRAWLER",
    "CORPSE_CROCODILE",
    "CORPSE_ALLIGATOR",
    "CORPSE_SNAPPING_TURTLE",
    "CORPSE_ALLIGATOR_SNAPPING_TURTLE",
    "CORPSE_MOUNTAINSHELL",
    "CORPSE_FIRE_CRAB",
    "CORPSE_GHOST_CRAB",
    "CORPSE_APOCALYPSE_CRAB",
    "CORPSE_RIBBON_WORM",
    "CORPSE_BRAIN_WORM",
    "CORPSE_SWAMP_WORM",
    "CORPSE_TYRANT_LEECH",
    "CORPSE_TORPOR_SNAIL",
    "CORPSE_ELEPHANT_SLUG",
    "CORPSE_DART_SLUG",
    "CORPSE_STEELBARB_WORM",
    "CORPSE_KILLER_BEE",
    "CORPSE_QUEEN_BEE",
    "CORPSE_VAMPIRE_MOSQUITO",
    "CORPSE_HORNET",
    "CORPSE_SPARK_WASP",
    "CORPSE_GHOST_MOTH",
    "CORPSE_MOTH_OF_WRATH",
    "CORPSE_SUN_MOTH",
    "CORPSE_MELIAI",
    "CORPSE_ELECTRIC_EEL",
    "CORPSE_LAVA_SNAKE",
    "CORPSE_KRAKEN",
    "CORPSE_BOMBARDIER_BEETLE",
    "CORPSE_BOULDER_BEETLE",
    "CORPSE_DEATH_SCARAB",
    "CORPSE_BARACHI",
    "CORPSE_BULLFROG",
    "CORPSE_BLINK_FROG",
    "CORPSE_CANE_TOAD",
    "CORPSE_GOLIATH_FROG",
    "CORPSE_SKYSHARK",
    "CORPSE_BALL_PYTHON",
    "CORPSE_ADDER",
    "CORPSE_BLACK_MAMBA",
    "CORPSE_WATER_MOCCASIN",
    "CORPSE_ANACONDA",
    "CORPSE_SEA_SNAKE",
    "CORPSE_SHOCK_SERPENT",
    "CORPSE_DREAM_SHEEP",
    "CORPSE_YAK",
    "CORPSE_DEATH_YAK",
    "CORPSE_ELEPHANT",
    "CORPSE_DIRE_ELEPHANT",
    "CORPSE_HELLEPHANT",
    "CORPSE_CATOBLEPAS",
    "CORPSE_SKY_BEAST",
    "CORPSE_APIS",
    "CORPSE_FORMICID",
    "CORPSE_FAUN",
    "CORPSE_SATYR",
    "CORPSE_CENTAUR",
    "CORPSE_YAKTAUR",
    "CORPSE_ELF",
    "CORPSE_GOBLIN",
    "CORPSE_HOBGOBLIN",
    "CORPSE_GNOLL",
    "CORPSE_SPRIGGAN",
    "CORPSE_SWAMP_DRAKE",
    "CORPSE_RIME_DRAKE",
    "CORPSE_LINDWURM",
    "CORPSE_DEATH_DRAKE",
    "CORPSE_WIND_DRAKE",
    "CORPSE_MERFOLK",
    "CORPSE_DRYAD",
    "CORPSE_WATER_NYMPH",
    "CORPSE_ELEIONOMA",
    "CORPSE_BOG_BODY",
    "CORPSE_NECROPHAGE",
    "CORPSE_GHOUL",
    "CORPSE_COGNITOGAUNT",
    "CORPSE_ORC",
    "CORPSE_HALFLING",
    "CORPSE_METEORAN",
    "CORPSE_DEMIGOD",
    "CORPSE_HUMAN",
    "CORPSE_KILLER_KLOWN",
    "CORPSE_KILLER_KLOWN_1",
    "CORPSE_KILLER_KLOWN_2",
    "CORPSE_KILLER_KLOWN_3",
    "CORPSE_KILLER_KLOWN_4",
    "CORPSE_ENTROPY_WEAVER",
    "CORPSE_SHAPESHIFTER",
    "CORPSE_GLOWING_SHAPESHIFTER",
    "CORPSE_DWARF",
    "CORPSE_DEEP_DWARF",
    "CORPSE_UGLY_THING",
    "CORPSE_UGLY_THING_1",
    "CORPSE_UGLY_THING_2",
    "CORPSE_UGLY_THING_3",
    "CORPSE_UGLY_THING_4",
    "CORPSE_UGLY_THING_5",
    "CORPSE_VERY_UGLY_THING",
    "CORPSE_VERY_UGLY_THING_1",
    "CORPSE_VERY_UGLY_THING_2",
    "CORPSE_VERY_UGLY_THING_3",
    "CORPSE_VERY_UGLY_THING_4",
    "CORPSE_VERY_UGLY_THING_5",
    "CORPSE_ETTIN",
    "CORPSE_CYCLOPS",
    "CORPSE_FIRE_GIANT",
    "CORPSE_FROST_GIANT",
    "CORPSE_STONE_GIANT",
    "CORPSE_TITAN",
    "CORPSE_JUGGERNAUT",
    "CORPSE_IRON_GIANT",
    "CORPSE_TAINTED_LEVIATHAN",
    "CORPSE_WYVERN",
    "CORPSE_FIRE_DRAGON",
    "CORPSE_HYDRA",
    "CORPSE_STEAM_DRAGON",
    "CORPSE_ICE_DRAGON",
    "CORPSE_SWAMP_DRAGON",
    "CORPSE_ACID_DRAGON",
    "CORPSE_QUICKSILVER_DRAGON",
    "CORPSE_IRON_DRAGON",
    "CORPSE_STORM_DRAGON",
    "CORPSE_GOLDEN_DRAGON",
    "CORPSE_SHADOW_DRAGON",
    "CORPSE_PEARL_DRAGON",
    "CORPSE_HIPPOGRIFF",
    "CORPSE_MANTICORE",
    "CORPSE_HARPY",
    "CORPSE_MINOTAUR",
    "CORPSE_FENSTRIDER_WITCH",
    "CORPSE_SPHINX_MARAUDER",
    "CORPSE_GUARDIAN_SPHINX",
    "CORPSE_TENGU",
    "CORPSE_JOROGUMO",
    "CORPSE_ARMATAUR",
    "CORPSE_ARACHNE",
    "CORPSE_MUTANT_BEAST",
    "CORPSE_KOBOLD",
    "CORPSE_NAGA",
    "CORPSE_GUARDIAN_SERPENT",
    "CORPSE_SALAMANDER",
    "CORPSE_ONI",
    "CORPSE_OGRE",
    "CORPSE_TWO_HEADED_OGRE",
    "CORPSE_TROLL",
    "CORPSE_IRON_TROLL",
    "CORPSE_DEEP_TROLL",
    "CORPSE_CHONCHON",
    "CORPSE_OCTOPODE",
    "CORPSE_BUNYIP",
    "CORPSE_BLACK_DRACONIAN",
    "CORPSE_BROWN_DRACONIAN",
    "CORPSE_GREEN_DRACONIAN",
    "CORPSE_GREY_DRACONIAN",
    "CORPSE_PALE_DRACONIAN",
    "CORPSE_PURPLE_DRACONIAN",
    "CORPSE_RED_DRACONIAN",
    "CORPSE_WHITE_DRACONIAN",
    "CORPSE_YELLOW_DRACONIAN",
    "CORPSE_DEMONSPAWN",
    "BOLT_DEFAULT_BLUE",
    "BOLT_DEFAULT_GREEN",
    "BOLT_DEFAULT_CYAN",
    "BOLT_DEFAULT_RED",
    "BOLT_DEFAULT_MAGENTA",
    "BOLT_DEFAULT_YELLOW",
    "BOLT_DEFAULT_WHITE",
    "BOLT_DEFAULT_BLACK",
    "BOLT_FLAME",
    "BOLT_FLAME_1",
    "BOLT_FLAME_2",
    "BOLT_MAGMA",
    "BOLT_MAGMA_1",
    "BOLT_IGNITE_POISON_TARGET",
    "BOLT_IGNITE_POISON_TARGET_1",
    "BOLT_IGNITE_POISON_TERRAIN",
    "BOLT_IGNITE_POISON_TERRAIN_1",
    "BOLT_FIRE_STORM",
    "BOLT_FROST",
    "BOLT_FROST_1",
    "BOLT_ICICLE",
    "BOLT_ICICLE_1",
    "BOLT_ICICLE_2",
    "BOLT_ICICLE_3",
    "BOLT_ICICLE_4",
    "BOLT_ICICLE_5",
    "BOLT_ICICLE_6",
    "BOLT_ICICLE_7",
    "BOLT_ICEBLAST",
    "BOLT_ICEBLAST_1",
    "BOLT_ICICLE_SALVO",
    "BOLT_ICICLE_SALVO_1",
    "BOLT_ICICLE_SALVO_2",
    "BOLT_ICICLE_SALVO_3",
    "BOLT_ICICLE_SALVO_4",
    "BOLT_ICICLE_SALVO_5",
    "BOLT_ICICLE_SALVO_6",
    "BOLT_ICICLE_SALVO_7",
    "BOLT_ZAP",
    "BOLT_ZAP_1",
    "BOLT_ZAP_2",
    "BOLT_ZAP_3",
    "BOLT_WEAK_AIR",
    "BOLT_WEAK_AIR_1",
    "BOLT_MEDIUM_AIR",
    "BOLT_MEDIUM_AIR_1",
    "BOLT_STRONG_AIR",
    "BOLT_STRONG_AIR_1",
    "BOLT_SANDBLAST",
    "BOLT_SANDBLAST_1",
    "BOLT_SANDBLAST_2",
    "BOLT_STONE_ARROW",
    "BOLT_STONE_ARROW_1",
    "BOLT_STONE_ARROW_2",
    "BOLT_STONE_ARROW_3",
    "BOLT_STONE_ARROW_4",
    "BOLT_STONE_ARROW_5",
    "BOLT_STONE_ARROW_6",
    "BOLT_STONE_ARROW_7",
    "BOLT_IRON_SHOT",
    "BOLT_IRON_SHOT_1",
    "BOLT_IRON_SHOT_2",
    "BOLT_IRON_SHOT_3",
    "BOLT_IRON_SHOT_4",
    "BOLT_IRON_SHOT_5",
    "BOLT_IRON_SHOT_6",
    "BOLT_IRON_SHOT_7",
    "BOLT_CRYSTAL_SPEAR",
    "BOLT_CRYSTAL_SPEAR_1",
    "BOLT_CRYSTAL_SPEAR_2",
    "BOLT_CRYSTAL_SPEAR_3",
    "BOLT_CRYSTAL_SPEAR_4",
    "BOLT_CRYSTAL_SPEAR_5",
    "BOLT_CRYSTAL_SPEAR_6",
    "BOLT_CRYSTAL_SPEAR_7",
    "BOLT_MAGIC_DART",
    "BOLT_MAGIC_DART_1",
    "BOLT_MAGIC_DART_2",
    "BOLT_MAGIC_DART_3",
    "BOLT_MAGIC_DART_4",
    "BOLT_MAGIC_DART_5",
    "BOLT_DAMNATION",
    "BOLT_SEARING_RAY",
    "BOLT_SEARING_RAY_1",
    "BOLT_PERCUSSIVE_TEMPERING",
    "BOLT_FORTRESS_BLAST",
    "BOLT_BOMBLET_LAUNCH",
    "BOLT_BOMBLET_LAUNCH_1",
    "BOLT_BOMBLET_BLAST",
    "BOLT_BOMBLET_BLAST_1",
    "BOLT_PARAGON_TEMPEST",
    "BOLT_PARAGON_TEMPEST_1",
    "BOLT_SUNDERING",
    "BOLT_SUNDERING_1",
    "BOLT_SUNDERING_2",
    "BOLT_SUNDERING_3",
    "BOLT_DRAIN",
    "BOLT_DRAIN_1",
    "BOLT_DRAIN_2",
    "BOLT_STING",
    "BOLT_STING_1",
    "BOLT_STING_2",
    "BOLT_MEPHITIC_FLASK",
    "BOLT_MEPHITIC_FLASK_1",
    "BOLT_MEPHITIC_FLASK_2",
    "BOLT_MEPHITIC_FLASK_3",
    "BOLT_ALEMBIC_POTION",
    "BOLT_ALEMBIC_POTION_1",
    "BOLT_ALEMBIC_POTION_2",
    "BOLT_ALEMBIC_POTION_3",
    "BOLT_ALEMBIC_POTION_4",
    "BOLT_IRRADIATE",
    "BOLT_IRRADIATE_1",
    "BOLT_IRRADIATE_2",
    "BOLT_IRRADIATE_3",
    "BOLT_CONTAM",
    "BOLT_CONTAM_1",
    "BOLT_CONTAM_2",
    "BOLT_CONTAM_3",
    "BOLT_FULSOME_FIRE",
    "BOLT_FULSOME_ICE",
    "BOLT_FULSOME_ELECTRIC",
    "BOLT_FULSOME_POISON",
    "BOLT_FULSOME_QUINTESSENCE",
    "BOLT_MYSTIC_BLAST",
    "BOLT_MANIFOLD_ASSAULT",
    "BOLT_MANIFOLD_ASSAULT_1",
    "BOLT_LIGHT",
    "BOLT_LIGHT_1",
    "BOLT_LIGHT_2",
    "BOLT_LIGHT_3",
    "BOLT_LIGHT_4",
    "BOLT_LIGHT_5",
    "BOLT_LIGHT_6",
    "BOLT_LIGHT_7",
    "BOLT_WARP_SPACE",
    "BOLT_CHAOS",
    "BOLT_CHAOS_1",
    "BOLT_CHAOS_2",
    "BOLT_BECKONING_GALE",
    "BOLT_FORCE_LANCE",
    "BOLT_FORCE_LANCE_1",
    "BOLT_FORCE_LANCE_2",
    "BOLT_FORCE_LANCE_3",
    "BOLT_FORCE_LANCE_4",
    "BOLT_FORCE_LANCE_5",
    "BOLT_FORCE_LANCE_6",
    "BOLT_FORCE_LANCE_7",
    "BOLT_HARPOON_SHOT",
    "BOLT_HARPOON_SHOT_1",
    "BOLT_HARPOON_SHOT_2",
    "BOLT_HARPOON_SHOT_3",
    "BOLT_HARPOON_SHOT_4",
    "BOLT_HARPOON_SHOT_5",
    "BOLT_HARPOON_SHOT_6",
    "BOLT_HARPOON_SHOT_7",
    "BOLT_POISON_ARROW",
    "BOLT_POISON_ARROW_1",
    "BOLT_POISON_ARROW_2",
    "BOLT_POISON_ARROW_3",
    "BOLT_POISON_ARROW_4",
    "BOLT_POISON_ARROW_5",
    "BOLT_POISON_ARROW_6",
    "BOLT_POISON_ARROW_7",
    "BOLT_SPLINTERSPRAY",
    "BOLT_SPLINTERSPRAY_1",
    "BOLT_SPLINTERSPRAY_2",
    "BOLT_SPLINTERSPRAY_3",
    "BOLT_SPLINTERSPRAY_4",
    "BOLT_SPLINTERSPRAY_5",
    "BOLT_SPLINTERSPRAY_6",
    "BOLT_SPLINTERSPRAY_7",
    "BOLT_ENTROPIC_WEAVE",
    "BOLT_ANTIMAGIC_GAZE",
    "BOLT_DRAINING_GAZE",
    "BOLT_DRAINING_SMIRK",
    "BOLT_BOLAS",
    "BOLT_SENTINEL_MARK",
    "BOLT_METAL_SPLINTERS",
    "BOLT_METAL_SPLINTERS_1",
    "BOLT_METAL_SPLINTERS_2",
    "BOLT_METAL_SPLINTERS_3",
    "BOLT_METAL_SPLINTERS_4",
    "BOLT_METAL_SPLINTERS_5",
    "BOLT_METAL_SPLINTERS_6",
    "BOLT_METAL_SPLINTERS_7",
    "BOLT_FLESH",
    "BOLT_FLESH_1",
    "BOLT_GLOOM",
    "BOLT_GLOOM_1",
    "BOLT_DOOM",
    "BOLT_DOOM_1",
    "BOLT_GHOSTLY_FIREBALL",
    "BOLT_GHOSTLY_FIREBALL_1",
    "BOLT_PIE",
    "BOLT_PIE_1",
    "BOLT_PIE_2",
    "BOLT_PIE_3",
    "BOLT_PIE_4",
    "BOLT_PIE_5",
    "BOLT_PIE_6",
    "BOLT_PIE_7",
    "BOLT_CHAOS_BUFF",
    "BOLT_CHAOS_BUFF_1",
    "BOLT_SAP_MAGIC",
    "BOLT_OBLIVION_HOWL",
    "BOLT_PHANTOM_BLITZ",
    "BOLT_FROSTFIRE",
    "BOLT_FROSTFIRE_1",
    "BOLT_FROSTFIRE_2",
    "BOLT_FROSTFIRE_3",
    "BOLT_FROSTFIRE_4",
    "BOLT_FROSTFIRE_5",
    "BOLT_FROSTFIRE_6",
    "BOLT_FROSTFIRE_7",
    "BOLT_SHADOW_BEAM",
    "BOLT_SHADOW_BEAM_1",
    "BOLT_SHADOW_BEAM_2",
    "BOLT_SHADOW_BEAM_3",
    "BOLT_SHADOW_SHARD",
    "BOLT_SHADOW_BLAST",
    "BOLT_SHADOW_BLAST_1",
    "BOLT_SHADOW_BLAST_2",
    "BOLT_SHADOW_BLAST_3",
    "BOLT_SHADOW_SHOT",
    "BOLT_SHADOW_SHOT_1",
    "BOLT_SHADOW_SHOT_2",
    "BOLT_SHADOW_SHOT_3",
    "BOLT_SHADOW_SHOT_4",
    "BOLT_SHADOW_SHOT_5",
    "BOLT_SHADOW_SHOT_6",
    "BOLT_SHADOW_SHOT_7",
    "BOLT_POTION_PETITION",
    "BOLT_POTION_PETITION_1",
    "BOLT_POTION_PETITION_2",
    "BOLT_POTION_PETITION_3",
    "BOLT_POTION_PETITION_4",
    "BOLT_POTION_PETITION_5",
    "BOLT_HAEMOCLASM",
    "BOLT_HAEMOCLASM_1",
    "BOLT_HAEMOCLASM_2",
    "BOLT_HAEMOCLASM_3",
    "BOLT_BLOOD_ARROW",
    "BOLT_BLOOD_ARROW_1",
    "BOLT_BLOOD_ARROW_2",
    "BOLT_BLOOD_ARROW_3",
    "BOLT_BLOOD_ARROW_4",
    "BOLT_BLOOD_ARROW_5",
    "BOLT_BLOOD_ARROW_6",
    "BOLT_BLOOD_ARROW_7",
    "BOLT_OSTRACISE",
    "BOLT_UMBRAL_TORCHLIGHT",
    "INDICATOR",
    "INDICATOR_1",
    "INDICATOR_2",
    "INDICATOR_3",
    "INDICATOR_4",
    "INDICATOR_5",
    "INDICATOR_6",
    "INDICATOR_7",
    "CLOUD_FIRE",
    "CLOUD_FIRE_1",
    "CLOUD_FIRE_2",
    "CLOUD_COLD",
    "CLOUD_COLD_1",
    "CLOUD_COLD_2",
    "CLOUD_POISON",
    "CLOUD_POISON_1",
    "CLOUD_POISON_2",
    "CLOUD_MEPHITIC",
    "CLOUD_MEPHITIC_1",
    "CLOUD_MEPHITIC_2",
    "CLOUD_BLACK_SMOKE",
    "CLOUD_BLUE_SMOKE",
    "CLOUD_GREY_SMOKE",
    "CLOUD_YELLOW_SMOKE",
    "CLOUD_WHITE_SMOKE",
    "CLOUD_MIASMA",
    "CLOUD_MIASMA_1",
    "CLOUD_MIASMA_2",
    "CLOUD_TLOC_ENERGY",
    "CLOUD_MUTAGENIC_0",
    "CLOUD_MUTAGENIC_0_1",
    "CLOUD_MUTAGENIC_1",
    "CLOUD_MUTAGENIC_1_1",
    "CLOUD_MUTAGENIC_2",
    "CLOUD_MUTAGENIC_2_1",
    "CLOUD_MUTAGENIC_2_2",
    "CLOUD_MUTAGENIC_2_3",
    "CLOUD_MAGIC_TRAIL",
    "CLOUD_MAGIC_TRAIL_1",
    "CLOUD_MAGIC_TRAIL_2",
    "CLOUD_MAGIC_TRAIL_3",
    "CLOUD_DUST",
    "CLOUD_DUST_1",
    "CLOUD_DUST_2",
    "CLOUD_DUST_3",
    "CLOUD_RAIN",
    "CLOUD_RAIN_1",
    "CLOUD_MIST",
    "CLOUD_INK",
    "CLOUD_GLOOM",
    "CLOUD_CHAOS",
    "CLOUD_CHAOS_1",
    "CLOUD_CHAOS_2",
    "CLOUD_CHAOS_3",
    "CLOUD_CHAOS_4",
    "CLOUD_FREEZING_WINDS_0",
    "CLOUD_FREEZING_WINDS_1",
    "CLOUD_PETRIFY",
    "CLOUD_PETRIFY_1",
    "CLOUD_PETRIFY_2",
    "CLOUD_PETRIFY_3",
    "CLOUD_FOREST_FIRE",
    "CLOUD_SPECTRAL",
    "CLOUD_SPECTRAL_1",
    "CLOUD_SPECTRAL_2",
    "CLOUD_ACID",
    "CLOUD_ACID_1",
    "CLOUD_ACID_2",
    "CLOUD_STORM",
    "CLOUD_STORM_1",
    "CLOUD_MISERY",
    "CLOUD_MISERY_1",
    "CLOUD_MISERY_2",
    "CLOUD_GOLD_DUST",
    "CLOUD_GOLD_DUST_1",
    "CLOUD_GOLD_DUST_2",
    "CLOUD_GOLD_DUST_3",
    "CLOUD_FLAME",
    "CLOUD_FLAME_1",
    "CLOUD_FLAME_2",
    "CLOUD_FLAME_3",
    "CLOUD_ELECTRICITY",
    "CLOUD_ELECTRICITY_1",
    "CLOUD_ELECTRICITY_2",
    "CLOUD_ELECTRICITY_3",
    "CLOUD_FAINT_MIASMA",
    "CLOUD_FAINT_MIASMA_1",
    "CLOUD_FAINT_MIASMA_2",
    "CLOUD_FAINT_MIASMA_3",
    "CLOUD_DEGENERATION",
    "CLOUD_BLASTMOTES",
    "CLOUD_BLASTMOTES_1",
    "CLOUD_BLASTMOTES_2",
    "CLOUD_MAGNETISED_DUST",
    "CLOUD_MAGNETISED_DUST_1",
    "CLOUD_MAGNETISED_DUST_2",
    "CLOUD_BATS",
    "CLOUD_BATS_1",
    "CLOUD_BATS_2",
    "CLOUD_BATS_3",
    "CLOUD_RUST",
    "CLOUD_RUST_1",
    "CLOUD_RUST_2",
    "CLOUD_RUST_3",
    "SPORE_OVERLAY",
    "UNSEEN_WEAPON",
    "UNSEEN_MONSTER",
    "UNSEEN_ARMOUR",
    "UNSEEN_ITEM",
    "MONS_SENSED_FRIENDLY",
    "MONS_SENSED_TRIVIAL",
    "MONS_SENSED_EASY",
    "MONS_SENSED_TOUGH",
    "MONS_SENSED_NASTY",
    "UNSEEN_CORPSE",
    "ITEM_SLOT",
    "ITEM_SLOT_EQUIP",
    "ITEM_SLOT_CURSED",
    "ITEM_SLOT_EQUIP_CURSED",
    "ITEM_SLOT_VEHUMET",
    "ERROR",
    "TODO",
};

const char *tile_main_name(tileidx_t idx)
{
    ASSERT_RANGE(idx, TILE_FEAT_MAX, TILE_MAIN_MAX);
    return _tile_main_name[idx - TILE_FEAT_MAX];
}

static tile_info _tile_main_info[TILE_MAIN_MAX - TILE_FEAT_MAX] =
{
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
    tile_info(0, 0, 0, 0, 0, 0, 0, 0),
};

tile_info &tile_main_info(tileidx_t idx)
{
    ASSERT_RANGE(idx, TILE_FEAT_MAX, TILE_MAIN_MAX);
    return _tile_main_info[idx - TILE_FEAT_MAX];
}


typedef pair<const char*, tileidx_t> _name_pair;

static _name_pair main_name_pairs[] =
{
    _name_pair("amu_acrobat", 806 + TILE_FEAT_MAX),
    _name_pair("amu_alchemy", 818 + TILE_FEAT_MAX),
    _name_pair("amu_dissipation", 819 + TILE_FEAT_MAX),
    _name_pair("amu_faith", 814 + TILE_FEAT_MAX),
    _name_pair("amu_guardian_spirit", 813 + TILE_FEAT_MAX),
    _name_pair("amu_harm", 805 + TILE_FEAT_MAX),
    _name_pair("amu_id_first", 804 + TILE_FEAT_MAX),
    _name_pair("amu_id_last", 819 + TILE_FEAT_MAX),
    _name_pair("amu_inaccuracy", 811 + TILE_FEAT_MAX),
    _name_pair("amu_mana_regeneration", 807 + TILE_FEAT_MAX),
    _name_pair("amu_normal_offset", 767 + TILE_FEAT_MAX),
    _name_pair("amu_nothing", 812 + TILE_FEAT_MAX),
    _name_pair("amu_rage", 804 + TILE_FEAT_MAX),
    _name_pair("amu_randart_offset", 796 + TILE_FEAT_MAX),
    _name_pair("amu_reflection", 815 + TILE_FEAT_MAX),
    _name_pair("amu_regeneration", 816 + TILE_FEAT_MAX),
    _name_pair("amu_removeme1", 809 + TILE_FEAT_MAX),
    _name_pair("amu_removeme2", 810 + TILE_FEAT_MAX),
    _name_pair("amu_the_gourmand", 808 + TILE_FEAT_MAX),
    _name_pair("amu_wildshape", 817 + TILE_FEAT_MAX),
    _name_pair("arm_acid_dragon_armour", 464 + TILE_FEAT_MAX),
    _name_pair("arm_acid_dragon_armour_randart", 465 + TILE_FEAT_MAX),
    _name_pair("arm_animal_skin", 453 + TILE_FEAT_MAX),
    _name_pair("arm_animal_skin_magic", 454 + TILE_FEAT_MAX),
    _name_pair("arm_animal_skin_randart", 455 + TILE_FEAT_MAX),
    _name_pair("arm_barding", 489 + TILE_FEAT_MAX),
    _name_pair("arm_barding_magic", 490 + TILE_FEAT_MAX),
    _name_pair("arm_barding_randart", 491 + TILE_FEAT_MAX),
    _name_pair("arm_boots", 543 + TILE_FEAT_MAX),
    _name_pair("arm_boots_april1", 549 + TILE_FEAT_MAX),
    _name_pair("arm_boots_april2", 550 + TILE_FEAT_MAX),
    _name_pair("arm_boots_magic", 545 + TILE_FEAT_MAX),
    _name_pair("arm_boots_randart", 547 + TILE_FEAT_MAX),
    _name_pair("arm_buckler", 497 + TILE_FEAT_MAX),
    _name_pair("arm_buckler_magic", 498 + TILE_FEAT_MAX),
    _name_pair("arm_buckler_randart", 499 + TILE_FEAT_MAX),
    _name_pair("arm_buckler_spriggan", 500 + TILE_FEAT_MAX),
    _name_pair("arm_chain_mail", 444 + TILE_FEAT_MAX),
    _name_pair("arm_chain_mail_magic", 445 + TILE_FEAT_MAX),
    _name_pair("arm_chain_mail_randart", 446 + TILE_FEAT_MAX),
    _name_pair("arm_cloak", 480 + TILE_FEAT_MAX),
    _name_pair("arm_cloak_glowing", 482 + TILE_FEAT_MAX),
    _name_pair("arm_cloak_magic", 481 + TILE_FEAT_MAX),
    _name_pair("arm_cloak_randart", 483 + TILE_FEAT_MAX),
    _name_pair("arm_crystal_plate_armour", 450 + TILE_FEAT_MAX),
    _name_pair("arm_crystal_plate_armour_magic", 451 + TILE_FEAT_MAX),
    _name_pair("arm_crystal_plate_armour_randart", 452 + TILE_FEAT_MAX),
    _name_pair("arm_fire_dragon_armour", 458 + TILE_FEAT_MAX),
    _name_pair("arm_fire_dragon_armour_randart", 459 + TILE_FEAT_MAX),
    _name_pair("arm_gloves", 538 + TILE_FEAT_MAX),
    _name_pair("arm_gloves_glowing", 541 + TILE_FEAT_MAX),
    _name_pair("arm_gloves_randart", 542 + TILE_FEAT_MAX),
    _name_pair("arm_gloves_runed", 540 + TILE_FEAT_MAX),
    _name_pair("arm_gloves_shiny", 539 + TILE_FEAT_MAX),
    _name_pair("arm_golden_dragon_armour", 472 + TILE_FEAT_MAX),
    _name_pair("arm_golden_dragon_armour_randart", 473 + TILE_FEAT_MAX),
    _name_pair("arm_ice_dragon_armour", 460 + TILE_FEAT_MAX),
    _name_pair("arm_ice_dragon_armour_randart", 461 + TILE_FEAT_MAX),
    _name_pair("arm_kite_shield", 501 + TILE_FEAT_MAX),
    _name_pair("arm_kite_shield_magic", 502 + TILE_FEAT_MAX),
    _name_pair("arm_kite_shield_randart", 503 + TILE_FEAT_MAX),
    _name_pair("arm_leather_armour", 435 + TILE_FEAT_MAX),
    _name_pair("arm_leather_armour_magic", 436 + TILE_FEAT_MAX),
    _name_pair("arm_leather_armour_randart", 437 + TILE_FEAT_MAX),
    _name_pair("arm_orb", 492 + TILE_FEAT_MAX),
    _name_pair("arm_orb_randart", 493 + TILE_FEAT_MAX),
    _name_pair("arm_pearl_dragon_armour", 476 + TILE_FEAT_MAX),
    _name_pair("arm_pearl_dragon_armour_randart", 477 + TILE_FEAT_MAX),
    _name_pair("arm_plate_armour", 447 + TILE_FEAT_MAX),
    _name_pair("arm_plate_armour_magic", 448 + TILE_FEAT_MAX),
    _name_pair("arm_plate_armour_randart", 449 + TILE_FEAT_MAX),
    _name_pair("arm_quicksilver_dragon_armour", 466 + TILE_FEAT_MAX),
    _name_pair("arm_quicksilver_dragon_armour_randart", 467 + TILE_FEAT_MAX),
    _name_pair("arm_ring_mail", 438 + TILE_FEAT_MAX),
    _name_pair("arm_ring_mail_magic", 439 + TILE_FEAT_MAX),
    _name_pair("arm_ring_mail_randart", 440 + TILE_FEAT_MAX),
    _name_pair("arm_robe", 429 + TILE_FEAT_MAX),
    _name_pair("arm_robe_magic", 431 + TILE_FEAT_MAX),
    _name_pair("arm_robe_randart", 433 + TILE_FEAT_MAX),
    _name_pair("arm_scale_mail", 441 + TILE_FEAT_MAX),
    _name_pair("arm_scale_mail_magic", 442 + TILE_FEAT_MAX),
    _name_pair("arm_scale_mail_randart", 443 + TILE_FEAT_MAX),
    _name_pair("arm_scarf", 484 + TILE_FEAT_MAX),
    _name_pair("arm_scarf_glowing", 487 + TILE_FEAT_MAX),
    _name_pair("arm_scarf_randart", 488 + TILE_FEAT_MAX),
    _name_pair("arm_scarf_runed", 486 + TILE_FEAT_MAX),
    _name_pair("arm_scarf_shiny", 485 + TILE_FEAT_MAX),
    _name_pair("arm_shadow_dragon_armour", 470 + TILE_FEAT_MAX),
    _name_pair("arm_shadow_dragon_armour_randart", 471 + TILE_FEAT_MAX),
    _name_pair("arm_steam_dragon_armour", 462 + TILE_FEAT_MAX),
    _name_pair("arm_steam_dragon_armour_randart", 463 + TILE_FEAT_MAX),
    _name_pair("arm_storm_dragon_armour", 468 + TILE_FEAT_MAX),
    _name_pair("arm_storm_dragon_armour_randart", 469 + TILE_FEAT_MAX),
    _name_pair("arm_swamp_dragon_armour", 474 + TILE_FEAT_MAX),
    _name_pair("arm_swamp_dragon_armour_randart", 475 + TILE_FEAT_MAX),
    _name_pair("arm_tower_shield", 504 + TILE_FEAT_MAX),
    _name_pair("arm_tower_shield_magic", 505 + TILE_FEAT_MAX),
    _name_pair("arm_tower_shield_randart", 506 + TILE_FEAT_MAX),
    _name_pair("arm_troll_leather_armour", 456 + TILE_FEAT_MAX),
    _name_pair("arm_troll_leather_armour_randart", 457 + TILE_FEAT_MAX),
    _name_pair("bauble_flux", 1153 + TILE_FEAT_MAX),
    _name_pair("bolt_alembic_potion", 1493 + TILE_FEAT_MAX),
    _name_pair("bolt_antimagic_gaze", 1560 + TILE_FEAT_MAX),
    _name_pair("bolt_beckoning_gale", 1526 + TILE_FEAT_MAX),
    _name_pair("bolt_blood_arrow", 1629 + TILE_FEAT_MAX),
    _name_pair("bolt_bolas", 1563 + TILE_FEAT_MAX),
    _name_pair("bolt_bomblet_blast", 1475 + TILE_FEAT_MAX),
    _name_pair("bolt_bomblet_launch", 1473 + TILE_FEAT_MAX),
    _name_pair("bolt_chaos", 1523 + TILE_FEAT_MAX),
    _name_pair("bolt_chaos_buff", 1589 + TILE_FEAT_MAX),
    _name_pair("bolt_contam", 1502 + TILE_FEAT_MAX),
    _name_pair("bolt_crystal_spear", 1454 + TILE_FEAT_MAX),
    _name_pair("bolt_damnation", 1468 + TILE_FEAT_MAX),
    _name_pair("bolt_default_black", 1394 + TILE_FEAT_MAX),
    _name_pair("bolt_default_blue", 1387 + TILE_FEAT_MAX),
    _name_pair("bolt_default_cyan", 1389 + TILE_FEAT_MAX),
    _name_pair("bolt_default_green", 1388 + TILE_FEAT_MAX),
    _name_pair("bolt_default_magenta", 1391 + TILE_FEAT_MAX),
    _name_pair("bolt_default_red", 1390 + TILE_FEAT_MAX),
    _name_pair("bolt_default_white", 1393 + TILE_FEAT_MAX),
    _name_pair("bolt_default_yellow", 1392 + TILE_FEAT_MAX),
    _name_pair("bolt_doom", 1577 + TILE_FEAT_MAX),
    _name_pair("bolt_drain", 1483 + TILE_FEAT_MAX),
    _name_pair("bolt_draining_gaze", 1561 + TILE_FEAT_MAX),
    _name_pair("bolt_draining_smirk", 1562 + TILE_FEAT_MAX),
    _name_pair("bolt_entropic_weave", 1559 + TILE_FEAT_MAX),
    _name_pair("bolt_fire_storm", 1404 + TILE_FEAT_MAX),
    _name_pair("bolt_flame", 1395 + TILE_FEAT_MAX),
    _name_pair("bolt_flesh", 1573 + TILE_FEAT_MAX),
    _name_pair("bolt_force_lance", 1527 + TILE_FEAT_MAX),
    _name_pair("bolt_fortress_blast", 1472 + TILE_FEAT_MAX),
    _name_pair("bolt_frost", 1405 + TILE_FEAT_MAX),
    _name_pair("bolt_frostfire", 1594 + TILE_FEAT_MAX),
    _name_pair("bolt_fulsome_electric", 1508 + TILE_FEAT_MAX),
    _name_pair("bolt_fulsome_fire", 1506 + TILE_FEAT_MAX),
    _name_pair("bolt_fulsome_ice", 1507 + TILE_FEAT_MAX),
    _name_pair("bolt_fulsome_poison", 1509 + TILE_FEAT_MAX),
    _name_pair("bolt_fulsome_quintessence", 1510 + TILE_FEAT_MAX),
    _name_pair("bolt_ghostly_fireball", 1579 + TILE_FEAT_MAX),
    _name_pair("bolt_gloom", 1575 + TILE_FEAT_MAX),
    _name_pair("bolt_haemoclasm", 1625 + TILE_FEAT_MAX),
    _name_pair("bolt_harpoon_shot", 1535 + TILE_FEAT_MAX),
    _name_pair("bolt_iceblast", 1415 + TILE_FEAT_MAX),
    _name_pair("bolt_icicle", 1407 + TILE_FEAT_MAX),
    _name_pair("bolt_icicle_salvo", 1417 + TILE_FEAT_MAX),
    _name_pair("bolt_ignite_poison_target", 1400 + TILE_FEAT_MAX),
    _name_pair("bolt_ignite_poison_terrain", 1402 + TILE_FEAT_MAX),
    _name_pair("bolt_iron_shot", 1446 + TILE_FEAT_MAX),
    _name_pair("bolt_irradiate", 1498 + TILE_FEAT_MAX),
    _name_pair("bolt_light", 1514 + TILE_FEAT_MAX),
    _name_pair("bolt_magic_dart", 1462 + TILE_FEAT_MAX),
    _name_pair("bolt_magma", 1398 + TILE_FEAT_MAX),
    _name_pair("bolt_manifold_assault", 1512 + TILE_FEAT_MAX),
    _name_pair("bolt_medium_air", 1431 + TILE_FEAT_MAX),
    _name_pair("bolt_mephitic_flask", 1489 + TILE_FEAT_MAX),
    _name_pair("bolt_metal_splinters", 1565 + TILE_FEAT_MAX),
    _name_pair("bolt_mystic_blast", 1511 + TILE_FEAT_MAX),
    _name_pair("bolt_oblivion_howl", 1592 + TILE_FEAT_MAX),
    _name_pair("bolt_ostracise", 1637 + TILE_FEAT_MAX),
    _name_pair("bolt_paragon_tempest", 1477 + TILE_FEAT_MAX),
    _name_pair("bolt_percussive_tempering", 1471 + TILE_FEAT_MAX),
    _name_pair("bolt_phantom_blitz", 1593 + TILE_FEAT_MAX),
    _name_pair("bolt_pie", 1581 + TILE_FEAT_MAX),
    _name_pair("bolt_poison_arrow", 1543 + TILE_FEAT_MAX),
    _name_pair("bolt_potion_petition", 1619 + TILE_FEAT_MAX),
    _name_pair("bolt_sandblast", 1435 + TILE_FEAT_MAX),
    _name_pair("bolt_sap_magic", 1591 + TILE_FEAT_MAX),
    _name_pair("bolt_searing_ray", 1469 + TILE_FEAT_MAX),
    _name_pair("bolt_sentinel_mark", 1564 + TILE_FEAT_MAX),
    _name_pair("bolt_shadow_beam", 1602 + TILE_FEAT_MAX),
    _name_pair("bolt_shadow_blast", 1607 + TILE_FEAT_MAX),
    _name_pair("bolt_shadow_shard", 1606 + TILE_FEAT_MAX),
    _name_pair("bolt_shadow_shot", 1611 + TILE_FEAT_MAX),
    _name_pair("bolt_splinterspray", 1551 + TILE_FEAT_MAX),
    _name_pair("bolt_sting", 1486 + TILE_FEAT_MAX),
    _name_pair("bolt_stone_arrow", 1438 + TILE_FEAT_MAX),
    _name_pair("bolt_strong_air", 1433 + TILE_FEAT_MAX),
    _name_pair("bolt_sundering", 1479 + TILE_FEAT_MAX),
    _name_pair("bolt_umbral_torchlight", 1638 + TILE_FEAT_MAX),
    _name_pair("bolt_warp_space", 1522 + TILE_FEAT_MAX),
    _name_pair("bolt_weak_air", 1429 + TILE_FEAT_MAX),
    _name_pair("bolt_zap", 1425 + TILE_FEAT_MAX),
    _name_pair("book", 885 + TILE_FEAT_MAX),
    _name_pair("book_manual", 915 + TILE_FEAT_MAX),
    _name_pair("book_randart", 917 + TILE_FEAT_MAX),
    _name_pair("brand_acid", 329 + TILE_FEAT_MAX),
    _name_pair("brand_antimagic", 302 + TILE_FEAT_MAX),
    _name_pair("brand_arm_air", 587 + TILE_FEAT_MAX),
    _name_pair("brand_arm_archery", 589 + TILE_FEAT_MAX),
    _name_pair("brand_arm_archmagi", 567 + TILE_FEAT_MAX),
    _name_pair("brand_arm_attunement", 598 + TILE_FEAT_MAX),
    _name_pair("brand_arm_cloud_immune", 574 + TILE_FEAT_MAX),
    _name_pair("brand_arm_cold_resistance", 553 + TILE_FEAT_MAX),
    _name_pair("brand_arm_command", 590 + TILE_FEAT_MAX),
    _name_pair("brand_arm_corrosion_resistance", 568 + TILE_FEAT_MAX),
    _name_pair("brand_arm_death", 591 + TILE_FEAT_MAX),
    _name_pair("brand_arm_dexterity", 558 + TILE_FEAT_MAX),
    _name_pair("brand_arm_earth", 588 + TILE_FEAT_MAX),
    _name_pair("brand_arm_energy", 583 + TILE_FEAT_MAX),
    _name_pair("brand_arm_fire", 586 + TILE_FEAT_MAX),
    _name_pair("brand_arm_fire_resistance", 552 + TILE_FEAT_MAX),
    _name_pair("brand_arm_first", 551 + TILE_FEAT_MAX),
    _name_pair("brand_arm_flying", 561 + TILE_FEAT_MAX),
    _name_pair("brand_arm_glass", 594 + TILE_FEAT_MAX),
    _name_pair("brand_arm_guile", 582 + TILE_FEAT_MAX),
    _name_pair("brand_arm_harm", 575 + TILE_FEAT_MAX),
    _name_pair("brand_arm_hurling", 571 + TILE_FEAT_MAX),
    _name_pair("brand_arm_ice", 585 + TILE_FEAT_MAX),
    _name_pair("brand_arm_infusion", 578 + TILE_FEAT_MAX),
    _name_pair("brand_arm_intelligence", 559 + TILE_FEAT_MAX),
    _name_pair("brand_arm_invisibility", 556 + TILE_FEAT_MAX),
    _name_pair("brand_arm_jumping", 572 + TILE_FEAT_MAX),
    _name_pair("brand_arm_last", 598 + TILE_FEAT_MAX),
    _name_pair("brand_arm_light", 579 + TILE_FEAT_MAX),
    _name_pair("brand_arm_lunging", 577 + TILE_FEAT_MAX),
    _name_pair("brand_arm_magic_resistance", 562 + TILE_FEAT_MAX),
    _name_pair("brand_arm_mayhem", 581 + TILE_FEAT_MAX),
    _name_pair("brand_arm_mesmerism", 597 + TILE_FEAT_MAX),
    _name_pair("brand_arm_parrying", 593 + TILE_FEAT_MAX),
    _name_pair("brand_arm_poison_resistance", 554 + TILE_FEAT_MAX),
    _name_pair("brand_arm_ponderousness", 560 + TILE_FEAT_MAX),
    _name_pair("brand_arm_positive_energy", 566 + TILE_FEAT_MAX),
    _name_pair("brand_arm_protection", 563 + TILE_FEAT_MAX),
    _name_pair("brand_arm_pyromania", 595 + TILE_FEAT_MAX),
    _name_pair("brand_arm_rage", 580 + TILE_FEAT_MAX),
    _name_pair("brand_arm_reflection", 569 + TILE_FEAT_MAX),
    _name_pair("brand_arm_repulsion", 573 + TILE_FEAT_MAX),
    _name_pair("brand_arm_resistance", 565 + TILE_FEAT_MAX),
    _name_pair("brand_arm_resonance", 592 + TILE_FEAT_MAX),
    _name_pair("brand_arm_running", 551 + TILE_FEAT_MAX),
    _name_pair("brand_arm_see_invisible", 555 + TILE_FEAT_MAX),
    _name_pair("brand_arm_shadows", 576 + TILE_FEAT_MAX),
    _name_pair("brand_arm_sniping", 584 + TILE_FEAT_MAX),
    _name_pair("brand_arm_spirit_shield", 570 + TILE_FEAT_MAX),
    _name_pair("brand_arm_stardust", 596 + TILE_FEAT_MAX),
    _name_pair("brand_arm_stealth", 564 + TILE_FEAT_MAX),
    _name_pair("brand_arm_strength", 557 + TILE_FEAT_MAX),
    _name_pair("brand_blinding", 328 + TILE_FEAT_MAX),
    _name_pair("brand_chaos", 306 + TILE_FEAT_MAX),
    _name_pair("brand_concussion", 316 + TILE_FEAT_MAX),
    _name_pair("brand_confusion", 308 + TILE_FEAT_MAX),
    _name_pair("brand_curare", 321 + TILE_FEAT_MAX),
    _name_pair("brand_devious", 317 + TILE_FEAT_MAX),
    _name_pair("brand_dispersal", 318 + TILE_FEAT_MAX),
    _name_pair("brand_distortion", 303 + TILE_FEAT_MAX),
    _name_pair("brand_dragon_slaying", 292 + TILE_FEAT_MAX),
    _name_pair("brand_draining", 295 + TILE_FEAT_MAX),
    _name_pair("brand_electric", 322 + TILE_FEAT_MAX),
    _name_pair("brand_electrocution", 290 + TILE_FEAT_MAX),
    _name_pair("brand_entangling", 314 + TILE_FEAT_MAX),
    _name_pair("brand_evasion", 307 + TILE_FEAT_MAX),
    _name_pair("brand_explosion", 319 + TILE_FEAT_MAX),
    _name_pair("brand_flame", 298 + TILE_FEAT_MAX),
    _name_pair("brand_flaming", 287 + TILE_FEAT_MAX),
    _name_pair("brand_foul_flame", 330 + TILE_FEAT_MAX),
    _name_pair("brand_freezing", 288 + TILE_FEAT_MAX),
    _name_pair("brand_frenzy", 326 + TILE_FEAT_MAX),
    _name_pair("brand_frost", 299 + TILE_FEAT_MAX),
    _name_pair("brand_heavy", 297 + TILE_FEAT_MAX),
    _name_pair("brand_holy_wrath", 289 + TILE_FEAT_MAX),
    _name_pair("brand_orc_slaying", 291 + TILE_FEAT_MAX),
    _name_pair("brand_pain", 301 + TILE_FEAT_MAX),
    _name_pair("brand_paralysis", 325 + TILE_FEAT_MAX),
    _name_pair("brand_penetration", 309 + TILE_FEAT_MAX),
    _name_pair("brand_poisoned", 320 + TILE_FEAT_MAX),
    _name_pair("brand_protection", 294 + TILE_FEAT_MAX),
    _name_pair("brand_reaching", 304 + TILE_FEAT_MAX),
    _name_pair("brand_reaping", 310 + TILE_FEAT_MAX),
    _name_pair("brand_rebuke", 312 + TILE_FEAT_MAX),
    _name_pair("brand_returning", 305 + TILE_FEAT_MAX),
    _name_pair("brand_sickness", 323 + TILE_FEAT_MAX),
    _name_pair("brand_sleep", 327 + TILE_FEAT_MAX),
    _name_pair("brand_slowing", 324 + TILE_FEAT_MAX),
    _name_pair("brand_spectral", 311 + TILE_FEAT_MAX),
    _name_pair("brand_speed", 296 + TILE_FEAT_MAX),
    _name_pair("brand_sundering", 315 + TILE_FEAT_MAX),
    _name_pair("brand_valour", 313 + TILE_FEAT_MAX),
    _name_pair("brand_vampirism", 300 + TILE_FEAT_MAX),
    _name_pair("brand_venom", 293 + TILE_FEAT_MAX),
    _name_pair("brand_wep_first", 287 + TILE_FEAT_MAX),
    _name_pair("brand_wep_last", 317 + TILE_FEAT_MAX),
    _name_pair("cloud_acid", 1704 + TILE_FEAT_MAX),
    _name_pair("cloud_bats", 1735 + TILE_FEAT_MAX),
    _name_pair("cloud_black_smoke", 1659 + TILE_FEAT_MAX),
    _name_pair("cloud_blastmotes", 1729 + TILE_FEAT_MAX),
    _name_pair("cloud_blue_smoke", 1660 + TILE_FEAT_MAX),
    _name_pair("cloud_chaos", 1689 + TILE_FEAT_MAX),
    _name_pair("cloud_cold", 1650 + TILE_FEAT_MAX),
    _name_pair("cloud_degeneration", 1728 + TILE_FEAT_MAX),
    _name_pair("cloud_dust", 1680 + TILE_FEAT_MAX),
    _name_pair("cloud_electricity", 1720 + TILE_FEAT_MAX),
    _name_pair("cloud_faint_miasma", 1724 + TILE_FEAT_MAX),
    _name_pair("cloud_fire", 1647 + TILE_FEAT_MAX),
    _name_pair("cloud_flame", 1716 + TILE_FEAT_MAX),
    _name_pair("cloud_forest_fire", 1700 + TILE_FEAT_MAX),
    _name_pair("cloud_freezing_winds_0", 1694 + TILE_FEAT_MAX),
    _name_pair("cloud_freezing_winds_1", 1695 + TILE_FEAT_MAX),
    _name_pair("cloud_gloom", 1688 + TILE_FEAT_MAX),
    _name_pair("cloud_gold_dust", 1712 + TILE_FEAT_MAX),
    _name_pair("cloud_grey_smoke", 1661 + TILE_FEAT_MAX),
    _name_pair("cloud_ink", 1687 + TILE_FEAT_MAX),
    _name_pair("cloud_magic_trail", 1676 + TILE_FEAT_MAX),
    _name_pair("cloud_magnetised_dust", 1732 + TILE_FEAT_MAX),
    _name_pair("cloud_mephitic", 1656 + TILE_FEAT_MAX),
    _name_pair("cloud_miasma", 1664 + TILE_FEAT_MAX),
    _name_pair("cloud_misery", 1709 + TILE_FEAT_MAX),
    _name_pair("cloud_mist", 1686 + TILE_FEAT_MAX),
    _name_pair("cloud_mutagenic_0", 1668 + TILE_FEAT_MAX),
    _name_pair("cloud_mutagenic_1", 1670 + TILE_FEAT_MAX),
    _name_pair("cloud_mutagenic_2", 1672 + TILE_FEAT_MAX),
    _name_pair("cloud_petrify", 1696 + TILE_FEAT_MAX),
    _name_pair("cloud_poison", 1653 + TILE_FEAT_MAX),
    _name_pair("cloud_rain", 1684 + TILE_FEAT_MAX),
    _name_pair("cloud_rust", 1739 + TILE_FEAT_MAX),
    _name_pair("cloud_spectral", 1701 + TILE_FEAT_MAX),
    _name_pair("cloud_storm", 1707 + TILE_FEAT_MAX),
    _name_pair("cloud_tloc_energy", 1667 + TILE_FEAT_MAX),
    _name_pair("cloud_white_smoke", 1663 + TILE_FEAT_MAX),
    _name_pair("cloud_yellow_smoke", 1662 + TILE_FEAT_MAX),
    _name_pair("corpse_acid_dragon", 1345 + TILE_FEAT_MAX),
    _name_pair("corpse_adder", 1265 + TILE_FEAT_MAX),
    _name_pair("corpse_alligator", 1228 + TILE_FEAT_MAX),
    _name_pair("corpse_alligator_snapping_turtle", 1230 + TILE_FEAT_MAX),
    _name_pair("corpse_anaconda", 1268 + TILE_FEAT_MAX),
    _name_pair("corpse_apis", 1279 + TILE_FEAT_MAX),
    _name_pair("corpse_apocalypse_crab", 1234 + TILE_FEAT_MAX),
    _name_pair("corpse_arachne", 1362 + TILE_FEAT_MAX),
    _name_pair("corpse_armataur", 1361 + TILE_FEAT_MAX),
    _name_pair("corpse_ball_python", 1264 + TILE_FEAT_MAX),
    _name_pair("corpse_barachi", 1258 + TILE_FEAT_MAX),
    _name_pair("corpse_basilisk", 1210 + TILE_FEAT_MAX),
    _name_pair("corpse_bat", 1191 + TILE_FEAT_MAX),
    _name_pair("corpse_black_bear", 1205 + TILE_FEAT_MAX),
    _name_pair("corpse_black_draconian", 1377 + TILE_FEAT_MAX),
    _name_pair("corpse_black_mamba", 1266 + TILE_FEAT_MAX),
    _name_pair("corpse_blink_frog", 1260 + TILE_FEAT_MAX),
    _name_pair("corpse_bog_body", 1299 + TILE_FEAT_MAX),
    _name_pair("corpse_bombardier_beetle", 1255 + TILE_FEAT_MAX),
    _name_pair("corpse_boulder_beetle", 1256 + TILE_FEAT_MAX),
    _name_pair("corpse_brain_worm", 1236 + TILE_FEAT_MAX),
    _name_pair("corpse_broodmother", 1224 + TILE_FEAT_MAX),
    _name_pair("corpse_brown_draconian", 1378 + TILE_FEAT_MAX),
    _name_pair("corpse_bullfrog", 1259 + TILE_FEAT_MAX),
    _name_pair("corpse_bunyip", 1376 + TILE_FEAT_MAX),
    _name_pair("corpse_cane_toad", 1261 + TILE_FEAT_MAX),
    _name_pair("corpse_catoblepas", 1277 + TILE_FEAT_MAX),
    _name_pair("corpse_caustic_shrike", 1193 + TILE_FEAT_MAX),
    _name_pair("corpse_centaur", 1283 + TILE_FEAT_MAX),
    _name_pair("corpse_chonchon", 1374 + TILE_FEAT_MAX),
    _name_pair("corpse_clockroach", 1189 + TILE_FEAT_MAX),
    _name_pair("corpse_cognitogaunt", 1302 + TILE_FEAT_MAX),
    _name_pair("corpse_crocodile", 1227 + TILE_FEAT_MAX),
    _name_pair("corpse_culicivora", 1225 + TILE_FEAT_MAX),
    _name_pair("corpse_cyclops", 1331 + TILE_FEAT_MAX),
    _name_pair("corpse_dart_slug", 1241 + TILE_FEAT_MAX),
    _name_pair("corpse_death_drake", 1293 + TILE_FEAT_MAX),
    _name_pair("corpse_death_scarab", 1257 + TILE_FEAT_MAX),
    _name_pair("corpse_death_yak", 1273 + TILE_FEAT_MAX),
    _name_pair("corpse_deep_dwarf", 1317 + TILE_FEAT_MAX),
    _name_pair("corpse_deep_troll", 1373 + TILE_FEAT_MAX),
    _name_pair("corpse_demigod", 1306 + TILE_FEAT_MAX),
    _name_pair("corpse_demonic_crawler", 1226 + TILE_FEAT_MAX),
    _name_pair("corpse_demonspawn", 1386 + TILE_FEAT_MAX),
    _name_pair("corpse_dire_elephant", 1275 + TILE_FEAT_MAX),
    _name_pair("corpse_dream_sheep", 1271 + TILE_FEAT_MAX),
    _name_pair("corpse_dryad", 1296 + TILE_FEAT_MAX),
    _name_pair("corpse_dwarf", 1316 + TILE_FEAT_MAX),
    _name_pair("corpse_electric_eel", 1252 + TILE_FEAT_MAX),
    _name_pair("corpse_eleionoma", 1298 + TILE_FEAT_MAX),
    _name_pair("corpse_elephant", 1274 + TILE_FEAT_MAX),
    _name_pair("corpse_elephant_slug", 1240 + TILE_FEAT_MAX),
    _name_pair("corpse_elf", 1285 + TILE_FEAT_MAX),
    _name_pair("corpse_emperor_scorpion", 1218 + TILE_FEAT_MAX),
    _name_pair("corpse_entropy_weaver", 1313 + TILE_FEAT_MAX),
    _name_pair("corpse_ettin", 1330 + TILE_FEAT_MAX),
    _name_pair("corpse_faun", 1281 + TILE_FEAT_MAX),
    _name_pair("corpse_felid", 1207 + TILE_FEAT_MAX),
    _name_pair("corpse_fenstrider_witch", 1356 + TILE_FEAT_MAX),
    _name_pair("corpse_fire_crab", 1232 + TILE_FEAT_MAX),
    _name_pair("corpse_fire_dragon", 1340 + TILE_FEAT_MAX),
    _name_pair("corpse_fire_giant", 1332 + TILE_FEAT_MAX),
    _name_pair("corpse_formicid", 1280 + TILE_FEAT_MAX),
    _name_pair("corpse_frilled_lizard", 1208 + TILE_FEAT_MAX),
    _name_pair("corpse_frost_giant", 1333 + TILE_FEAT_MAX),
    _name_pair("corpse_ghost_crab", 1233 + TILE_FEAT_MAX),
    _name_pair("corpse_ghost_moth", 1248 + TILE_FEAT_MAX),
    _name_pair("corpse_ghoul", 1301 + TILE_FEAT_MAX),
    _name_pair("corpse_glowing_shapeshifter", 1315 + TILE_FEAT_MAX),
    _name_pair("corpse_gnoll", 1288 + TILE_FEAT_MAX),
    _name_pair("corpse_goblin", 1286 + TILE_FEAT_MAX),
    _name_pair("corpse_golden_dragon", 1349 + TILE_FEAT_MAX),
    _name_pair("corpse_goliath_frog", 1262 + TILE_FEAT_MAX),
    _name_pair("corpse_green_draconian", 1379 + TILE_FEAT_MAX),
    _name_pair("corpse_grey_draconian", 1380 + TILE_FEAT_MAX),
    _name_pair("corpse_guardian_serpent", 1366 + TILE_FEAT_MAX),
    _name_pair("corpse_guardian_sphinx", 1358 + TILE_FEAT_MAX),
    _name_pair("corpse_halfling", 1304 + TILE_FEAT_MAX),
    _name_pair("corpse_harpy", 1354 + TILE_FEAT_MAX),
    _name_pair("corpse_hell_hog", 1204 + TILE_FEAT_MAX),
    _name_pair("corpse_hell_hound", 1201 + TILE_FEAT_MAX),
    _name_pair("corpse_hell_rat", 1216 + TILE_FEAT_MAX),
    _name_pair("corpse_hellephant", 1276 + TILE_FEAT_MAX),
    _name_pair("corpse_hippogriff", 1352 + TILE_FEAT_MAX),
    _name_pair("corpse_hobgoblin", 1287 + TILE_FEAT_MAX),
    _name_pair("corpse_hog", 1200 + TILE_FEAT_MAX),
    _name_pair("corpse_hornet", 1246 + TILE_FEAT_MAX),
    _name_pair("corpse_hound", 1196 + TILE_FEAT_MAX),
    _name_pair("corpse_howler_monkey", 1197 + TILE_FEAT_MAX),
    _name_pair("corpse_human", 1307 + TILE_FEAT_MAX),
    _name_pair("corpse_hydra", 1341 + TILE_FEAT_MAX),
    _name_pair("corpse_ice_dragon", 1343 + TILE_FEAT_MAX),
    _name_pair("corpse_iguana", 1209 + TILE_FEAT_MAX),
    _name_pair("corpse_iron_dragon", 1347 + TILE_FEAT_MAX),
    _name_pair("corpse_iron_giant", 1337 + TILE_FEAT_MAX),
    _name_pair("corpse_iron_troll", 1372 + TILE_FEAT_MAX),
    _name_pair("corpse_jackal", 1195 + TILE_FEAT_MAX),
    _name_pair("corpse_jorogumo", 1360 + TILE_FEAT_MAX),
    _name_pair("corpse_juggernaut", 1336 + TILE_FEAT_MAX),
    _name_pair("corpse_jumping_spider", 1220 + TILE_FEAT_MAX),
    _name_pair("corpse_killer_bee", 1243 + TILE_FEAT_MAX),
    _name_pair("corpse_killer_klown", 1308 + TILE_FEAT_MAX),
    _name_pair("corpse_kobold", 1364 + TILE_FEAT_MAX),
    _name_pair("corpse_komodo_dragon", 1212 + TILE_FEAT_MAX),
    _name_pair("corpse_kraken", 1254 + TILE_FEAT_MAX),
    _name_pair("corpse_lava_snake", 1253 + TILE_FEAT_MAX),
    _name_pair("corpse_lindwurm", 1292 + TILE_FEAT_MAX),
    _name_pair("corpse_manticore", 1353 + TILE_FEAT_MAX),
    _name_pair("corpse_meliai", 1251 + TILE_FEAT_MAX),
    _name_pair("corpse_merfolk", 1295 + TILE_FEAT_MAX),
    _name_pair("corpse_meteoran", 1305 + TILE_FEAT_MAX),
    _name_pair("corpse_minotaur", 1355 + TILE_FEAT_MAX),
    _name_pair("corpse_moth_of_wrath", 1249 + TILE_FEAT_MAX),
    _name_pair("corpse_mountainshell", 1231 + TILE_FEAT_MAX),
    _name_pair("corpse_mutant_beast", 1363 + TILE_FEAT_MAX),
    _name_pair("corpse_naga", 1365 + TILE_FEAT_MAX),
    _name_pair("corpse_necrophage", 1300 + TILE_FEAT_MAX),
    _name_pair("corpse_oblivion_hound", 1202 + TILE_FEAT_MAX),
    _name_pair("corpse_octopode", 1375 + TILE_FEAT_MAX),
    _name_pair("corpse_ogre", 1369 + TILE_FEAT_MAX),
    _name_pair("corpse_oni", 1368 + TILE_FEAT_MAX),
    _name_pair("corpse_orb_spider", 1223 + TILE_FEAT_MAX),
    _name_pair("corpse_orc", 1303 + TILE_FEAT_MAX),
    _name_pair("corpse_pale_draconian", 1381 + TILE_FEAT_MAX),
    _name_pair("corpse_pearl_dragon", 1351 + TILE_FEAT_MAX),
    _name_pair("corpse_polar_bear", 1206 + TILE_FEAT_MAX),
    _name_pair("corpse_purple_draconian", 1382 + TILE_FEAT_MAX),
    _name_pair("corpse_queen_bee", 1244 + TILE_FEAT_MAX),
    _name_pair("corpse_quicksilver_dragon", 1346 + TILE_FEAT_MAX),
    _name_pair("corpse_quokka", 1214 + TILE_FEAT_MAX),
    _name_pair("corpse_radroach", 1190 + TILE_FEAT_MAX),
    _name_pair("corpse_raiju", 1203 + TILE_FEAT_MAX),
    _name_pair("corpse_rat", 1213 + TILE_FEAT_MAX),
    _name_pair("corpse_raven", 1192 + TILE_FEAT_MAX),
    _name_pair("corpse_red_draconian", 1383 + TILE_FEAT_MAX),
    _name_pair("corpse_redback", 1222 + TILE_FEAT_MAX),
    _name_pair("corpse_ribbon_worm", 1235 + TILE_FEAT_MAX),
    _name_pair("corpse_rime_drake", 1291 + TILE_FEAT_MAX),
    _name_pair("corpse_river_rat", 1215 + TILE_FEAT_MAX),
    _name_pair("corpse_salamander", 1367 + TILE_FEAT_MAX),
    _name_pair("corpse_satyr", 1282 + TILE_FEAT_MAX),
    _name_pair("corpse_scorpion", 1217 + TILE_FEAT_MAX),
    _name_pair("corpse_sea_snake", 1269 + TILE_FEAT_MAX),
    _name_pair("corpse_seismosaurus", 1211 + TILE_FEAT_MAX),
    _name_pair("corpse_shadow_dragon", 1350 + TILE_FEAT_MAX),
    _name_pair("corpse_shapeshifter", 1314 + TILE_FEAT_MAX),
    _name_pair("corpse_shard_shrike", 1194 + TILE_FEAT_MAX),
    _name_pair("corpse_shock_serpent", 1270 + TILE_FEAT_MAX),
    _name_pair("corpse_sky_beast", 1278 + TILE_FEAT_MAX),
    _name_pair("corpse_skyshark", 1263 + TILE_FEAT_MAX),
    _name_pair("corpse_snapping_turtle", 1229 + TILE_FEAT_MAX),
    _name_pair("corpse_spark_wasp", 1247 + TILE_FEAT_MAX),
    _name_pair("corpse_sphinx_marauder", 1357 + TILE_FEAT_MAX),
    _name_pair("corpse_spriggan", 1289 + TILE_FEAT_MAX),
    _name_pair("corpse_steam_dragon", 1342 + TILE_FEAT_MAX),
    _name_pair("corpse_steelbarb_worm", 1242 + TILE_FEAT_MAX),
    _name_pair("corpse_stone_giant", 1334 + TILE_FEAT_MAX),
    _name_pair("corpse_storm_dragon", 1348 + TILE_FEAT_MAX),
    _name_pair("corpse_sun_moth", 1250 + TILE_FEAT_MAX),
    _name_pair("corpse_swamp_dragon", 1344 + TILE_FEAT_MAX),
    _name_pair("corpse_swamp_drake", 1290 + TILE_FEAT_MAX),
    _name_pair("corpse_swamp_worm", 1237 + TILE_FEAT_MAX),
    _name_pair("corpse_tainted_leviathan", 1338 + TILE_FEAT_MAX),
    _name_pair("corpse_tarantella", 1219 + TILE_FEAT_MAX),
    _name_pair("corpse_tengu", 1359 + TILE_FEAT_MAX),
    _name_pair("corpse_titan", 1335 + TILE_FEAT_MAX),
    _name_pair("corpse_torpor_snail", 1239 + TILE_FEAT_MAX),
    _name_pair("corpse_troll", 1371 + TILE_FEAT_MAX),
    _name_pair("corpse_two_headed_ogre", 1370 + TILE_FEAT_MAX),
    _name_pair("corpse_tyrant_leech", 1238 + TILE_FEAT_MAX),
    _name_pair("corpse_ugly_thing", 1318 + TILE_FEAT_MAX),
    _name_pair("corpse_vampire_mosquito", 1245 + TILE_FEAT_MAX),
    _name_pair("corpse_very_ugly_thing", 1324 + TILE_FEAT_MAX),
    _name_pair("corpse_warg", 1198 + TILE_FEAT_MAX),
    _name_pair("corpse_water_moccasin", 1267 + TILE_FEAT_MAX),
    _name_pair("corpse_water_nymph", 1297 + TILE_FEAT_MAX),
    _name_pair("corpse_white_draconian", 1384 + TILE_FEAT_MAX),
    _name_pair("corpse_wind_drake", 1294 + TILE_FEAT_MAX),
    _name_pair("corpse_wolf", 1199 + TILE_FEAT_MAX),
    _name_pair("corpse_wolf_spider", 1221 + TILE_FEAT_MAX),
    _name_pair("corpse_wyvern", 1339 + TILE_FEAT_MAX),
    _name_pair("corpse_yak", 1272 + TILE_FEAT_MAX),
    _name_pair("corpse_yaktaur", 1284 + TILE_FEAT_MAX),
    _name_pair("corpse_yellow_draconian", 1385 + TILE_FEAT_MAX),
    _name_pair("deep_troll_leather", 478 + TILE_FEAT_MAX),
    _name_pair("error", 1759 + TILE_FEAT_MAX),
    _name_pair("food_apple", 644 + TILE_FEAT_MAX),
    _name_pair("food_bone", 659 + TILE_FEAT_MAX),
    _name_pair("food_bone_humanoid", 655 + TILE_FEAT_MAX),
    _name_pair("food_chunk", 663 + TILE_FEAT_MAX),
    _name_pair("food_chunk_forbidden", 665 + TILE_FEAT_MAX),
    _name_pair("food_chunk_inedible", 666 + TILE_FEAT_MAX),
    _name_pair("food_chunk_rotting", 664 + TILE_FEAT_MAX),
    _name_pair("food_forbidden", 668 + TILE_FEAT_MAX),
    _name_pair("food_fruit_first", 644 + TILE_FEAT_MAX),
    _name_pair("food_fruit_inventory", 654 + TILE_FEAT_MAX),
    _name_pair("food_fruit_last", 653 + TILE_FEAT_MAX),
    _name_pair("food_honeycomb", 640 + TILE_FEAT_MAX),
    _name_pair("food_inedible", 669 + TILE_FEAT_MAX),
    _name_pair("food_pizza", 642 + TILE_FEAT_MAX),
    _name_pair("food_ration", 637 + TILE_FEAT_MAX),
    _name_pair("food_ration_first", 637 + TILE_FEAT_MAX),
    _name_pair("food_ration_inventory", 637 + TILE_FEAT_MAX),
    _name_pair("food_ration_last", 654 + TILE_FEAT_MAX),
    _name_pair("food_rotting", 667 + TILE_FEAT_MAX),
    _name_pair("gem_crypt", 1121 + TILE_FEAT_MAX),
    _name_pair("gem_depths", 1125 + TILE_FEAT_MAX),
    _name_pair("gem_dungeon", 1101 + TILE_FEAT_MAX),
    _name_pair("gem_elf", 1105 + TILE_FEAT_MAX),
    _name_pair("gem_generic", 1129 + TILE_FEAT_MAX),
    _name_pair("gem_lair", 1107 + TILE_FEAT_MAX),
    _name_pair("gem_orc", 1103 + TILE_FEAT_MAX),
    _name_pair("gem_shoals", 1111 + TILE_FEAT_MAX),
    _name_pair("gem_slime", 1117 + TILE_FEAT_MAX),
    _name_pair("gem_snake", 1113 + TILE_FEAT_MAX),
    _name_pair("gem_spider", 1115 + TILE_FEAT_MAX),
    _name_pair("gem_swamp", 1109 + TILE_FEAT_MAX),
    _name_pair("gem_tomb", 1123 + TILE_FEAT_MAX),
    _name_pair("gem_vaults", 1119 + TILE_FEAT_MAX),
    _name_pair("gem_zot", 1127 + TILE_FEAT_MAX),
    _name_pair("gizmo", 875 + TILE_FEAT_MAX),
    _name_pair("gold01", 1173 + TILE_FEAT_MAX),
    _name_pair("gold02", 1174 + TILE_FEAT_MAX),
    _name_pair("gold03", 1175 + TILE_FEAT_MAX),
    _name_pair("gold04", 1176 + TILE_FEAT_MAX),
    _name_pair("gold05", 1177 + TILE_FEAT_MAX),
    _name_pair("gold06", 1178 + TILE_FEAT_MAX),
    _name_pair("gold07", 1179 + TILE_FEAT_MAX),
    _name_pair("gold08", 1180 + TILE_FEAT_MAX),
    _name_pair("gold09", 1181 + TILE_FEAT_MAX),
    _name_pair("gold10", 1182 + TILE_FEAT_MAX),
    _name_pair("gold16", 1183 + TILE_FEAT_MAX),
    _name_pair("gold19", 1184 + TILE_FEAT_MAX),
    _name_pair("gold23", 1185 + TILE_FEAT_MAX),
    _name_pair("gold25", 1186 + TILE_FEAT_MAX),
    _name_pair("indicator", 1639 + TILE_FEAT_MAX),
    _name_pair("iron_troll_leather", 479 + TILE_FEAT_MAX),
    _name_pair("item_page_next", 1187 + TILE_FEAT_MAX),
    _name_pair("item_page_previous", 1188 + TILE_FEAT_MAX),
    _name_pair("item_slot", 1754 + TILE_FEAT_MAX),
    _name_pair("item_slot_cursed", 1756 + TILE_FEAT_MAX),
    _name_pair("item_slot_equip", 1755 + TILE_FEAT_MAX),
    _name_pair("item_slot_equip_cursed", 1757 + TILE_FEAT_MAX),
    _name_pair("item_slot_vehumet", 1758 + TILE_FEAT_MAX),
    _name_pair("kite_shield_deep_dwarf", 507 + TILE_FEAT_MAX),
    _name_pair("kite_shield_deep_dwarf_scion", 508 + TILE_FEAT_MAX),
    _name_pair("kite_shield_donald", 510 + TILE_FEAT_MAX),
    _name_pair("mi_arrow", 346 + TILE_FEAT_MAX),
    _name_pair("mi_arrow0", 352 + TILE_FEAT_MAX),
    _name_pair("mi_arrow1", 353 + TILE_FEAT_MAX),
    _name_pair("mi_arrow2", 354 + TILE_FEAT_MAX),
    _name_pair("mi_arrow3", 355 + TILE_FEAT_MAX),
    _name_pair("mi_arrow4", 356 + TILE_FEAT_MAX),
    _name_pair("mi_arrow5", 357 + TILE_FEAT_MAX),
    _name_pair("mi_arrow6", 358 + TILE_FEAT_MAX),
    _name_pair("mi_arrow7", 359 + TILE_FEAT_MAX),
    _name_pair("mi_arrow_magic", 347 + TILE_FEAT_MAX),
    _name_pair("mi_arrow_silver", 350 + TILE_FEAT_MAX),
    _name_pair("mi_arrow_silver_magic", 351 + TILE_FEAT_MAX),
    _name_pair("mi_arrow_steel", 348 + TILE_FEAT_MAX),
    _name_pair("mi_arrow_steel_magic", 349 + TILE_FEAT_MAX),
    _name_pair("mi_bolt", 360 + TILE_FEAT_MAX),
    _name_pair("mi_bolt0", 366 + TILE_FEAT_MAX),
    _name_pair("mi_bolt1", 367 + TILE_FEAT_MAX),
    _name_pair("mi_bolt2", 368 + TILE_FEAT_MAX),
    _name_pair("mi_bolt3", 369 + TILE_FEAT_MAX),
    _name_pair("mi_bolt4", 370 + TILE_FEAT_MAX),
    _name_pair("mi_bolt5", 371 + TILE_FEAT_MAX),
    _name_pair("mi_bolt6", 372 + TILE_FEAT_MAX),
    _name_pair("mi_bolt7", 373 + TILE_FEAT_MAX),
    _name_pair("mi_bolt_magic", 361 + TILE_FEAT_MAX),
    _name_pair("mi_bolt_silver", 364 + TILE_FEAT_MAX),
    _name_pair("mi_bolt_silver_magic", 365 + TILE_FEAT_MAX),
    _name_pair("mi_bolt_steel", 362 + TILE_FEAT_MAX),
    _name_pair("mi_bolt_steel_magic", 363 + TILE_FEAT_MAX),
    _name_pair("mi_boomerang", 374 + TILE_FEAT_MAX),
    _name_pair("mi_boomerang0", 377 + TILE_FEAT_MAX),
    _name_pair("mi_boomerang1", 378 + TILE_FEAT_MAX),
    _name_pair("mi_boomerang2", 379 + TILE_FEAT_MAX),
    _name_pair("mi_boomerang3", 380 + TILE_FEAT_MAX),
    _name_pair("mi_boomerang_magic", 375 + TILE_FEAT_MAX),
    _name_pair("mi_boomerang_silver", 376 + TILE_FEAT_MAX),
    _name_pair("mi_dart", 381 + TILE_FEAT_MAX),
    _name_pair("mi_dart0", 388 + TILE_FEAT_MAX),
    _name_pair("mi_dart1", 389 + TILE_FEAT_MAX),
    _name_pair("mi_dart2", 390 + TILE_FEAT_MAX),
    _name_pair("mi_dart3", 391 + TILE_FEAT_MAX),
    _name_pair("mi_dart4", 392 + TILE_FEAT_MAX),
    _name_pair("mi_dart5", 393 + TILE_FEAT_MAX),
    _name_pair("mi_dart6", 394 + TILE_FEAT_MAX),
    _name_pair("mi_dart7", 395 + TILE_FEAT_MAX),
    _name_pair("mi_dart_blinding", 383 + TILE_FEAT_MAX),
    _name_pair("mi_dart_curare", 384 + TILE_FEAT_MAX),
    _name_pair("mi_dart_disjunction", 387 + TILE_FEAT_MAX),
    _name_pair("mi_dart_frenzy", 385 + TILE_FEAT_MAX),
    _name_pair("mi_dart_magic", 382 + TILE_FEAT_MAX),
    _name_pair("mi_dart_poisoned", 386 + TILE_FEAT_MAX),
    _name_pair("mi_javelin", 396 + TILE_FEAT_MAX),
    _name_pair("mi_javelin0", 402 + TILE_FEAT_MAX),
    _name_pair("mi_javelin1", 403 + TILE_FEAT_MAX),
    _name_pair("mi_javelin2", 404 + TILE_FEAT_MAX),
    _name_pair("mi_javelin3", 405 + TILE_FEAT_MAX),
    _name_pair("mi_javelin4", 406 + TILE_FEAT_MAX),
    _name_pair("mi_javelin5", 407 + TILE_FEAT_MAX),
    _name_pair("mi_javelin6", 408 + TILE_FEAT_MAX),
    _name_pair("mi_javelin7", 409 + TILE_FEAT_MAX),
    _name_pair("mi_javelin_magic", 397 + TILE_FEAT_MAX),
    _name_pair("mi_javelin_silver", 400 + TILE_FEAT_MAX),
    _name_pair("mi_javelin_silver_magic", 401 + TILE_FEAT_MAX),
    _name_pair("mi_javelin_steel", 398 + TILE_FEAT_MAX),
    _name_pair("mi_javelin_steel_magic", 399 + TILE_FEAT_MAX),
    _name_pair("mi_large_rock", 419 + TILE_FEAT_MAX),
    _name_pair("mi_large_rock0", 420 + TILE_FEAT_MAX),
    _name_pair("mi_sling_bullet", 334 + TILE_FEAT_MAX),
    _name_pair("mi_sling_bullet0", 340 + TILE_FEAT_MAX),
    _name_pair("mi_sling_bullet0_magic", 341 + TILE_FEAT_MAX),
    _name_pair("mi_sling_bullet_magic", 335 + TILE_FEAT_MAX),
    _name_pair("mi_sling_bullet_silver", 338 + TILE_FEAT_MAX),
    _name_pair("mi_sling_bullet_silver0", 344 + TILE_FEAT_MAX),
    _name_pair("mi_sling_bullet_silver0_magic", 345 + TILE_FEAT_MAX),
    _name_pair("mi_sling_bullet_silver_magic", 339 + TILE_FEAT_MAX),
    _name_pair("mi_sling_bullet_steel", 336 + TILE_FEAT_MAX),
    _name_pair("mi_sling_bullet_steel0", 342 + TILE_FEAT_MAX),
    _name_pair("mi_sling_bullet_steel0_magic", 343 + TILE_FEAT_MAX),
    _name_pair("mi_sling_bullet_steel_magic", 337 + TILE_FEAT_MAX),
    _name_pair("mi_slug0", 421 + TILE_FEAT_MAX),
    _name_pair("mi_slug1", 422 + TILE_FEAT_MAX),
    _name_pair("mi_slug2", 423 + TILE_FEAT_MAX),
    _name_pair("mi_slug3", 424 + TILE_FEAT_MAX),
    _name_pair("mi_slug4", 425 + TILE_FEAT_MAX),
    _name_pair("mi_slug5", 426 + TILE_FEAT_MAX),
    _name_pair("mi_slug6", 427 + TILE_FEAT_MAX),
    _name_pair("mi_slug7", 428 + TILE_FEAT_MAX),
    _name_pair("mi_stone", 332 + TILE_FEAT_MAX),
    _name_pair("mi_stone0", 333 + TILE_FEAT_MAX),
    _name_pair("mi_throwing_net", 410 + TILE_FEAT_MAX),
    _name_pair("mi_throwing_net0", 411 + TILE_FEAT_MAX),
    _name_pair("mi_throwing_net1", 412 + TILE_FEAT_MAX),
    _name_pair("mi_throwing_net2", 413 + TILE_FEAT_MAX),
    _name_pair("mi_throwing_net3", 414 + TILE_FEAT_MAX),
    _name_pair("mi_throwing_net4", 415 + TILE_FEAT_MAX),
    _name_pair("mi_throwing_net5", 416 + TILE_FEAT_MAX),
    _name_pair("mi_throwing_net6", 417 + TILE_FEAT_MAX),
    _name_pair("mi_throwing_net7", 418 + TILE_FEAT_MAX),
    _name_pair("misc_bottled_efreet", 1049 + TILE_FEAT_MAX),
    _name_pair("misc_box_of_beasts", 1067 + TILE_FEAT_MAX),
    _name_pair("misc_box_of_beasts_inert", 1068 + TILE_FEAT_MAX),
    _name_pair("misc_condenser_vane", 1063 + TILE_FEAT_MAX),
    _name_pair("misc_condenser_vane_inert", 1064 + TILE_FEAT_MAX),
    _name_pair("misc_crystal_ball_of_energy", 1050 + TILE_FEAT_MAX),
    _name_pair("misc_fan_of_gales", 1051 + TILE_FEAT_MAX),
    _name_pair("misc_fan_of_gales_inert", 1052 + TILE_FEAT_MAX),
    _name_pair("misc_horn_of_geryon", 1066 + TILE_FEAT_MAX),
    _name_pair("misc_lamp_of_fire", 1053 + TILE_FEAT_MAX),
    _name_pair("misc_lamp_of_fire_inert", 1054 + TILE_FEAT_MAX),
    _name_pair("misc_lantern_of_shadows", 1065 + TILE_FEAT_MAX),
    _name_pair("misc_lightning_rod", 1059 + TILE_FEAT_MAX),
    _name_pair("misc_lightning_rod_inert", 1060 + TILE_FEAT_MAX),
    _name_pair("misc_phantom_mirror", 1071 + TILE_FEAT_MAX),
    _name_pair("misc_phial_of_floods", 1057 + TILE_FEAT_MAX),
    _name_pair("misc_phial_of_floods_inert", 1058 + TILE_FEAT_MAX),
    _name_pair("misc_quad_damage", 1073 + TILE_FEAT_MAX),
    _name_pair("misc_rune_of_zot", 1077 + TILE_FEAT_MAX),
    _name_pair("misc_sack_of_spiders", 1069 + TILE_FEAT_MAX),
    _name_pair("misc_sack_of_spiders_inert", 1070 + TILE_FEAT_MAX),
    _name_pair("misc_shop_voucher", 1076 + TILE_FEAT_MAX),
    _name_pair("misc_stone_of_tremors", 1055 + TILE_FEAT_MAX),
    _name_pair("misc_stone_of_tremors_inert", 1056 + TILE_FEAT_MAX),
    _name_pair("misc_tambourine", 1074 + TILE_FEAT_MAX),
    _name_pair("misc_tambourine_inert", 1075 + TILE_FEAT_MAX),
    _name_pair("misc_tin_of_tremorstones", 1061 + TILE_FEAT_MAX),
    _name_pair("misc_tin_of_tremorstones_inert", 1062 + TILE_FEAT_MAX),
    _name_pair("misc_uncollected_rune_of_zot", 1154 + TILE_FEAT_MAX),
    _name_pair("misc_ziggurat", 1072 + TILE_FEAT_MAX),
    _name_pair("modifier_chaotic", 331 + TILE_FEAT_MAX),
    _name_pair("mons_sensed_easy", 1750 + TILE_FEAT_MAX),
    _name_pair("mons_sensed_friendly", 1748 + TILE_FEAT_MAX),
    _name_pair("mons_sensed_nasty", 1752 + TILE_FEAT_MAX),
    _name_pair("mons_sensed_tough", 1751 + TILE_FEAT_MAX),
    _name_pair("mons_sensed_trivial", 1749 + TILE_FEAT_MAX),
    _name_pair("orb", 1043 + TILE_FEAT_MAX),
    _name_pair("parchment_high", 992 + TILE_FEAT_MAX),
    _name_pair("parchment_left_air", 933 + TILE_FEAT_MAX),
    _name_pair("parchment_left_air_high", 944 + TILE_FEAT_MAX),
    _name_pair("parchment_left_alchemy", 931 + TILE_FEAT_MAX),
    _name_pair("parchment_left_alchemy_high", 942 + TILE_FEAT_MAX),
    _name_pair("parchment_left_conjurations", 924 + TILE_FEAT_MAX),
    _name_pair("parchment_left_conjurations_high", 935 + TILE_FEAT_MAX),
    _name_pair("parchment_left_earth", 932 + TILE_FEAT_MAX),
    _name_pair("parchment_left_earth_high", 943 + TILE_FEAT_MAX),
    _name_pair("parchment_left_fire", 926 + TILE_FEAT_MAX),
    _name_pair("parchment_left_fire_high", 937 + TILE_FEAT_MAX),
    _name_pair("parchment_left_first", 924 + TILE_FEAT_MAX),
    _name_pair("parchment_left_forgecraft", 934 + TILE_FEAT_MAX),
    _name_pair("parchment_left_forgecraft_high", 945 + TILE_FEAT_MAX),
    _name_pair("parchment_left_hexes", 925 + TILE_FEAT_MAX),
    _name_pair("parchment_left_hexes_high", 936 + TILE_FEAT_MAX),
    _name_pair("parchment_left_high_first", 935 + TILE_FEAT_MAX),
    _name_pair("parchment_left_ice", 927 + TILE_FEAT_MAX),
    _name_pair("parchment_left_ice_high", 938 + TILE_FEAT_MAX),
    _name_pair("parchment_left_necromancy", 928 + TILE_FEAT_MAX),
    _name_pair("parchment_left_necromancy_high", 939 + TILE_FEAT_MAX),
    _name_pair("parchment_left_summoning", 929 + TILE_FEAT_MAX),
    _name_pair("parchment_left_summoning_high", 940 + TILE_FEAT_MAX),
    _name_pair("parchment_left_translocations", 930 + TILE_FEAT_MAX),
    _name_pair("parchment_left_translocations_high", 941 + TILE_FEAT_MAX),
    _name_pair("parchment_low", 990 + TILE_FEAT_MAX),
    _name_pair("parchment_mid", 991 + TILE_FEAT_MAX),
    _name_pair("parchment_right_air", 955 + TILE_FEAT_MAX),
    _name_pair("parchment_right_air_high", 966 + TILE_FEAT_MAX),
    _name_pair("parchment_right_alchemy", 953 + TILE_FEAT_MAX),
    _name_pair("parchment_right_alchemy_high", 964 + TILE_FEAT_MAX),
    _name_pair("parchment_right_conjurations", 946 + TILE_FEAT_MAX),
    _name_pair("parchment_right_conjurations_high", 957 + TILE_FEAT_MAX),
    _name_pair("parchment_right_earth", 954 + TILE_FEAT_MAX),
    _name_pair("parchment_right_earth_high", 965 + TILE_FEAT_MAX),
    _name_pair("parchment_right_fire", 948 + TILE_FEAT_MAX),
    _name_pair("parchment_right_fire_high", 959 + TILE_FEAT_MAX),
    _name_pair("parchment_right_first", 946 + TILE_FEAT_MAX),
    _name_pair("parchment_right_forgecraft", 956 + TILE_FEAT_MAX),
    _name_pair("parchment_right_forgecraft_high", 967 + TILE_FEAT_MAX),
    _name_pair("parchment_right_hexes", 947 + TILE_FEAT_MAX),
    _name_pair("parchment_right_hexes_high", 958 + TILE_FEAT_MAX),
    _name_pair("parchment_right_high_first", 957 + TILE_FEAT_MAX),
    _name_pair("parchment_right_ice", 949 + TILE_FEAT_MAX),
    _name_pair("parchment_right_ice_high", 960 + TILE_FEAT_MAX),
    _name_pair("parchment_right_necromancy", 950 + TILE_FEAT_MAX),
    _name_pair("parchment_right_necromancy_high", 961 + TILE_FEAT_MAX),
    _name_pair("parchment_right_summoning", 951 + TILE_FEAT_MAX),
    _name_pair("parchment_right_summoning_high", 962 + TILE_FEAT_MAX),
    _name_pair("parchment_right_translocations", 952 + TILE_FEAT_MAX),
    _name_pair("parchment_right_translocations_high", 963 + TILE_FEAT_MAX),
    _name_pair("parchment_single_air", 977 + TILE_FEAT_MAX),
    _name_pair("parchment_single_air_high", 988 + TILE_FEAT_MAX),
    _name_pair("parchment_single_alchemy", 975 + TILE_FEAT_MAX),
    _name_pair("parchment_single_alchemy_high", 986 + TILE_FEAT_MAX),
    _name_pair("parchment_single_conjurations", 968 + TILE_FEAT_MAX),
    _name_pair("parchment_single_conjurations_high", 979 + TILE_FEAT_MAX),
    _name_pair("parchment_single_earth", 976 + TILE_FEAT_MAX),
    _name_pair("parchment_single_earth_high", 987 + TILE_FEAT_MAX),
    _name_pair("parchment_single_fire", 970 + TILE_FEAT_MAX),
    _name_pair("parchment_single_fire_high", 981 + TILE_FEAT_MAX),
    _name_pair("parchment_single_first", 968 + TILE_FEAT_MAX),
    _name_pair("parchment_single_first_high", 979 + TILE_FEAT_MAX),
    _name_pair("parchment_single_forgecraft", 978 + TILE_FEAT_MAX),
    _name_pair("parchment_single_forgecraft_high", 989 + TILE_FEAT_MAX),
    _name_pair("parchment_single_hexes", 969 + TILE_FEAT_MAX),
    _name_pair("parchment_single_hexes_high", 980 + TILE_FEAT_MAX),
    _name_pair("parchment_single_ice", 971 + TILE_FEAT_MAX),
    _name_pair("parchment_single_ice_high", 982 + TILE_FEAT_MAX),
    _name_pair("parchment_single_necromancy", 972 + TILE_FEAT_MAX),
    _name_pair("parchment_single_necromancy_high", 983 + TILE_FEAT_MAX),
    _name_pair("parchment_single_summoning", 973 + TILE_FEAT_MAX),
    _name_pair("parchment_single_summoning_high", 984 + TILE_FEAT_MAX),
    _name_pair("parchment_single_translocations", 974 + TILE_FEAT_MAX),
    _name_pair("parchment_single_translocations_high", 985 + TILE_FEAT_MAX),
    _name_pair("pot_ambrosia", 856 + TILE_FEAT_MAX),
    _name_pair("pot_attraction", 848 + TILE_FEAT_MAX),
    _name_pair("pot_berserk_rage", 866 + TILE_FEAT_MAX),
    _name_pair("pot_blood", 870 + TILE_FEAT_MAX),
    _name_pair("pot_blood_coagulated", 871 + TILE_FEAT_MAX),
    _name_pair("pot_brilliance", 847 + TILE_FEAT_MAX),
    _name_pair("pot_cancellation", 855 + TILE_FEAT_MAX),
    _name_pair("pot_curing", 843 + TILE_FEAT_MAX),
    _name_pair("pot_enlightenment", 852 + TILE_FEAT_MAX),
    _name_pair("pot_experience", 862 + TILE_FEAT_MAX),
    _name_pair("pot_haste", 845 + TILE_FEAT_MAX),
    _name_pair("pot_heal_wounds", 844 + TILE_FEAT_MAX),
    _name_pair("pot_id_first", 843 + TILE_FEAT_MAX),
    _name_pair("pot_id_last", 874 + TILE_FEAT_MAX),
    _name_pair("pot_invisibility", 857 + TILE_FEAT_MAX),
    _name_pair("pot_lignify", 872 + TILE_FEAT_MAX),
    _name_pair("pot_magic", 863 + TILE_FEAT_MAX),
    _name_pair("pot_might", 846 + TILE_FEAT_MAX),
    _name_pair("pot_moonshine", 859 + TILE_FEAT_MAX),
    _name_pair("pot_mutation", 868 + TILE_FEAT_MAX),
    _name_pair("pot_poison", 853 + TILE_FEAT_MAX),
    _name_pair("pot_porridge", 858 + TILE_FEAT_MAX),
    _name_pair("pot_remove_me", 861 + TILE_FEAT_MAX),
    _name_pair("pot_removeme10", 874 + TILE_FEAT_MAX),
    _name_pair("pot_removeme2", 849 + TILE_FEAT_MAX),
    _name_pair("pot_removeme3", 850 + TILE_FEAT_MAX),
    _name_pair("pot_removeme4", 851 + TILE_FEAT_MAX),
    _name_pair("pot_removeme5", 860 + TILE_FEAT_MAX),
    _name_pair("pot_removeme6", 864 + TILE_FEAT_MAX),
    _name_pair("pot_removeme7", 865 + TILE_FEAT_MAX),
    _name_pair("pot_removeme8", 867 + TILE_FEAT_MAX),
    _name_pair("pot_removeme9", 873 + TILE_FEAT_MAX),
    _name_pair("pot_resistance", 869 + TILE_FEAT_MAX),
    _name_pair("pot_slowing", 854 + TILE_FEAT_MAX),
    _name_pair("potion_offset", 820 + TILE_FEAT_MAX),
    _name_pair("ring_attention", 752 + TILE_FEAT_MAX),
    _name_pair("ring_dexterity", 757 + TILE_FEAT_MAX),
    _name_pair("ring_evasion", 754 + TILE_FEAT_MAX),
    _name_pair("ring_fire", 764 + TILE_FEAT_MAX),
    _name_pair("ring_flight", 761 + TILE_FEAT_MAX),
    _name_pair("ring_ice", 765 + TILE_FEAT_MAX),
    _name_pair("ring_id_first", 743 + TILE_FEAT_MAX),
    _name_pair("ring_id_last", 766 + TILE_FEAT_MAX),
    _name_pair("ring_intelligence", 758 + TILE_FEAT_MAX),
    _name_pair("ring_magical_power", 760 + TILE_FEAT_MAX),
    _name_pair("ring_normal_offset", 699 + TILE_FEAT_MAX),
    _name_pair("ring_poison_resistance", 746 + TILE_FEAT_MAX),
    _name_pair("ring_positive_energy", 762 + TILE_FEAT_MAX),
    _name_pair("ring_protection", 744 + TILE_FEAT_MAX),
    _name_pair("ring_protection_from_cold", 747 + TILE_FEAT_MAX),
    _name_pair("ring_protection_from_fire", 745 + TILE_FEAT_MAX),
    _name_pair("ring_randart_offset", 728 + TILE_FEAT_MAX),
    _name_pair("ring_regeneration", 743 + TILE_FEAT_MAX),
    _name_pair("ring_resist_corrosion", 751 + TILE_FEAT_MAX),
    _name_pair("ring_see_invisible", 750 + TILE_FEAT_MAX),
    _name_pair("ring_slaying", 749 + TILE_FEAT_MAX),
    _name_pair("ring_stealth", 756 + TILE_FEAT_MAX),
    _name_pair("ring_strength", 748 + TILE_FEAT_MAX),
    _name_pair("ring_sustain_attributes", 755 + TILE_FEAT_MAX),
    _name_pair("ring_teleport_control", 766 + TILE_FEAT_MAX),
    _name_pair("ring_teleportation", 753 + TILE_FEAT_MAX),
    _name_pair("ring_willpower", 763 + TILE_FEAT_MAX),
    _name_pair("ring_wizardry", 759 + TILE_FEAT_MAX),
    _name_pair("rod", 1023 + TILE_FEAT_MAX),
    _name_pair("rod_clouds", 1036 + TILE_FEAT_MAX),
    _name_pair("rod_destruction", 1037 + TILE_FEAT_MAX),
    _name_pair("rod_id_first", 1033 + TILE_FEAT_MAX),
    _name_pair("rod_id_last", 1042 + TILE_FEAT_MAX),
    _name_pair("rod_ignition", 1035 + TILE_FEAT_MAX),
    _name_pair("rod_inaccuracy", 1038 + TILE_FEAT_MAX),
    _name_pair("rod_iron", 1041 + TILE_FEAT_MAX),
    _name_pair("rod_lightning", 1033 + TILE_FEAT_MAX),
    _name_pair("rod_shadows", 1040 + TILE_FEAT_MAX),
    _name_pair("rod_summoning", 1034 + TILE_FEAT_MAX),
    _name_pair("rod_venom", 1042 + TILE_FEAT_MAX),
    _name_pair("rod_warding", 1039 + TILE_FEAT_MAX),
    _name_pair("rune_abyss", 1093 + TILE_FEAT_MAX),
    _name_pair("rune_cerebov", 1082 + TILE_FEAT_MAX),
    _name_pair("rune_cocytus", 1079 + TILE_FEAT_MAX),
    _name_pair("rune_demonic", 1094 + TILE_FEAT_MAX),
    _name_pair("rune_dis", 1080 + TILE_FEAT_MAX),
    _name_pair("rune_elven", 1100 + TILE_FEAT_MAX),
    _name_pair("rune_gehenna", 1081 + TILE_FEAT_MAX),
    _name_pair("rune_gloorx_vloq", 1083 + TILE_FEAT_MAX),
    _name_pair("rune_lom_lobon", 1085 + TILE_FEAT_MAX),
    _name_pair("rune_mnoleg", 1084 + TILE_FEAT_MAX),
    _name_pair("rune_shoals", 1088 + TILE_FEAT_MAX),
    _name_pair("rune_slime", 1090 + TILE_FEAT_MAX),
    _name_pair("rune_snake", 1086 + TILE_FEAT_MAX),
    _name_pair("rune_spider", 1089 + TILE_FEAT_MAX),
    _name_pair("rune_swamp", 1087 + TILE_FEAT_MAX),
    _name_pair("rune_tartarus", 1078 + TILE_FEAT_MAX),
    _name_pair("rune_tomb", 1092 + TILE_FEAT_MAX),
    _name_pair("rune_vaults", 1091 + TILE_FEAT_MAX),
    _name_pair("scr_acquirement", 687 + TILE_FEAT_MAX),
    _name_pair("scr_amnesia", 695 + TILE_FEAT_MAX),
    _name_pair("scr_blinking", 684 + TILE_FEAT_MAX),
    _name_pair("scr_brand_weapon", 689 + TILE_FEAT_MAX),
    _name_pair("scr_butterflies", 698 + TILE_FEAT_MAX),
    _name_pair("scr_curse_armour", 682 + TILE_FEAT_MAX),
    _name_pair("scr_curse_jewellery", 696 + TILE_FEAT_MAX),
    _name_pair("scr_curse_weapon", 681 + TILE_FEAT_MAX),
    _name_pair("scr_enchant_armour", 678 + TILE_FEAT_MAX),
    _name_pair("scr_enchant_weapon", 677 + TILE_FEAT_MAX),
    _name_pair("scr_enchant_weapon_ii", 688 + TILE_FEAT_MAX),
    _name_pair("scr_enchant_weapon_iii", 691 + TILE_FEAT_MAX),
    _name_pair("scr_fear", 673 + TILE_FEAT_MAX),
    _name_pair("scr_fog", 686 + TILE_FEAT_MAX),
    _name_pair("scr_holy_word", 692 + TILE_FEAT_MAX),
    _name_pair("scr_id_first", 671 + TILE_FEAT_MAX),
    _name_pair("scr_id_last", 698 + TILE_FEAT_MAX),
    _name_pair("scr_identify", 671 + TILE_FEAT_MAX),
    _name_pair("scr_immolation", 683 + TILE_FEAT_MAX),
    _name_pair("scr_noise", 674 + TILE_FEAT_MAX),
    _name_pair("scr_poison", 697 + TILE_FEAT_MAX),
    _name_pair("scr_random_uselessness", 680 + TILE_FEAT_MAX),
    _name_pair("scr_recharging", 690 + TILE_FEAT_MAX),
    _name_pair("scr_remove_curse", 675 + TILE_FEAT_MAX),
    _name_pair("scr_revelation", 685 + TILE_FEAT_MAX),
    _name_pair("scr_silence", 694 + TILE_FEAT_MAX),
    _name_pair("scr_teleportation", 672 + TILE_FEAT_MAX),
    _name_pair("scr_torment", 679 + TILE_FEAT_MAX),
    _name_pair("scr_unholy_creation", 676 + TILE_FEAT_MAX),
    _name_pair("scr_vulnerability", 693 + TILE_FEAT_MAX),
    _name_pair("scroll", 670 + TILE_FEAT_MAX),
    _name_pair("spore_overlay", 1743 + TILE_FEAT_MAX),
    _name_pair("staff_air", 1020 + TILE_FEAT_MAX),
    _name_pair("staff_channeling", 1022 + TILE_FEAT_MAX),
    _name_pair("staff_cold", 1013 + TILE_FEAT_MAX),
    _name_pair("staff_conjuration", 1017 + TILE_FEAT_MAX),
    _name_pair("staff_earth", 1021 + TILE_FEAT_MAX),
    _name_pair("staff_enchantment", 1018 + TILE_FEAT_MAX),
    _name_pair("staff_energy", 1015 + TILE_FEAT_MAX),
    _name_pair("staff_fire", 1012 + TILE_FEAT_MAX),
    _name_pair("staff_id_first", 1010 + TILE_FEAT_MAX),
    _name_pair("staff_id_last", 1022 + TILE_FEAT_MAX),
    _name_pair("staff_necromancy", 1016 + TILE_FEAT_MAX),
    _name_pair("staff_offset", 993 + TILE_FEAT_MAX),
    _name_pair("staff_poison", 1014 + TILE_FEAT_MAX),
    _name_pair("staff_power", 1011 + TILE_FEAT_MAX),
    _name_pair("staff_randart_offset", 1003 + TILE_FEAT_MAX),
    _name_pair("staff_summoning", 1019 + TILE_FEAT_MAX),
    _name_pair("staff_wizardry", 1010 + TILE_FEAT_MAX),
    _name_pair("sym_bolt_ofs", 1387 + TILE_FEAT_MAX),
    _name_pair("talisman_aqua", 1143 + TILE_FEAT_MAX),
    _name_pair("talisman_blade", 1133 + TILE_FEAT_MAX),
    _name_pair("talisman_death", 1137 + TILE_FEAT_MAX),
    _name_pair("talisman_dragon", 1135 + TILE_FEAT_MAX),
    _name_pair("talisman_eel", 1151 + TILE_FEAT_MAX),
    _name_pair("talisman_fortress", 1147 + TILE_FEAT_MAX),
    _name_pair("talisman_hive", 1142 + TILE_FEAT_MAX),
    _name_pair("talisman_inkwell", 1146 + TILE_FEAT_MAX),
    _name_pair("talisman_maw", 1132 + TILE_FEAT_MAX),
    _name_pair("talisman_medusa", 1149 + TILE_FEAT_MAX),
    _name_pair("talisman_protean", 1150 + TILE_FEAT_MAX),
    _name_pair("talisman_quill", 1141 + TILE_FEAT_MAX),
    _name_pair("talisman_rimehorn", 1139 + TILE_FEAT_MAX),
    _name_pair("talisman_scarab", 1148 + TILE_FEAT_MAX),
    _name_pair("talisman_snake", 1131 + TILE_FEAT_MAX),
    _name_pair("talisman_sphinx", 1144 + TILE_FEAT_MAX),
    _name_pair("talisman_spider", 1140 + TILE_FEAT_MAX),
    _name_pair("talisman_spore", 1152 + TILE_FEAT_MAX),
    _name_pair("talisman_statue", 1134 + TILE_FEAT_MAX),
    _name_pair("talisman_storm", 1136 + TILE_FEAT_MAX),
    _name_pair("talisman_vampire", 1138 + TILE_FEAT_MAX),
    _name_pair("talisman_werewolf", 1145 + TILE_FEAT_MAX),
    _name_pair("thelm_archer", 521 + TILE_FEAT_MAX),
    _name_pair("thelm_archer2", 523 + TILE_FEAT_MAX),
    _name_pair("thelm_cap", 512 + TILE_FEAT_MAX),
    _name_pair("thelm_cap_jester", 513 + TILE_FEAT_MAX),
    _name_pair("thelm_hat", 520 + TILE_FEAT_MAX),
    _name_pair("thelm_hat_april1", 518 + TILE_FEAT_MAX),
    _name_pair("thelm_hat_april2", 519 + TILE_FEAT_MAX),
    _name_pair("thelm_hat_explorer", 514 + TILE_FEAT_MAX),
    _name_pair("thelm_hat_explorer2", 515 + TILE_FEAT_MAX),
    _name_pair("thelm_hat_magic", 522 + TILE_FEAT_MAX),
    _name_pair("thelm_hat_randart", 524 + TILE_FEAT_MAX),
    _name_pair("thelm_hat_santa", 517 + TILE_FEAT_MAX),
    _name_pair("thelm_hat_wiglaf", 516 + TILE_FEAT_MAX),
    _name_pair("thelm_hat_wizard", 525 + TILE_FEAT_MAX),
    _name_pair("thelm_helm", 526 + TILE_FEAT_MAX),
    _name_pair("thelm_helm_magic", 531 + TILE_FEAT_MAX),
    _name_pair("thelm_helm_randart", 535 + TILE_FEAT_MAX),
    _name_pair("todo", 1760 + TILE_FEAT_MAX),
    _name_pair("tower_shield_deep_dwarf_death_knight", 509 + TILE_FEAT_MAX),
    _name_pair("tower_shield_louise", 511 + TILE_FEAT_MAX),
    _name_pair("uncollected_orb", 1048 + TILE_FEAT_MAX),
    _name_pair("uncollected_rune_abyss", 1170 + TILE_FEAT_MAX),
    _name_pair("uncollected_rune_cerebov", 1159 + TILE_FEAT_MAX),
    _name_pair("uncollected_rune_cocytus", 1156 + TILE_FEAT_MAX),
    _name_pair("uncollected_rune_demonic", 1171 + TILE_FEAT_MAX),
    _name_pair("uncollected_rune_dis", 1157 + TILE_FEAT_MAX),
    _name_pair("uncollected_rune_elven", 1172 + TILE_FEAT_MAX),
    _name_pair("uncollected_rune_gehenna", 1158 + TILE_FEAT_MAX),
    _name_pair("uncollected_rune_gloorx_vloq", 1160 + TILE_FEAT_MAX),
    _name_pair("uncollected_rune_lom_lobon", 1162 + TILE_FEAT_MAX),
    _name_pair("uncollected_rune_mnoleg", 1161 + TILE_FEAT_MAX),
    _name_pair("uncollected_rune_shoals", 1165 + TILE_FEAT_MAX),
    _name_pair("uncollected_rune_slime", 1167 + TILE_FEAT_MAX),
    _name_pair("uncollected_rune_snake", 1163 + TILE_FEAT_MAX),
    _name_pair("uncollected_rune_spider", 1166 + TILE_FEAT_MAX),
    _name_pair("uncollected_rune_swamp", 1164 + TILE_FEAT_MAX),
    _name_pair("uncollected_rune_tartarus", 1155 + TILE_FEAT_MAX),
    _name_pair("uncollected_rune_tomb", 1169 + TILE_FEAT_MAX),
    _name_pair("uncollected_rune_vaults", 1168 + TILE_FEAT_MAX),
    _name_pair("unrand_accuracy", 138 + TILE_FEAT_MAX),
    _name_pair("unrand_air", 0 + TILE_FEAT_MAX),
    _name_pair("unrand_alchemist", 34 + TILE_FEAT_MAX),
    _name_pair("unrand_amulet_invisibility", 7 + TILE_FEAT_MAX),
    _name_pair("unrand_arc_blade", 120 + TILE_FEAT_MAX),
    _name_pair("unrand_arga", 104 + TILE_FEAT_MAX),
    _name_pair("unrand_asmodeus", 86 + TILE_FEAT_MAX),
    _name_pair("unrand_augmentation", 16 + TILE_FEAT_MAX),
    _name_pair("unrand_autumn_katana", 116 + TILE_FEAT_MAX),
    _name_pair("unrand_battle", 54 + TILE_FEAT_MAX),
    _name_pair("unrand_bear_spirit", 20 + TILE_FEAT_MAX),
    _name_pair("unrand_black_knight_horse", 42 + TILE_FEAT_MAX),
    _name_pair("unrand_bloodbane", 87 + TILE_FEAT_MAX),
    _name_pair("unrand_bloodlust", 3 + TILE_FEAT_MAX),
    _name_pair("unrand_blowgun_assassin", 137 + TILE_FEAT_MAX),
    _name_pair("unrand_botono", 102 + TILE_FEAT_MAX),
    _name_pair("unrand_brilliance", 89 + TILE_FEAT_MAX),
    _name_pair("unrand_bullseye", 18 + TILE_FEAT_MAX),
    _name_pair("unrand_captain", 114 + TILE_FEAT_MAX),
    _name_pair("unrand_cekugob", 1 + TILE_FEAT_MAX),
    _name_pair("unrand_cerebov", 85 + TILE_FEAT_MAX),
    _name_pair("unrand_charlatans_orb", 64 + TILE_FEAT_MAX),
    _name_pair("unrand_chilly_death", 91 + TILE_FEAT_MAX),
    _name_pair("unrand_condemnation", 132 + TILE_FEAT_MAX),
    _name_pair("unrand_crystal_spear", 113 + TILE_FEAT_MAX),
    _name_pair("unrand_curses", 82 + TILE_FEAT_MAX),
    _name_pair("unrand_damnation", 99 + TILE_FEAT_MAX),
    _name_pair("unrand_dark_maul", 119 + TILE_FEAT_MAX),
    _name_pair("unrand_delatras_gloves", 58 + TILE_FEAT_MAX),
    _name_pair("unrand_demon_axe", 115 + TILE_FEAT_MAX),
    _name_pair("unrand_devastator", 117 + TILE_FEAT_MAX),
    _name_pair("unrand_dispater", 13 + TILE_FEAT_MAX),
    _name_pair("unrand_dragon_king", 33 + TILE_FEAT_MAX),
    _name_pair("unrand_dragonmask", 31 + TILE_FEAT_MAX),
    _name_pair("unrand_dragonskin", 43 + TILE_FEAT_MAX),
    _name_pair("unrand_dread_knight", 100 + TILE_FEAT_MAX),
    _name_pair("unrand_dreamdust_necklace", 11 + TILE_FEAT_MAX),
    _name_pair("unrand_dreamshard_necklace", 8 + TILE_FEAT_MAX),
    _name_pair("unrand_dyrovepreva", 19 + TILE_FEAT_MAX),
    _name_pair("unrand_elemental_staff", 105 + TILE_FEAT_MAX),
    _name_pair("unrand_elemental_vulnerability", 9 + TILE_FEAT_MAX),
    _name_pair("unrand_embrace", 55 + TILE_FEAT_MAX),
    _name_pair("unrand_eos", 101 + TILE_FEAT_MAX),
    _name_pair("unrand_eternal_torment", 49 + TILE_FEAT_MAX),
    _name_pair("unrand_etheric_cage", 48 + TILE_FEAT_MAX),
    _name_pair("unrand_faerie", 14 + TILE_FEAT_MAX),
    _name_pair("unrand_fencers", 35 + TILE_FEAT_MAX),
    _name_pair("unrand_finger_amulet", 6 + TILE_FEAT_MAX),
    _name_pair("unrand_finisher", 93 + TILE_FEAT_MAX),
    _name_pair("unrand_firestarter", 123 + TILE_FEAT_MAX),
    _name_pair("unrand_fisticloak", 67 + TILE_FEAT_MAX),
    _name_pair("unrand_flaming_death", 88 + TILE_FEAT_MAX),
    _name_pair("unrand_flash", 22 + TILE_FEAT_MAX),
    _name_pair("unrand_folly", 29 + TILE_FEAT_MAX),
    _name_pair("unrand_force_lance", 134 + TILE_FEAT_MAX),
    _name_pair("unrand_four_winds", 2 + TILE_FEAT_MAX),
    _name_pair("unrand_frostbite", 126 + TILE_FEAT_MAX),
    _name_pair("unrand_gadgeteer", 63 + TILE_FEAT_MAX),
    _name_pair("unrand_gong", 38 + TILE_FEAT_MAX),
    _name_pair("unrand_guard", 97 + TILE_FEAT_MAX),
    _name_pair("unrand_gyre", 125 + TILE_FEAT_MAX),
    _name_pair("unrand_hare", 71 + TILE_FEAT_MAX),
    _name_pair("unrand_hermits_pendant", 10 + TILE_FEAT_MAX),
    _name_pair("unrand_high_council", 46 + TILE_FEAT_MAX),
    _name_pair("unrand_holy_axe", 135 + TILE_FEAT_MAX),
    _name_pair("unrand_hood_assassin", 23 + TILE_FEAT_MAX),
    _name_pair("unrand_ignorance", 15 + TILE_FEAT_MAX),
    _name_pair("unrand_justicars_regalia", 65 + TILE_FEAT_MAX),
    _name_pair("unrand_kryias", 51 + TILE_FEAT_MAX),
    _name_pair("unrand_lear", 24 + TILE_FEAT_MAX),
    _name_pair("unrand_leech", 90 + TILE_FEAT_MAX),
    _name_pair("unrand_lightning_scales", 41 + TILE_FEAT_MAX),
    _name_pair("unrand_lochaber_axe", 133 + TILE_FEAT_MAX),
    _name_pair("unrand_mage", 73 + TILE_FEAT_MAX),
    _name_pair("unrand_majin", 124 + TILE_FEAT_MAX),
    _name_pair("unrand_maxwell", 30 + TILE_FEAT_MAX),
    _name_pair("unrand_meek", 131 + TILE_FEAT_MAX),
    _name_pair("unrand_misfortune", 21 + TILE_FEAT_MAX),
    _name_pair("unrand_moon_troll_leather_armour", 44 + TILE_FEAT_MAX),
    _name_pair("unrand_morg", 92 + TILE_FEAT_MAX),
    _name_pair("unrand_mountain_boots", 59 + TILE_FEAT_MAX),
    _name_pair("unrand_mule", 136 + TILE_FEAT_MAX),
    _name_pair("unrand_night", 32 + TILE_FEAT_MAX),
    _name_pair("unrand_octopus_king", 103 + TILE_FEAT_MAX),
    _name_pair("unrand_octopus_king_ring", 74 + TILE_FEAT_MAX),
    _name_pair("unrand_olgreb", 80 + TILE_FEAT_MAX),
    _name_pair("unrand_orange_crystal_plate_armour", 47 + TILE_FEAT_MAX),
    _name_pair("unrand_order", 122 + TILE_FEAT_MAX),
    _name_pair("unrand_piercer", 107 + TILE_FEAT_MAX),
    _name_pair("unrand_plutonium_sword", 110 + TILE_FEAT_MAX),
    _name_pair("unrand_pondering", 40 + TILE_FEAT_MAX),
    _name_pair("unrand_power", 79 + TILE_FEAT_MAX),
    _name_pair("unrand_power_gloves", 57 + TILE_FEAT_MAX),
    _name_pair("unrand_prune", 78 + TILE_FEAT_MAX),
    _name_pair("unrand_punk", 94 + TILE_FEAT_MAX),
    _name_pair("unrand_ratskin_cloak", 37 + TILE_FEAT_MAX),
    _name_pair("unrand_rclouds", 39 + TILE_FEAT_MAX),
    _name_pair("unrand_resistance", 28 + TILE_FEAT_MAX),
    _name_pair("unrand_rift", 128 + TILE_FEAT_MAX),
    _name_pair("unrand_salamander", 26 + TILE_FEAT_MAX),
    _name_pair("unrand_scarf_invisibility", 69 + TILE_FEAT_MAX),
    _name_pair("unrand_seven_league_boots", 56 + TILE_FEAT_MAX),
    _name_pair("unrand_shadows", 70 + TILE_FEAT_MAX),
    _name_pair("unrand_shielding", 4 + TILE_FEAT_MAX),
    _name_pair("unrand_singing_sword", 75 + TILE_FEAT_MAX),
    _name_pair("unrand_skull_of_zonguldrok", 66 + TILE_FEAT_MAX),
    _name_pair("unrand_skullcrusher", 96 + TILE_FEAT_MAX),
    _name_pair("unrand_slick_slippers", 60 + TILE_FEAT_MAX),
    _name_pair("unrand_snakebite", 112 + TILE_FEAT_MAX),
    _name_pair("unrand_sniper", 106 + TILE_FEAT_MAX),
    _name_pair("unrand_spellbinder", 121 + TILE_FEAT_MAX),
    _name_pair("unrand_spider", 45 + TILE_FEAT_MAX),
    _name_pair("unrand_spriggans_knife", 109 + TILE_FEAT_MAX),
    _name_pair("unrand_starlight", 36 + TILE_FEAT_MAX),
    _name_pair("unrand_storm_bow", 139 + TILE_FEAT_MAX),
    _name_pair("unrand_storm_queen", 62 + TILE_FEAT_MAX),
    _name_pair("unrand_talos", 52 + TILE_FEAT_MAX),
    _name_pair("unrand_thermic_engine", 127 + TILE_FEAT_MAX),
    _name_pair("unrand_thief", 17 + TILE_FEAT_MAX),
    _name_pair("unrand_throatcutter", 130 + TILE_FEAT_MAX),
    _name_pair("unrand_torment", 83 + TILE_FEAT_MAX),
    _name_pair("unrand_tortoise", 72 + TILE_FEAT_MAX),
    _name_pair("unrand_trog", 76 + TILE_FEAT_MAX),
    _name_pair("unrand_undeadhunter", 111 + TILE_FEAT_MAX),
    _name_pair("unrand_vainglory", 68 + TILE_FEAT_MAX),
    _name_pair("unrand_vampires_tooth", 81 + TILE_FEAT_MAX),
    _name_pair("unrand_variability", 77 + TILE_FEAT_MAX),
    _name_pair("unrand_victory", 61 + TILE_FEAT_MAX),
    _name_pair("unrand_vines", 50 + TILE_FEAT_MAX),
    _name_pair("unrand_vitality", 5 + TILE_FEAT_MAX),
    _name_pair("unrand_war", 27 + TILE_FEAT_MAX),
    _name_pair("unrand_warlock_mirror", 53 + TILE_FEAT_MAX),
    _name_pair("unrand_woe", 118 + TILE_FEAT_MAX),
    _name_pair("unrand_woodcutters_axe", 129 + TILE_FEAT_MAX),
    _name_pair("unrand_wucad_mu", 12 + TILE_FEAT_MAX),
    _name_pair("unrand_wyrmbane", 108 + TILE_FEAT_MAX),
    _name_pair("unrand_wyrmbane1", 140 + TILE_FEAT_MAX),
    _name_pair("unrand_wyrmbane2", 141 + TILE_FEAT_MAX),
    _name_pair("unrand_wyrmbane3", 142 + TILE_FEAT_MAX),
    _name_pair("unrand_wyrmbane4", 143 + TILE_FEAT_MAX),
    _name_pair("unrand_zealot_sword", 98 + TILE_FEAT_MAX),
    _name_pair("unrand_zephyr", 95 + TILE_FEAT_MAX),
    _name_pair("unrand_zhor", 25 + TILE_FEAT_MAX),
    _name_pair("unrand_zonguldrok", 84 + TILE_FEAT_MAX),
    _name_pair("unseen_amulet", 767 + TILE_FEAT_MAX),
    _name_pair("unseen_armour", 1746 + TILE_FEAT_MAX),
    _name_pair("unseen_book", 885 + TILE_FEAT_MAX),
    _name_pair("unseen_corpse", 1753 + TILE_FEAT_MAX),
    _name_pair("unseen_food", 637 + TILE_FEAT_MAX),
    _name_pair("unseen_item", 1747 + TILE_FEAT_MAX),
    _name_pair("unseen_misc", 1050 + TILE_FEAT_MAX),
    _name_pair("unseen_monster", 1745 + TILE_FEAT_MAX),
    _name_pair("unseen_orb", 1043 + TILE_FEAT_MAX),
    _name_pair("unseen_potion", 820 + TILE_FEAT_MAX),
    _name_pair("unseen_ring", 699 + TILE_FEAT_MAX),
    _name_pair("unseen_scroll", 670 + TILE_FEAT_MAX),
    _name_pair("unseen_staff", 993 + TILE_FEAT_MAX),
    _name_pair("unseen_wand", 599 + TILE_FEAT_MAX),
    _name_pair("unseen_weapon", 1744 + TILE_FEAT_MAX),
    _name_pair("wand_acid", 628 + TILE_FEAT_MAX),
    _name_pair("wand_charming", 627 + TILE_FEAT_MAX),
    _name_pair("wand_digging", 622 + TILE_FEAT_MAX),
    _name_pair("wand_flame", 611 + TILE_FEAT_MAX),
    _name_pair("wand_iceblast", 623 + TILE_FEAT_MAX),
    _name_pair("wand_id_first", 611 + TILE_FEAT_MAX),
    _name_pair("wand_id_last", 636 + TILE_FEAT_MAX),
    _name_pair("wand_light", 633 + TILE_FEAT_MAX),
    _name_pair("wand_mindburst", 630 + TILE_FEAT_MAX),
    _name_pair("wand_offset", 599 + TILE_FEAT_MAX),
    _name_pair("wand_paralysis", 617 + TILE_FEAT_MAX),
    _name_pair("wand_polymorph", 626 + TILE_FEAT_MAX),
    _name_pair("wand_quicksilver", 634 + TILE_FEAT_MAX),
    _name_pair("wand_removeme", 612 + TILE_FEAT_MAX),
    _name_pair("wand_removeme10", 620 + TILE_FEAT_MAX),
    _name_pair("wand_removeme11", 625 + TILE_FEAT_MAX),
    _name_pair("wand_removeme12", 632 + TILE_FEAT_MAX),
    _name_pair("wand_removeme13", 631 + TILE_FEAT_MAX),
    _name_pair("wand_removeme14", 629 + TILE_FEAT_MAX),
    _name_pair("wand_removeme2", 615 + TILE_FEAT_MAX),
    _name_pair("wand_removeme3", 618 + TILE_FEAT_MAX),
    _name_pair("wand_removeme4", 619 + TILE_FEAT_MAX),
    _name_pair("wand_removeme5", 621 + TILE_FEAT_MAX),
    _name_pair("wand_removeme6", 616 + TILE_FEAT_MAX),
    _name_pair("wand_removeme7", 614 + TILE_FEAT_MAX),
    _name_pair("wand_removeme8", 624 + TILE_FEAT_MAX),
    _name_pair("wand_removeme9", 613 + TILE_FEAT_MAX),
    _name_pair("wand_roots", 635 + TILE_FEAT_MAX),
    _name_pair("wand_warping", 636 + TILE_FEAT_MAX),
    _name_pair("wpn_april_staff1", 263 + TILE_FEAT_MAX),
    _name_pair("wpn_april_staff2", 264 + TILE_FEAT_MAX),
    _name_pair("wpn_arbalest", 282 + TILE_FEAT_MAX),
    _name_pair("wpn_arbalest_magic", 283 + TILE_FEAT_MAX),
    _name_pair("wpn_arbalest_randart", 284 + TILE_FEAT_MAX),
    _name_pair("wpn_bardiche", 244 + TILE_FEAT_MAX),
    _name_pair("wpn_bardiche_magic", 245 + TILE_FEAT_MAX),
    _name_pair("wpn_bardiche_randart", 246 + TILE_FEAT_MAX),
    _name_pair("wpn_battleaxe", 223 + TILE_FEAT_MAX),
    _name_pair("wpn_battleaxe_magic", 224 + TILE_FEAT_MAX),
    _name_pair("wpn_battleaxe_randart", 225 + TILE_FEAT_MAX),
    _name_pair("wpn_blessed_blade", 213 + TILE_FEAT_MAX),
    _name_pair("wpn_blowgun", 265 + TILE_FEAT_MAX),
    _name_pair("wpn_blowgun_magic", 266 + TILE_FEAT_MAX),
    _name_pair("wpn_broad_axe", 220 + TILE_FEAT_MAX),
    _name_pair("wpn_broad_axe_magic", 221 + TILE_FEAT_MAX),
    _name_pair("wpn_broad_axe_randart", 222 + TILE_FEAT_MAX),
    _name_pair("wpn_club", 144 + TILE_FEAT_MAX),
    _name_pair("wpn_club_magic", 145 + TILE_FEAT_MAX),
    _name_pair("wpn_dagger", 180 + TILE_FEAT_MAX),
    _name_pair("wpn_dagger_magic", 181 + TILE_FEAT_MAX),
    _name_pair("wpn_dagger_randart", 182 + TILE_FEAT_MAX),
    _name_pair("wpn_demon_blade", 210 + TILE_FEAT_MAX),
    _name_pair("wpn_demon_blade_magic", 211 + TILE_FEAT_MAX),
    _name_pair("wpn_demon_blade_randart", 212 + TILE_FEAT_MAX),
    _name_pair("wpn_demon_trident", 250 + TILE_FEAT_MAX),
    _name_pair("wpn_demon_trident_magic", 251 + TILE_FEAT_MAX),
    _name_pair("wpn_demon_trident_randart", 252 + TILE_FEAT_MAX),
    _name_pair("wpn_demon_whip", 176 + TILE_FEAT_MAX),
    _name_pair("wpn_demon_whip_magic", 177 + TILE_FEAT_MAX),
    _name_pair("wpn_demon_whip_randart", 178 + TILE_FEAT_MAX),
    _name_pair("wpn_dire_flail", 155 + TILE_FEAT_MAX),
    _name_pair("wpn_dire_flail_magic", 156 + TILE_FEAT_MAX),
    _name_pair("wpn_dire_flail_randart", 157 + TILE_FEAT_MAX),
    _name_pair("wpn_double_sword", 204 + TILE_FEAT_MAX),
    _name_pair("wpn_double_sword_magic", 205 + TILE_FEAT_MAX),
    _name_pair("wpn_double_sword_randart", 206 + TILE_FEAT_MAX),
    _name_pair("wpn_eveningstar", 161 + TILE_FEAT_MAX),
    _name_pair("wpn_eveningstar_magic", 162 + TILE_FEAT_MAX),
    _name_pair("wpn_eveningstar_randart", 163 + TILE_FEAT_MAX),
    _name_pair("wpn_executioners_axe", 226 + TILE_FEAT_MAX),
    _name_pair("wpn_executioners_axe_magic", 227 + TILE_FEAT_MAX),
    _name_pair("wpn_executioners_axe_randart", 228 + TILE_FEAT_MAX),
    _name_pair("wpn_falchion", 192 + TILE_FEAT_MAX),
    _name_pair("wpn_falchion_magic", 193 + TILE_FEAT_MAX),
    _name_pair("wpn_falchion_randart", 194 + TILE_FEAT_MAX),
    _name_pair("wpn_flail", 152 + TILE_FEAT_MAX),
    _name_pair("wpn_flail_magic", 153 + TILE_FEAT_MAX),
    _name_pair("wpn_flail_randart", 154 + TILE_FEAT_MAX),
    _name_pair("wpn_giant_club", 170 + TILE_FEAT_MAX),
    _name_pair("wpn_giant_club_magic", 171 + TILE_FEAT_MAX),
    _name_pair("wpn_giant_club_randart", 172 + TILE_FEAT_MAX),
    _name_pair("wpn_giant_spiked_club", 173 + TILE_FEAT_MAX),
    _name_pair("wpn_giant_spiked_club_magic", 174 + TILE_FEAT_MAX),
    _name_pair("wpn_giant_spiked_club_randart", 175 + TILE_FEAT_MAX),
    _name_pair("wpn_glaive", 241 + TILE_FEAT_MAX),
    _name_pair("wpn_glaive_magic", 242 + TILE_FEAT_MAX),
    _name_pair("wpn_glaive_randart", 243 + TILE_FEAT_MAX),
    _name_pair("wpn_great_mace", 149 + TILE_FEAT_MAX),
    _name_pair("wpn_great_mace_magic", 150 + TILE_FEAT_MAX),
    _name_pair("wpn_great_mace_randart", 151 + TILE_FEAT_MAX),
    _name_pair("wpn_great_sword", 201 + TILE_FEAT_MAX),
    _name_pair("wpn_great_sword_magic", 202 + TILE_FEAT_MAX),
    _name_pair("wpn_great_sword_randart", 203 + TILE_FEAT_MAX),
    _name_pair("wpn_halberd", 235 + TILE_FEAT_MAX),
    _name_pair("wpn_halberd_magic", 236 + TILE_FEAT_MAX),
    _name_pair("wpn_halberd_randart", 237 + TILE_FEAT_MAX),
    _name_pair("wpn_hammer", 164 + TILE_FEAT_MAX),
    _name_pair("wpn_hammer_magic", 165 + TILE_FEAT_MAX),
    _name_pair("wpn_hammer_randart", 166 + TILE_FEAT_MAX),
    _name_pair("wpn_hand_axe", 214 + TILE_FEAT_MAX),
    _name_pair("wpn_hand_axe_magic", 215 + TILE_FEAT_MAX),
    _name_pair("wpn_hand_axe_randart", 216 + TILE_FEAT_MAX),
    _name_pair("wpn_hand_cannon", 279 + TILE_FEAT_MAX),
    _name_pair("wpn_hand_cannon_magic", 280 + TILE_FEAT_MAX),
    _name_pair("wpn_hand_cannon_randart", 281 + TILE_FEAT_MAX),
    _name_pair("wpn_lajatang", 258 + TILE_FEAT_MAX),
    _name_pair("wpn_lajatang_magic", 259 + TILE_FEAT_MAX),
    _name_pair("wpn_lajatang_randart", 260 + TILE_FEAT_MAX),
    _name_pair("wpn_long_sword", 198 + TILE_FEAT_MAX),
    _name_pair("wpn_long_sword_magic", 199 + TILE_FEAT_MAX),
    _name_pair("wpn_long_sword_randart", 200 + TILE_FEAT_MAX),
    _name_pair("wpn_longbow", 276 + TILE_FEAT_MAX),
    _name_pair("wpn_longbow_magic", 277 + TILE_FEAT_MAX),
    _name_pair("wpn_longbow_randart", 278 + TILE_FEAT_MAX),
    _name_pair("wpn_mace", 146 + TILE_FEAT_MAX),
    _name_pair("wpn_mace_magic", 147 + TILE_FEAT_MAX),
    _name_pair("wpn_mace_randart", 148 + TILE_FEAT_MAX),
    _name_pair("wpn_morningstar", 158 + TILE_FEAT_MAX),
    _name_pair("wpn_morningstar_magic", 159 + TILE_FEAT_MAX),
    _name_pair("wpn_morningstar_randart", 160 + TILE_FEAT_MAX),
    _name_pair("wpn_orcbow", 273 + TILE_FEAT_MAX),
    _name_pair("wpn_orcbow_magic", 274 + TILE_FEAT_MAX),
    _name_pair("wpn_orcbow_randart", 275 + TILE_FEAT_MAX),
    _name_pair("wpn_partisan", 247 + TILE_FEAT_MAX),
    _name_pair("wpn_partisan_magic", 248 + TILE_FEAT_MAX),
    _name_pair("wpn_partisan_randart", 249 + TILE_FEAT_MAX),
    _name_pair("wpn_quarterstaff", 255 + TILE_FEAT_MAX),
    _name_pair("wpn_quarterstaff_magic", 256 + TILE_FEAT_MAX),
    _name_pair("wpn_quarterstaff_randart", 257 + TILE_FEAT_MAX),
    _name_pair("wpn_quick_blade", 189 + TILE_FEAT_MAX),
    _name_pair("wpn_quick_blade_magic", 190 + TILE_FEAT_MAX),
    _name_pair("wpn_quick_blade_randart", 191 + TILE_FEAT_MAX),
    _name_pair("wpn_rapier", 186 + TILE_FEAT_MAX),
    _name_pair("wpn_rapier_magic", 187 + TILE_FEAT_MAX),
    _name_pair("wpn_rapier_randart", 188 + TILE_FEAT_MAX),
    _name_pair("wpn_sacred_scourge", 179 + TILE_FEAT_MAX),
    _name_pair("wpn_scimitar", 195 + TILE_FEAT_MAX),
    _name_pair("wpn_scimitar_magic", 196 + TILE_FEAT_MAX),
    _name_pair("wpn_scimitar_randart", 197 + TILE_FEAT_MAX),
    _name_pair("wpn_scythe", 238 + TILE_FEAT_MAX),
    _name_pair("wpn_scythe_magic", 239 + TILE_FEAT_MAX),
    _name_pair("wpn_scythe_randart", 240 + TILE_FEAT_MAX),
    _name_pair("wpn_short_sword", 183 + TILE_FEAT_MAX),
    _name_pair("wpn_short_sword_magic", 184 + TILE_FEAT_MAX),
    _name_pair("wpn_short_sword_randart", 185 + TILE_FEAT_MAX),
    _name_pair("wpn_shortbow", 270 + TILE_FEAT_MAX),
    _name_pair("wpn_shortbow_magic", 271 + TILE_FEAT_MAX),
    _name_pair("wpn_shortbow_randart", 272 + TILE_FEAT_MAX),
    _name_pair("wpn_sling", 267 + TILE_FEAT_MAX),
    _name_pair("wpn_sling_magic", 268 + TILE_FEAT_MAX),
    _name_pair("wpn_sling_randart", 269 + TILE_FEAT_MAX),
    _name_pair("wpn_spear", 229 + TILE_FEAT_MAX),
    _name_pair("wpn_spear_magic", 230 + TILE_FEAT_MAX),
    _name_pair("wpn_spear_randart", 231 + TILE_FEAT_MAX),
    _name_pair("wpn_staff", 254 + TILE_FEAT_MAX),
    _name_pair("wpn_staff_mummy", 261 + TILE_FEAT_MAX),
    _name_pair("wpn_trident", 232 + TILE_FEAT_MAX),
    _name_pair("wpn_trident_magic", 233 + TILE_FEAT_MAX),
    _name_pair("wpn_trident_randart", 234 + TILE_FEAT_MAX),
    _name_pair("wpn_triple_crossbow", 285 + TILE_FEAT_MAX),
    _name_pair("wpn_triple_crossbow_magic", 286 + TILE_FEAT_MAX),
    _name_pair("wpn_triple_sword", 207 + TILE_FEAT_MAX),
    _name_pair("wpn_triple_sword_magic", 208 + TILE_FEAT_MAX),
    _name_pair("wpn_triple_sword_randart", 209 + TILE_FEAT_MAX),
    _name_pair("wpn_trishula", 253 + TILE_FEAT_MAX),
    _name_pair("wpn_war_axe", 217 + TILE_FEAT_MAX),
    _name_pair("wpn_war_axe_magic", 218 + TILE_FEAT_MAX),
    _name_pair("wpn_war_axe_randart", 219 + TILE_FEAT_MAX),
    _name_pair("wpn_whip", 167 + TILE_FEAT_MAX),
    _name_pair("wpn_whip_magic", 168 + TILE_FEAT_MAX),
    _name_pair("wpn_whip_randart", 169 + TILE_FEAT_MAX),
    _name_pair("wpn_xmas_scythe", 262 + TILE_FEAT_MAX),
};

bool tile_main_index(const char *str, tileidx_t *idx)
{
    ASSERT(str);
    if (!str)
        return false;

    string lc = str;
    for (unsigned int i = 0; i < lc.size(); i++)
        lc[i] = toalower(lc[i]);

    int num_pairs = sizeof(main_name_pairs) / sizeof(main_name_pairs[0]);
    bool result = binary_search<const char *, tileidx_t>(
       lc.c_str(), &main_name_pairs[0], num_pairs, &strcmp, idx);
    return result;
}

bool tile_main_equal(tileidx_t tile, tileidx_t idx)
{
    ASSERT_RANGE(tile, TILE_FEAT_MAX, TILE_MAIN_MAX);
    return idx >= tile && idx < tile + tile_main_count(tile);
}


typedef pair<tile_variation, tileidx_t> _variation_pair;

static _variation_pair main_colour_pairs[] =
{
    _variation_pair(tile_variation(0, 0), 0),
    _variation_pair(tile_variation(1661 + TILE_FEAT_MAX, 15), 1663 + TILE_FEAT_MAX),
};

tileidx_t tile_main_coloured(tileidx_t idx, int col)
{
    int num_pairs = sizeof(main_colour_pairs) / sizeof(main_colour_pairs[0]);
    tile_variation key(idx, col);
    tileidx_t found;
    bool result = binary_search<tile_variation, tileidx_t>(
       key, &main_colour_pairs[0], num_pairs,
       &tile_variation::cmp, &found);
    return (result ? found : idx);
}

static _variation_pair main_enchant_pairs[] =
{
    _variation_pair(tile_variation(0, 0), 0),
    _variation_pair(tile_variation(144 + TILE_FEAT_MAX, 1), 145 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(144 + TILE_FEAT_MAX, 2), 145 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(144 + TILE_FEAT_MAX, 3), 145 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(144 + TILE_FEAT_MAX, 4), 145 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(146 + TILE_FEAT_MAX, 1), 147 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(146 + TILE_FEAT_MAX, 2), 147 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(146 + TILE_FEAT_MAX, 3), 147 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(146 + TILE_FEAT_MAX, 4), 148 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(149 + TILE_FEAT_MAX, 1), 150 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(149 + TILE_FEAT_MAX, 2), 150 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(149 + TILE_FEAT_MAX, 3), 150 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(149 + TILE_FEAT_MAX, 4), 151 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(152 + TILE_FEAT_MAX, 1), 153 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(152 + TILE_FEAT_MAX, 2), 153 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(152 + TILE_FEAT_MAX, 3), 153 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(152 + TILE_FEAT_MAX, 4), 154 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(155 + TILE_FEAT_MAX, 1), 156 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(155 + TILE_FEAT_MAX, 2), 156 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(155 + TILE_FEAT_MAX, 3), 156 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(155 + TILE_FEAT_MAX, 4), 157 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(158 + TILE_FEAT_MAX, 1), 159 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(158 + TILE_FEAT_MAX, 2), 159 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(158 + TILE_FEAT_MAX, 3), 159 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(158 + TILE_FEAT_MAX, 4), 160 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(161 + TILE_FEAT_MAX, 1), 162 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(161 + TILE_FEAT_MAX, 2), 162 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(161 + TILE_FEAT_MAX, 3), 162 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(161 + TILE_FEAT_MAX, 4), 163 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(164 + TILE_FEAT_MAX, 1), 165 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(164 + TILE_FEAT_MAX, 1), 166 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(164 + TILE_FEAT_MAX, 2), 165 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(164 + TILE_FEAT_MAX, 2), 166 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(164 + TILE_FEAT_MAX, 3), 165 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(164 + TILE_FEAT_MAX, 3), 166 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(164 + TILE_FEAT_MAX, 4), 166 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(167 + TILE_FEAT_MAX, 1), 168 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(167 + TILE_FEAT_MAX, 2), 168 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(167 + TILE_FEAT_MAX, 3), 168 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(167 + TILE_FEAT_MAX, 4), 169 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(170 + TILE_FEAT_MAX, 1), 171 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(170 + TILE_FEAT_MAX, 2), 171 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(170 + TILE_FEAT_MAX, 3), 171 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(170 + TILE_FEAT_MAX, 4), 172 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(173 + TILE_FEAT_MAX, 1), 174 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(173 + TILE_FEAT_MAX, 2), 174 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(173 + TILE_FEAT_MAX, 3), 174 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(173 + TILE_FEAT_MAX, 4), 175 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(176 + TILE_FEAT_MAX, 1), 177 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(176 + TILE_FEAT_MAX, 2), 177 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(176 + TILE_FEAT_MAX, 3), 177 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(176 + TILE_FEAT_MAX, 4), 178 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(180 + TILE_FEAT_MAX, 1), 181 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(180 + TILE_FEAT_MAX, 2), 181 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(180 + TILE_FEAT_MAX, 3), 181 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(180 + TILE_FEAT_MAX, 4), 182 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(183 + TILE_FEAT_MAX, 1), 184 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(183 + TILE_FEAT_MAX, 2), 184 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(183 + TILE_FEAT_MAX, 3), 184 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(183 + TILE_FEAT_MAX, 4), 185 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(186 + TILE_FEAT_MAX, 1), 187 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(186 + TILE_FEAT_MAX, 2), 187 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(186 + TILE_FEAT_MAX, 3), 187 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(186 + TILE_FEAT_MAX, 4), 188 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(189 + TILE_FEAT_MAX, 1), 190 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(189 + TILE_FEAT_MAX, 2), 190 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(189 + TILE_FEAT_MAX, 3), 190 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(189 + TILE_FEAT_MAX, 4), 191 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(192 + TILE_FEAT_MAX, 1), 193 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(192 + TILE_FEAT_MAX, 2), 193 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(192 + TILE_FEAT_MAX, 3), 193 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(192 + TILE_FEAT_MAX, 4), 194 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(195 + TILE_FEAT_MAX, 1), 196 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(195 + TILE_FEAT_MAX, 2), 196 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(195 + TILE_FEAT_MAX, 3), 196 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(195 + TILE_FEAT_MAX, 4), 197 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(198 + TILE_FEAT_MAX, 1), 199 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(198 + TILE_FEAT_MAX, 2), 199 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(198 + TILE_FEAT_MAX, 3), 199 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(198 + TILE_FEAT_MAX, 4), 200 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(201 + TILE_FEAT_MAX, 1), 202 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(201 + TILE_FEAT_MAX, 2), 202 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(201 + TILE_FEAT_MAX, 3), 202 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(201 + TILE_FEAT_MAX, 4), 203 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(204 + TILE_FEAT_MAX, 1), 205 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(204 + TILE_FEAT_MAX, 2), 205 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(204 + TILE_FEAT_MAX, 3), 205 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(204 + TILE_FEAT_MAX, 4), 206 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(207 + TILE_FEAT_MAX, 1), 208 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(207 + TILE_FEAT_MAX, 2), 208 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(207 + TILE_FEAT_MAX, 3), 208 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(207 + TILE_FEAT_MAX, 4), 209 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(210 + TILE_FEAT_MAX, 1), 211 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(210 + TILE_FEAT_MAX, 2), 211 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(210 + TILE_FEAT_MAX, 3), 211 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(210 + TILE_FEAT_MAX, 4), 212 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(214 + TILE_FEAT_MAX, 1), 215 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(214 + TILE_FEAT_MAX, 2), 215 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(214 + TILE_FEAT_MAX, 3), 215 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(214 + TILE_FEAT_MAX, 4), 216 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(217 + TILE_FEAT_MAX, 1), 218 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(217 + TILE_FEAT_MAX, 2), 218 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(217 + TILE_FEAT_MAX, 3), 218 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(217 + TILE_FEAT_MAX, 4), 219 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(220 + TILE_FEAT_MAX, 1), 221 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(220 + TILE_FEAT_MAX, 2), 221 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(220 + TILE_FEAT_MAX, 3), 221 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(220 + TILE_FEAT_MAX, 4), 222 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(223 + TILE_FEAT_MAX, 1), 224 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(223 + TILE_FEAT_MAX, 2), 224 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(223 + TILE_FEAT_MAX, 3), 224 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(223 + TILE_FEAT_MAX, 4), 225 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(226 + TILE_FEAT_MAX, 1), 227 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(226 + TILE_FEAT_MAX, 2), 227 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(226 + TILE_FEAT_MAX, 3), 227 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(226 + TILE_FEAT_MAX, 4), 228 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(229 + TILE_FEAT_MAX, 1), 230 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(229 + TILE_FEAT_MAX, 2), 230 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(229 + TILE_FEAT_MAX, 3), 230 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(229 + TILE_FEAT_MAX, 4), 231 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(232 + TILE_FEAT_MAX, 1), 233 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(232 + TILE_FEAT_MAX, 2), 233 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(232 + TILE_FEAT_MAX, 3), 233 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(232 + TILE_FEAT_MAX, 4), 234 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(235 + TILE_FEAT_MAX, 1), 236 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(235 + TILE_FEAT_MAX, 2), 236 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(235 + TILE_FEAT_MAX, 3), 236 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(235 + TILE_FEAT_MAX, 4), 237 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(238 + TILE_FEAT_MAX, 1), 239 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(238 + TILE_FEAT_MAX, 2), 239 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(238 + TILE_FEAT_MAX, 3), 239 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(238 + TILE_FEAT_MAX, 4), 240 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(241 + TILE_FEAT_MAX, 1), 242 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(241 + TILE_FEAT_MAX, 2), 242 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(241 + TILE_FEAT_MAX, 3), 242 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(241 + TILE_FEAT_MAX, 4), 243 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(244 + TILE_FEAT_MAX, 1), 245 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(244 + TILE_FEAT_MAX, 2), 245 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(244 + TILE_FEAT_MAX, 3), 245 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(244 + TILE_FEAT_MAX, 4), 246 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(247 + TILE_FEAT_MAX, 1), 248 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(247 + TILE_FEAT_MAX, 2), 248 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(247 + TILE_FEAT_MAX, 3), 248 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(247 + TILE_FEAT_MAX, 4), 249 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(250 + TILE_FEAT_MAX, 1), 251 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(250 + TILE_FEAT_MAX, 2), 251 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(250 + TILE_FEAT_MAX, 3), 251 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(250 + TILE_FEAT_MAX, 4), 252 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(255 + TILE_FEAT_MAX, 1), 256 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(255 + TILE_FEAT_MAX, 2), 256 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(255 + TILE_FEAT_MAX, 3), 256 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(255 + TILE_FEAT_MAX, 4), 257 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(258 + TILE_FEAT_MAX, 1), 259 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(258 + TILE_FEAT_MAX, 2), 259 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(258 + TILE_FEAT_MAX, 3), 259 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(258 + TILE_FEAT_MAX, 4), 260 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(265 + TILE_FEAT_MAX, 1), 266 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(265 + TILE_FEAT_MAX, 2), 266 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(265 + TILE_FEAT_MAX, 3), 266 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(265 + TILE_FEAT_MAX, 4), 266 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(267 + TILE_FEAT_MAX, 1), 268 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(267 + TILE_FEAT_MAX, 2), 268 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(267 + TILE_FEAT_MAX, 3), 268 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(267 + TILE_FEAT_MAX, 4), 269 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(270 + TILE_FEAT_MAX, 1), 271 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(270 + TILE_FEAT_MAX, 2), 271 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(270 + TILE_FEAT_MAX, 3), 271 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(270 + TILE_FEAT_MAX, 4), 272 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(273 + TILE_FEAT_MAX, 1), 274 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(273 + TILE_FEAT_MAX, 2), 274 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(273 + TILE_FEAT_MAX, 3), 274 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(273 + TILE_FEAT_MAX, 4), 275 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(276 + TILE_FEAT_MAX, 1), 277 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(276 + TILE_FEAT_MAX, 2), 277 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(276 + TILE_FEAT_MAX, 3), 277 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(276 + TILE_FEAT_MAX, 4), 278 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(279 + TILE_FEAT_MAX, 1), 280 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(279 + TILE_FEAT_MAX, 2), 280 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(279 + TILE_FEAT_MAX, 3), 280 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(279 + TILE_FEAT_MAX, 4), 281 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(282 + TILE_FEAT_MAX, 1), 283 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(282 + TILE_FEAT_MAX, 2), 283 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(282 + TILE_FEAT_MAX, 3), 283 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(282 + TILE_FEAT_MAX, 4), 284 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(285 + TILE_FEAT_MAX, 1), 286 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(285 + TILE_FEAT_MAX, 2), 286 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(285 + TILE_FEAT_MAX, 3), 286 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(285 + TILE_FEAT_MAX, 4), 286 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(334 + TILE_FEAT_MAX, 1), 335 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(334 + TILE_FEAT_MAX, 2), 335 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(334 + TILE_FEAT_MAX, 3), 335 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(334 + TILE_FEAT_MAX, 4), 335 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(336 + TILE_FEAT_MAX, 1), 337 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(336 + TILE_FEAT_MAX, 2), 337 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(336 + TILE_FEAT_MAX, 3), 337 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(336 + TILE_FEAT_MAX, 4), 337 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(338 + TILE_FEAT_MAX, 1), 339 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(338 + TILE_FEAT_MAX, 2), 339 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(338 + TILE_FEAT_MAX, 3), 339 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(338 + TILE_FEAT_MAX, 4), 339 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(340 + TILE_FEAT_MAX, 1), 341 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(340 + TILE_FEAT_MAX, 2), 341 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(340 + TILE_FEAT_MAX, 3), 341 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(340 + TILE_FEAT_MAX, 4), 341 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(342 + TILE_FEAT_MAX, 1), 343 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(342 + TILE_FEAT_MAX, 2), 343 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(342 + TILE_FEAT_MAX, 3), 343 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(342 + TILE_FEAT_MAX, 4), 343 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(344 + TILE_FEAT_MAX, 1), 345 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(344 + TILE_FEAT_MAX, 2), 345 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(344 + TILE_FEAT_MAX, 3), 345 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(344 + TILE_FEAT_MAX, 4), 345 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(346 + TILE_FEAT_MAX, 1), 347 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(346 + TILE_FEAT_MAX, 2), 347 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(346 + TILE_FEAT_MAX, 3), 347 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(346 + TILE_FEAT_MAX, 4), 347 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(348 + TILE_FEAT_MAX, 1), 349 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(348 + TILE_FEAT_MAX, 2), 349 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(348 + TILE_FEAT_MAX, 3), 349 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(348 + TILE_FEAT_MAX, 4), 349 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(350 + TILE_FEAT_MAX, 1), 351 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(350 + TILE_FEAT_MAX, 2), 351 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(350 + TILE_FEAT_MAX, 3), 351 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(350 + TILE_FEAT_MAX, 4), 351 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(360 + TILE_FEAT_MAX, 1), 361 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(360 + TILE_FEAT_MAX, 2), 361 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(360 + TILE_FEAT_MAX, 3), 361 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(360 + TILE_FEAT_MAX, 4), 361 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(362 + TILE_FEAT_MAX, 1), 363 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(362 + TILE_FEAT_MAX, 2), 363 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(362 + TILE_FEAT_MAX, 3), 363 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(362 + TILE_FEAT_MAX, 4), 363 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(364 + TILE_FEAT_MAX, 1), 365 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(364 + TILE_FEAT_MAX, 2), 365 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(364 + TILE_FEAT_MAX, 3), 365 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(364 + TILE_FEAT_MAX, 4), 365 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(374 + TILE_FEAT_MAX, 1), 375 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(374 + TILE_FEAT_MAX, 2), 375 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(374 + TILE_FEAT_MAX, 3), 375 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(374 + TILE_FEAT_MAX, 4), 375 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(381 + TILE_FEAT_MAX, 1), 382 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(381 + TILE_FEAT_MAX, 2), 382 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(381 + TILE_FEAT_MAX, 3), 382 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(381 + TILE_FEAT_MAX, 4), 382 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(396 + TILE_FEAT_MAX, 1), 397 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(396 + TILE_FEAT_MAX, 2), 397 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(396 + TILE_FEAT_MAX, 3), 397 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(396 + TILE_FEAT_MAX, 4), 397 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(398 + TILE_FEAT_MAX, 1), 399 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(398 + TILE_FEAT_MAX, 2), 399 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(398 + TILE_FEAT_MAX, 3), 399 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(398 + TILE_FEAT_MAX, 4), 399 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(400 + TILE_FEAT_MAX, 1), 401 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(400 + TILE_FEAT_MAX, 2), 401 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(400 + TILE_FEAT_MAX, 3), 401 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(400 + TILE_FEAT_MAX, 4), 401 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(429 + TILE_FEAT_MAX, 1), 431 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(429 + TILE_FEAT_MAX, 2), 431 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(429 + TILE_FEAT_MAX, 3), 431 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(429 + TILE_FEAT_MAX, 4), 433 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(435 + TILE_FEAT_MAX, 1), 436 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(435 + TILE_FEAT_MAX, 2), 436 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(435 + TILE_FEAT_MAX, 3), 436 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(435 + TILE_FEAT_MAX, 4), 437 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(438 + TILE_FEAT_MAX, 1), 439 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(438 + TILE_FEAT_MAX, 2), 439 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(438 + TILE_FEAT_MAX, 3), 439 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(438 + TILE_FEAT_MAX, 4), 440 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(441 + TILE_FEAT_MAX, 1), 442 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(441 + TILE_FEAT_MAX, 2), 442 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(441 + TILE_FEAT_MAX, 3), 442 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(441 + TILE_FEAT_MAX, 4), 443 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(444 + TILE_FEAT_MAX, 1), 445 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(444 + TILE_FEAT_MAX, 2), 445 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(444 + TILE_FEAT_MAX, 3), 445 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(444 + TILE_FEAT_MAX, 4), 446 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(447 + TILE_FEAT_MAX, 1), 448 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(447 + TILE_FEAT_MAX, 2), 448 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(447 + TILE_FEAT_MAX, 3), 448 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(447 + TILE_FEAT_MAX, 4), 449 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(450 + TILE_FEAT_MAX, 1), 451 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(450 + TILE_FEAT_MAX, 2), 451 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(450 + TILE_FEAT_MAX, 3), 451 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(450 + TILE_FEAT_MAX, 4), 452 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(453 + TILE_FEAT_MAX, 1), 454 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(453 + TILE_FEAT_MAX, 2), 454 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(453 + TILE_FEAT_MAX, 3), 454 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(453 + TILE_FEAT_MAX, 4), 455 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(456 + TILE_FEAT_MAX, 4), 457 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(458 + TILE_FEAT_MAX, 4), 459 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(460 + TILE_FEAT_MAX, 4), 461 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(462 + TILE_FEAT_MAX, 4), 463 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(464 + TILE_FEAT_MAX, 4), 465 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(466 + TILE_FEAT_MAX, 4), 467 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(468 + TILE_FEAT_MAX, 4), 469 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(470 + TILE_FEAT_MAX, 4), 471 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(472 + TILE_FEAT_MAX, 4), 473 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(474 + TILE_FEAT_MAX, 4), 475 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(476 + TILE_FEAT_MAX, 4), 477 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(480 + TILE_FEAT_MAX, 1), 481 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(480 + TILE_FEAT_MAX, 2), 481 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(480 + TILE_FEAT_MAX, 3), 482 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(480 + TILE_FEAT_MAX, 4), 483 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(484 + TILE_FEAT_MAX, 1), 485 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(484 + TILE_FEAT_MAX, 2), 486 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(484 + TILE_FEAT_MAX, 3), 487 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(484 + TILE_FEAT_MAX, 4), 488 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(489 + TILE_FEAT_MAX, 1), 490 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(489 + TILE_FEAT_MAX, 2), 490 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(489 + TILE_FEAT_MAX, 3), 490 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(489 + TILE_FEAT_MAX, 4), 491 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(492 + TILE_FEAT_MAX, 4), 493 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(497 + TILE_FEAT_MAX, 1), 498 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(497 + TILE_FEAT_MAX, 2), 498 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(497 + TILE_FEAT_MAX, 3), 498 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(497 + TILE_FEAT_MAX, 4), 499 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(501 + TILE_FEAT_MAX, 1), 502 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(501 + TILE_FEAT_MAX, 2), 502 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(501 + TILE_FEAT_MAX, 3), 502 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(501 + TILE_FEAT_MAX, 4), 503 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(504 + TILE_FEAT_MAX, 1), 505 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(504 + TILE_FEAT_MAX, 2), 505 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(504 + TILE_FEAT_MAX, 3), 505 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(504 + TILE_FEAT_MAX, 4), 506 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(520 + TILE_FEAT_MAX, 1), 522 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(520 + TILE_FEAT_MAX, 2), 522 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(520 + TILE_FEAT_MAX, 3), 522 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(520 + TILE_FEAT_MAX, 4), 524 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(526 + TILE_FEAT_MAX, 1), 531 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(526 + TILE_FEAT_MAX, 2), 531 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(526 + TILE_FEAT_MAX, 3), 531 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(526 + TILE_FEAT_MAX, 4), 535 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(538 + TILE_FEAT_MAX, 1), 539 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(538 + TILE_FEAT_MAX, 2), 540 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(538 + TILE_FEAT_MAX, 3), 541 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(538 + TILE_FEAT_MAX, 4), 542 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(543 + TILE_FEAT_MAX, 1), 545 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(543 + TILE_FEAT_MAX, 2), 545 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(543 + TILE_FEAT_MAX, 3), 545 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(543 + TILE_FEAT_MAX, 4), 547 + TILE_FEAT_MAX),
    _variation_pair(tile_variation(885 + TILE_FEAT_MAX, 4), 917 + TILE_FEAT_MAX),
};

tileidx_t tile_main_enchanted(tileidx_t idx, int ench)
{
    int num_pairs = sizeof(main_enchant_pairs) / sizeof(main_enchant_pairs[0]);
    tile_variation key(idx, ench);
    tileidx_t found;
    bool result = binary_search<tile_variation, tileidx_t>(
       key, &main_enchant_pairs[0], num_pairs,
       &tile_variation::cmp, &found);
    return (result ? found : idx);
}

