Expand description
Item generation — bases, affixes, uniques, sets, enchantments, loot drops.
Provides a complete Diablo-style item generation pipeline: base items → affix pool → random rolls → unique/set items → enchantments → loot tables.
Structs§
- Affix
- A stat modifier applied by an affix.
- Affix
Pool - Weighted pool of affixes for rolling item modifiers.
- Drop
Config - Drop rate configuration per enemy tier.
- Enchantment
- An enchantment applied to an item.
- Item
- A fully generated item with a base, optional affixes, and computed stats.
- Item
Base - Base definition of an item (before affixes).
- Item
Generator - Generates random items by rolling bases and affixes.
- Item
Level Curve - Maps dungeon depth to appropriate item level range.
- ItemSet
- A full named set with progressive set bonuses.
- Loot
Dropper - Produces item drops from enemies based on type and depth.
- SetItem
- An item belonging to a named set.
- Unique
Item - A hand-crafted unique item with fixed stats and lore.
Enums§
- Affix
Type - Whether an affix appears before or after the base item name.
- Element
Kind - Enchantment
Kind - Extra magical property not covered by standard affixes.
- Enemy
Kind - Enemy kind for loot table lookup.
- Gem
- Gems that can be socketed into items.
- Item
Type - Category of an item.
- Rarity
- Item rarity tier.
- Stat
Kind - Stat kinds that affixes and enchantments can modify.