DOOR Record – Door

DOOR record type.

Classes:

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

Dialog topic.

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

Bases: Record

Dialog topic.

Parameters
  • flags (int)

  • id (bytes)

  • revision (int) – Default 0.

  • version (int) – Default 15.

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

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

Classes:

ANAM([cstring])

Sound - close.

BNAM([cstring])

Sound - looping.

FNAM(*args, **kwargs)

Flags.

FULL([cstring])

Name of the topic.

SCRI([cstring])

Script.

SNAM([cstring])

Sound - open.

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 ANAM(cstring: Union[str, bytes] = b'')[source]

Bases: FormIDRecord

Sound - close.

Form ID of a SOUN record.

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

Bases: FormIDRecord

Sound - looping.

Form ID of a SOUN record.

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

Bases: Uint8Record

Flags.

See https://tes5edit.github.io/fopdoc/Fallout3/Records/DOOR.html

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

Bases: CStringRecord

Name of the topic.

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

Bases: FormIDRecord

Script.

Form ID of a SCPT record.

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

Bases: FormIDRecord

Sound - open.

Form ID of a SOUN record.

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