- 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.
Difference between revisions of "Utility:Dwarf Therapist/Addons Repository"
m (→ResMar's Advanced Labor View: user link) |
Thistleknot (talk | contribs) |
||
Line 96: | Line 96: | ||
Missing Limbs | Missing Limbs | ||
d.has_health_issue(31,0) || d.has_health_issue(31,1) | d.has_health_issue(31,0) || d.has_health_issue(31,1) | ||
+ | </nowiki> | ||
+ | }} | ||
+ | |||
+ | {{Spoil_small | ||
+ | | title = Thistleknot's Filter Pack | ||
+ | | | ||
+ | <nowiki> | ||
+ | Not Injured/Missing Limb && Not Cursed (Used to find military candidates) | ||
+ | |||
+ | d.current_job_id()!=52 | ||
+ | //not missing limbs | ||
+ | ( | ||
+ | ( | ||
+ | !d.has_health_issue(31,0) && | ||
+ | !d.has_health_issue(31,1)) | ||
+ | //OR | ||
+ | || | ||
+ | !d.has_health_issue(31,-1) | ||
+ | ) | ||
+ | ) | ||
+ | && | ||
+ | d.curse_name() == "" | ||
+ | |||
+ | Non military && Not Injured && Not Cursed (Used to find noble candidates) | ||
+ | |||
+ | d.squad_id() < 0 | ||
+ | && | ||
+ | d.current_job_id()!=52 | ||
+ | && | ||
+ | d.curse_name() == "" | ||
+ | |||
+ | Non Military, Non Noble, Not Injured && Not Cursed (Used to apply optimization plan to workers, I always enable hauling on them as well) | ||
+ | !d.noble_position() | ||
+ | && | ||
+ | d.squad_id()<0 | ||
+ | && | ||
+ | d.current_job_id()!=52 | ||
+ | && | ||
+ | d.curse_name()=="" | ||
+ | |||
+ | Military | ||
+ | d.squad_id() >= 0 | ||
+ | |||
+ | Noble & Non_military | ||
+ | d.noble_position() | ||
+ | && | ||
+ | d.squad_id()<0 | ||
+ | |||
</nowiki> | </nowiki> | ||
}} | }} |
Revision as of 17:53, 5 November 2013
Over the years Dwarf Therapist has evolved to boast quite a number of advanced features that streamline the managing of labors in a fort. Most of the power and benefit derived from these features depends on having a good set of roles, professions, optimization plans, and filter scripts.
Please include your additions on this page, including them inline when appropriate or as links to DFFD submissions. Please refrain from linking to other third-party file hosters unless you can ensure the links will still work years from now.
NOTE: This page is for splinterz's fork of Dwarf Therapist, as it is the only version that implements many of these features.
What are all these?
For a detailed explanation of all things Dwarf Therapist, with screenshots and everything, download ResMar's User Guide.
Custom professions are templates that dictate what labors a dwarf should have enabled.
It also changes their profession name in the game so you can easily tell who you have assigned to what professions, though the custom professions do not get written into history nor appear in engravings, etc. When applied to a dwarf, the custom profession will enable all its related labors for him/her and disable any existing labors not in the profession.
Custom roles allow you to define groups of attributes (e.g, strength); traits (e.g, self-discipline); skills (e.g, appraiser); and preferences (e.g., fondness for fire opals) that, when considered together, determine how suited a particular dwarf is for that role.
On there own roles don't do anything, but when combined with the labor optimizer you can assign professions based on how suitable the dwarf is for that labor. For example, melee dwarfs should have high agility (attribute), low anger (trait), be skilled with the various weapon skills (armor user, shield user), and perhaps have a preference for armors. If a dwarf meets this criteria, he is said to fill the melee-dwarf role.
Note that in vanilla Dwarf Fortress roles are simply professions. A "Mason" is a role/profession that says a dwarf has some skills/traits/attributes that make up a good mason. This usage of profession is different than Dwarf Therapist's, as a DT profession is really a collection of labors, and by default has nothing to do with roles.
Optimization plans are used by Dwarf Therapist to automatically assign labors to dwarves based on how suited they are for the labor. The goal in a plan is to minimize the number if idle dwarves by ensuring they all have enough labors assigned, and also to ensure that dwarves get labors they are well suited to. An automatic labor assigner does no good if it never gives the Mining labor to your legendary miner.
Filter scripts are simple commands that determine what dwarves to show in the main DT window. For example, a "military only" filter script would hide all the non-military dwarves. It is like a "search" for your dwarves.
Grid views are the main list view in Dwarf Fortress they are accessible via the tabs at the top of the list view (Labors, Military, Social, etc).
Community Submitted Addons
Custom Professions
|
Custom Roles
Thistleknot's Melee and Ranged Roles
|
Optimization Plans
Slyrdvs's Optimization Plan
|
Filter Scripts
Ramblurr's Filter Pack
A small collection of filter scripts useful when using the labor optimizer.
Ramblurr's Filter Pack | |
---|---|
Military d.squad_id() >= 0 Nobles d.noble_position() Non-Mil d.squad_id() < 0 Non Noble !d.noble_position() Non-Mil and Non-Noble !d.noble_position() && d.squad_id() < 0 Not Missing Limbs !d.has_health_issue(31,0) && !d.has_health_issue(31,1) Missing Limbs d.has_health_issue(31,0) || d.has_health_issue(31,1) |
Thistleknot's Filter Pack | |
---|---|
Not Injured/Missing Limb && Not Cursed (Used to find military candidates) d.current_job_id()!=52 //not missing limbs ( ( !d.has_health_issue(31,0) && !d.has_health_issue(31,1)) //OR || !d.has_health_issue(31,-1) ) ) && d.curse_name() == "" Non military && Not Injured && Not Cursed (Used to find noble candidates) d.squad_id() < 0 && d.current_job_id()!=52 && d.curse_name() == "" Non Military, Non Noble, Not Injured && Not Cursed (Used to apply optimization plan to workers, I always enable hauling on them as well) !d.noble_position() && d.squad_id()<0 && d.current_job_id()!=52 && d.curse_name()=="" Military d.squad_id() >= 0 Noble & Non_military d.noble_position() && d.squad_id()<0 |
Grid Views
ResMar's Advanced Labor View
|
Tutorials/Documentation
ResMar's Dwarf Therapist User Guide
|