Open main menu

UESPWiki β

Morrowind Mod:Mod File Format/CLAS

< Mod / Morrowind: Morrowind Mod: Modding: Mod File Format

CLAS records contain information about NPC and creature classes.

C Field Type/Size Info
+ NAME zstring Class ID (usually the same as FNAM, but not always)
+ FNAM zstring Class name (PCs, NPCs)
+ CLDT struct
(60 bytes)
Class data
uint32[2] - Primary Attributes
0 = Strength
1 = Intelligence
2 = Willpower
3 = Agility
4 = Speed
5 = Endurance
6 = Personality
7 = Luck
uint32 - Specialization
0 = Combat
1 = Magic
2 = Stealth
uint32[5][2] - 5 sets of alternating minor/major skills. Values can be found on the Skills page.
uint32 = Flags
1 = Playable
uint32 - Auto-calc Flags
0x00001 = Weapon
0x00002 = Armor
0x00004 = Clothing
0x00008 = Books
0x00010 = Ingredients
0x00020 = Picks
0x00040 = Probes
0x00080 = Lights
0x00100 = Apparatus
0x00200 = Repair Items
0x00400 = Misc
0x00800 = Spells
0x01000 = Magic Items
0x02000 = Potions
0x04000 = Training
0x08000 = Spellmaking
0x10000 = Enchanting
0x20000 = Repair
- DESC string Description