v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Skill

From Dwarf Fortress Wiki
Revision as of 00:51, 15 November 2024 by 84.115.217.236 (talk) (→‎Skills, attributes and traits)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This article is about the current version of DF.
Note that some content may still need to be updated.

See also: Combat skill

Skill preview.png

Skills are used by dwarves and other creatures to accomplish almost every task in the game. Higher levels of a skill allow a dwarf to accomplish the respective task more quickly and/or more effectively. Whenever a skill is used, experience is gained for that skill, allowing the dwarf to progress to higher skill levels. Creatures aside from dwarves may also possess skills that match what species they are (e.g. cats and monkeys having legendary skill in climbing).

If a dwarf does not use a skill for a prolonged period of time, the skill will be labeled "rusty." If the rusty skill continues to remain unused, it will eventually be labeled "very rusty," or "V rusty" in-game. Skills remaining at 'very rusty' for prolonged periods of time will gradually suffer permanent experience loss. It is not possible to know in-game whether a given skill has suffered level loss, but any utility capable of reading exact XP levels will show a skill with a lost level as being at 100% of the XP required to take it to the next skill level. See Rust below for more details.

To determine what skills a dwarf has, hover over and click them, that will bring you to their "Overview" menu. From there you can see and access the "Skills" tab; "Labor," "Combat," and "Social" being the main three types of skills used by Dwarves. "Other Skills" regards all skills outside the main types, skills like swimming and instrument use. Finally, "Knowledge" is used in the knowledge system.

Skill level names

The names of skill levels are as follows, in order of the experience required to achieve them:

Rank Skill Name Notes
0 Not (No skill)
0 Dabbling This level isn't displayed on the "prepare for journey carefully" screen.
1 Novice
2 Adequate
3 Competent
4 Skilled
5 Proficient Maximum possible skill level for dwarves while "preparing for journey carefully".
6 Talented
7 Adept
8 Expert
9 Professional
10 Accomplished
11 Great Characters with this level of a specified weapon mastery (including wrestling) or higher are elite.
12 Master
13 High Master
14 Grand Master Maximum possible skill for any creature in the object testing arena.
15+ Legendary

Skills in use

Blinking legendary dwarves.

Skills are never referred to in-game by "level number", but for all practical purposes, that is how they are treated by the game. "Dabbling" is not functionally a level, with "Novice" being level 1, and "Legendary" being any level 15 and up.

All skills take (400 + 100 * the new level) experience points to gain a level, meaning Novice takes 500 experience points, and reaching Legendary from Grand Master takes 1900 experience points, or 18000 total experience.

Many skills can gain practical levels beyond level 15, or "Legendary". Farming, plant gathering, and fishing use an older formula for calculating yields which effectively caps the skill level at "Legendary+10", but most other crafting skills use the following formula to determine the quality of the resulting item:

  1. Find the effective skill level (i.e. Novice=1, Legendary=15), uncapped, with status penalties applied (see below)
  2. Roll for item quality "points": rand(0..10) + rand(0..(level * 5) / 2) + rand(0..(level * 5) / 2) (where rand(0..N) returns a number from 0 to N, inclusive)
  3. Add points for physical attributes: (rand(0..phys_attr1) / 100) + (rand(0..phys_attr2) / 250) + (rand(0..phys_attr3) / 250) (for whichever attributes are actually associated with the skill)
  4. Add points for mental attributes: (rand(0..ment_attr1) / 100) + (rand(0..ment_attr2) / 250) + (rand(0..ment_attr3) / 250) (see above)
  5. Adjust points based on focus (or lack thereof): points = (points * current_focus) / undistracted_focus
  6. Apply status penalties again, this time to the "points"
  7. If you have a Curse (or Blessing) with a Luck modifier, apply it to the points: points = (points * luck_mul_percent) / 100
  8. Add 10 points if the item being produced matches an Item preference on the maker
  9. Add 10 points if the item being produced matches a Material preference on the maker
  10. Feed the points into the following formula:
    • 0-21 - base quality
    • 22-29 - Well-crafted
    • 30-34 - Fine
    • 35-44 - Superior
    • 45-54 - Exceptional
    • 55+ - 1/3 Masterwork, 2/3 Exceptional

A matching material or a matching item preference is each worth, on average, four skill levels. As both act as flat bonuses to base points, they are especially helpful for low-skill workers. Attributes are less impactful: to get a skill level's worth of bonus (on average), 500 points in a primary attribute or 1250 points in a secondary attribute are required. (This is roughly two or, respectively, five "tiers" of attribute description in the thoughts and preferences screen.)

Labors with or without quality often have a time period associated with them, and skill levels reduce this significantly. Legendary skill can eliminate all time required to do a job down to a single action, exponentially increasing productivity.

Combat skills can scale upwards to a functionally impossible-to-reach degree, meaning that simply reaching Legendary in a combat skill only means they've just started climbing the ranks of the legendary warriors of Dwarf Fortress. A Legendary +100 warrior will hit more regularly and deal more damage than a "mere" Legendary +10, although it takes nearly three-quarters of a million more experience points to get there.

40d-style skill checks

As mentioned above, farming, plant gathering, and fishing use an older algorithm for converting skill level to a number in 0-5 range. In 40d, all craft skills used it to determine item quality, but for the three skills that still remain, it's translated to item quantity instead -- directly for fishing and gathering, and with some adjustments in the case of farming. As a 40d remnant, this check does not appear to be affected by focus or attributes.

The algorithm is as follows:

  • Start with 0.
  • With a (skill in 5) chance, add 1. (Always at Proficient or above.)
  • With a (skill in 10) chance, add 1. (Always at Accomplished or above.)
  • With a (skill in 15) chance, add 1. (Always at Legendary.)
  • With a (skill in 20) chance, add 1. (Always at Legendary+5 or above.)
  • With a (skill in 25) chance, add 1 one-third of the time. (Thus the skill is capped at Legendary+10 for this purpose.)

The result is the amount of fish or gathered shrubs or a factor for crop yield.

Skill penalties

Dwarves which are suffering from various status ailments will have all of their skill levels reduced, causing them to work slower and produce lower-quality goods where relevant. The latter is unimportant for non-quality tasks such as wood cutting or furnace operating, but you may want to delay construction of, say, platinum statues or steel breastplates, if the smith forging them is famished or hollow-eyed from lack of sleep. For instance, dwarves that aren't in a martial trance that have pain above a certain level get all their rolls halved.

Each of the following status ailments can impact a Dwarf's skills:

  • Nausea - reduce by 50%1
  • Winded - reduce by 50%1
  • Stunned - reduce by 50%1
  • Dizzy - reduce by 50%1
  • Fever - reduce by 50%1
  • Blind - reduce by 75%1
  • Extreme Pain - reduce by 75%12
  • Tired - reduce by 25%1
  • Over-Exert - reduce by 25% twice1
  • Exhausted - reduce by 25% three times1
  • Dehydrated - reduce by 50%
  • Starving - reduce by 50%
  • Very Drowsy - reduce by 50%
  • Thirsty for Blood - reduce by 25% or 50%, depending on severity
1 - Does not apply to dwarves who are Enraged, in a Martial Trance, or throwing a Tantrum
2 - Does not apply to dwarves who are in a Strange Mood or are Insane (not that they're going to perform skill rolls in the first place)

Notably, having multiple status ailments will result in compounded penalties - for example, being both Stunned and Dizzy will cause all skill levels to drop by 75%.

Professions

Skills are grouped under "professional" categories (shown below), each category represented by a specific color. In classic, the display color for a dwarf reflects its current profession, which is determined by their highest level (not experience) of their skills; in premium the colors of their name and clothing change. Professions do not affect skills or tasks in any way, professions are merely a reflection of the highest skill, and a loose way to differentiate dwarves with different types of skills. It is not perfect, but it can help when trying to spot a specific dwarf in a list or group.

So (and assuming it's their highest skill) your Miners names are always light gray, your Metal Workers are always dark gray, Masons (and Engravers) are always white, your Mechanics (and Siege Engineers and Pump Operators) are always red, and those waves of olive migrants are all "Farmers" of some stripe. This is not to say that a dwarf doesn't also have some other skill(s) from a different category, ones that may be just lower than their highest skill (which is determining the color for their current profession), so be sure to examine each new arrival - but that's their current best, and so their current color/profession.

A dwarf with no skill levels above dabbling is displayed as "peasant" as their listed "profession", falling in the teal "miscellaneous" category.

The one exception to this are some of your appointed noble positions, which are the magenta/purple of the Administrator category. Appointing a new noble will apply that magenta color to the new "noble" dwarf, regardless of their previous profession.

Professions can change as skills are increased. When a skill in a new category is raised to a higher level than any in other categories, creating a new "highest" status, the dwarf will change listed profession and display color accordingly. This change is accompanied by a minor announcement to that effect.

Miner
 
Woodworker
 
Stoneworker
 
Ranger
 
Doctor
 
Farmer
 
Fishery worker
 
Metalsmith
 
Jeweler
 
Craftsdwarf
 
Engineer
 
Other Jobs
 
Administrator
 
Military
 
Broker
 
Miscellaneous
 
Performance
 
Scholar
 
Unused
 

Skills, attributes and traits

  • Skills and attributes:
    • .. are both trained by being used in activities they relate to.
    • .. both influence future success of these activities, like craft quality, work speed, combat survivability, accuracy and damage.
    • The dwarf's profession is determined by their highest-ranking skill group.
    • Crafting skills are increased by preferences, allowing the dwarf to make items beyond their skill level.
    • The dwarf's highest moodable skill determines potential artifact types during a strange mood.
  • Traits:
    • can be changed (at least beliefs change through arguments).
    • affect which social skills gain experience (if the dwarf has X trait it will not gain experience in X skill) at all.
    • give thoughts when performing certain activities.
    • influence the choice of artifact materials.

To summarize, it goes like this:

Thought <--triggers-- Activity ----trains----> Attribute
   ^          ,----------|                         |
modifies   modifies    trains                   increases
   | ,--------'          |                         |
   | v                   v                         v
 Trait --influences--> Skill --increases--> Dwarf performance
   |           ,---------|
 item        item        |
material     type    determines
   |  ,--------'         |
   v  v                  v
Artifact <--chosen-- Profession
             dwarf

Since the same skills can be used by various professions, and the same attributes are trained by various skills, this allows for cross-training.

As traits can limit learning some skills, which can be required by some Noble positions, the need arises to:

Skill rust

Every skill has the following set of improvement and decay counters, which are caste specific:

[SKILL_RATE] (Default is [SKILL_RATE:100:8:16:16])

* % of improvement points you get (Default 100)
* unused counter cap (Default 8)
* rust counter cap (Default 16)
* demotion counter cap (Default 16)

Once per day, each skill's "unused" counter increments by 1, and if it reaches the cap (without the skill ever being used), it resets to zero and increments the rust counter. Once the rust counter reaches its cap, it resets to zero, adds a "layer" of rust to the skill (to a maximum of 6), and increments the demotion counter. When the demotion counter reaches its cap, it resets to zero and the skill level is permanently reduced by 1 (and must be re-earned). With the default numbers, it takes about 4 and a half months before rust sets in, 2 years and 3 months before rust maxes out, and 6 years before actual skill levels begin to decay.

The Rusty and V.Rusty descriptions which are appended to a skill within Dwarf Fortress are determined by the following conditions:

  • Rusty: A skill level greater than 0, and the number of rust layers is at least 50% of the original skill level.
  • Very Rusty: A skill level greater than or equal to 4, and the number of rust layers is at least 75% of the original skill level.

Since a skill can never gain more than 6 levels of rust, only skills between "Skilled" and "Expert" can ever show as "V. Rusty", and only skills at "Master" or lower can ever show as "Rusty" - higher level skills will silently accumulate rust until they are eventually demoted below "High Master", then the rust will become visible.

Whenever experience is gained, the skill's "unused" counter is reset to zero, its "rust" and "demotion" counters are decremented by 1, and one or more levels of rust are removed depending on the amount of experience gained:

  • 50% of the gained experience (rounded down, plus 1) is lost
  • 10% of the lost experience (rounded down, plus 1) is spent toward removing rust
  • If it was enough to remove more rust than was accumulated, then the XP penalty is set to 10 points per remaining rust level, minus 10

Since most crafting jobs give 30 points of experience, this means it would take 3 jobs to work away 6 levels of rust, each giving only 14 points of experience; if the skill only has 1 level of rust, a single job would work it away without losing any experience.

Performances

Randomly generated musical instruments and musical compositions are also considered skills and gain experience from use, though it is not clear how greater skill levels affect anything or if these performance-related skills rust.