ARMA Record – Armor Addon

ARMA record type.

Classes:

ARMA(flags, id[, revision, version, ...])

Armor Addon.

class ARMA(flags, id, revision=0, version=15, unknown=b'\x00\x00', data=[])[source]

Bases: Record

Armor Addon.

Parameters
  • flags (int)

  • id (bytes)

  • revision (int) – Default 0.

  • version (int) – Default 15.

  • unknown (bytes) – Default b'\x00\x00'.

  • data (List[RecordType]) – Default [].

Classes:

DATA(value, max_condition, weight)

Data.

DNAM(ar, flags, unknown)

ETYP(*args, **kwargs)

Equipment Type.

FULL([cstring])

Name.

ICO2([cstring])

Female inventory icon filename.

ICON([cstring])

Male inventory icon filename.

MIC2([cstring])

Female message icon filename.

MICO([cstring])

Male message icon filename.

Attributes:

data

Subrecords of this record.

flags

Record flags

id

4-byte form ID

revision

Used for revision control by the Creation Kit, if enabled.

unknown

version

Form version

Methods:

parse_subrecords(raw_bytes)

Parse this record's subrecords.

class DATA(value, max_condition, weight)[source]

Bases: StructRecord

Data.

Parameters

Methods:

get_field_names()

Returns a list of attributes on this class in the order they should be packed.

get_struct_and_size()

Returns the pack/unpack struct string and the corresponding size.

Attributes:

max_condition

value

weight

static get_field_names()[source]

Returns a list of attributes on this class in the order they should be packed.

Return type

Tuple[str, …]

static get_struct_and_size()[source]

Returns the pack/unpack struct string and the corresponding size.

Return type

Tuple[str, int]

max_condition

Type:    int

value

Type:    int

weight

Type:    float

class DNAM(ar, flags, unknown)[source]

Bases: StructRecord

Parameters
  • ar (int) – Value is divided by 100.

  • flags (int)

  • unknown (bytes)

Attributes:

ar

Value is divided by 100.

flags

unknown

Methods:

get_field_names()

Returns a list of attributes on this class in the order they should be packed.

get_struct_and_size()

Returns the pack/unpack struct string and the corresponding size.

parse(raw_bytes)

Parse this subrecord.

ar

Type:    int

Value is divided by 100.

flags

Type:    int

static get_field_names()[source]

Returns a list of attributes on this class in the order they should be packed.

Return type

Tuple[str, …]

static get_struct_and_size()[source]

Returns the pack/unpack struct string and the corresponding size.

Return type

Tuple[str, int]

classmethod parse(raw_bytes)[source]

Parse this subrecord.

Parameters

raw_bytes (BytesIO) – Raw bytes for this record

Return type

RecordType

unknown

Type:    bytes

class ETYP(*args, **kwargs)[source]

Bases: Int32Record

Equipment Type.

https://tes5edit.github.io/fopdoc/FalloutNV/Records/Subrecords/ETYP.html

class FULL(cstring: Union[str, bytes] = b'')[source]

Bases: CStringRecord

Name.

class ICO2(cstring: Union[str, bytes] = b'')[source]

Bases: CStringRecord

Female inventory icon filename.

class ICON(cstring: Union[str, bytes] = b'')[source]

Bases: CStringRecord

Male inventory icon filename.

class MIC2(cstring: Union[str, bytes] = b'')[source]

Bases: CStringRecord

Female message icon filename.

class MICO(cstring: Union[str, bytes] = b'')[source]

Bases: CStringRecord

Male message icon filename.

data

Type:    List[RecordType]

flags

Type:    int

id

Type:    bytes

classmethod parse_subrecords(raw_bytes)[source]

Parse this record’s subrecords.

Parameters

raw_bytes (BytesIO) – Raw bytes for this record’s subrecords

Return type

Iterator[RecordType]

revision

Type:    int

unknown

Type:    bytes

version

Type:    int