Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Other hardcoded aspects of armor the game uses:

  • The sounds used for the armor (don/doff etc.) and world item shown
  • Rangers abilities work when the AC value (line ID) of 3 or lower
  • Monk abilities work only with a base AC value of 0 (line ID 0)
  • Line ID 0 - ie cloth / no AC - is hardcoded to have unlimited Dexterity Bonus (DEXBONUS see below)

2da Columns

ColumnExample ContentsValid ValuesDescription and Notes
Line ID (Unmarked)00 or higher integer

The line ID is the AC value. This worth noting in this wiki page since it is functionally the base AC applied to the object.

This means you cannot have 2 armors at the same AC level with different statistics (eg; Elven Chain Mail with a lower arcane spell failure and higher dex bonus).

ACBONUS00 or higher integerThis column is entirely unused by the game. The Line ID is used instead.
DEXBONUS1001 or higher integer

The maximum dexterity bonus when worn. 100 if functionally unlimited.

0 applies unlimited dexterity bonuses.

Note for some reason 0 won't work here, you must allow 1 dexterity bonus

1 and above applies a limit.

Note if the line ID (ie base armor class) is 0 then this is not applied, and will always act as if 0 (unlimited).

ACCHECK00 or higher integerThe penalty to dexterity based skills when worn.
ARCANEFAILURE%00 or higher integerArcane spell percentage, when casting an arcane spell (not divine) it'll roll dice versus this plus the shield penalty and the spell may fail. Can be affected by item properties too.
WEIGHT100 or higher integerTen times the weight of this item in pounds. 500 is 50lbs in game, thus allows partials (eg 455 is 45.5lbs)
COST10 or higher integerBase item cost.
DESCRIPTIONS1727TLK string reference numberUsed on unidentified items and in the toolset
BASEITEMSTATREF5411TLK string reference number

The stats block, usually several lines like this:

Code Block
Base Armor Class: 0
Maximum Dexterity Bonus: None
Armor Check Penalty: 0
Arcane Spell Failure: 0%
Feats Required: None


2da Contents

Code Block
2DA V2.0

          ACBONUS    DEXBONUS   ACCHECK    ARCANEFAILURE%      WEIGHT    COST      DESCRIPTIONS   BASEITEMSTATREF

0          0          100        0          0                   10        1            1727       5411
1          1          8          0          5                   50        5            1728       5432
2          2          6          0          10                  100       10           1729       5435
3          3          4          -1         20                  150       15           1730       5436
4          4          4          -2         20                  300       100          1731       5437
5          5          2          -5         30                  400       150          1732       5438
6          6          1          -7         40                  450       200          1733       5439
7          7          1          -7         40                  500       600          1734       5440
8          8          1          -8         45                  500       1500         1736       5441

...