custom type re
ItemPart
re.ItemPart
- 5 properties
A part installed in an item, such as a scope, muzzle or mod. Parts are listed in pre-order, starting with the item's root part at depth 1, and each part is at most one level deeper than the one before it
Properties
| Property | Type | Description |
|---|---|---|
slot | TDBID | Attachment slot the part is in, for example AttachmentSlots.Scope |
record | TDBID | |
seed | uint | |
depth | byte | 1 for the root part, 2 for its children, and so on |
modifiers | re.StatModifier[] |