<?php

    $DIFFICULTY = [
        "EASY" => 0,
        "NORMAL" => 1,
        "HARD" => 2,
        "HELL" => 3,
    ];

    $SOURCE = [
        "SCROLL_UNKNOWN" => 1,
        "SCROLL_MYSTICAL" => 2,
        "SCROLL_LIGHT_AND_DARK" => 3,
        "SCROLL_WATER" => 4,
        "SCROLL_FIRE" => 5,
        "SCROLL_WIND" => 6,
        "SCROLL_LEGENDARY" => 7,
        "SUMMON_EXCLUSIVE" => 8,
        "SUMMON_LEGENDARY_PIECES" => 9,
        "SUMMON_LIGHT_AND_DARK_PIECES" => 10,
        "SCROLL_TRANSCENDANCE" => 11,
        "SCROLL_LEGENDARY_WATER" => 12,
        "SCROLL_LEGENDARY_FIRE" => 13,
        "SCROLL_LEGENDARY_WIND" => 14,
    ];

    // TODO => Move these definitions to the models if not already done, delete this file.

    $ELEMENT = [
        "WATER" => 1,
        "FIRE" => 2,
        "WIND" => 3,
        "LIGHT" => 4,
        "DARK" => 5,
        "PURE" => 6,
    ];

    $ARCHETYPE = [
        "NONE" => 0,
        "ATTACK" => 1,
        "DEFENSE" => 2,
        "HP" => 3,
        "SUPPORT" => 4,
        "MATERIAL" => 5
    ];

    $STAT = [
        "HP" => 1,
        "ATK" => 2,
        "DEF" => 3,
        "SPD" => 4,
        "CRIT_RATE" => 5,
        "CRIT_DMG" => 6,
        "RESIST" => 7,
        "ACCURACY" => 8,
    ];

    $EFFECT_AREA = [
        "GENERAL" => 1,
        "ARENA" => 3,
        "DUNGEON" => 2,
        "GUILD" => 5,
    ];

    $AREA_TYPE = [
        'SCENARIO' => 1,
        'CAIROS_DUNGEON' => 2,
        'RIFT_DUNGEON' => 3,
        'RIFT_RAID' => 4,
        'DIMENSIONAL_HOLE' => 5,
        'ARENA' => 6,
        'GUILD_WAR' => 7,
        'GUILD_SIEGE' => 8,
        'TARTARUS_LABYRINTH' => 9,
        'TRIAL_OF_ASCENSION' => 10,
        'WORLD_BOSS' => 11,
        'DIMENSIONAL_RIFT' => 12,
    ];

    $SCENARIO = [
        'GAREN_FOREST' => 1,
        'MT_SIZ' => 2,
        'KABIR_RUINS' => 3,
        'MT_WHITE_RAGON' => 4,
        'TELAIN_FOREST' => 5,
        'HYDENI_RUINS' => 6,
        'TAMOR_DESERT' => 7,
        'VROFAGUS_RUINS' => 8,
        'FAIMON_VOLCANO' => 9,
        'AIDEN_FOREST' => 10,
        'FERUN_CASTLE' => 11,
        'MT_RUNAR' => 12,
        'CHIRUKA_REMAINS' => 13,
    ];

    $DUNGEON = [
        'HALL_OF_DARK' => 1001,
        'SANCTUARY_OF_DREAMING_FAIRIES' => 1101,
        'ELLUNIA_REMAINS_FAIRY' => 1201,
        'ELLUNIA_REMAINS_PIXIE' => 1202,
        'HALL_OF_FIRE' => 2001,
        'FOREST_OF_ROARING_BEASTS' => 2101,
        'KARZHAN_REMAINS_WARBEAR' => 2201,
        'KARZHAN_REMAINS_INUGAMI' => 2202,
        'HALL_OF_WATER' => 3001,
        'HALL_OF_WIND' => 4001,
        'HALL_OF_MAGIC' => 5001,
        'NECROPOLIS' => 6001,
        'HALL_OF_LIGHT' => 7001,
        'GIANTS_KEEP' => 8001,
        'DRAGONS_LAIR' => 9001,
        // TODO: Lumel
    ];

    $ELEMENTAL_RIFT_DUNGEON = [
        'ICE_BEAST' => 1001,
        'FIRE_BEAST' => 2001,
        'WIND_BEAST' => 3001,
        'LIGHT_BEAST' => 4001,
        'DARK_BEAST' => 5001,
    ];

    $RAID_RIFT_DUNGEON = [
        'LEVEL_1' => 1,
        'LEVEL_2' => 2,
        'LEVEL_3' => 3,
        'LEVEL_4' => 4,
        'LEVEL_5' => 5,
    ];

    $LABYRINTH_STAGES = [
        'TARTARUS' => 1,
        'KOTTOS' => 2,
        'LEOS' => 3,
        'AQUILES' => 4,
        'NORMAL' => 5,
        'RESCUE' => 6,
        'EXPLODE' => 7,
        'COOL_TIME' => 8,
        'SPEED_LIMIT' => 9,
        'TIME_LIMIT' => 10
    ];

    $BUILDING = [
        'SUMMONERS_TOWER' => 1,
        'SUMMONHENGE' => 2,
        'POND_OF_MANA' => 3,
        'CRYSTAL_MINE' => 4,
        'GATEWAY' => 8,
        'TEMPLE_OF_WISHES' => 10,
        'MAGIC_SHOP' => 11,
        'ANCIENT_STONES' => 12,
        'ARCANE_TOWER' => 14,
        'CRYSTAL_TITAN' => 15,
        'FUSION_HEXAGRAM' => 16,
        'FUSE_CENTER' => 17,
        'POWER_UP_CIRCLE' => 20,
        'TRANQUIL_FOREST' => 22,
        'GUSTY_CLIFFS' => 23,
        'DEEP_FOREST_ENT' => 24,
        'MONSTER_STORAGE' => 25,
        'TRANSMOGRIFICATION_BUILDING' => 27,
    ];

    $DECORATION = [
        'GUARDSTONE' => 4,
        'MANA_FOUNTAIN' => 5,
        'SKY_TRIBE_TOTEM' => 6,
        'ARCANE_BOOSTER_TOWER' => 7,
        'CRYSTAL_ALTAR' => 8,
        'ANCIENT_SWORD' => 9,
        'SANCTUM_OF_ENERGY' => 10,
        'MYSTERIOUS_PLANT' => 11,
        'FIRE_SANCTUARY' => 15,
        'WATER_SANCTUARY' => 16,
        'WIND_SANCTUARY' => 17,
        'LIGHT_SANCTUARY' => 18,
        'DARK_SANCTUARY' => 19,
        'FALLEN_ANCIENT_GUARDIAN' => 31,
        'CRYSTAL_ROCK' => 34,
        'FAIRY_TREE' => 35,
        'FLAG_OF_BATTLE' => 36,
        'FLAG_OF_RAGE' => 37,
        'FLAG_OF_HOPE' => 38,
        'FLAG_OF_WILL' => 39,
    ];

    $INVENTORY_TYPE = [
        'MONSTER' => 1,
        'CURRENCY' => 6,
        'RUNE' => 8,
        'SCROLL' => 9,
        'BOOSTER' => 10,
        'ESSENCES' => 11,
        'MONSTER_PIECE' => 12,
        # '' => 15, Unknown. Appears in inventory_info with qty 0
        'GUILD_MONSTER_PIECE' => 19,
        'RAINBOWMON' => 25,   # Possibly material monsters in general. Appears when wish returns a rainbowmon.
        'RUNE_CRAFT' => 27,
        'CRAFT_STUFF' => 29,
        'ENHANCING_MONSTER' => 61,
    ];

    $INVENTORY = [
        "ESSENCE_MAGIC_LOW" => 11006,
        "ESSENCE_MAGIC_MID" => 12006,
        "ESSENCE_MAGIC_HIGH" => 13006,
        "ESSENCE_WATER_LOW" => 11001,
        "ESSENCE_WATER_MID" => 12001,
        "ESSENCE_WATER_HIGH" => 13001,
        "ESSENCE_FIRE_LOW" => 11002,
        "ESSENCE_FIRE_MID" => 12002,
        "ESSENCE_FIRE_HIGH" => 13002,
        "ESSENCE_WIND_LOW" => 11003,
        "ESSENCE_WIND_MID" => 12003,
        "ESSENCE_WIND_HIGH" => 13003,
        "ESSENCE_LIGHT_LOW" => 11004,
        "ESSENCE_LIGHT_MID" => 12004,
        "ESSENCE_LIGHT_HIGH" => 13004,
        "ESSENCE_DARK_LOW" => 11005,
        "ESSENCE_DARK_MID" => 12005,
        "ESSENCE_DARK_HIGH" => 13005,
        "WOOD" => 1001,
        "LEATHER" => 1002,
        "ROCK" => 1003,
        "ORE" => 1004,
        "MITHRIL" => 1005,
        "CLOTH" => 1006,
        "RUNE_PIECE" => 2001,
        "POWDER" => 3001,
        "SYMBOL_HARMONY" => 4001,
        "SYMBOL_TRANSCENDANCE" => 4002,
        "SYMBOL_CHAOS" => 4003,
        "CRYSTAL_WATER" => 5001,
        "CRYSTAL_FIRE" => 5002,
        "CRYSTAL_WIND" => 5003,
        "CRYSTAL_LIGHT" => 5004,
        "CRYSTAL_DARK" => 5005,
        "CRYSTAL_MAGIC" => 6001,
        "CRYSTAL_PURE" => 7001,
    ];

    $ENHANCE_MONSTER = [
        "WATER_ANGELMON" => 142110115,
        "FIRE_ANGELMON" => 142120115,
        "WIND_ANGELMON" => 142130115,
        "LIGHT_ANGELMON" => 142140115,
        "DARK_ANGELMON" => 142150115,
        "WATER_KING_ANGELMON" => 182110115,
        "FIRE_KING_ANGELMON" => 182120115,
        "WIND_KING_ANGELMON" => 182130115,
        "LIGHT_KING_ANGELMON" => 182140115,
        "DARK_KING_ANGELMON" => 182150115,
        "RAINBOWMON_2_20" => 143140220,
        "RAINBOWMON_3_1" => 143140301,
        "RAINBOWMON_3_25" => 143140325,
        "RAINBOWMON_4_1" => 143140401,
        "RAINBOWMON_4_30" => 143140430,
        "RAINBOWMON_5_1" => 143140501,
        "DEVILMON" => 151050101,
        "SUPER_ANGELMON" => 217140115
    ];

    $RUNE_SET = [
        "ENERGY" => 1,
        "GUARD" => 2,
        "SWIFT" => 3,
        "BLADE" => 4,
        "RAGE" => 5,
        "FOCUS" => 6,
        "ENDURE" => 7,
        "FATAL" => 8,
        "DESPAIR" => 10,
        "VAMPIRE" => 11,
        "VIOLENT" => 13,
        "NEMESIS" => 14,
        "WILL" => 15,
        "SHIELD" => 16,
        "REVENGE" => 17,
        "DESTROY" => 18,
        "FIGHT" => 19,
        "DETERMINATION" => 20,
        "ENHANCE" => 21,
        "ACCURACY" => 22,
        "TOLERANCE" => 23,
    ];

    $RUNE_STAT = [
        "HP" => 1,
        "HP%" => 2,
        "ATK" => 3,
        "ATK%" => 4,
        "DEF" => 5,
        "DEF%" => 6,
        "SPD" => 8,
        "CRR" => 9,
        "CRD" => 10,
        "RES" => 11,
        "ACC" => 12,
    ];

    $QUALITY = [
        "NORMAL" => 1,
        "MAGIC" => 2,
        "RARE" => 3,
        "HERO" => 4,
        "LEGEND" => 5,
    ];

    $CRAFT = [
        "ENCHANT_GEM" => 1,
        "GRINDSTONE" => 2,
        "IMMEMORIAL_GEM" => 3,
        "IMMEMORIAL_GRINDSTONE" => 4,
    ];

    $GUILD_MEMBER_GRADE = [
        "LEADER" => 1,
        "VICELEADER" => 3,
        "NORMAL" => 2
    ];

    $ARENA_RANKING_POINTS = [
        "BEGINER" => 0,
        "CHALLENGER_1" => 900,
        "CHALLENGER_2" => 1000,
        "CHALLENGER_3" => 1100,
        "FIGHTER_1" => 1200,
        "FIGHTER_2" => 1300,
        "FIGHTER_3" => 1400,
        "CONQUEROR_1" => 1500,
        "CONQUEROR_2" => 1600,
        "CONQUEROR_3" => 1700,
        "GUARDIAN_1" => 1700,
        "GUARDIAN_2" => 1700,
        "GUARDIAN_3" => 1700,
        "LEGEND" => 1700,
    ];

    $ARENA_RANKING_RANK = [
        "BEGINER" => null,
        "CHALLENGER_1" => null,
        "CHALLENGER_2" => null,
        "CHALLENGER_3" => null,
        "FIGHTER_1" => null,
        "FIGHTER_2" => null,
        "FIGHTER_3" => null,
        "CONQUEROR_1" => 10000,
        "CONQUEROR_2" => 3000,
        "CONQUEROR_3" => 1000,
        "GUARDIAN_1" => 300,
        "GUARDIAN_2" => 100,
        "GUARDIAN_3" => 30,
        "LEGEND" => 1,
    ];

?>
