Overview
This file defines each Unique item and controls their item modifiers.
The row order of items should not be changed because it defines their ID value.
Any column field name starting with “*” is considered a comment field and is not used by the game.
Data Fields
index – Points to a string key value to use as the Unique item’s name
version – Defines which game version to create this item (<100 = Classic mode | 100 = Expansion mode)
enabled – Boolean Field. If equals 1, then this item can be rolled as a choice when randomly dropping a unique. If equals 0, then this item cannot be dropped randomly, but can still be drop explicitly from a treasure class.
firstLadderSeason – Integer field. The first ladder season the unique item can be Dropped or created on (inclusive). If blank or 0 then it is available in non-ladder.
lastLadderSeason – Integer field. The last ladder season the unique item is ladder-only (inclusive). Must be used in conjunction with firstLadderSeason.
rarity – Modifies the chances that this Unique item will spawn compared to the other Unique items. This value acts as a numerator and a denominator. Each “rarity” value gets summed together to give a total denominator, used for the random roll for the item. For example, if there are 3 possible Unique items, and their “rarity” values are 3, 5, 7, then their chances to be chosen are 3/15, 5/15, and 7/15 respectively. (The minimum “rarity” value equals 1) (Only works for games in Expansion mode)
nolimit – Boolean Field. Requires the “quest” field from the misc.txt file to be enabled. If equals 1, then this item can be created and will automatically be identified. If equals 0, then ignore this.
lvl – The item level for the item, which controls what object or monster needs to be in order to drop this item
lvl req – The minimum character level required to equip the item
code – Defines the baseline item code to use for this Unique item (must match the “code” field value from weapons.txt, armor.txt, or misc.txt)
carry1 – Boolean Field. If equals 1, then players can only carry one of these items in their inventory. If equals 0, then ignore this.
cost mult – Multiplicative modifier for the Unique item’s buy, sell, and repair costs
cost add – Flat integer modification to the Unique item’s buy, sell, and repair costs. This is added after the “cost mult” has modified the costs.
chrtransform – Controls the color change of the item when equipped on a character or dropped on the ground. If empty, then the item will have the default item color. (Uses Color Codes from the reference file colors.txt)
Code | Color |
No color change | |
whit | White |
lgry | Light Grey |
dgry | Dark Grey |
blac | Black |
lblu | Light Blue |
dblu | Dark Blue |
cblu | Crystal Blue |
lred | Light Red |
dred | Dark Red |
cred | Crystal Red |
lgrn | Light Green |
dgrn | Dark Green |
cgrn | Crystal Green |
lyel | Light Yellow |
dyel | Dark Yellow |
lgld | Light Gold |
dgld | Dark Gold |
lpur | Light Purple |
dpur | Dark Purple |
oran | Orange |
bwht | Bright White |
invtransform – Controls the color change of the item in the inventory UI. If empty, then the item will have the default item color. (Uses Color Codes from the reference file colors.txt)
Code | Color |
No color change | |
whit | White |
lgry | Light Grey |
dgry | Dark Grey |
blac | Black |
lblu | Light Blue |
dblu | Dark Blue |
cblu | Crystal Blue |
lred | Light Red |
dred | Dark Red |
cred | Crystal Red |
lgrn | Light Green |
dgrn | Dark Green |
cgrn | Crystal Green |
lyel | Light Yellow |
dyel | Dark Yellow |
lgld | Light Gold |
dgld | Dark Gold |
lpur | Light Purple |
dpur | Dark Purple |
oran | Orange |
bwht | Bright White |
invfile – An override for the “invfile” field from the weapon.txt, armor.txt, or misc.txt files. By default, the Unique item will use what was defined by the baseline item from the “item” field.
flippyfile – An override for the “flippyfile” field from the weapon.txt, armor.txt, or misc.txt files. By default, the Unique item will use what was defined by the baseline item from the “item” field.
dropsound – An override for the “dropsound” field from the weapon.txt, armor.txt, or misc.txt files. By default, the Unique item will use what was defined by the baseline item from the “item” field.
dropsfxframe – An override for the “dropsfxframe” field from the weapon.txt, armor.txt, or misc.txt files. By default, the Unique item will use what was defined by the baseline item from the “item” field.
usesound – An override for the “usesound” field from the weapon.txt, armor.txt, or misc.txt files. By default, the Unique item will use what was defined by the baseline item from the “item” field.
prop1 (to prop12) – Controls the item properties for the Unique item (Uses the “code” field from Properties.txt)
par1 (to par12) – The stat’s “parameter” value associated with the related property (prop#). Usage depends on the property function (See the “func” field on Properties.txt)
min1 (to min12) – The stat’s “min” value to assign to the related property (prop#). Usage depends on the property function (See the “func” field on Properties.txt)
max1 (to max12) – The stat’s “max” value to assign to the related property (prop#). Usage depends on the property function (See the “func” field on Properties.txt)
diablocloneweight – The amount of weight added to the diablo clone progress when this item is sold. When offline, selling this item will instead immediately spawn diablo clone.