NWNWiki
NWNWiki
3,719
pages
This article covers the layout of the file; for the default contents, see iprp_costtable.2da (contents).

The iprp_costtable.2da file is the .2da file that defines the various tables used to interpret the cost table value of an item property.

Each item property has a type corresponding to a row in itempropdef.2da, and the CostTableResRef column of that row is an index into this file (iprp_costtable.2da). The referenced row from this file then gives the name of a third .2da file to use when interpreting the item property's cost table value, which is an index into that third .2da.

Columns of iprp_costtable.2da
Name Description
ID (no actual name) Row numbers for the benefit of human readers. The game engine ignores the value in this field, instead generating sequential row numbers as the file is read. It is good practice to keep the entries in this field sequentially numbered to avoid confusion.
Name The ResRef of the .2da file (without the .2da extension) to be used to interpret the cost table values of item properties whose type references this row.
Label A descriptive name for this row for the benefit of human readers. The game ignores the value of this column.
ClientLoad A one or zero indicating whether or not this row's cost table is one a client can safely load, rather than relying on the server to provide information.