← Ülevaadedocs\ai_context\TALENTS_PROFICIENCIES_20261127.md

Talents, proficiencies, armor classes, customizable Tab ring (27.11.2026, Claude)

Owner request (Janari, via project chat): non-combat TALENTS and combat PROFICIENCIES that level by doing; armor split into Light / Medium / Heavy with a tooltip; one window for both, reachable from the Tab ring; the Tab ring customizable in Options (which entries, order), saved per player, with a registry so new entries are easy to add.

Owner rules kept

Numbers (Scripts/Services/TalentRules.gd, edit there)

Max level 50. XP for next level = 20 + 10 x level (level 50 = 13 250 XP total).

IdTrained byBonus per level (max at 50)
barteringevery buy/sell: 1 XP + gold/10 (max 200)sell +0.6 % (+30 %), buy markup 2.0 -> 1.6; buy >= sell + 1 always
scavengingkill drops: 1 XP per gold/material drop + gold/10gold piles +1 %, material drop chance +1 % (+50 %)
alchemydrinking a potion: 3 XP (brewing does not exist yet)potions restore +1 % (+50 %)
miningeach ore: 5 XP1 % chance of an extra ore (50 %)
smeltingeach smelt: 4 XP + recipe gold/50.6 % bonus ingot chance (30 %)
smithingupgrade 5 + 2 x new level, socket 8, soul 4 XPforge gold costs -0.8 % (-40 %)
weapons (11)1 XP per hit that damages an enemy+0.4 % damage (+20 %)
armor (3)1 XP per enemy hit, split by worn pieces-0.06 % damage taken per worn piece (5 pieces at 50 = -15 %, floor -50 %)

Weapon classes: Sword, Axe, Hammer, Mace, Dagger, Spear, Tools (2H Tool + Pickaxe), Bow, Staff, Wand, Unarmed. Skeleton (rage) form trains nothing.

Where it hooks in

Armor classes (Scripts/Services/ArmorClassRules.gd)

Item data is NOT changed. The old armor_type field is the art folder (Arcane/Light/Medium/ Heavy). SET_CLASS maps all 127 sets to Light (robes/magic, 21 sets), Medium (leather, cloth, archer, hats, 64) or Heavy (iron/plate/chainmail knights, 42); shields follow their set. Items without a set use ART_DEFAULT (Arcane->Light, Light->Medium, Medium->Medium, Heavy->Heavy). Reviewed overrides: robe/mantle sets -> Light; leather/scout/thief tunics in arcane art -> Medium; chainmail knights, Cataphract, Heavy Samurai, Silver Knight, Dark Lord, Glory, Draconic, Wall Keeper, Dark Steel, Lush Knight, Persian Warrior -> Heavy; Hard Leather -> Medium. Item tooltip shows "Heavy Armor - Heavy armor: iron and plate. Trains Heavy Armor (your level N)" and the header type uses the class; weapons show their proficiency level.

UI

Tests / evidence

Not done / open

Version 2 (same day, Janari's follow-up) - talents with points