$DAT_Item_CommonName
$DAT_IDName
The Items.Dat (and Items.txt) files define a 'unique name' for each item. Each item can also display a 'common name' and an 'identified name'.
The 'common name' for an item is created automatically by the engine by dropping any vertical bar and following characters. For example:
The unique name for a special Awl might be “Awl|HeaverThanUsual”. This is the name that scripts use to refer to the item. When the engine displays the common name of this item, it will display “Awl”.
The 'Identified Name” of an item is defined exp[licitly in the items database. It need not be anything like the unique name. For example, an item might have a unique name of “Awl|Stainless” and its identified name might be “Slingshot+5”.
A script can obtain information about an item using the functions:
$DAT_Item_CommonName(unique name)
$DAT_Item_IDName(unique name)
$DAT_Item_Oriority(unique name)
$DAT_Item_MaxRange(unique name)
$DAT_Item_MediumRange(unique name)
$DAT_Item_ShortRange(unique name)
$DAT_Item_DamageSmall(unique name) example: $2$6$3 would mean 2D6+3
$DAT_Item_DamageLarge(unique name) example: $1$5$2 would mean 1D5+2
$DAT_Item_AttackBonus(unique name)