Skip to main content

Items System Overview

Titan implements an ARPG-style item system inspired by Path of Exile.

Core Concepts

Item Structure

Every item has:

PropertyDescription
baseTypeIdReference to base type definition
rarityNormal, Magic, Rare, or Unique
itemLevelDetermines available modifiers
implicitsFixed modifiers from base type
prefixesRandom prefix modifiers (0-3)
suffixesRandom suffix modifiers (0-3)
socketsSocket count, colors, and links
quality0-20% quality bonus
identifiedWhether mods are visible

Rarity System

RarityPrefixesSuffixesDescription
Normal00White items, no modifiers
Magic0-10-1Blue items, 1-2 modifiers
Rare1-31-3Yellow items, 3-6 modifiers
UniqueFixedFixedOrange items, predetermined mods

Item Categories

Equipment Slots

SlotIndexItem Types
Head0Helmets
Body1Body Armour
Gloves2Gloves
Boots3Boots
MainHand4Weapons
OffHand5Shields, Weapons
Amulet6Amulets
Ring17Rings
Ring28Rings
Belt9Belts

Socket System

Items can have sockets that hold skill gems:

  • Colors: Red (Strength), Green (Dexterity), Blue (Intelligence)
  • Links: Connected sockets share support gems
  • Count: 1-6 sockets based on item type
interface Socket {
color: SocketColor; // Red, Green, Blue, White
linked: boolean; // Linked to next socket
}

Next Steps