IMOD Record – Item Mod
IMOD record type.
Classes:
|
Item Mod. |
-
class
IMOD(flags, id, revision=0, version=15, unknown=b'\x00\x00', data=[])[source] Bases:
RecordItem Mod.
- Parameters
Classes:
DATA(value, weight)Data.
DESC([cstring])Description.
FULL([cstring])Name.
ICON([cstring])Large Icon Filename.
MICO([cstring])Small Icon FIlename.
SCRI([cstring])Script.
YNAM([cstring])Sound - Pick Up.
ZNAM([cstring])Sound - Drop.
Attributes:
Subrecords of this record.
Record flags
4-byte form ID
Used for revision control by the Creation Kit, if enabled.
Form version
Methods:
parse_subrecords(raw_bytes)Parse this record's subrecords.
-
class
DATA(value, weight)[source] Bases:
StructRecordData.
Methods:
Returns a list of attributes on this class in the order they should be packed.
Returns the pack/unpack struct string and the corresponding size.
Attributes:
-
static
get_field_names()[source] Returns a list of attributes on this class in the order they should be packed.
-
static
-
class
SCRI(cstring: Union[str, bytes] = b'')[source] Bases:
FormIDRecordScript.
Form ID of a
SCPTrecord.
-
class
YNAM(cstring: Union[str, bytes] = b'')[source] Bases:
FormIDRecordSound - Pick Up.
Form ID of a
SOUNrecord.
-
class
ZNAM(cstring: Union[str, bytes] = b'')[source] Bases:
FormIDRecordSound - Drop.
Form ID of a
SOUNrecord.
-
data Type:
List[RecordType]