Items
Items (items.toml)
File Location
data/items/items.tomlStructure
Examples (minimal fields for a few common categories):
# Minimum required fields[[item]]id = 1000 # Unique item IDname = "example" # Display nameweight = 100 # Weight in 0.01 oz units (100 = 1.00 oz)
[[item]]id = 2160name = "crystal coin"weight = 10worth = 10000 # Worth is relative and handled automatically by the server (e.g., 10000 is 10x a coin with worth = 1000)stackable = true
[[item]]id = 2400name = "magic sword"weight = 4200attack = 40defense = 35slotType = "hand"
[[item]]id = 2463name = "plate armor"weight = 12000armor = 12slotType = "body"
[[item]]id = 1988name = "backpack"weight = 1800slotType = "backpack"Examples with abilities:
[[item]]id = 3001name = "boots of haste"weight = 800speed = 80
[[item]]id = 3002name = "ring of vitality"weight = 200healthGain = 5healthTicks = 2000
[[item]]id = 3003name = "amulet of focus"weight = 500manaGain = 5manaTicks = 2000
[[item]]id = 3004name = "training blade"weight = 1800skillSword = 3skillShield = 2Item Properties
| Property | Description |
|---|---|
id | Item ID |
name | Item name |
weight | Weight (0.01 oz units) |
worth | Gold value |
attack, defense, armor | Combat stats |
slotType | Equipment slot |
level | Required level |
stackable | Can stack |
Abilities
Abilities are optional fields that grant bonuses or effects.
Common abilities:
| Key | Description |
|---|---|
speed | Speed change |
healthGain, healthTicks | HP regen amount and tick interval |
manaGain, manaTicks | Mana regen amount and tick interval |
skillSword, skillAxe, skillClub,skillDist, skillFish, skillShield, skillFist | Skill bonuses |
Full list of abilities can be found in items.h or expanded here:
All ability keys (expand)
Regen:
healthGain, healthTicks, manaGain, manaTicks
Effects:
speed, invisible, manaShield
Skills:
skillSword, skillAxe, skillClub, skillDist, skillFish, skillShield, skillFist
Special skills:
criticalHitChance, criticalHitAmount, manaLeechChance, manaLeechAmount, lifeLeechChance, lifeLeechAmount
Stats:
maxHitpoints, maxHitpointsPercent, maxManaPoints, maxManaPointsPercent, magicPoints, magicLevelPoints, magicPointsPercent
Condition suppression:
suppressDrunk, suppressEnergy, suppressFire, suppressPoison, suppressDrown, suppressPhysical, suppressFreeze, suppressDazzle, suppressCurse
Elemental damage(weapon damage):
elementIce, elementEarth, elementFire, elementEnergy, elementDeath, elementHoly