Skip to main content

Module items

Module items 

Source
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.
AffixPool
Weighted pool of affixes for rolling item modifiers.
DropConfig
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.
ItemBase
Base definition of an item (before affixes).
ItemGenerator
Generates random items by rolling bases and affixes.
ItemLevelCurve
Maps dungeon depth to appropriate item level range.
ItemSet
A full named set with progressive set bonuses.
LootDropper
Produces item drops from enemies based on type and depth.
SetItem
An item belonging to a named set.
UniqueItem
A hand-crafted unique item with fixed stats and lore.

Enums§

AffixType
Whether an affix appears before or after the base item name.
ElementKind
EnchantmentKind
Extra magical property not covered by standard affixes.
EnemyKind
Enemy kind for loot table lookup.
Gem
Gems that can be socketed into items.
ItemType
Category of an item.
Rarity
Item rarity tier.
StatKind
Stat kinds that affixes and enchantments can modify.