• Tutorials

  • Home
  • $DAT_Item_CommonName

    $DAT_Item_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 determine the common name and the identified name of an item using the functions:

    $DAT_Item_CommonName(unique name)

    $DAT_Item_IDName(unique name)


    Back to Special Ability Scripts