CONTENT CONTRACT · VERSION 1
LootEntry
One item of a loot table and its count range.
Signature
{ chance_permille: (Permille)?, item: ItemId, max: PositiveCount, min: Count }Fields
| Name | Type | Meaning |
|---|---|---|
chance_permille | Permille | Chance that the entry drops at all, in thousandths; absent: always. Range: 0…1000; Unit: permille |
item | ItemId | Inventory item definition to count, consume or match. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: item |
max | PositiveCount | Most units dropped; at least min. Range: 1…2147483647; Unit: count |
min | Count | Fewest units dropped. Range: 0…2147483647; Unit: count |