armor.2da is the reference point for extra armor values.
The ACBONUS column in this 2da is ignored by the game, instead the parts_chest.2da ACBONUS column, when rounded, references a line in this 2da for the base stats - with the line ID being the base AC bonus applied.
This means you cannot have 2 different AC types at the same AC level. EG: If you try and put in "Elven Chain" at AC value of 4 which is lower arcane spell failure and higher dexterity bonus - it is impossible. Adding line 9 or 10 would mean the AC is set to 9 or 10.
You can add higher ACs but not negative ones. EG you can have 9 AC armor.
Other hardcoded aspects of armor the game uses:
| Column | Example Contents | Valid Values | Description and Notes | |
|---|---|---|---|---|
| Line ID (Unmarked) | 0 | 0 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). | |
| ACBONUS | 0 | 0 or higher integer | This column is entirely unused by the game. The Line ID is used instead. | |
| DEXBONUS | 100 | 1 or higher integer | The maximum dexterity bonus when worn. 100 if functionally unlimited. Note for some reason 0 won't work here, you must allow 1 dexterity bonus. | |
| ACCHECK | 0 | 0 or higher integer | The penalty to dexterity based skills when worn. | |
| ARCANEFAILURE% | 0 | 0 or higher integer | Arcane 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. | |
| WEIGHT | 10 | 0 or higher integer | Ten times the weight of this item in pounds. 500 is 50lbs in game, thus allows partials (eg 455 is 45.5lbs) | |
| COST | 1 | 0 or higher integer | Base item cost. | |
| DESCRIPTIONS | 1727 | TLK string reference number | Used on unidentified items and in the toolset | |
| BASEITEMSTATREF | 5411 | TLK string reference number | The stats block, usually several lines like this:
|
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 |