Skip to main content

Module tables

Module tables 

Source
Expand description

Compile-time-validated TwoDaName constants for the vanilla K1 2DA tables the workspace currently consumes.

Constants land here as new tables get used; growing the module is a one-line pub const FOO: TwoDaName = TwoDaName::from_static("foo"); addition. Mod-extended or runtime-discovered tables go through TwoDaName::new at the call site instead.

Constants§

APPEARANCE
appearance.2da – character / creature appearance table.
BASEITEMS
baseitems.2da – base item type table (model, equip slot, weapon class, etc.).
CLASSES
classes.2da – character class definitions.
FEAT
feat.2da – feat definitions (combat techniques, weapon and armour proficiencies, Force feats, droid upgrades, etc.).
GENERICDOORS
genericdoors.2da – door appearance / model table.
ITEMPROPDEF
itempropdef.2da – master item-property kind table; root of the per-property subtype dispatch chain.
PLACEABLES
placeables.2da – placeable appearance table.
PORTRAITS
portraits.2da – character portrait list.
RACIALTYPES
racialtypes.2da – creature race table.