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

The des_crft_scroll.2da file is the .2da file that defines the items that can be crafted with scribe scroll. There is an entry for each spell and each spellcasting class (with the provision that sorcerer and wizard are considered the same class for this purpose).

As with all "des_*" .2da's, this file has no hardcoded usage; it is only used in scripts. (Specifically, this file is referenced by x2_inc_craft.) This may allow for greater customization possibilities than most other .2da's.

Each row in this file corresponds to the spell with the same row number in spells.2da.

Columns of des_crft_scroll.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.
Label The name of the spell, for the reference of the human reader. Ideally, this matches the Label column of the same row in spells.2da, to reduce confusion.
Wiz_Sorc The ResRef of the item to create when the spell corresponding to this row is scribed by a sorcerer or wizard.
Cleric The ResRef of the item to create when the spell corresponding to this row is scribed by a cleric.
Paladin The ResRef of the item to create when the spell corresponding to this row is scribed by a paladin.
Druid The ResRef of the item to create when the spell corresponding to this row is scribed by a druid.
Ranger The ResRef of the item to create when the spell corresponding to this row is scribed by a ranger.
Bard The ResRef of the item to create when the spell corresponding to this row is scribed by a bard.