rarity_levels = ["magical","rare","mystical","angelic","mythical","arcane","legendary","godly","epic","relic","artifact","unique"]
transmute_mapping = {
    "I" : {
        "rarity_levels" : rarity_levels[0:-5],
        "ranks" :{"min" : 0, "max" : 4}
    },
    "II" : {
        "rarity_levels" : rarity_levels[0:-5],
        "ranks" :{"min" : 5, "max" : 9}
    },
    "III" : {
        "rarity_levels" : rarity_levels[0:-5],
        "ranks" :{"min" : 10, "max" : 14}
    } ,
    "IV" : {
        "rarity_levels" : rarity_levels[0:-5],
        "ranks" :{"min" : 15, "max" : 19}
    },
    "V" : {
        "rarity_levels" : rarity_levels[0:-5],
        "ranks" :{"min" : 20, "max" : 24}
    },
    "VI" : {
        "rarity_levels" : rarity_levels[0:-5],
        "ranks" :{"min" : 25, "max" : 30}
    },
    "VII" : {
        "rarity_levels" : rarity_levels[0:-5],
        "ranks" :{"min" : 30, "max" : 34}
    },
    "VIII" : {
        "rarity_levels" : rarity_levels[0:-5],
        "ranks" :{"min" : 35, "max" : 39}
    },
    "IX" : {
        "rarity_levels" : rarity_levels[0:-5],
        "ranks" :{"min" : 40, "max" : 44}
    },
    "X" : {
        "rarity_levels" : rarity_levels[0:-5],
        "ranks" :{"min" : 45, "max" : 49}
    },
    "XI" : {
        "rarity_levels" : rarity_levels[0:-5],
        "ranks" :{"min" : 50, "max" : 54}
    },
    "XII" : {
        "rarity_levels" : rarity_levels[0:-5],
        "ranks" :{"min" : 55, "max" : 59}
    },
    "XIII" : {
        "rarity_levels" : rarity_levels,
        "ranks" :{"min" : 60, "max" : 70}
    }
}
item_pickup_mapping = {
    "I" : {
        "rarity_levels" : rarity_levels[0:-5],
        "ranks" :{"min" : 0, "max" : 4}
    },
    "II" : {
        "rarity_levels" : rarity_levels[0:-5],
        "ranks" :{"min" : 5, "max" : 9}
    },
    "III" : {
        "rarity_levels" : rarity_levels[0:-5],
        "ranks" :{"min" : 10, "max" : 14}
    } ,
    "IV" : {
        "rarity_levels" : rarity_levels[0:-5],
        "ranks" :{"min" : 15, "max" : 19}
    },
    "V" : {
        "rarity_levels" : rarity_levels[0:-5],
        "ranks" :{"min" : 20, "max" : 24}
    },
    "VI" : {
        "rarity_levels" : rarity_levels[0:-5],
        "ranks" :{"min" : 25, "max" : 30}
    },
    "VII" : {
        "rarity_levels" : rarity_levels[0:-5],
        "ranks" :{"min" : 30, "max" : 34}
    },
    "VIII" : {
        "rarity_levels" : rarity_levels[0:-5],
        "ranks" :{"min" : 35, "max" : 39}
    },
    "IX" : {
        "rarity_levels" : rarity_levels[0:-5],
        "ranks" :{"min" : 40, "max" : 44}
    },
    "X" : {
        "rarity_levels" : rarity_levels[0:-5],
        "ranks" :{"min" : 45, "max" : 49}
    },
    "XI" : {
        "rarity_levels" : rarity_levels[0:-5],
        "ranks" :{"min" : 50, "max" : 54}
    },
    "XII" : {
        "rarity_levels" : rarity_levels[0:-5],
        "ranks" :{"min" : 55, "max" : 59}
    },
    "XIII" : {
        "rarity_levels" : rarity_levels,
        "ranks" :{"min" : 60, "max" : 70}
    }
}
deposit_criteria = {
    "III" : [
        "+50% Enhanced Effect",
        "+15 Strength",
        "+10 Dexterity",
        "+10 Intelligence",
        "+280 Max Mana",
        "+3 Magic Luck",
        "+3 Extra Equipment Slots",
    ],
    "IV" : [
        "+65% Enhanced Effect",
        "+15 Strength",
        "+15 Dexterity",
        "+15 Intelligence",
        "+290 Max Mana",
        "+3 Magic Luck",
        "+4 Extra Equipment Slots",
    ],
    "V" : [
        "+65% Enhanced Effect",
        "+20 Strength",
        "+20 Dexterity",
        "+20 Intelligence",
        "+350 Max Mana",
        "+3 Magic Luck",
        "+5 Extra Equipment Slots",
    ],
    "VI" : [
        "+75% Enhanced Effect",
        "+20 Strength",
        "+20 Dexterity",
        "+20 Intelligence",
        "+350 Max Mana",
        "+3 Magic Luck",
        "+6 Extra Equipment Slots",
    ],
    "VII" : [
        "+80% Enhanced Effect",
        "+20 Strength",
        "+20 Dexterity",
        "+25 Intelligence",
        "+4 Magic Luck",
        "+6 Extra Equipment Slots",
    ],
    "VIII" : [
        "+90% Enhanced Effect",
        "+25 Strength",
        "+25 Dexterity",
        "+25 Intelligence",
        "+4 Magic Luck",
        "+7 Extra Equipment Slots",
    ],
    "IX" : [
        "+90% Enhanced Effect",
        "+25 Strength",
        "+25 Dexterity",
        "+25 Intelligence",
        "+4 Magic Luck",
        "+7 Extra Equipment Slots",
    ],
    "X" : [
        "+90% Enhanced Effect",
        "+30 Strength",
        "+30 Dexterity",
        "+30 Intelligence",
        "+4 Magic Luck",
        "+8 Extra Equipment Slots",
    ],
    "XI" : [
        "+90% Enhanced Effect",
        "+30 Strength",
        "+30 Dexterity",
        "+30 Intelligence",
        "+4 Magic Luck",
        "+8 Extra Equipment Slots",
    ],
    "XII" : [
        "+90% Enhanced Effect",
        "+30 Strength",
        "+30 Dexterity",
        "+30 Intelligence",
        "+4 Magic Luck",
        "+14 Life Regen",
        "+14 Mana Regen",
        "+9 Extra Equipment Slots",
    ],
    "XIII" : [
        "+90% Enhanced Effect",
        "+30 Strength",
        "+30 Dexterity",
        "+30 Intelligence",
        "+4 Magic Luck",
        "+16 Life Regen",
        "+16 Mana Regen",
        "+9 Extra Equipment Slots",
    ],
    "XIV" : [
        "+90% Enhanced Effect",
        "+30 Strength",
        "+30 Dexterity",
        "+30 Intelligence",
        "+4 Magic Luck",
        "+17 Life Regen",
        "+17 Mana Regen",
        "+10 Extra Equipment Slots",
    ]
}
prices = {
    "plain": {
        "tier" : {
            "X" : 5,
            "XI" : 6,
            "XII" : 14,
            "XIII" : 25,
            "XIV" : 60,
        },
    },
    "magical": {
        "tier" : {
            "X" : 1,
            "XI" : 1,
            "XII" : 1,
            "XIII" : 2,
            "XIV" : 10,
        },
    },
    "rare": {
        "tier" : {
            "XI" : 1,
            "XII" : 2,
            "XIII" : 2,
            "XIV" : 12,
        },
    },
    "mystical": {
        "tier" : {
            "VIII" : 1,
            "IX" : 1,
            "X" : 1,
            "XI" : 1,
            "XII" : 2,
            "XIII" : 3,
            "XIV" : 14,
        },
    },
    "angelic": {
        "tier" : {
            "VIII" : 1,
            "IX" : 1,
            "X" : 1,
            "XI" : 2,
            "XII" : 3,
            "XIII" : 5,
            "XIV" : 15,
        },
    },
    "mythical": {
        "tier" : {
            "V" : 1,
            "VI" : 1,
            "VII" : 1,
            "VIII" : 1,
            "IX" : 1,
            "X" : 2,
            "XI" : 3,
            "XII" : 4,
            "XIII" : 7,
            "XIV" : 19,
        },
    },
    "arcane": {
        "tier" : {
            "V" : 1,
            "VI" : 1,
            "VII" : 1,
            "VIII" : 2,
            "IX" : 2,
            "X" : 3,
            "XI" : 4,
            "XII" : 6,
            "XIII" : 9,
            "XIV" : 21,
        },
    },
    "legendary": {
        "tier" : {
            "V" : 1,
            "VI" : 1,
            "VII" : 1,
            "VIII" : 2,
            "IX" : 2,
            "X" : 4,
            "XI" : 5,
            "XII" : 8,
            "XIII" : 24,
            "XIV" : 35,
        },
    },
    "godly": {
        "tier" : {
            "III" : 1,
            "IV" : 1,
            "V" : 1,
            "VI" : 1,
            "VII" : 2,
            "VIII" : 3,
            "IX" : 3,
            "X" : 5,
            "XI" : 6,
            "XII" : 11,
            "XIII" : 28,
            "XIV" : 40,
        },
    },
    "epic": {
        "tier" : {
            "III" : 1,
            "IV" : 1,
            "V" : 2,
            "VI" : 2,
            "VII" : 2,
            "VIII" : 3,
            "IX" : 3,
            "X" : 6,
            "XI" : 7,
            "XII" : 12,
            "XIII" : 32,
            "XIV" : 45,
        },
    },
    "relic": {
        "tier" : {
            "III" : 1,
            "IV" : 1,
            "V" : 2,
            "VI" : 2,
            "VII" : 3,
            "VIII" : 4,
            "IX" : 4,
            "X" : 6,
            "XI" : 7,
            "XII" : 14,
            "XIII" : 36,
            "XIV" : 50,
        },
    },
    "artifact": {
        "tier" : {
            "III" : 1,
            "IV" : 1,
            "V" : 2,
            "VI" : 3,
            "VII" : 4,
            "VIII" : 5,
            "IX" : 5,
            "X" : 7,
            "XI" : 9,
            "XII" : 16,
            "XIII" : 40,
            "XIV" : 55,
        },
    },
    "unique": {
        "tier" : {
            "III" : 1,
            "IV" : 2,
            "V" : 3,
            "VI" : 4,
            "VII" : 5,
            "VIII" : 6,
            "IX" : 6,
            "X" : 8,
            "XI" : 12,
            "XII" : 19,
            "XIII" : 40,
            "XIV" : 60,
        },
    },
}