Tes4Mod:Mod File Format/FACT

Oblivion: Tes4Mod: Modding

Data structure represented by Wrye Bash Mod Elements.

class MreFact(MelRecord):
    """Faction record."""
    type = 'FACT'
    flags = Flags(0L,Flags.getNames('hiddenFromPC','evil','specialCombat'))
    melSet = MelSet(
        MelString('EDID','eid'),
        MelString('FULL','full'),
        MelStructs('XNAM','Ii','relations',(FID,'faction'),'mod'),
        MelStruct('DATA','B',(flags,'flags',0L)),
        MelStruct('CNAM','f',('crimeGoldMultiplier',1)),
        MelGroups('ranks',
            MelStruct('RNAM','i','rank'),
            MelString('MNAM','male'),
            MelString('FNAM','female'),
            MelString('INAM','insignia'),),
        )