Подумайте над тем, чтобы помочь в обновлении Wiki.

Модуль:Game

Материал из Path of Exile Wiki
Перейти к: навигация, поиск
Документация модуля[просмотр] [править] [история] [очистить]
Это модуль программирования, не вызывайте его напрямую.

Описание[править код]

Этот модуль содержит некоторые константы и функции, связанные с path of exile в целом.

Структура[править код]

Модуль имеет следующую структуру

game.constants Общие игровые константы, такие, как атрибуты или классы
game.constants.item константы предметов
game.constants.mod константы модов

Данные[править код]

Id Таблицы Описание Available keys Extra keys
full long_upper long_lower short_upper short_lower
game.constants.characters Character
  • id - внутренний идентификатор
game.constants.ascendancy Ascendancy class
  • id - внутренний идентификатор
  • character - идентификатор персонажа
game.constants.attributes Attributes
game.constants.damage_types Damage type
game.constants.difficulties Difficulties
  • resistances - resist cap
  • minimum_level - минимальный необходимый уровень для входа
  • label - one letter label
game.constants.passive_types Passive skill
  • type - 'normal' или 'ascendancy'
game.constants.tags internal tags
game.constants.item.rarity Rarity
game.constants.item.class Item class
game.constants.item.gem_tags Gem tags
game.constants.mod.domains Mod Domain
game.constants.mod.generation_types Mod Generation Type

local game = {}

-- Harvest seed types
game.seed_types = {
    primal = 'Первобытн.',
    vivid = 'Буйн.',
    wild = 'Дик.',
}

game.level_requirement =
{
    full = 'Level Requirement',
    long_upper = 'Level Requirement',
    long_lower = 'level requirement',
    short_upper = 'Треб. ур.',
    short_lower = 'req. lv.',
    icon = '[[Image:Level up icon small.png‎|link=|Ур.]]',
}

game.constants = {}

-- Characters.dat
game.constants.characters_order = {'Witch', 'Shadow', 'Ranger', 'Duelist', 'Marauder', 'Templar', 'Scion'}
game.constants.characters = {
    Marauder = {
        id = 0,
        str_id = 'Str',
        name = 'Дикарь',
    },
    Witch = {
        id = 1,
        str_id = 'Int',
        name = 'Ведьма',
    },
    Scion = {
        id = 2,
        str_id = 'StrDexInt',
        name = 'Дворянка',
    },
    Ranger = {
        id = 3,
        str_id = 'Dex',
        name = 'Охотница',
    },
    Duelist = {
        id = 4,
        str_id = 'StrDex',
        name = 'Дуэлянт',
    },
    Shadow = {
        id = 5,
        str_id = 'DexInt',
        name = 'Бандит',
    },
    Templar = {
        id = 6,
        str_id = 'StrInt',
        name = 'Жрец',
    },
}

game.constants.leagues = {
    ['Боевой раж'] = true,
    ['Анархия'] = true,
    ['Немезида'] = true,
    ['Господство'] = true,
    ['Вторжение'] = true,
    ['Засада'] = true,
    ['Иномирье'] = true,
    ['Буйство'] = true,
    ['Родословные'] = true,
    ['Мучение'] = true,
    ['Буря'] = true,
    ['Отряды'] = true,
    ['Талисманы'] = true,
    ['Перандусы'] = true,
    ['Пророчество'] = true,
    ['Сущность'] = true,
    ['Разлом'] = true,
    ['Наследие'] = true,
    ['Предвестник'] = true,
    ['Бездна'] = true,
    ['Бестиарий'] = true,
    ['Вмешательство'] = true,
    ['Спуск'] = true,
    ['Предательство'] = true,
    ['Синтез'] = true,
    ['Легион'] = true,
    ['Скверна'] = true,
    ['Метаморф'] = true,
    ['Делириум'] = true,
    ['Жатва'] = true,
}

-- Ascendancy.dat
game.constants.ascendancy = {
    ['Juggernaut'] = {
        id = 1,
        character = 0,
        name = 'Покоритель',
    },
    ['Berserker'] = {
        id = 2,
        character = 0,
        name = 'Берсерк',
    },
    ['Chieftain'] = {
        id = 3,
        character = 0,
        name = 'Вождь',
    },
    ['Raider'] = {
        id = 4,
        character = 3,
        name = 'Налётчик',
    },
    ['Deadeye'] = {
        id = 5,
        character = 3,
        name = 'Снайпер',
    },
    ['Pathfinder'] = {
        id = 6,
        character = 3,
        name = 'Следопыт',
    },
    ['Occultist'] = {
        id = 7,
        character = 1,
        name = 'Оккультист',
    },
    ['Elementalist'] = {
        id = 8,
        character = 1,
        name = 'Маг стихий',
    },
    ['Necromancer'] = {
        id = 9,
        character = 1,
        name = 'Некромант',
    },
    ['Slayer'] = {
        id = 10,
        character = 4,
        name = 'Рубака',
    },
    ['Gladiator'] = {
        id = 11,
        character = 4,
        name = 'Гладиатор',
    },
    ['Champion'] = {
        id = 12,
        character = 4,
        name = 'Чемпион',
    },
    ['Inquisitor'] = {
        id = 13,
        character = 6,
        name = 'Инквизитор',
    },
    ['Hierophant'] = {
        id = 14,
        character = 6,
        name = 'Иерофант',
    },
    ['Guardian'] = {
        id = 15,
        character = 6,
        name = 'Защитник',
    },
    ['Assassin'] = {
        id = 16,
        character = 5,
        name = 'Убийца',
    },
    ['Trickster'] = {
        id = 17,
        character = 5,
        name = 'Плут',
    },
    ['Saboteur'] = {
        id = 18,
        character = 5,
        name = 'Диверсант',
    },
    ['Ascendant'] = {
        id = 19,
        character = 2,
        name = 'Вознесшаяся',
    },
}

game.constants.attribute_order = {'strength', 'dexterity', 'intelligence'}
game.constants.attributes = {
    strength = {
        long_upper = 'Сила',
        short_upper = 'Сила',
        long_lower = 'сила',
        long_lower_2 = 'силы',
        arg = 'str',
        icon = '[[Image:StrengthIcon small.png|link=|Сила]]',
    },
    dexterity = {
        long_upper = 'Ловкость',
        short_upper = 'Ловк',
        long_lower = 'ловкость',
        long_lower_2 = 'ловкости',
        arg = 'dex',
        icon = '[[Image:DexterityIcon small.png|link=|Ловк.]]',
    },
    intelligence = {
        long_upper = 'Интеллект',
        short_upper = 'Инт',
        long_lower = 'интеллект',
        long_lower_2 = 'интеллекта',
        arg = 'int',
        icon = '[[Image:IntelligenceIcon small.png|link=|Инт.]]',
    },
}

game.constants.damage_type_order = {'physical', 'fire', 'cold', 'lightning', 'chaos'}

game.constants.damage_types = {
    ['physical'] = {
        short_upper = 'Физический',
        short_lower = 'физический',
    },
    ['fire'] = {
        short_upper = 'Огонь',
        short_lower = 'огонь',
    },
    ['cold'] = {
        short_upper = 'Холод',
        short_lower = 'холод',
    },
    ['lightning'] = {
        short_upper = 'Молния',
        short_lower = 'молния',
    },
    ['chaos'] = {
        short_upper = 'Хаос',
        short_lower = 'хаос',
    },
}

-- Tags.dat
game.constants.tags = {
    ['default'] = {},
    ['shield'] = {},
    ['ring'] = {},
    ['amulet'] = {},
    ['boots'] = {},
    ['bow'] = {},
    ['equipment'] = {},
    ['armour'] = {},
    ['weapon'] = {},
    ['wand'] = {},
    ['staff'] = {},
    ['mace'] = {},
    ['sword'] = {},
    ['dagger'] = {},
    ['claw'] = {},
    ['axe'] = {},
    ['body_armour'] = {},
    ['life_flask'] = {},
    ['mana_flask'] = {},
    ['hybrid_flask'] = {},
    ['flask'] = {},
    ['quiver'] = {},
    ['gloves'] = {},
    ['onehand'] = {},
    ['twohand'] = {},
    ['helmet'] = {},
    ['belt'] = {},
    ['gem'] = {},
    ['relic'] = {},
    ['not_str'] = {},
    ['not_dex'] = {},
    ['not_int'] = {},
    ['ranged'] = {},
    ['not_for_sale'] = {},
    ['caster'] = {
        name = 'Чародейский',
    },
    ['magic'] = {},
    ['rare'] = {},
    ['sceptre'] = {},
    ['str_armour'] = {},
    ['dex_armour'] = {},
    ['int_armour'] = {},
    ['str_dex_armour'] = {},
    ['str_int_armour'] = {},
    ['dex_int_armour'] = {},
    ['str_dex_int_armour'] = {},
    ['focus'] = {},
    ['utility_flask'] = {},
    ['critical_utility_flask'] = {},
    ['humanoid'] = {},
    ['mammal_beast'] = {},
    ['reptile_beast'] = {},
    ['skeleton'] = {},
    ['zombie'] = {},
    ['ghost'] = {},
    ['earth_elemental'] = {},
    ['water_elemental'] = {},
    ['demon'] = {},
    ['map'] = {},
    ['rapier'] = {},
    ['necromancer_raisable'] = {},
    ['lots_of_life'] = {},
    ['indoors_area'] = {},
    ['beach'] = {},
    ['dungeon'] = {},
    ['cave'] = {},
    ['forest'] = {},
    ['swamp'] = {},
    ['mountain'] = {},
    ['temple'] = {},
    ['urban'] = {},
    ['high_level_map'] = {},
    ['human'] = {},
    ['beast'] = {},
    ['undead'] = {},
    ['construct'] = {},
    ['insect'] = {},
    ['spider'] = {},
    ['undying'] = {},
    ['goatman'] = {},
    ['stone_construct'] = {},
    ['fishing_rod'] = {},
    ['one_hand_weapon'] = {},
    ['two_hand_weapon'] = {},
    ['atziri1'] = {},
    ['atziri2'] = {},
    ['drops_no_mods'] = {},
    ['drops_no_rares'] = {},
    ['drops_no_quality'] = {},
    ['drops_no_sockets'] = {},
    ['drops_not_dupeable'] = {},
    ['shore'] = {},
    ['darkshore'] = {},
    ['inland'] = {},
    ['prison'] = {},
    ['axis'] = {},
    ['cavern'] = {},
    ['southernforest'] = {},
    ['southernforest2'] = {},
    ['church'] = {},
    ['sins'] = {},
    ['forestdark'] = {},
    ['weavers'] = {},
    ['inca'] = {},
    ['city1'] = {},
    ['city2'] = {},
    ['city3'] = {},
    ['crematorium'] = {},
    ['catacombs'] = {},
    ['solaris'] = {},
    ['docks'] = {},
    ['sewers'] = {},
    ['barracks'] = {},
    ['lunaris'] = {},
    ['gardens'] = {},
    ['library'] = {},
    ['scepter'] = {},
    ['secret_area'] = {},
    ['limited_strongbox_benefits'] = {},
    ['no_caster_mods'] = {},
    ['no_attack_mods'] = {},
    ['red_blood'] = {},
    ['ghost_blood'] = {},
    ['mud_blood'] = {},
    ['insect_blood'] = {},
    ['bones'] = {},
    ['water'] = {},
    ['noblood'] = {},
    ['unusable_corpse'] = {},
    ['hidden_monster'] = {},
    ['devourer'] = {},
    ['wb_basic'] = {},
    ['wb_support'] = {},
    ['wb_elite'] = {},
    ['wb_leader'] = {},
    ['rare_minion'] = {},
    ['undeletable_corpse'] = {},
    ['jewel'] = {},
    ['strjewel'] = {},
    ['dexjewel'] = {},
    ['intjewel'] = {},
    ['gladiator'] = {},
    ['karui'] = {},
    ['flying'] = {},
    ['large_model'] = {},
    ['specific_weapon'] = {},
    ['two_handed_mod'] = {},
    ['dual_wielding_mod'] = {},
    ['shield_mod'] = {},
    ['one_handed_mod'] = {},
    ['melee_mod'] = {},
    ['twostonering'] = {},
    ['poison_zombie'] = {},
    ['divination_card'] = {},
    ['currency'] = {},
    ['no_divine'] = {},
    ['unique_map'] = {},
    ['low_tier_map'] = {},
    ['mid_tier_map'] = {},
    ['top_tier_map'] = {},
    ['old_map'] = {},
    ['act_boss_area'] = {},
    ['no_tempests'] = {},
    ['cannot_be_twinned'] = {},
    ['no_shroud_walker'] = {},
    ['no_echo'] = {},
    ['immobile'] = {},
    ['limited_tempests'] = {},
    ['small_staff'] = {},
    ['support_gem'] = {},
    ['level_capped_gem'] = {},
    ['no_effect_flask_mod'] = {},
    ['area_with_water'] = {},
    ['no_bloodlines'] = {},
    ['has_caster_mod'] = {},
    ['has_attack_mod'] = {},
    ['maraketh'] = {},
    ['uses_suicide_explode'] = {},
    ['cannot_be_monolith'] = {},
    ['no_zana_quests'] = {},
    ['atlas_base_type'] = {},
    ['ringatlas1'] = {},
    ['ringatlas2'] = {},
    ['amuletatlas1'] = {},
    ['amuletatlas2'] = {},
    ['beltatlas1'] = {},
    ['beltatlas2'] = {},
    ['helmetatlas1'] = {},
    ['bootsatlas1'] = {},
    ['bootsatlas2'] = {},
    ['bootsatlas3'] = {},
    ['glovesatlasstr'] = {},
    ['glovesatlasdex'] = {},
    ['glovesatlasint'] = {},
    ['shaped_map'] = {},
    ['no_boss'] = {},
    ['no_monster_packs'] = {},
    ['no_strongboxes'] = {},
    ['hall_of_grandmasters'] = {},
    ['vaults_of_atziri'] = {},
    ['cowards_trial'] = {},
    ['breach_map'] = {},
    ['breach_commander'] = {},
    ['breach_leaguestone'] = {},
    ['breachstone'] = {},
    ['breachstone_splinter'] = {},
    ['essence_leaguestone'] = {},
    ['prophecy_leaguestone'] = {},
    ['perandus_leaguestone'] = {},
    ['talisman_leaguestone'] = {},
    ['warbands_leaguestone'] = {},
    ['torment_leaguestone'] = {},
    ['rampage_leaguestone'] = {},
    ['domination_leaguestone'] = {},
    ['tempest_leaguestone'] = {},
    ['bloodlines_leaguestone'] = {},
    ['beyond_leaguestone'] = {},
    ['ambush_leaguestone'] = {},
    ['invasion_leaguestone'] = {},
    ['nemesis_leaguestone'] = {},
    ['anarchy_leaguestone'] = {},
    ['onslaught_leaguestone'] = {},
    ['god'] = {},
    ['unset_ring'] = {},
    ['no_leaguestone'] = {},
    ['chaos_warband'] = {},
    ['templar'] = {},
    ['cultist'] = {},
    ['female'] = {},
    ['str_shield'] = {},
    ['dex_shield'] = {},
    ['str_dex_shield'] = {},
    ['str_int_shield'] = {},
    ['dex_int_shield'] = {},
    ['currency_shard'] = {},
    ['harbinger_orb_shard'] = {},
    ['not_harbinger_minion'] = {},
    ['abyss_jewel_melee'] = {},
    ['abyss_jewel_ranged'] = {},
    ['abyss_jewel_caster'] = {},
    ['abyss_jewel_summoner'] = {},
    ['abyss_jewel'] = {},
    ['abyssal'] = {},
    ['unarmed'] = {},
    ['worlds_map'] = {},
    ['shaper_item'] = {},
    ['elder_item'] = {},
    ['boots_shaper'] = {},
    ['boots_elder'] = {},
    ['sword_shaper'] = {},
    ['sword_elder'] = {},
    ['gloves_shaper'] = {},
    ['gloves_elder'] = {},
    ['helmet_shaper'] = {},
    ['helmet_elder'] = {},
    ['body_armour_shaper'] = {},
    ['body_armour_elder'] = {},
    ['amulet_shaper'] = {},
    ['amulet_elder'] = {},
    ['ring_shaper'] = {},
    ['ring_elder'] = {},
    ['belt_shaper'] = {},
    ['belt_elder'] = {},
    ['quiver_shaper'] = {},
    ['quiver_elder'] = {},
    ['shield_shaper'] = {},
    ['shield_elder'] = {},
    ['2h_sword_shaper'] = {},
    ['2h_sword_elder'] = {},
    ['axe_shaper'] = {},
    ['axe_elder'] = {},
    ['mace_shaper'] = {},
    ['mace_elder'] = {},
    ['claw_shaper'] = {},
    ['claw_elder'] = {},
    ['bow_shaper'] = {},
    ['bow_elder'] = {},
    ['dagger_shaper'] = {},
    ['dagger_elder'] = {},
    ['2h_axe_shaper'] = {},
    ['2h_axe_elder'] = {},
    ['2h_mace_shaper'] = {},
    ['2h_mace_elder'] = {},
    ['staff_shaper'] = {},
    ['staff_elder'] = {},
    ['sceptre_shaper'] = {},
    ['sceptre_elder'] = {},
    ['wand_shaper'] = {},
    ['wand_elder'] = {},
    ['rune_dagger_shaper'] = {},
    ['rune_dagger_elder'] = {},
    ['warstaff_shaper'] = {},
    ['warstaff_elder'] = {},
    ['grants_crit_chance_support'] = {},
    ['no_legacy_of_zeal'] = {},
    ['bestiary_beast_boss'] = {},
    ['elder_occupied_map'] = {},
    ['bestiary_wilds'] = {},
    ['bestiary_sands'] = {},
    ['bestiary_caverns'] = {},
    ['bestiary_deep'] = {},
    ['no_elemental_damage_mods'] = {},
    ['no_physical_damage_mods'] = {},
    ['no_cannot_die_aura'] = {},
    ['bestiary_net'] = {},
    ['up_to_level_2_gem'] = {},
    ['up_to_level_8_gem'] = {},
    ['essence'] = {},
    ['talisman'] = {},
    ['armour_divination'] = {},
    ['weapon_divination'] = {},
    ['jewellery_divination'] = {},
    ['delve_chest'] = {},
    ['incursion_monster'] = {},
    ['fire'] = {
        name = 'Огонь',
    },
    ['cold'] = {
        name = 'Холод',
    },
    ['lightning'] = {
        name = 'Молния',
    },
    ['chaos'] = {
        name = 'Хаос',
    },
    ['physical'] = {
        name = 'Физический',
    },
    ['poison'] = {
        name = 'Отравление',
    },
    ['bleed'] = {
        name = 'Кровотечение',
    },
    ['life'] = {
        name = 'Здоровье',
    },
    ['defences'] = {
        name = 'Защита',
    },
    ['elemental'] = {
        name = 'Стихийный',
    },
    ['attack'] = {
        name = 'Атака',
    },
    ['minion'] = {
        name = 'Приспешник',
    },
    ['gem_level'] = {
        name = 'Уровень камня',
    },
    ['aura'] = {
        name = 'Аура',
    },
    ['vaal'] = {
        name = 'Ваал',
    },
    ['mana'] = {
        name = 'Мана',
    },
    ['speed'] = {
        name = 'Скорость',
    },
    ['flat_life_regen'] = {},
    ['einharbeast'] = {},
    ['einharmonkey'] = {},
    ['einharcavespiders'] = {},
    ['einhardropbear'] = {},
    ['einharsnake'] = {},
    ['einharthornspiders'] = {},
    ['einharrhoa'] = {},
    ['einharbonerhoa'] = {},
    ['einharinsectspawner'] = {},
    ['einharspiker'] = {},
    ['einharkiweth'] = {},
    ['einharchimeral'] = {},
    ['einharvultureparasite'] = {},
    ['einharsandleaper'] = {},
    ['einharfuryhound'] = {},
    ['einharbull'] = {},
    ['einhargoatman'] = {},
    ['einharmountaingoat'] = {},
    ['einharshieldcrab'] = {},
    ['einharcrabparasite'] = {},
    ['einharparasite'] = {},
    ['einharscorpion'] = {},
    ['quality_currency'] = {},
    ['einharmaps'] = {},
    ['rusted_scarab'] = {},
    ['old_map_series'] = {},
    ['map_not_on_atlas'] = {},
    ['warehouse_area'] = {},
    ['act6_karui_area'] = {},
    ['kaom_area'] = {},
    ['daresso_area'] = {},
    ['library_area'] = {},
    ['marketplace_area'] = {},
    ['belly_area'] = {},
    ['solaris_area'] = {},
    ['prison_area'] = {},
    ['fields_area'] = {},
    ['chamber_of_sins_area'] = {},
    ['has_road_area'] = {},
    ['garden_area'] = {},
    ['dock_area'] = {},
    ['sewer_area'] = {},
    ['crossroad_area'] = {},
    ['catacomb_area'] = {},
    ['lunaris_outer_area'] = {},
    ['crypt_area'] = {},
    ['vaal_pyramid_area'] = {},
    ['forest_map_area'] = {},
    ['urban_sarn_area'] = {},
    ['aqueduct_area'] = {},
    ['thicket_area'] = {},
    ['bandit_area'] = {},
    ['pitfight_area'] = {},
    ['slums_area'] = {},
    ['lunaris_area'] = {},
    ['vaal_ruin_area'] = {},
    ['reef_area'] = {},
    ['mine_area'] = {},
    ['has_foxes_area'] = {},
    ['flooded_area'] = {},
    ['fetid_area'] = {},
    ['necropolis_area'] = {},
    ['sceptre_of_god_area'] = {},
    ['graveyard_area'] = {},
    ['den_area'] = {},
    ['river_area'] = {},
    ['ship_graveyard_area'] = {},
    ['tower_area'] = {},
    ['relic_area'] = {},
    ['dark_forest_area'] = {},
    ['parapet_area'] = {},
    ['cave_area'] = {},
    ['desert_area'] = {},
    ['arena_area'] = {},
    ['lightning_area'] = {},
    ['rain_area'] = {},
    ['snow_area'] = {},
    ['fire_area'] = {},
    ['mausoleum_area'] = {},
    ['wealthy_area'] = {},
    ['otherworldly_story_area'] = {},
    ['harvest_area'] = {},
    ['triple_boss_map'] = {},
    ['lighthouse_area'] = {},
    ['lunaris_blood_area'] = {},
    ['ruined_vaal_city_area'] = {},
    ['coast_boat_area'] = {},
    ['snow_mountain_area'] = {},
    ['synthesised_monster'] = {},
    ['has_damage_taken_as_mod'] = {},
    ['has_physical_conversion_mod'] = {},
    ['polished_scarab'] = {},
    ['gilded_scarab'] = {},
    ['high_gardens_area'] = {},
    ['crystal_ore_area'] = {},
    ['tropical_island_area'] = {},
    ['jungle_valley_area'] = {},
    ['wasteland_area'] = {},
    ['desert_map_area'] = {},
    ['mud_geyser_area'] = {},
    ['southern_forest_area'] = {},
    ['northern_forest_area'] = {},
    ['dried_lake_area'] = {},
    ['labyrinth_end_area'] = {},
    ['old_fields_area'] = {},
    ['archives_area'] = {},
    ['labyrinth_OH_area'] = {},
    ['temple_of_decay_area'] = {},
    ['arachnid_tomb_map_area'] = {},
    ['cemetery_map_area'] = {},
    ['quay_area'] = {},
    ['local_item_quality'] = {},
    ['synthesised_monster2'] = {},
    ['core_map_area'] = {},
    ['breachstone2'] = {},
    ['breachstone3'] = {},
    ['breachstone4'] = {},
    ['breach_blessing'] = {},
    ['corrupted_vaal'] = {},
    ['shaper_divination'] = {},
    ['elder_divination'] = {},
    ['fire_prison_area'] = {},
    ['synthesis_area'] = {},
    ['attack_staff'] = {},
    ['attack_dagger'] = {},
    ['spell_dodge_mod'] = {},
    ['legion_monster'] = {},
    ['has_percent_mana_mod'] = {},
    ['ringatlas3'] = {},
    ['ringatlas4'] = {},
    ['rare_monster_pack'] = {},
    ['weapon_can_roll_minion_modifiers'] = {},
    ['wandatlas1'] = {},
    ['has_atlas_mission'] = {},
    ['legion_splinter'] = {},
    ['has_mana_cost_mod'] = {},
    ['unique_shard'] = {},
    ['unique_shard_base'] = {},
    ['infected_map'] = {},
    ['can_be_infected_map'] = {},
    ['mushrune'] = {},
    ['blight_death_fire'] = {},
    ['blight_death_cold'] = {},
    ['blight_death_lightning'] = {},
    ['blight_death_physical'] = {},
    ['blight_death_chaos'] = {},
    ['blight_doesnt_engage'] = {},
    ['map_area_with_open_water'] = {},
    ['vile_areas'] = {},
    ['no_frenzy_charge_on_death'] = {},
    ['no_soul_conduit'] = {},
    ['no_fractured'] = {},
    ['jewellery_elemental'] = {},
    ['jewellery_caster'] = {},
    ['jewellery_attack'] = {},
    ['jewellery_defense'] = {},
    ['jewellery_resource'] = {},
    ['jewellery_resistance'] = {},
    ['jewellery_attribute'] = {},
    ['jewellery_quality_ignore'] = {},
    ['boots_crusader'] = {},
    ['boots_adjudicator'] = {},
    ['boots_eyrie'] = {},
    ['boots_basilisk'] = {},
    ['gloves_crusader'] = {},
    ['gloves_adjudicator'] = {},
    ['gloves_eyrie'] = {},
    ['gloves_basilisk'] = {},
    ['helmet_crusader'] = {},
    ['helmet_adjudicator'] = {},
    ['helmet_eyrie'] = {},
    ['helmet_basilisk'] = {},
    ['body_armour_crusader'] = {},
    ['body_armour_adjudicator'] = {},
    ['body_armour_eyrie'] = {},
    ['body_armour_basilisk'] = {},
    ['shield_crusader'] = {},
    ['shield_adjudicator'] = {},
    ['shield_eyrie'] = {},
    ['shield_basilisk'] = {},
    ['belt_crusader'] = {},
    ['belt_adjudicator'] = {},
    ['belt_eyrie'] = {},
    ['belt_basilisk'] = {},
    ['amulet_crusader'] = {},
    ['amulet_adjudicator'] = {},
    ['amulet_eyrie'] = {},
    ['amulet_basilisk'] = {},
    ['ring_crusader'] = {},
    ['ring_adjudicator'] = {},
    ['ring_eyrie'] = {},
    ['ring_basilisk'] = {},
    ['quiver_crusader'] = {},
    ['quiver_adjudicator'] = {},
    ['quiver_eyrie'] = {},
    ['quiver_basilisk'] = {},
    ['claw_crusader'] = {},
    ['dagger_crusader'] = {},
    ['wand_crusader'] = {},
    ['sword_crusader'] = {},
    ['axe_crusader'] = {},
    ['mace_crusader'] = {},
    ['sceptre_crusader'] = {},
    ['bow_crusader'] = {},
    ['staff_crusader'] = {},
    ['2h_sword_crusader'] = {},
    ['2h_axe_crusader'] = {},
    ['2h_mace_crusader'] = {},
    ['rune_dagger_crusader'] = {},
    ['warstaff_crusader'] = {},
    ['claw_eyrie'] = {},
    ['dagger_eyrie'] = {},
    ['wand_eyrie'] = {},
    ['sword_eyrie'] = {},
    ['axe_eyrie'] = {},
    ['mace_eyrie'] = {},
    ['sceptre_eyrie'] = {},
    ['bow_eyrie'] = {},
    ['staff_eyrie'] = {},
    ['2h_sword_eyrie'] = {},
    ['2h_axe_eyrie'] = {},
    ['2h_mace_eyrie'] = {},
    ['rune_dagger_eyrie'] = {},
    ['warstaff_eyrie'] = {},
    ['claw_basilisk'] = {},
    ['dagger_basilisk'] = {},
    ['wand_basilisk'] = {},
    ['sword_basilisk'] = {},
    ['axe_basilisk'] = {},
    ['mace_basilisk'] = {},
    ['sceptre_basilisk'] = {},
    ['bow_basilisk'] = {},
    ['staff_basilisk'] = {},
    ['2h_sword_basilisk'] = {},
    ['2h_axe_basilisk'] = {},
    ['2h_mace_basilisk'] = {},
    ['rune_dagger_basilisk'] = {},
    ['warstaff_basilisk'] = {},
    ['claw_adjudicator'] = {},
    ['dagger_adjudicator'] = {},
    ['wand_adjudicator'] = {},
    ['sword_adjudicator'] = {},
    ['axe_adjudicator'] = {},
    ['mace_adjudicator'] = {},
    ['sceptre_adjudicator'] = {},
    ['bow_adjudicator'] = {},
    ['staff_adjudicator'] = {},
    ['2h_sword_adjudicator'] = {},
    ['2h_axe_adjudicator'] = {},
    ['2h_mace_adjudicator'] = {},
    ['rune_dagger_adjudicator'] = {},
    ['warstaff_adjudicator'] = {},
    ['grants_2h_support'] = {},
    ['no_prophecies'] = {},
    ['warstaff'] = {},
    ['expansion_jewel_large'] = {},
    ['expansion_jewel_medium'] = {},
    ['expansion_jewel_small'] = {},
    ['affliction_axe_and_sword_damage'] = {},
    ['affliction_mace_and_staff_damage'] = {},
    ['affliction_dagger_and_claw_damage'] = {},
    ['affliction_bow_damage'] = {},
    ['affliction_wand_damage'] = {},
    ['affliction_damage_with_two_handed_melee_weapons'] = {},
    ['affliction_attack_damage_while_dual_wielding_'] = {},
    ['affliction_attack_damage_while_holding_a_shield'] = {},
    ['affliction_attack_damage_'] = {},
    ['affliction_spell_damage'] = {},
    ['affliction_elemental_damage'] = {},
    ['affliction_physical_damage'] = {},
    ['affliction_fire_damage'] = {},
    ['affliction_lightning_damage'] = {},
    ['affliction_cold_damage'] = {},
    ['affliction_chaos_damage'] = {},
    ['affliction_minion_damage'] = {},
    ['affliction_fire_damage_over_time_multiplier'] = {},
    ['affliction_chaos_damage_over_time_multiplier'] = {},
    ['affliction_physical_damage_over_time_multiplier'] = {},
    ['affliction_cold_damage_over_time_multiplier'] = {},
    ['affliction_damage_over_time_multiplier'] = {},
    ['affliction_effect_of_non-damaging_ailments'] = {},
    ['affliction_aura_effect'] = {},
    ['affliction_curse_effect'] = {},
    ['affliction_damage_while_you_have_a_herald'] = {},
    ['affliction_minion_damage_while_you_have_a_herald'] = {},
    ['affliction_warcry_buff_effect'] = {},
    ['affliction_critical_chance'] = {},
    ['affliction_minion_life'] = {},
    ['affliction_area_damage'] = {},
    ['affliction_projectile_damage'] = {},
    ['affliction_trap_and_mine_damage'] = {},
    ['affliction_totem_damage'] = {},
    ['affliction_brand_damage'] = {},
    ['affliction_channelling_skill_damage'] = {},
    ['affliction_flask_duration'] = {},
    ['affliction_life_and_mana_recovery_from_flasks'] = {},
    ['affliction_maximum_life'] = {},
    ['affliction_maximum_energy_shield'] = {},
    ['affliction_maximum_mana'] = {},
    ['affliction_armour'] = {},
    ['affliction_evasion'] = {},
    ['affliction_chance_to_block'] = {},
    ['affliction_fire_resistance'] = {},
    ['affliction_cold_resistance'] = {},
    ['affliction_lightning_resistance'] = {},
    ['affliction_chaos_resistance'] = {},
    ['affliction_chance_to_dodge_attacks'] = {},
    ['affliction_strength'] = {},
    ['affliction_dexterity'] = {},
    ['affliction_intelligence'] = {},
    ['has_affliction_notable'] = {},
    ['map_device'] = {},
    ['jewelled_scarab'] = {},
    ['critical'] = {
        name = 'Критический',
    },
}

game.constants.item = {}

game.constants.item.jewel_radius_to_size = {
    [800] = 'Маленький',
    [1200] = 'Средний',
    [1500] = 'Большой',
}

game.constants.supertypes = {
    shaper = {
        full = 'Shaper',
        long_upper = 'Shaper',
        long_lower = 'shaper',
    },
    elder = {
        full = 'Elder',
        long_upper = 'Elder',
        long_lower = 'elder',
    },
    crusader = {
        full = 'Crusader',
        long_upper = 'Crusader',
        long_lower = 'crusader',
    },
    redeemer = {
        full = 'Redeemer',
        long_upper = 'Redeemer',
        long_lower = 'redeemer',
    },
    hunter = {
        full = 'Hunter',
        long_upper = 'Hunter',
        long_lower = 'hunter',
    },
    warlord = {
        full = 'Warlord',
        long_upper = 'Warlord',
        long_lower = 'warlord',
    },
    veiled = {
        full = 'Veiled',
        long_upper = 'Veiled',
        long_lower = 'veiled',
    },
    fractured = {
        full = 'Fractured',
        long_upper = 'Fractured',
        long_lower = 'fractured',
    },
    synthesised = {
        full = 'Synthesised',
        long_upper = 'Synthesised',
        long_lower = 'synthesised',
    },
}

game.constants.rarity_order = {'normal', 'magic', 'rare', 'unique'}
game.constants.rarities = {
    normal = {
        id = 1,
        full = 'Обычный',
        long_upper = 'Обычный',
        long_lower = 'normal',
    },
    magic = {
        id = 2,
        full = 'Волшебный',
        long_upper = 'Волшебный',
        long_lower = 'magic',
    },
    rare = {
        id = 3,
        full = 'Редкий',
        long_upper = 'Редкий',
        long_lower = 'rare',
    },
    unique = {
        id = 4,
        full = 'Уникальный',
        long_upper = 'Уникальный',
        long_lower = 'unique',
    },
}

-- ItemClasses.dat
game.constants.item.classes = {
    ['LifeFlask'] = {
        id = 1,
        full = 'Флаконы жизни',
        long_upper = 'Флаконы жизни',
        long_lower = 'флаконы жизни',
        category= 'Флаконы',
        elder_tag = nil,
        shaper_tag = nil,
        crusader_tag = nil,
        eyrie_tag = nil,
        basilisk_tag = nil,
        adjudicator_tag = nil,
    },
     ['ManaFlask'] = {
        id = 2,
        full = 'Флаконы маны',
        long_upper = 'Флаконы маны',
        long_lower = 'флаконы маны',
        category= 'Флаконы',
        elder_tag = nil,
        shaper_tag = nil,
        crusader_tag = nil,
        eyrie_tag = nil,
        basilisk_tag = nil,
        adjudicator_tag = nil,
    },
     ['HybridFlask'] = {
        id = 3,
        full = 'Флаконы равновесия',
        long_upper = 'Флаконы равновесия',
        long_lower = 'флаконы равновесия',
        category= 'Флаконы',
        elder_tag = nil,
        shaper_tag = nil,
        crusader_tag = nil,
        eyrie_tag = nil,
        basilisk_tag = nil,
        adjudicator_tag = nil,
    },
     ['Currency'] = {
        id = 4,
        full = 'Валюта',
        long_upper = 'Валюта',
        long_lower = 'валюта',
        category= 'Прочее',
        elder_tag = nil,
        shaper_tag = nil,
        crusader_tag = nil,
        eyrie_tag = nil,
        basilisk_tag = nil,
        adjudicator_tag = nil,
    },
     ['Amulet'] = {
        id = 5,
        full = 'Амулеты',
        long_upper = 'Амулеты',
        long_lower = 'амулеты',
        category= 'Бижутерия',
        elder_tag = 'amulet_elder',
        shaper_tag = 'amulet_shaper',
        crusader_tag = 'amulet_crusader',
        eyrie_tag = 'amulet_eyrie',
        basilisk_tag = 'amulet_basilisk',
        adjudicator_tag = 'amulet_adjudicator',
    },
     ['Ring'] = {
        id = 6,
        full = 'Кольца',
        long_upper = 'Кольца',
        long_lower = 'кольца',
        category= 'Бижутерия',
        elder_tag = 'ring_elder',
        shaper_tag = 'ring_shaper',
        crusader_tag = 'ring_crusader',
        eyrie_tag = 'ring_eyrie',
        basilisk_tag = 'ring_basilisk',
        adjudicator_tag = 'ring_adjudicator',
    },
     ['Claw'] = {
        id = 7,
        full = 'Когти',
        long_upper = 'Когти',
        long_lower = 'когти',
        category= 'Одноручное оружие',
        elder_tag = 'claw_elder',
        shaper_tag = 'claw_shaper',
        crusader_tag = 'claw_crusader',
        eyrie_tag = 'claw_eyrie',
        basilisk_tag = 'claw_basilisk',
        adjudicator_tag = 'claw_adjudicator',
    },
     ['Dagger'] = {
        id = 8,
        full = 'Кинжалы',
        long_upper = 'Кинжалы',
        long_lower = 'кинжалы',
        category= 'Одноручное оружие',
        elder_tag = 'dagger_elder',
        shaper_tag = 'dagger_shaper',
        crusader_tag = 'dagger_crusader',
        eyrie_tag = 'dagger_eyrie',
        basilisk_tag = 'dagger_basilisk',
        adjudicator_tag = 'dagger_adjudicator',
    },
     ['Wand'] = {
        id = 9,
        full = 'Жезлы',
        long_upper = 'Жезлы',
        long_lower = 'жезлы',
        category= 'Одноручное оружие',
        elder_tag = 'wand_elder',
        shaper_tag = 'wand_shaper',
        crusader_tag = 'wand_crusader',
        eyrie_tag = 'wand_eyrie',
        basilisk_tag = 'wand_basilisk',
        adjudicator_tag = 'wand_adjudicator',
    },
     ['One Hand Sword'] = {
        id = 10,
        full = 'Одноручные мечи',
        long_upper = 'Одноручные мечи',
        long_lower = 'одноручные мечи',
        category= 'Одноручное оружие',
        elder_tag = 'sword_elder',
        shaper_tag = 'sword_shaper',
        crusader_tag = 'sword_crusader',
        eyrie_tag = 'sword_eyrie',
        basilisk_tag = 'sword_basilisk',
        adjudicator_tag = 'sword_adjudicator',
    },
     ['Thrusting One Hand Sword'] = {
        id = 11,
        full = 'Шпаги',
        long_upper = 'Шпаги',
        long_lower = 'шпаги',
        category= 'Одноручное оружие',
        elder_tag = 'sword_elder',
        shaper_tag = 'sword_shaper',
        crusader_tag = 'sword_crusader',
        eyrie_tag = 'sword_eyrie',
        basilisk_tag = 'sword_basilisk',
        adjudicator_tag = 'sword_adjudicator',
    },
     ['One Hand Axe'] = {
        id = 12,
        full = 'Одноручные топоры',
        long_upper = 'Одноручные топоры',
        long_lower = 'одноручные топоры',
        category= 'Одноручное оружие',
        elder_tag = 'axe_elder',
        shaper_tag = 'axe_shaper',
        crusader_tag = 'axe_crusader',
        eyrie_tag = 'axe_eyrie',
        basilisk_tag = 'axe_basilisk',
        adjudicator_tag = 'axe_adjudicator',
    },
     ['One Hand Mace'] = {
        id = 13,
        full = 'Одноручные булавы',
        long_upper = 'Одноручные булавы',
        long_lower = 'одноручные булавы',
        category= 'Одноручное оружие',
        elder_tag = 'mace_elder',
        shaper_tag = 'mace_shaper',
        crusader_tag = 'mace_crusader',
        eyrie_tag = 'mace_eyrie',
        basilisk_tag = 'mace_basilisk',
        adjudicator_tag = 'mace_adjudicator',
    },
     ['Bow'] = {
        id = 14,
        full = 'Луки',
        long_upper = 'Луки',
        long_lower = 'луки',
        category= 'Двуручное оружие',
        elder_tag = 'bow_elder',
        shaper_tag = 'bow_shaper',
        crusader_tag = 'bow_crusader',
        eyrie_tag = 'bow_eyrie',
        basilisk_tag = 'bow_basilisk',
        adjudicator_tag = 'bow_adjudicator',
    },
     ['Staff'] = {
        id = 15,
        full = 'Посохи',
        long_upper = 'Посохи',
        long_lower = 'посохи',
        category= 'Двуручное оружие',
        elder_tag = 'staff_elder',
        shaper_tag = 'staff_shaper',
        crusader_tag = 'staff_crusader',
        eyrie_tag = 'staff_eyrie',
        basilisk_tag = 'staff_basilisk',
        adjudicator_tag = 'staff_adjudicator',
    },
     ['Two Hand Sword'] = {
        id = 16,
        full = 'Двуручные мечи',
        long_upper = 'Двуручные мечи',
        long_lower = 'двуручные мечи',
        category= 'Двуручное оружие',
        elder_tag = '2h_sword_elder',
        shaper_tag = '2h_sword_shaper',
        crusader_tag = '2h_sword_crusader',
        eyrie_tag = '2h_sword_eyrie',
        basilisk_tag = '2h_sword_basilisk',
        adjudicator_tag = '2h_sword_adjudicator',
    },
     ['Two Hand Axe'] = {
        id = 17,
        full = 'Двуручные топоры',
        long_upper = 'Двуручные топоры',
        long_lower = 'двуручные топоры',
        category= 'Двуручное оружие',
        elder_tag = '2h_axe_elder',
        shaper_tag = '2h_axe_shaper',
        crusader_tag = '2h_axe_crusader',
        eyrie_tag = '2h_axe_eyrie',
        basilisk_tag = '2h_axe_basilisk',
        adjudicator_tag = '2h_axe_adjudicator',
    },
     ['Two Hand Mace'] = {
        id = 18,
        full = 'Двуручные булавы',
        long_upper = 'Двуручные булавы',
        long_lower = 'двуручные булавы',
        category= 'Двуручное оружие',
        elder_tag = '2h_mace_elder',
        shaper_tag = '2h_mace_shaper',
        crusader_tag = '2h_mace_crusader',
        eyrie_tag = '2h_mace_eyrie',
        basilisk_tag = '2h_mace_basilisk',
        adjudicator_tag = '2h_mace_adjudicator',
    },
     ['Active Skill Gem'] = {
        id = 19,
        full = 'Камни умений',
        long_upper = 'Камни умений',
        long_lower = 'камни умений',
        category= 'Камни',
        elder_tag = nil,
        shaper_tag = nil,
        crusader_tag = nil,
        eyrie_tag = nil,
        basilisk_tag = nil,
        adjudicator_tag = nil,
    },
     ['Support Skill Gem'] = {
        id = 20,
        full = 'Камни поддержки',
        long_upper = 'Камни поддержки',
        long_lower = 'камни поддержки',
        category= 'Камни',
        elder_tag = nil,
        shaper_tag = nil,
        crusader_tag = nil,
        eyrie_tag = nil,
        basilisk_tag = nil,
        adjudicator_tag = nil,
    },
     ['Quiver'] = {
        id = 21,
        full = 'Колчаны',
        long_upper = 'Колчаны',
        long_lower = 'колчаны',
        category= 'Левая рука',
        elder_tag = 'quiver_elder',
        shaper_tag = 'quiver_shaper',
        crusader_tag = 'quiver_crusader',
        eyrie_tag = 'quiver_eyrie',
        basilisk_tag = 'quiver_basilisk',
        adjudicator_tag = 'quiver_adjudicator',
    },
    ['Belt'] = {
        id = 22,
        full = 'Пояса',
        long_upper = 'Пояса',
        long_lower = 'пояса',
        category= 'Бижутерия',
        elder_tag = 'belt_elder',
        shaper_tag = 'belt_shaper',
        crusader_tag = 'belt_crusader',
        eyrie_tag = 'belt_eyrie',
        basilisk_tag = 'belt_basilisk',
        adjudicator_tag = 'belt_adjudicator',
    },
     ['Gloves'] = {
        id = 23,
        full = 'Перчатки',
        long_upper = 'Перчатки',
        long_lower = 'перчатки',
        category= 'Доспехи',
        elder_tag = 'gloves_elder',
        shaper_tag = 'gloves_shaper',
        crusader_tag = 'gloves_crusader',
        eyrie_tag = 'gloves_eyrie',
        basilisk_tag = 'gloves_basilisk',
        adjudicator_tag = 'gloves_adjudicator',
    },
     ['Boots'] = {
        id = 24,
        full = 'Обувь',
        long_upper = 'Обувь',
        long_lower = 'обувь',
        category= 'Доспехи',
        elder_tag = 'boots_elder',
        shaper_tag = 'boots_shaper',
        crusader_tag = 'boots_crusader',
        eyrie_tag = 'boots_eyrie',
        basilisk_tag = 'boots_basilisk',
        adjudicator_tag = 'boots_adjudicator',
    },
     ['Body Armour'] = {
        id = 25,
        full = 'Нательные доспехи',
        long_upper = 'Нательные доспехи',
        long_lower = 'нательные доспехи',
        category= 'Доспехи',
        elder_tag = 'body_armour_elder',
        shaper_tag = 'body_armour_shaper',
        crusader_tag = 'body_armour_crusader',
        eyrie_tag = 'body_armour_eyrie',
        basilisk_tag = 'body_armour_basilisk',
        adjudicator_tag = 'body_armour_adjudicator',
    },
     ['Helmet'] = {
        id = 26,
        full = 'Шлемы',
        long_upper = 'Шлемы',
        long_lower = 'шлемы',
        category= 'Доспехи',
        elder_tag = 'helmet_elder',
        shaper_tag = 'helmet_shaper',
        crusader_tag = 'helmet_crusader',
        eyrie_tag = 'helmet_eyrie',
        basilisk_tag = 'helmet_basilisk',
        adjudicator_tag = 'helmet_adjudicator',
    },
     ['Shield'] = {
        id = 27,
        full = 'Щиты',
        long_upper = 'Щиты',
        long_lower = 'щиты',
        category= 'Левая рука',
        elder_tag = 'shield_elder',
        shaper_tag = 'shield_shaper',
        crusader_tag = 'shield_crusader',
        eyrie_tag = 'shield_eyrie',
        basilisk_tag = 'shield_basilisk',
        adjudicator_tag = 'shield_adjudicator',
    },
     ['SmallRelic'] = {
        id = 28,
        full = 'Small Relics',
        long_upper = 'Small Relics',
        long_lower = 'small relics',
        category= '',
        elder_tag = nil,
        shaper_tag = nil,
        crusader_tag = nil,
        eyrie_tag = nil,
        basilisk_tag = nil,
        adjudicator_tag = nil,
    },
     ['MediumRelic'] = {
        id = 29,
        full = 'Medium Relics',
        long_upper = 'Medium Relics',
        long_lower = 'medium relics',
        category= '',
        elder_tag = nil,
        shaper_tag = nil,
        crusader_tag = nil,
        eyrie_tag = nil,
        basilisk_tag = nil,
        adjudicator_tag = nil,
    },
     ['LargeRelic'] = {
        id = 30,
        full = 'Large Relics',
        long_upper = 'Large Relics',
        long_lower = 'large relics',
        category= '',
        elder_tag = nil,
        shaper_tag = nil,
        crusader_tag = nil,
        eyrie_tag = nil,
        basilisk_tag = nil,
        adjudicator_tag = nil,
    },
     ['StackableCurrency'] = {
        id = 31,
        full = 'Валюта',
        long_upper = 'Валюта',
        long_lower = 'валюта',
        category= '',
        elder_tag = nil,
        shaper_tag = nil,
        crusader_tag = nil,
        eyrie_tag = nil,
        basilisk_tag = nil,
        adjudicator_tag = nil,
    },
     ['QuestItem'] = {
        id = 32,
        full = 'Вещи для заданий',
        long_upper = 'Вещи для заданий',
        long_lower = 'вещи для заданий',
        category= '',
        elder_tag = nil,
        shaper_tag = nil,
        crusader_tag = nil,
        eyrie_tag = nil,
        basilisk_tag = nil,
        adjudicator_tag = nil,
    },
     ['Sceptre'] = {
        id = 33,
        full = 'Скипетры',
        long_upper = 'Скипетры',
        long_lower = 'скипетры',
        category= 'Одноручное оружие',
        elder_tag = 'sceptre_elder',
        shaper_tag = 'sceptre_shaper',
        crusader_tag = 'sceptre_crusader',
        eyrie_tag = 'sceptre_eyrie',
        basilisk_tag = 'sceptre_basilisk',
        adjudicator_tag = 'sceptre_adjudicator',
    },
     ['UtilityFlask'] = {
        id = 34,
        full = 'Особые флаконы',
        long_upper = 'Особые флаконы',
        long_lower = 'особые флаконы',
        category= 'Флаконы',
        elder_tag = nil,
        shaper_tag = nil,
        crusader_tag = nil,
        eyrie_tag = nil,
        basilisk_tag = nil,
        adjudicator_tag = nil,
    },
     ['UtilityFlaskCritical'] = {
        id = 35,
        full = 'Важные особые флаконы',
        long_upper = 'Важные особые флаконы',
        long_lower = 'важные особые флаконы',
        category= 'Флаконы',
        elder_tag = nil,
        shaper_tag = nil,
        crusader_tag = nil,
        eyrie_tag = nil,
        basilisk_tag = nil,
        adjudicator_tag = nil,
    },
     ['Map'] = {
        id = 36,
        full = 'Карты',
        long_upper = 'Карты',
        long_lower = 'карты',
        category= 'Прочее',
        elder_tag = nil,
        shaper_tag = nil,
        crusader_tag = nil,
        eyrie_tag = nil,
        basilisk_tag = nil,
        adjudicator_tag = nil,
    },
     ['Unarmed'] = {
        id = 37,
        full = 'Без оружия',
        long_upper = 'Без оружия',
        long_lower = 'без оружия',
        category= '',
        elder_tag = nil,
        shaper_tag = nil,
        crusader_tag = nil,
        eyrie_tag = nil,
        basilisk_tag = nil,
        adjudicator_tag = nil,
    },
     ['FishingRod'] = {
        id = 38,
        full = 'Удочки',
        long_upper = 'Удочки',
        long_lower = 'удочки',
        category= 'Двуручное оружие',
        elder_tag = nil,
        shaper_tag = nil,
        crusader_tag = nil,
        eyrie_tag = nil,
        basilisk_tag = nil,
        adjudicator_tag = nil,
    },
     ['MapFragment'] = {
        id = 39,
        full = 'Обрывки карт',
        long_upper = 'Обрывки карт',
        long_lower = 'обрывки карт',
        category= 'Прочее',
        elder_tag = nil,
        shaper_tag = nil,
        crusader_tag = nil,
        eyrie_tag = nil,
        basilisk_tag = nil,
        adjudicator_tag = nil,
    },
     ['HideoutDoodad'] = {
        id = 40,
        full = 'Предметы убежища',
        long_upper = 'Предметы убежища',
        long_lower = 'предметы убежища',
        category= '',
        elder_tag = nil,
        shaper_tag = nil,
        crusader_tag = nil,
        eyrie_tag = nil,
        basilisk_tag = nil,
        adjudicator_tag = nil,
    },
     ['Microtransaction'] = {
        id = 41,
        full = 'Микротранзакции',
        long_upper = 'Микротранзакции',
        long_lower = 'микротранзакции',
        category= 'Микротранзакции',
        elder_tag = nil,
        shaper_tag = nil,
        crusader_tag = nil,
        eyrie_tag = nil,
        basilisk_tag = nil,
        adjudicator_tag = nil,
    },
     ['Jewel'] = {
        id = 42,
        full = 'Самоцветы',
        long_upper = 'Самоцветы',
        long_lower = 'самоцветы',
        category= 'Прочее',
        elder_tag = nil,
        shaper_tag = nil,
        crusader_tag = nil,
        eyrie_tag = nil,
        basilisk_tag = nil,
        adjudicator_tag = nil,
    },
     ['DivinationCard'] = {
        id = 43,
        full = 'Гадальные карты',
        long_upper = 'Гадальные карты',
        long_lower = 'гадальные карты',
        category= 'Прочее',
        elder_tag = nil,
        shaper_tag = nil,
        crusader_tag = nil,
        eyrie_tag = nil,
        basilisk_tag = nil,
        adjudicator_tag = nil,
    },
     ['LabyrinthItem'] = {
        id = 44,
        full = 'Предмет лабиринта',
        long_upper = 'Предмет лабиринта',
        long_lower = 'предмет лабиринта',
        category= 'Лабиринт',
        elder_tag = nil,
        shaper_tag = nil,
        crusader_tag = nil,
        eyrie_tag = nil,
        basilisk_tag = nil,
        adjudicator_tag = nil,
    },
     ['LabyrinthTrinket'] = {
        id = 45,
        full = 'Брелок лабиринта',
        long_upper = 'Брелок лабиринта',
        long_lower = 'брелок лабиринта',
        category= 'Лабиринт',
        elder_tag = nil,
        shaper_tag = nil,
        crusader_tag = nil,
        eyrie_tag = nil,
        basilisk_tag = nil,
        adjudicator_tag = nil,
    },
     ['LabyrinthMapItem'] = {
        id = 46,
        full = 'Предмет карты лабиринта',
        long_upper = 'Предмет карты лабиринта',
        long_lower = 'Предмет карты лабиринта',
        category= 'Лабиринт',
        elder_tag = nil,
        shaper_tag = nil,
        crusader_tag = nil,
        eyrie_tag = nil,
        basilisk_tag = nil,
        adjudicator_tag = nil,
    },
     ['MiscMapItem'] = {
        id = 47,
        full = 'Прочие предметы карт',
        long_upper = 'Прочие предметы карт',
        long_lower = 'прочие предметы карт',
        category= 'Прочее',
        elder_tag = nil,
        shaper_tag = nil,
        crusader_tag = nil,
        eyrie_tag = nil,
        basilisk_tag = nil,
        adjudicator_tag = nil,
    },
     ['Leaguestone'] = {
        id = 48,
        full = 'Камни лиги',
        long_upper = 'Камни лиги',
        long_lower = 'камни лиги',
        category= 'Прочее',
        elder_tag = nil,
        shaper_tag = nil,
        crusader_tag = nil,
        eyrie_tag = nil,
        basilisk_tag = nil,
        adjudicator_tag = nil,
    },
     ['PantheonSoul'] = {
        id = 49,
        full = 'Душа Пантеона',
        long_upper = 'Душа Пантеона',
        long_lower = 'душа Пантеона',
        category= '',
        elder_tag = nil,
        shaper_tag = nil,
        crusader_tag = nil,
        eyrie_tag = nil,
        basilisk_tag = nil,
        adjudicator_tag = nil,
    },
     ['UniqueFragment'] = {
        id = 50,
        full = 'Часть',
        long_upper = 'Часть',
        long_lower = 'часть',
        category= 'Прочее',
        elder_tag = nil,
        shaper_tag = nil,
        crusader_tag = nil,
        eyrie_tag = nil,
        basilisk_tag = nil,
        adjudicator_tag = nil,
    },
     ['AbyssJewel'] = {
        id = 51,
        full = 'Самоцвет Бездны',
        long_upper = 'Самоцвет Бездны',
        long_lower = 'самоцвет Бездны',
        category= 'Прочее',
        elder_tag = nil,
        shaper_tag = nil,
        crusader_tag = nil,
        eyrie_tag = nil,
        basilisk_tag = nil,
        adjudicator_tag = nil,
    },
     ['IncursionItem'] = {
        id = 52,
        full = 'Предмет Вмешательства',
        long_upper = 'Предмет Вмешательства',
        long_lower = 'предмет Вмешательства',
        category= '',
        elder_tag = nil,
        shaper_tag = nil,
        crusader_tag = nil,
        eyrie_tag = nil,
        basilisk_tag = nil,
        adjudicator_tag = nil,
    },
     ['DelveSocketableCurrency'] = {
        id = 53,
        full = 'Валюта Спуска',
        long_upper = 'Валюта Спуска',
        long_lower = 'валюта Спуска',
        category= '',
        elder_tag = nil,
        shaper_tag = nil,
        crusader_tag = nil,
        eyrie_tag = nil,
        basilisk_tag = nil,
        adjudicator_tag = nil,
    },
    ['Incubator'] = {
        id = 54,
        full = 'Инкубатор',
        long_upper = 'Инкубатор',
        long_lower = 'инкубатор',
        category = '',
        elder_tag = nil,
        shaper_tag = nil,
        crusader_tag = nil,
        eyrie_tag = nil,
        basilisk_tag = nil,
        adjudicator_tag = nil,
    },
    ['UniqueShard'] = {
        id = 55,
        full = 'Shard',
        long_upper = 'Shard',
        long_lower = 'shard',
        category = '',
        elder_tag = nil,
        shaper_tag = nil,
        crusader_tag = nil,
        eyrie_tag = nil,
        basilisk_tag = nil,
        adjudicator_tag = nil,
    },
    ['UniqueShardBase'] = {
        id = 56,
        full = 'Shard Heart',
        long_upper = 'Shard Heart',
        long_lower = 'shard heart',
        category = '',
        elder_tag = nil,
        shaper_tag = nil,
        crusader_tag = nil,
        eyrie_tag = nil,
        basilisk_tag = nil,
        adjudicator_tag = nil,
    },
    ['Rune Dagger'] = {
        id = 57,
        full = 'Рунические кинжалы',
        long_upper = 'Рунические кинжалы',
        long_lower = 'рунические кинжалы',
        category = 'Одноручное оружие',
        elder_tag = 'dagger_elder',
        shaper_tag = 'dagger_shaper',
        crusader_tag = 'dagger_crusader',
        eyrie_tag = 'dagger_eyrie',
        basilisk_tag = 'dagger_basilisk',
        adjudicator_tag = 'dagger_adjudicator',
    },
    ['Warstaff'] = {
        id = 58,
        full = 'Воинские посохи',
        long_upper = 'Воинские посохи',
        long_lower = 'воинские посохи',
        category = 'Двуручное оружие',
        elder_tag = 'staff_elder',
        shaper_tag = 'staff_shaper',
        crusader_tag = 'staff_crusader',
        eyrie_tag = 'staff_eyrie',
        basilisk_tag = 'staff_basilisk',
        adjudicator_tag = 'staff_adjudicator',
    },
    ['DelveStackableSocketableCurrency'] = {
        id = 59,
        full = 'Валюта Спуска',
        long_upper = 'Валюта Спуска',
        long_lower = 'валюта Спуска',
        category = '',
        elder_tag = nil,
        shaper_tag = nil,
        crusader_tag = nil,
        eyrie_tag = nil,
        basilisk_tag = nil,
        adjudicator_tag = nil,
    },
    ['AtlasRegionUpgradeItem'] = {
        id = 60,
        full = 'Предмет улучшения области Атласа',
        long_upper = 'Предмет улучшения области Атласа',
        long_lower = 'предмет улучшения области атласа',
        category = '',
        elder_tag = nil,
        shaper_tag = nil,
        crusader_tag = nil,
        eyrie_tag = nil,
        basilisk_tag = nil,
        adjudicator_tag = nil,
    },
    ['MetamorphosisDNA'] = {
        id = 61,
        full = 'Образец Метаморфа',
        long_upper = 'Образец Метаморфа',
        long_lower = 'образец метаморфа',
        category = '',
        elder_tag = nil,
        shaper_tag = nil,
        crusader_tag = nil,
        eyrie_tag = nil,
        basilisk_tag = nil,
        adjudicator_tag = nil,
    },
    ['HarvestObject'] = {
        id = 62,
        full = '',
        long_upper = '',
        long_lower = '',
        category = '',
        elder_tag = nil,
        shaper_tag = nil,
        crusader_tag = nil,
        eyrie_tag = nil,
        basilisk_tag = nil,
        adjudicator_tag = nil,
    },
    ['HarvestSeed'] = {
        id = 63,
        full = 'Семя Жатвы',
        long_upper = 'Семя Жатвы',
        long_lower = 'семя жатвы',
        category = '',
        elder_tag = nil,
        shaper_tag = nil,
        crusader_tag = nil,
        eyrie_tag = nil,
        basilisk_tag = nil,
        adjudicator_tag = nil,
    },
    ['HarvestInfrastructure'] = {
        id = 64,
        full = 'Оборудование Жатвы',
        long_upper = 'Оборудование Жатвы',
        long_lower = 'оборудование жатвы',
        category = '',
        elder_tag = nil,
        shaper_tag = nil,
        crusader_tag = nil,
        eyrie_tag = nil,
        basilisk_tag = nil,
        adjudicator_tag = nil,
    },
    ['HarvestPlantBooster'] = {
        id = 65,
        full = 'Усилитель семян',
        long_upper = 'Усилитель семян',
        long_lower = 'усилитель семян',
        category = '',
        elder_tag = nil,
        shaper_tag = nil,
        crusader_tag = nil,
        eyrie_tag = nil,
        basilisk_tag = nil,
        adjudicator_tag = nil,
    },
}

game.constants.item.gem_tags = {
    ['fire'] = {
        id = 1,
        tag = 'Огонь',
    },
    ['cold'] = {
        id = 2,
        tag = 'Холод',
    },
    ['lightning'] = {
        id = 3,
        tag = 'Молния',
    },
    ['chaos'] = {
        id = 4,
        tag = 'Хаос',
    },
    ['spell'] = {
        id = 5,
        tag = 'Чары',
    },
    ['projectile'] = {
        id = 6,
        tag = 'Снаряд',
    },
    ['bow'] = {
        id = 7,
        tag = 'Лук',
    },
    ['melee'] = {
        id = 8,
        tag = 'Ближний бой',
    },
    ['minion'] = {
        id = 9,
        tag = 'Приспешник',
    },
    ['strength'] = {
        id = 10,
        tag = '',
    },
    ['dexterity'] = {
        id = 11,
        tag = '',
    },
    ['intelligence'] = {
        id = 12,
        tag = '',
    },
    ['aura'] = {
        id = 13,
        tag = 'Аура',
    },
    ['attack'] = {
        id = 14,
        tag = 'Атака',
    },
    ['area'] = {
        id = 15,
        tag = 'Область',
    },
    ['duration'] = {
        id = 16,
        tag = 'Длится',
    },
    ['support'] = {
        id = 17,
        tag = 'Поддержка',
    },
    ['curse'] = {
        id = 18,
        tag = 'Проклятье',
    },
    ['chaining'] = {
        id = 19,
        tag = 'Цепь',
    },
    ['totem'] = {
        id = 20,
        tag = 'Тотем',
    },
    ['trap'] = {
        id = 21,
        tag = 'Ловушка',
    },
    ['mine'] = {
        id = 22,
        tag = 'Мина',
    },
    ['movement'] = {
        id = 23,
        tag = 'Движение',
    },
    ['cast'] = {
        id = 24,
        tag = 'Cast',
    },
    ['vaal'] = {
        id = 25,
        tag = 'Ваал',
    },
    ['active_skill'] = {
        id = 26,
        tag = '',
    },
    ['trigger'] = {
        id = 27,
        tag = 'Активатор',
    },
    ['warcry'] = {
        id = 28,
        tag = 'Боевой клич',
    },
    ['golem'] = {
        id = 29,
        tag = 'Голем',
    },
    ['low_max_level'] = {
        id = 30,
        tag = '',
    },
    ['channelling'] = {
        id = 31,
        tag = 'Поддерживаемое',
    },
    ['herald'] = {
        id = 32,
        tag = 'Вестник',
    },
    ['brand'] = {
        id = 33,
        tag = 'Клеймо',
    },
    ['physical'] = {
        id = 34,
        tag = 'Физический',
    },
    ['guard'] = {
        id = 35,
        tag = 'Оборона',
    },
    ['travel'] = {
        id = 36,
        tag = 'Смещение',
    },
    ['strike'] = {
        id = 37,
        tag = 'Удар',
    },
    ['blink'] = {
        id = 38,
        tag = 'Скачок',
    },
    ['nova'] = {
        id = 39,
        tag = 'Кольцо',
    },
    ['banner'] = {
        id = 40,
        tag = '',
    },
    ['slam'] = {
        id = 41,
        tag = 'Мощный',
    },
    ['stance'] = {
        id = 42,
        tag = 'Стойка',
    },
}

game.constants.item.gem_tags_lookup = {
    ['Огонь'] = 'fire',
    ['Холод'] = 'cold',
    ['Молния'] = 'lightning',
    ['Хаос'] = 'chaos',
    ['Чары'] = 'spell',
    ['Снаряд'] = 'projectile',
    ['Лук'] = 'bow',
    ['Ближний бой'] = 'melee',
    ['Приспешник'] = 'minion',
    ['Аура'] = 'aura',
    ['Атака'] = 'attack',
    ['Область'] = 'area',
    ['Длится'] = 'duration',
    ['Поддержка'] = 'support',
    ['Проклятье'] = 'curse',
    ['Цепь'] = 'chaining',
    ['Тотем'] = 'totem',
    ['Ловушка'] = 'trap',
    ['Мина'] = 'mine',
    ['Движение'] = 'movement',
    ['Cast'] = 'cast',
    ['Ваал'] = 'vaal',
    ['Активатор'] = 'trigger',
    ['Боевой клич'] = 'warcry',
    ['Голем'] = 'golem',
    ['Поддерживаемое'] = 'channelling',
    ['Вестник'] = 'herald',
    ['Клеймо'] = 'brand',
    ['Физический'] = 'physical',
    ['Оборона'] = 'guard',
    ['Смещение'] = 'travel',
    ['Удар'] = 'strike',
    ['Скачок'] = 'blink',
    ['Кольцо'] = 'nova',
    ['Мощный'] = 'slam',
    ['Стойка'] = 'stance',
}

-- NPCMaster.dat
game.constants.masters = {
    {
        full = 'Навали',
        long_upper = 'Навали',
        short_upper = 'Навали',
        short_lower = 'навали',
    },
    {
        full = 'Эйнар, Мастер зверей',
        long_upper = 'Эйнар, Мастер зверей',
        short_upper = 'Эйнар',
        short_lower = 'эйнар',
    },
    {
        full = 'Альва, Мастер исследований',
        long_upper = 'Альва, Мастер исследований',
        short_upper = 'Альва',
        short_lower = 'альва',
    },
    {
        full = 'Елена',
        long_upper = 'Елена',
        short_upper = 'Елена',
        short_lower = 'елена',
    },
    {
        full = 'Нико, Мастер глубин',
        long_upper = 'Нико, Мастер глубин',
        short_upper = 'Нико',
        short_lower = 'нико',
    },
    {
        full = 'Джун, Скрытый мастер',
        long_upper = 'Джун, Скрытый мастер',
        short_upper = 'Джун',
        short_lower = 'джун',
    },
    {
        full = 'Зана, мастер странствий',
        long_upper = 'Зана, мастер странствий',
        short_upper = 'Зана',
        short_lower = 'зана',
    },
}

game.constants.mod = {}
-- ModDomains.dat, reversed
game.constants.mod.domains = {
    [1] = {
        short_upper = 'Item',
        short_lower = 'item',
    },
    [2] = {
        short_upper = 'Flask',
        short_lower = 'flask',
    },
    [3] = {
        short_upper = 'Monster',
        short_lower = 'monster',
    },
    [4] = {
        short_upper = 'Chest',
        short_lower = 'chest',
    },
    [5] = {
        short_upper = 'Area',
        short_lower = 'area',
    },
    --[6] = {},
    --[7] = {},
    --[8] = {},
    [9] = {
        short_upper = 'Crafted',
        short_lower = 'crafted',
    },
    [10] = {
        short_upper = 'Misc',
        short_lower = 'misc',
    },
    [11] = {
        short_upper = 'Atlas',
        short_lower = 'atlas',
    },
    [12] = {
        short_upper = 'Leaguestone',
        short_lower = 'leaguestone',
    },
    [13] = {
        short_upper = 'Abyss Jewel',
        short_lower = 'abyss_jewel',
    },
    [14] = {
        short_upper = 'Map Device',
        short_lower = 'map_device',
    },
    [15] = {
        short_upper = 'Dummy',
        short_lower = 'dummy',
    },
    [16] = {
        short_upper = 'Delve',
        short_lower = 'delve',
    },
    [17] = {
        short_upper = 'Delve Area',
        short_lower = 'delve area',
    },
    [18] = {
        short_upper = 'Synthesis unknown',
        short_lower = 'Synthesis unknown',
    },
    [19] = {
        short_upper = 'Synthesis Globals',
        short_lower = 'synthesis globals',
    },
    [20] = {
        short_upper = 'Synthesis Bonus',
        short_lower = 'Synthesis bonus',
    },
    [21] = {
        short_upper = 'Affliction Jewel',
        short_lower = 'Affliction jewel',
    },
}

-- ModGenerationTypes.dat
game.constants.mod.generation_types = {
    [1] = {
        full = 'Префикс',
        short_upper = 'Префикс',
        short_lower = 'префикс',
    },
    [2] = {
        full = 'Суффикс',
        short_upper = 'Суффикс',
        short_lower = 'суффикс',
    },
    -- given mod
    [3] = {
        full = 'Уникальный',
        short_upper = 'Уникальный',
        short_lower = 'уникальный',
    },
    [4] = {
        full = 'Немезида',
        short_upper = 'Немезида',
        short_lower = 'немезида',
    },
    [5] = {
        full = 'Осквернение',
        short_upper = 'Осквернение',
        short_lower = 'осквернение',
    },
    [6] = {
        full = 'Родословные',
        short_upper = 'Родословные',
        short_lower = 'родословные',
    },
    [7] = {
        full = 'Мучение',
        short_upper = 'Мучение',
        short_lower = 'мучение',
    },
    [8] = {
        full = 'Буря',
        short_upper = 'Буря',
        short_lower = 'буря',
    },
    [9] = {
        full = 'Талисман',
        short_upper = 'Талисман',
        short_lower = 'талисман',
    },
    [10] = {
        full = 'Зачарование',
        short_upper = 'Зачарование',
        short_lower = 'зачарование',
    },
    [11] = {
        full = 'Сущность',
        short_upper = 'Сущность',
        short_lower = 'сущность',
    },
    [12] = {},
    [13] = {
        full = 'Бестиарий',
        short_upper = 'Бестиарий',
        short_lower = 'бестиарий',
    },
    [14] = {
        full = 'Delve Area',
        short_upper = 'Delve Area',
        short_lower = 'delve area',
    },
    [15] = {
        short_upper = 'Synthesis unknown',
        short_lower = 'synthesis unknown',
    },
    [16] = {
        short_upper = 'Synthesis Globals',
        short_lower = 'synthesis globals',
    },
    [17] = {
        short_upper = 'Synthesis Bonus',
        short_lower = 'synthesis bonus',
    },
    [18] = {
        short_upper = 'Blight',
        short_lower = 'blight',
    },
    [19] = {
        short_upper = 'Blight Tower',
        short_lower = 'blight tower',
    },
    [20] = {
        short_upper = 'Monster Affliction',
        short_lower = 'monster affliction',
    },
}

return game