# 'name' 是显示在物品描述(lore)中的品质
# 
# 'deconstruct-item' 是分解该物品后所得到的产品
#
#
# 品质 (TRASH,COMMON...) 是区分大小写的

TRASH:
    name: '&8&l垃圾'
    unidentification:
        range: 6
        name: '垃圾'
        prefix: '&8'
    # 该品质没有指定生成设置.
    # 在这种情况下，它会使用 config.yml 中设置的默认值
COMMON:
    name: '&7&l常见'
    parent: TRASH
    unidentification:
        range: 6
        name: '常见'
        prefix: '&7'
    # 该品质没有指定生成设置.
    # 在这种情况下，它会使用 config.yml 中设置的默认值
UNCOMMON:

    # 显示在物品描述(lore)中的品质名称
    name: '&8&l罕见'
    
    # 未鉴定的物品显示物品品质.
    unidentification:
        
        # 仅应用于有等级需求的物品
        # 物品的属性中设置了等级才有效果,例如设置是5级,范围6最高11级,最低0级
        # 对应所需等级所在的范围
        range: 6
        
        # 在物品描述(lore)中的品质.
        name: '罕见'
        
        # 未鉴定物品的名称前缀.
        prefix: '&8'
    
    item-glow:
        
        # 启用后，掉落的物品会显示提示
        # （看起来会比较像全息图）.
        hint: true
        
        # 物品发光颜色。 列表 (在400多行的位置). 
        # https://htmlcolorcodes.com/bukkit-color-codes/
        # BLACK DARK_BLUE DARK_GREEN DARK_AQUA DARK_RED DARK_PURPLE GOLD GRAY DARK_GRAY BLUE GREEN AQUA RED LIGHT_PURPLE YELLOW WHITE
        color: 'GRAY'
    
    generation:
        chance: 0.15
        capacity:
            base: 6
            
            # Scales on the item level #物品等级的范围/比例(?)
            scale: .1
            
            spread: .1
            max-spread: .3
    
    deconstruct-item:
        success:
            coef: 1
            items:
                MATERIAL:
                    UNCOMMON_WEAPON_ESSENCE: 100,1-1,0
        lose:
            coef: 2
            items:
                MATERIAL:
                    WEAPON_POWDER: 100,1-1,0
RARE:
    name: '&6&l稀有'
    unidentification:
        name: '稀有'
        range: 6
        prefix: '&6'
    generation:
        chance: 0.06
        capacity:
            base: 9
            scale: .15
            spread: .1
            max-spread: .3
    deconstruct-item:
        success:
            coef: 1
            items:
                MATERIAL:
                    RARE_WEAPON_ESSENCE: 100,1-1,0
        lose:
            coef: 3
            items:
                MATERIAL:
                    WEAPON_POWDER: 100,1-1,0
VERY_RARE:
    name: '&e&l卓越'
    unidentification:
        name: '卓越'
        prefix: '&e'
        range: 6
    deconstruct-item:
        success:
            coef: 1
            items:
                MATERIAL:
                    VERY_RARE_WEAPON_ESSENCE: 100,1-1,0
        lose:
            coef: 3
            items:
                MATERIAL:
                    WEAPON_POWDER: 100,1-1,0
    generation:
        chance: 0.03
        capacity:
            base: 10
            scale: .17
            spread: .1
            max-spread: .3
LEGENDARY:
    name: '&b&l传奇'
    unidentification:
        name: '传奇'
        prefix: '&b'
        range: 6
    deconstruct-item:
        success:
            coef: 1
            items:
                MATERIAL:
                    LEGENDARY_WEAPON_ESSENCE: 100,1-1,0
        lose:
            coef: 4
            items:
                MATERIAL:
                    WEAPON_POWDER: 100,1-1,0
    generation:
        chance: 0.01
        capacity:
            base: 12
            scale: .2
            spread: .1
            max-spread: .3
MYTHICAL:
    name: '&5&l神话'
    unidentification:
        name: '神话'
        prefix: '&5'
        range: 6
    generation:
        chance: 0.003
        capacity:
            base: 15
            scale: .3
            spread: .1
            max-spread: .3
    deconstruct-item:
        success:
            coef: 1
            items:
                MATERIAL:
                    MYTHICAL_WEAPON_ESSENCE: 100,1-1,0
        lose:
            coef: 5
            items:
                MATERIAL:
                    WEAPON_POWDER: 100,1-1,0
EPIC:
    name: '&4&l史诗'
    unidentification:
        name: '史诗'
        prefix: '&4'
        range: 6
    deconstruct-item:
        success:
            coef: 1
            items:
                MATERIAL:
                    EPIC_WEAPON_ESSENCE: 100,1-1,0
        lose:
            coef: 6
            items:
                MATERIAL:
                    WEAPON_POWDER: 100,1-1,0
    # 该品质没有指定生成设置.
    # 在这种情况下，它会使用 config.yml 中设置的默认值
MAGICAL:
    name: '&2&l梦幻'
    unidentification:
        name: '梦幻'
        prefix: '&2'
        range: 6
    deconstruct-item:
        success:
            coef: 1
            items:
                MATERIAL:
                    MAGICAL_WEAPON_ESSENCE: 100,1-1,0
        lose:
            coef: 3
            items:
                MATERIAL:
                    WEAPON_POWDER: 100,1-1,0
    # 该品质没有指定生成设置.
    # 在这种情况下，它会使用 config.yml 中设置的默认值
UNIQUE:
    name: '&c&l独特'
    unidentification:
        name: '独特'
        prefix: '&c'
        range: 6
    deconstruct-item:
        success:
            coef: 1
            items:
                MATERIAL:
                    UNIQUE_WEAPON_ESSENCE: 100,1-1,0
        lose:
            coef: 9
            items:
                MATERIAL:
                    WEAPON_POWDER: 100,1-1,0
    # 该品质没有指定生成设置.
    # 在这种情况下，它会使用 config.yml 中设置的默认值
