Skip to main content

Module twoda_name

Module twoda_name 

Source
Expand description

Validated 2DA table names and the known vanilla table set. Validated 2DA table names and the known vanilla table set.

Which 2DA tables exist and what they are called is game-content knowledge, the same kind of thing ResourceType already carries. It is not knowledge about how files get mounted, so it does not belong with the cache that mounts them, and a 2DA parser has no business knowing appearance.2da exists either.

TwoDaName and the tables constants move together: the constants are typed, not &str.

Modules§

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

Structs§

TwoDaName
A validated 2DA table name (e.g. racialtypes, appearance).