AMMO Record – Ammunition
AMMO record type.
Classes:
|
Ammunition. |
-
class
AMMO(flags, id, revision=0, version=15, unknown=b'\x00\x00', data=[])[source] Bases:
RecordAmmunition.
- Parameters
Classes:
DAT2(projectiles_per_shot, projectile, ...)Data 2.
DATA(speed, flags, unused, value, clip_rounds)Data.
FULL([cstring])Name.
ICON([cstring])Large Icon Filename.
MICO([cstring])Small Icon FIlename.
ONAM([cstring])Short Name.
QNAM([cstring])Abbreviation.
RCIL([cstring])Ammo Effect.
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
DAT2(projectiles_per_shot, projectile, weight, consumed_ammo, consumed_percentage)[source] Bases:
StructRecordData 2.
- Parameters
Attributes:
Form ID of a
PROJrecord, or null.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.
-
static
get_field_names()[source] Returns a list of attributes on this class in the order they should be packed.
-
class
DATA(speed, flags, unused, value, clip_rounds)[source] Bases:
StructRecordData.
Attributes:
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.
-
static
get_field_names()[source] Returns a list of attributes on this class in the order they should be packed.
-
static
-
class
RCIL(cstring: Union[str, bytes] = b'')[source] Bases:
FormIDRecordAmmo Effect.
Form ID of an
AMEFrecord.
-
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]