custom type re
ItemInfo
re.ItemInfo
- 9 properties
Everything that makes up an item, with its identity, loot stats, saved stat modifiers and installed parts. Only constant modifiers are listed, Inventory.GetItemData keeps the others as well
Properties
| Property | Type | Description |
|---|---|---|
record | TDBID | |
seed | uint | 2 for a stackable item, which has no rolls of its own and one stack per record. Above 2 for a unique item, where it decides the rolls. Whether a record is stackable follows the game's rules |
counter | ushort | |
quantity | uint | |
loot_record | TDBID | The loot record that rolled a unique item, or 0 for an item created from its record |
loot_seed | uint | |
power_level | float | Loot power level of a unique item |
modifiers | re.StatModifier[] | Saved stat modifiers of the item itself |
parts | re.ItemPart[] | Installed parts. Empty for an item the server created from its record until the client reports its parts |