worth yml - magemonkeystudio/divinity GitHub Wiki

๐Ÿ’ฐ worth.yml

The worth.yml file defines the value of items, stats, sockets, enchantments, and custom identifiers. It is used by multiple Divinity modules such as Sell, Loot, Dismantle, and Extractor.


๐Ÿ“ฆ Where It's Used

  • Sell โ€“ Calculates sell price for items.
  • Loot โ€“ Balances item drop value.
  • Dismantle โ€“ Converts items into materials or XP.
  • Extractor โ€“ Adjusts value of extracted components.
  • %worth% placeholders โ€“ Displays in menus or item lore.
  • API Hooks โ€“ Used by custom modules and external plugins.

๐Ÿงพ Full Default File

worth-calculator:
  by-item-stats:
    AOE_DAMAGE: 8
    PVP_DAMAGE: 5
    PVE_DAMAGE: 10
    DODGE_RATE: 9
    ACCURACY_RATE: 5
    BLOCK_RATE: 7
    BLOCK_DAMAGE: 8
    LOOT_RATE: 1
    BURN_RATE: 10
    PVP_DEFENSE: 5
    PVE_DEFENSE: 7
    CRITICAL_RATE: 11
    CRITICAL_DAMAGE: 4
    DURABILITY: 8
    MOVEMENT_SPEED: 2
    PENETRATION: 5
    BASE_ATTACK_SPEED: 7
    ATTACK_SPEED: 9
    VAMPIRISM: 4
    MAX_HEALTH: 10
    BLEED_RATE: 10
    DISARM_RATE: 8
    SALE_PRICE: 4
    THORNMAIL: 7
    HEALTH_REGEN: 2
    MANA_REGEN: 10
    ARMOR_TOUGHNESS: 3
  by-damage-types:
    _vanilla_generic: 6
    magical: 9
    fire: 3
    poison: 8
    water: 3
    wind: 1
    physical: 9
  by-defense-types:
    physical: 2
    magical: 8
    fire: 11
    poison: 4
    water: 3
    wind: 2
  by-socket-types:
    GEM:
      common: 118
      rare: 136
    RUNE:
      default: 122
    ESSENCE:
      default: 114
  by-enchant-level:
    density:
      '1': 39
      '2': 82
      '3': 156
      '4': 208
    swift_sneak:
      '1': 42
      '2': 82
    breach:
      '1': 37
      '2': 98
      '3': 111
    feather_falling:
      '1': 32
      '2': 100
      '3': 114
    impaling:
      '1': 43
      '2': 112
      '3': 165
      '4': 216
    protection:
      '1': 47
      '2': 70
      '3': 138
    knockback:
      '1': 40
    depth_strider:
      '1': 37
      '2': 88
    luck_of_the_sea:
      '1': 34
      '2': 118
    loyalty:
      '1': 54
      '2': 82
    fire_protection:
      '1': 54
      '2': 108
      '3': 99
    quick_charge:
      '1': 35
      '2': 94
    bane_of_arthropods:
      '1': 35
      '2': 78
      '3': 171
      '4': 124
    frost_walker:
      '1': 50
    projectile_protection:
      '1': 45
      '2': 110
      '3': 138
    soul_speed:
      '1': 58
      '2': 76
    wind_burst:
      '1': 57
      '2': 88
    looting:
      '1': 54
      '2': 60
    smite:
      '1': 41
      '2': 104
      '3': 171
      '4': 236
    piercing:
      '1': 57
      '2': 88
      '3': 150
    lure:
      '1': 38
      '2': 64
    riptide:
      '1': 44
      '2': 116
    power:
      '1': 34
      '2': 66
      '3': 168
      '4': 176
    blast_protection:
      '1': 30
      '2': 68
      '3': 147
    fire_aspect:
      '1': 32
    respiration:
      '1': 37
      '2': 116
    thorns:
      '1': 53
      '2': 60
    sweeping_edge:
      '1': 57
      '2': 108
    punch:
      '1': 31
    sharpness:
      '1': 36
      '2': 102
      '3': 132
      '4': 180
    efficiency:
      '1': 57
      '2': 110
      '3': 168
      '4': 240
    fortune:
      '1': 45
      '2': 60
    unbreaking:
      '1': 42
      '2': 116
  by-item-id-level:
    gems:
      diamond_of_damage:
        '1': 186
      emerald_of_health:
        '1': 108
      gold_nugget_of_agility:
        '1': 130
      iron_nugget_of_defense:
        '1': 118
    essences:
      light_trail:
        '1': 156
      magic_helix:
        '1': 128
    runes:
      rune_absorp:
        '1': 157
      rune_jump:
        '1': 110
      rune_luck:
        '1': 162
      rune_resist:
        '1': 157
      rune_speed:
        '1': 182
      rune_strength:
        '1': 182
    arrows:
      arrow_explosive:
        '1': 147
      arrow_flame:
        '1': 105
      arrow_pierce:
        '1': 188
      snowball_explosive:
        '1': 115
    item_generator:
      common:
        '1': 192
    custom_items:
      basic:
        '1': 126
    money:
      money:
        '1': 174
    refine:
      sample_stone:
        '1': 164
    fortify:
      stone_essence:
        '1': 190
      stone_gem:
        '1': 195
      stone_refine:
        '1': 162
      stone_rune:
        '1': 187
    identify:
      tome-rare:
        '1': 144
      item-common:
        '1': 185
      tome-common:
        '1': 148
    magic_dust:
      essence_dust:
        '1': 106
      gemic_dust:
        '1': 151
      red_dust:
        '1': 196
      runic_dust:
        '1': 179
      universal_dust:
        '1': 119
    repair:
      sample_tool:
        '1': 107
    dismantle:
      tool_armor:
        '1': 158
      tool_weapon:
        '1': 127
    extractor:
      tool_armor:
        '1': 130
      tool_wpn:
        '1': 169
    consumables:
      burger:
        '1': 161
      small_health_potion:
        '1': 188
      small_loot_potion:
        '1': 172