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.

Difference between revisions of "Utility:Dwarf Therapist/Addons Repository"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(scrubbing dust out of cracks, and Rule G)
 
(22 intermediate revisions by 13 users not shown)
Line 1: Line 1:
Recent version of Dwarf Therapists include a very large set of customizable tools for managing your dwarves, namely custom roles, custom professions, custom grid views, filter scripts, and optimization plans, which greatly enhance the user's ability to manage their fort in a well-optimized, pain-free manner. This page serves as a repository for packaged exports of custom definitions for these tools, created by other players and made available for other users here. This page is only meant to serve Splinterz's current fork of [[Utilities#Dwarf_Therapist|Dwarf Therapist]]; earlier versions of the utility did not yet implement many of the features described here. If you need help understanding what's documented on this page, or would like to learn how to write Dwarf Therapist customizations yourself, refer to the {{dffd|7889|Dwarf Therapist User Guide}}. All exports should be hosted at the [http://dffd.wimbli.com/ Dwarf Fortress File Depot].
+
Recent versions of Dwarf Therapist include a very large set of customizable tools for managing your dwarves, namely custom roles, custom professions, custom grid views, filter scripts, and optimization plans, which greatly enhance the user's ability to manage their fort in a well-optimized, pain-free manner. This page serves as a repository for packaged exports of custom definitions for these tools, created by other players and made available for other users here. This page is only meant to serve Splinterz's current fork of [[Utilities#Dwarf_Therapist|Dwarf Therapist]]; earlier versions of the utility did not yet implement many of the features described here. If you need help understanding what's documented on this page, or would like to learn how to write Dwarf Therapist customizations yourself, refer to the {{dffd|7889|Dwarf Therapist User Guide}}. All exports should be hosted at the [https://dffd.bay12games.com/ Dwarf Fortress File Depot].
  
 
You are encouraged to standardize the upload format to "Dwarf Therapist Export---<Package Name>".
 
You are encouraged to standardize the upload format to "Dwarf Therapist Export---<Package Name>".
Line 6: Line 6:
  
 
For a detailed explanation of all things Dwarf Therapist, with screenshots and everything, download ResMar's [http://dffd.wimbli.com/file.php?id=7889 User Guide].
 
For a detailed explanation of all things Dwarf Therapist, with screenshots and everything, download ResMar's [http://dffd.wimbli.com/file.php?id=7889 User Guide].
 
 
'''Custom professions''' are templates that dictate what labors a dwarf should have enabled.
 
'''Custom professions''' are templates that dictate what labors a dwarf should have enabled.
  
Line 13: Line 12:
 
'''Custom roles''' allow you to define groups of [[attributes]] (e.g, strength); [[Personality_trait|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.
 
'''Custom roles''' allow you to define groups of [[attributes]] (e.g, strength); [[Personality_trait|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 their 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.
+
On their 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 dwarves 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 these criteria, they are 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.
+
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.  
 
'''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.  
Line 21: Line 20:
 
'''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.
 
'''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).
+
'''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).
 
-->
 
-->
  
Line 35: Line 34:
 
}}
 
}}
  
 +
== Custom Professions ==
 +
 +
=== Chesh05's Professions ===
 +
 +
{{DTAddon
 +
| type            = Custom Profession
 +
| download link  = [http://www.mediafire.com/download/9n94h4o147pi1yp/Chesh05+Custom+Professions+Last+Updated+November+2014.dtp Chesh05 Custom Professions]
 +
| author          = [https://www.reddit.com/user/chesh05 Chesh05]
 +
| comments        = Last Updated Nov 11, 2014
 +
A collection of basic custom professions
 +
}}
 
== Grid Views ==
 
== Grid Views ==
'''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).
+
'''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.).
  
=== Micro Labor View ===
+
=== Compact Labors View ===
 
{{DTAddon
 
{{DTAddon
 
| type            = Grid View
 
| type            = Grid View
Line 58: Line 68:
 
| title = Pending Changes
 
| title = Pending Changes
 
|<nowiki>
 
|<nowiki>
d.is_labor_state_dirty(00) ||
+
d.is_labor_state_dirty(0) ||
d.is_labor_state_dirty(01) ||
+
d.is_labor_state_dirty(1) ||
d.is_labor_state_dirty(02) ||
+
d.is_labor_state_dirty(2) ||
d.is_labor_state_dirty(03) ||
+
d.is_labor_state_dirty(3) ||
d.is_labor_state_dirty(04) ||
+
d.is_labor_state_dirty(4) ||
d.is_labor_state_dirty(05) ||
+
d.is_labor_state_dirty(5) ||
d.is_labor_state_dirty(06) ||
+
d.is_labor_state_dirty(6) ||
d.is_labor_state_dirty(07) ||
+
d.is_labor_state_dirty(7) ||
d.is_labor_state_dirty(08) ||
+
d.is_labor_state_dirty(8) ||
d.is_labor_state_dirty(09) ||
+
d.is_labor_state_dirty(9) ||
 
d.is_labor_state_dirty(10) ||
 
d.is_labor_state_dirty(10) ||
 
d.is_labor_state_dirty(11) ||
 
d.is_labor_state_dirty(11) ||
Line 163: Line 173:
 
</nowiki>
 
</nowiki>
 
}}
 
}}
 +
 +
=== Tofof's Unhandicapped Filter ===
 +
Excludes dwarves based on blindness and usability (not just absence) of limbs.
 +
{{gamedata
 +
| title = Tofof's Unhandicapped Filter
 +
|<nowiki>
 +
!(
 +
//blind
 +
d.has_health_issue(15,0)
 +
 +
//severed or missing limbs
 +
|| d.has_health_issue(31,0)
 +
|| d.has_health_issue(31,1)
 +
 +
//ability to stand lost or imparied  (note - treatable if nerve damage)
 +
|| d.has_health_issue(17,0)
 +
 +
//ability to grasp lost or imparied  (note - treatable if nerve damage)
 +
|| d.has_health_issue(18,0)
 +
 +
//paralyzed body or limbs  (note - can be sutured)
 +
|| d.has_health_issue(3,0)
 +
|| d.has_health_issue(3,1)
 +
 +
//severed sensory nerve aka completely numb  (note - can be sutured)
 +
|| d.has_health_issue(4,0)
 +
)
 +
</nowiki>
 +
}}
 +
To do the inverse and show only handicapped dwarves, remove the first and last lines: "!(" and ")".
  
 
=== Thistleknot's Filter Pack ===
 
=== Thistleknot's Filter Pack ===
 
I pretty much use the 1st three every migrant wave.
 
I pretty much use the 1st three every migrant wave.
I use an optimization plan to single out militia dwarfs (ranged and melee) to weaving (weapon, melee) and alchemy (archers, i.e. crossbowdwarfs).
+
I use an optimization plan to single out militia dwarves (ranged and melee) to weaving (weapon, melee) and alchemy (archers, i.e. crossbowdwarves).
  
 
Then I run the second script to see who rates high for noble roles, and pick them
 
Then I run the second script to see who rates high for noble roles, and pick them
Line 174: Line 214:
 
{{gamedata
 
{{gamedata
 
| title = Thistleknot's Filter Pack
 
| title = Thistleknot's Filter Pack
|
+
|<nowiki>
<nowiki>
 
 
1. Not Injured/Missing Limb && Not Cursed (Used to find military candidates)
 
1. Not Injured/Missing Limb && Not Cursed (Used to find military candidates)
  
d.current_job_id()!=52
+
(d.current_job_id()!=52) &&
 
//not missing limbs
 
//not missing limbs
 
(
 
(
Line 187: Line 226:
 
||
 
||
 
!d.has_health_issue(31,-1)
 
!d.has_health_issue(31,-1)
)
 
 
)
 
)
 
&&
 
&&
d.curse_name() == ""
+
(d.curse_name() == "")
  
 
2. Non military && Not Injured && Not Cursed (Used to find noble candidates)
 
2. Non military && Not Injured && Not Cursed (Used to find noble candidates)
Line 202: Line 240:
 
3. Non Military, Non Noble, Not Injured && Not Cursed (Used to apply optimization plan to workers, I always enable hauling on them as well)
 
3. 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.noble_position() == ""
 
&&
 
&&
 
d.squad_id()<0
 
d.squad_id()<0
Line 216: Line 254:
 
Noble & Non_military
 
Noble & Non_military
  
d.noble_position()
+
!d.noble_position() == ""
 
&&
 
&&
 
d.squad_id()<0
 
d.squad_id()<0
 +
 +
</nowiki>
 +
}}
 +
 +
 +
=== ResMar's "Working Class Dwarves" / Military Recruitment Availability Filter ===
 +
 +
This is the large filter from the [http://dffd.wimbli.com/file.php?id=7889 Dwarf Therapist User Guide] by ResMar. It is explained in Chapter IV's "Writing Complex Scripts" section.
 +
 +
Here is an explanation of the characteristics it selects for:
 +
 +
This filter is designed to show dwarves that are available for full-time assignment to useful tasks, such as military recruitment. These so-called "working class dwarves" will meet the following requirements:
 +
 +
# They have all hauling labors enabled. This is one of the most apparent indicators of a “working class” dwarf, but it’s nowhere near exclusive.
 +
# They don’t have a nickname. Assuming you follow the advice given in “Assigning Nicknames”, nicked dwarves have already been dedicated to something.
 +
# They have the masonry and/or stone detailing labors enabled, but are never above “adequate” skill in the former (since actually building stone blocks is assigned to dedicated masons), and never above “competent“ in the latter (I consider “skilled” the breaking point for when an engraver is actually worth his salt, and should be taken out of the working-class pool).
 +
# They are not enlisted in the military (at least, not permanently). At least in my fortress, once a crossbowdwarf, always a crossbowdwarf slash hunter.
 +
# They don't have certain “key” labors that are handled by dedicated dwarves enabled (mining, carpentry, woodcutting, stonecrafting, cooking, brewing, any of the metalsmithing tasks, either of the jewelry tasks, and clothesmaking). The precise composition of this list may vary somewhat for you, but most players learn to dedicate certain tasks to certain dwarves to maximize results very quickly.
 +
# If they are skilled in certain useless or niche tasks (animal caretaking, small animal dissection, fish dissection, bee keeping, wax working, soap making) they have those tasks enabled. No one creates extra work for themselves by actually turning these off, at least not until you want this dwarf doing something for you.
 +
 +
{{gamedata
 +
| title = Available Working Class Dwarves Filter
 +
|<nowiki>
 +
// hauling test
 +
(d.total_assigned_labors(true) - d.total_assigned_labors(false) == 16) &&
 +
// masonry and stone detailing test
 +
(((d.labor_enabled(13) == true && d.labor_rating(13) < 3) ||
 +
d.labor_enabled(13) == false) || ((d.labor_enabled(12) == true &&
 +
d.labor_rating(12) < 4) || d.labor_enabled(12) == false)) &&
 +
// nickname test
 +
(d.nickname() == "") &&
 +
// military duty test
 +
!d.active_military() &&
 +
// key dwarf test
 +
(!d.labor_enabled(47) && !d.labor_enabled(48) && !d.labor_enabled(29) && !d.labor_enabled(11) && !d.labor_enabled(33) && !d.labor_enabled(38) && !d.labor_enabled(45) && !d.labor_enabled(50) && !d.labor_enabled(51) && !d.labor_enabled(49) && !d.labor_enabled(0) && !d.labor_enabled(53) && !d.labor_enabled(46)) &&
 +
// useless labors test
 +
((d.labor_rating(16) > 0 && d.labor_enabled(16)) || d.labor_rating(16) <= 0)
 +
&& // Animal Tr.
 +
((d.labor_rating(43) > 0 && d.labor_enabled(43)) || d.labor_rating(43) <= 0)
 +
&& // Fish Diss.
 +
((d.labor_rating(26) > 0 && d.labor_enabled(26)) || d.labor_rating(26) <= 0)
 +
&& // Animal Diss.
 +
((d.labor_rating(72) > 0 && d.labor_enabled(72)) || d.labor_rating(72) <= 0)
  
 
</nowiki>
 
</nowiki>
Line 236: Line 317:
  
 
== Optimization Plans ==
 
== Optimization Plans ==
 
=== Note on: Percent Total Jobs and how average role ratings work ===
 
 
Because the average role rating of ~.5 is always achieved, and each aspect (categories such as attributes, traits, skills, preferences) are balanced on a .5 mean as well.  We can target the top 50% of the role rating range by setting only '''Percent Total Jobs''' to 50%.
 
 
This has an interesting affect when assigning # of labors per dwarf.
 
 
Here is a picture of it in action:
 
 
http://imgur.com/Ixwd6vy
 
  
 
=== Slyrdvs's Optimization Plan ===
 
=== Slyrdvs's Optimization Plan ===
Line 256: Line 327:
 
From [http://www.reddit.com/r/dwarffortress/comments/1d39kd/anyone_have_a_good_optimizer_plan/ a reddit thread]. Emphasizes trapping and hunting, which may not be to everyone's playstyle.  
 
From [http://www.reddit.com/r/dwarffortress/comments/1d39kd/anyone_have_a_good_optimizer_plan/ a reddit thread]. Emphasizes trapping and hunting, which may not be to everyone's playstyle.  
  
The author noted: When starting with the optimization plan on a new embark, set max jobs to 10. The dwarfs will usually have enough skills in certain areas to get 1-2 of each of the jobs that they should be good/great at. As you get more dwarfs in the fort you will if you see fit need to lower the max jobs to 7, then 5 and then fiddle with the percent total jobs to keep the workers and haulers how you would like.
+
The author noted: When starting with the optimization plan on a new embark, set max jobs to 10. The dwarves will usually have enough skills in certain areas to get 1-2 of each of the jobs that they should be good/great at. As you get more dwarves in the fort you will if you see fit need to lower the max jobs to 7, then 5 and then fiddle with the percent total jobs to keep the workers and haulers how you would like.
  
I tend to use 5-10 max jobs, and a hauler percent that is less than the max jobs. You only want to have dwarfs who don't have many important jobs running around hauling. I suggest fiddling with your percent jobs and hauler percent until you find something that you enjoy for your forts.
+
I tend to use 5-10 max jobs, and a hauler percent that is less than the max jobs. You only want to have dwarves who don't have many important jobs running around hauling. I suggest fiddling with your percent jobs and hauler percent until you find something that you enjoy for your forts.
 
}}
 
}}
  
Line 271: Line 342:
  
 
Naming convention is
 
Naming convention is
Name, % of dwarfs, # of Labors to assign
+
Name, % of dwarves, # of Labors to assign
  
 
Vanilla 8 Labor's Per (early fort)
 
Vanilla 8 Labor's Per (early fort)
Line 504: Line 575:
  
 
=== Using AutoLabor to manage hauling jobs alongside Labor Optimizer ===
 
=== Using AutoLabor to manage hauling jobs alongside Labor Optimizer ===
Since I prefer Dwarf Therapist's %'s on calculating my roles to labor mappings via the Labor Optimizer, I found the dynamic ability that autolabor has missing.  So to alleviate this.  I still do my own labor optimizations every few migrant waves; however, I get the advantage of autolabor's hauling behaviour (I believe it doesn't enable hauling on dwarfs that have a labor enabled for queued job).
+
Since I prefer Dwarf Therapist's %'s on calculating my roles to labor mappings via the Labor Optimizer, I found the dynamic ability that autolabor has missing.  So to alleviate this.  I still do my own labor optimizations every few migrant waves; however, I get the advantage of autolabor's hauling behaviour (I believe it doesn't enable hauling on dwarves that have a labor enabled for queued job).
  
 
Run this inside a DFHack console.
 
Run this inside a DFHack console.
Line 588: Line 659:
 
By mass assigning nicknames inside Dwarf Therapist to "mark" dwarves, they can be easily found in workshop profiles (if using Masterwork Mod, DFHack is included, Alt Shift N sorts alphabetically).
 
By mass assigning nicknames inside Dwarf Therapist to "mark" dwarves, they can be easily found in workshop profiles (if using Masterwork Mod, DFHack is included, Alt Shift N sorts alphabetically).
  
This is useful for workshops in various mods that train skills that you wish were limited to certain dwarfs, such as dwarfs who have a skill that is to be trained. (ex... train your axedwarf for your militia dwarfs (these would be the dwarfs that would be tagged with the nickname), via the warfare library)
+
This is useful for workshops in various mods that train skills that you wish were limited to certain dwarves, such as dwarves who have a skill that is to be trained. (ex... train your axedwarf for your militia dwarves (these would be the dwarves that would be tagged with the nickname), via the warfare library)
  
 
=== Using Labors to Mark dwarf's for Custom Professions/Super Labors, or for Militia purposes ===
 
=== Using Labors to Mark dwarf's for Custom Professions/Super Labors, or for Militia purposes ===
 
In this video (http://www.youtube.com/watch?v=gNVci8h1MkY), I actually do this method to assign my militia, but it could be extended for "super labors" as well.
 
In this video (http://www.youtube.com/watch?v=gNVci8h1MkY), I actually do this method to assign my militia, but it could be extended for "super labors" as well.
  
What I do is assign a custom role to something I wish to assign that Dwarf Therapist doesn't currently support (such as assign militia dwarfs via the labor optimizer).  So I use an optimization plan to assign a specific role (such as melee dwarfs) to a meaningless labor, then when the labors are assigned.  I hand assign them inside the Therapist tool to the melee role.
+
What I do is assign a custom role to something I wish to assign that Dwarf Therapist doesn't currently support (such as assign militia dwarves via the labor optimizer).  So I use an optimization plan to assign a specific role (such as melee dwarves) to a meaningless labor, then when the labors are assigned.  I hand assign them inside the Therapist tool to the melee role.
  
 
One could use the same method to assign a dwarf to a custom profession that covers multiple labors (i.e. super labor concept).
 
One could use the same method to assign a dwarf to a custom profession that covers multiple labors (i.e. super labor concept).
  
 
It goes without saying that one should unassign the meaningless labor.
 
It goes without saying that one should unassign the meaningless labor.
 +
 +
== Ratio's & hauling labors can be used to create throughput "levers" to target jobs ==
 +
 +
=== Hauling ===
 +
 +
A player can use hauling as a suppressor on dwarf's productivity.
 +
 +
Generally, assigning hauling tasks to dwarf's who have a lower # of jobs assigned to them than the other dwarf's:
 +
 +
  Achieves the effect of suppressing low % scores to hauling tasks.
 +
 +
=== # of Job's Per Dwarf ===
 +
 +
A player can adjust this value before the optimization plan is ran.  Need more jobs accomplished overall.  Lowering the # when the fortress gets larger allows a player to allow his dwarf's to focus on higher skilled tasks.
 +
 +
=== # of Jobs per Dwarf===
 +
In Dwarf Therapist, when editing an optimization plan, you can set the # of jobs each dwarf can have up to.
 +
 +
=== % Jobs to Assign===
 +
When editing an optimization plan, the % of total jobs is the target # that is set.  This % is based on Dwarves Selected * Jobs per Dwarf, then there is an ~ number representing the results of our rounded ratio:job #'s.
 +
 +
=== Theory of Constraints===
 +
The concept of lever's is borrowed from business concepts that try to maximize factory output.  They understand that throughput of the factory is affected by variables that you can control, things like hours worked, overtime, etc. 
 +
 +
In our case we can
 +
 +
1: Unassign hauling.
 +
 +
1.a: Threshold to start assigning hauling (editable inside the optimization plan)
 +
 +
2: Assign more labors for a specific labor by increasing it's ratio.
 +
 +
3: Create more workshops that accept said job.
 +
 +
4: Adjust the # of jobs per dwarf.
 +
 +
5: Adjust the % total jobs to assign.
 +
 +
Varying these values can result in higher throughput for a specific job when compared to other jobs.

Latest revision as of 17:44, 26 July 2021

Recent versions of Dwarf Therapist include a very large set of customizable tools for managing your dwarves, namely custom roles, custom professions, custom grid views, filter scripts, and optimization plans, which greatly enhance the user's ability to manage their fort in a well-optimized, pain-free manner. This page serves as a repository for packaged exports of custom definitions for these tools, created by other players and made available for other users here. This page is only meant to serve Splinterz's current fork of Dwarf Therapist; earlier versions of the utility did not yet implement many of the features described here. If you need help understanding what's documented on this page, or would like to learn how to write Dwarf Therapist customizations yourself, refer to the Dwarf Therapist User Guide. All exports should be hosted at the Dwarf Fortress File Depot.

You are encouraged to standardize the upload format to "Dwarf Therapist Export---<Package Name>".

Packages[edit]

Export packages are ZIP or other archive files containing a set of differing customizations all meant for a single purpose.

Military Starter Kit[edit]

{{{image}}}
Download: DFFD File # 9232
Type: Packaged Export
Author: ResMar
Current Version: {{{current version}}}
Installation: {{{installation}}}
This ZIP file contains the customizations created over the course of the "Putting it all Together" section of the Dwarf Therapist User Guide: a set of tools that makes military drafting into a much easier and more elegant process.


Custom Professions[edit]

Chesh05's Professions[edit]

{{{image}}}
Download: Chesh05 Custom Professions
Type: Custom Profession
Author: Chesh05
Current Version: {{{current version}}}
Installation: {{{installation}}}
Last Updated Nov 11, 2014

A collection of basic custom professions

Grid Views[edit]

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.).

Compact Labors View[edit]

{{{image}}}
Download: DFFD File # 9233
Type: Grid View
Author: ResMar
Current Version: {{{current version}}}
Installation: {{{installation}}}
An even smaller version of the default Labor view which merges all of the hauling sublabors into one "Hauling" column. This view is recommended for 21-inch screens, as it allows you to use the labor view with left or right-mounted docks without resorting to a horizontal scrollbar.


Masterwork Dwarf Therapist[edit]

Highly customized version of Dwarf Therapist for use with Masterwork dwarf fortress. It uses the same binary build as Splinterminds, just uses a new .dtg (default grid view) as well as a .ini file that covers name changes for Masterwork. http://www.bay12forums.com/smf/index.php?topic=132010.0

Filter Scripts[edit]

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.

Pending Changes[edit]

Displays only those dwarves with pending changes.

Ramblurr's Filter Pack[edit]

A small collection of filter scripts useful when using the labor optimizer.

Tofof's Unhandicapped Filter[edit]

Excludes dwarves based on blindness and usability (not just absence) of limbs.

To do the inverse and show only handicapped dwarves, remove the first and last lines: "!(" and ")".

Thistleknot's Filter Pack[edit]

I pretty much use the 1st three every migrant wave. I use an optimization plan to single out militia dwarves (ranged and melee) to weaving (weapon, melee) and alchemy (archers, i.e. crossbowdwarves).

Then I run the second script to see who rates high for noble roles, and pick them

Then I run the 3rd to apply a labor optimization plan.


ResMar's "Working Class Dwarves" / Military Recruitment Availability Filter[edit]

This is the large filter from the Dwarf Therapist User Guide by ResMar. It is explained in Chapter IV's "Writing Complex Scripts" section.

Here is an explanation of the characteristics it selects for:

This filter is designed to show dwarves that are available for full-time assignment to useful tasks, such as military recruitment. These so-called "working class dwarves" will meet the following requirements:

  1. They have all hauling labors enabled. This is one of the most apparent indicators of a “working class” dwarf, but it’s nowhere near exclusive.
  2. They don’t have a nickname. Assuming you follow the advice given in “Assigning Nicknames”, nicked dwarves have already been dedicated to something.
  3. They have the masonry and/or stone detailing labors enabled, but are never above “adequate” skill in the former (since actually building stone blocks is assigned to dedicated masons), and never above “competent“ in the latter (I consider “skilled” the breaking point for when an engraver is actually worth his salt, and should be taken out of the working-class pool).
  4. They are not enlisted in the military (at least, not permanently). At least in my fortress, once a crossbowdwarf, always a crossbowdwarf slash hunter.
  5. They don't have certain “key” labors that are handled by dedicated dwarves enabled (mining, carpentry, woodcutting, stonecrafting, cooking, brewing, any of the metalsmithing tasks, either of the jewelry tasks, and clothesmaking). The precise composition of this list may vary somewhat for you, but most players learn to dedicate certain tasks to certain dwarves to maximize results very quickly.
  6. If they are skilled in certain useless or niche tasks (animal caretaking, small animal dissection, fish dissection, bee keeping, wax working, soap making) they have those tasks enabled. No one creates extra work for themselves by actually turning these off, at least not until you want this dwarf doing something for you.

Custom Roles[edit]

Thistleknot's Melee and Ranged Roles[edit]

{{{image}}}
Download: DFFD File
Type: Custom Roles
Author: Thistleknot
Current Version: 1.0
Installation: {{{installation}}}
Last Updated Apr 29, 2013

These are the Melee and Ranged Roles seen in Thistleknot's Efficiently Assign Militia/Labors tutorial video, at least I think they are. I typed them in manually from what was visible on screen.


Optimization Plans[edit]

Slyrdvs's Optimization Plan[edit]

{{{image}}}
Download: Google Drive
Type: Optimization Plan
Author: /u//slyrdvs
Current Version: 1.0
Installation: {{{installation}}}
Last Updated Apr 29, 2013

From a reddit thread. Emphasizes trapping and hunting, which may not be to everyone's playstyle.

The author noted: When starting with the optimization plan on a new embark, set max jobs to 10. The dwarves will usually have enough skills in certain areas to get 1-2 of each of the jobs that they should be good/great at. As you get more dwarves in the fort you will if you see fit need to lower the max jobs to 7, then 5 and then fiddle with the percent total jobs to keep the workers and haulers how you would like.

I tend to use 5-10 max jobs, and a hauler percent that is less than the max jobs. You only want to have dwarves who don't have many important jobs running around hauling. I suggest fiddling with your percent jobs and hauler percent until you find something that you enjoy for your forts.


Note from SlyrDVS in a pm: I still have to sit down and plan the jobs out again, reoptimize for a new version. As for why I have so many trappers/hunters, they are the firstline defense, they can then later become the army. :P

Thistleknot's Optimization Plan[edit]

Using AutoLabor to manage hauling jobs alongside Labor Optimizer[edit]

Since I prefer Dwarf Therapist's %'s on calculating my roles to labor mappings via the Labor Optimizer, I found the dynamic ability that autolabor has missing. So to alleviate this. I still do my own labor optimizations every few migrant waves; however, I get the advantage of autolabor's hauling behaviour (I believe it doesn't enable hauling on dwarves that have a labor enabled for queued job).

Run this inside a DFHack console.

Note: To avoid manually running each line in the console, save this to a text file in your DF folder (e.g. "dtautolabor.txt") and run "script (filename)" in DFHack.

Mass Nickname Assignment for Sub-set Identification[edit]

Workshop Profiles[edit]

By mass assigning nicknames inside Dwarf Therapist to "mark" dwarves, they can be easily found in workshop profiles (if using Masterwork Mod, DFHack is included, Alt Shift N sorts alphabetically).

This is useful for workshops in various mods that train skills that you wish were limited to certain dwarves, such as dwarves who have a skill that is to be trained. (ex... train your axedwarf for your militia dwarves (these would be the dwarves that would be tagged with the nickname), via the warfare library)

Using Labors to Mark dwarf's for Custom Professions/Super Labors, or for Militia purposes[edit]

In this video (http://www.youtube.com/watch?v=gNVci8h1MkY), I actually do this method to assign my militia, but it could be extended for "super labors" as well.

What I do is assign a custom role to something I wish to assign that Dwarf Therapist doesn't currently support (such as assign militia dwarves via the labor optimizer). So I use an optimization plan to assign a specific role (such as melee dwarves) to a meaningless labor, then when the labors are assigned. I hand assign them inside the Therapist tool to the melee role.

One could use the same method to assign a dwarf to a custom profession that covers multiple labors (i.e. super labor concept).

It goes without saying that one should unassign the meaningless labor.

Ratio's & hauling labors can be used to create throughput "levers" to target jobs[edit]

Hauling[edit]

A player can use hauling as a suppressor on dwarf's productivity.

Generally, assigning hauling tasks to dwarf's who have a lower # of jobs assigned to them than the other dwarf's:

 Achieves the effect of suppressing low % scores to hauling tasks.

# of Job's Per Dwarf[edit]

A player can adjust this value before the optimization plan is ran. Need more jobs accomplished overall. Lowering the # when the fortress gets larger allows a player to allow his dwarf's to focus on higher skilled tasks.

# of Jobs per Dwarf[edit]

In Dwarf Therapist, when editing an optimization plan, you can set the # of jobs each dwarf can have up to.

% Jobs to Assign[edit]

When editing an optimization plan, the % of total jobs is the target # that is set. This % is based on Dwarves Selected * Jobs per Dwarf, then there is an ~ number representing the results of our rounded ratio:job #'s.

Theory of Constraints[edit]

The concept of lever's is borrowed from business concepts that try to maximize factory output. They understand that throughput of the factory is affected by variables that you can control, things like hours worked, overtime, etc.

In our case we can

1: Unassign hauling.

1.a: Threshold to start assigning hauling (editable inside the optimization plan)

2: Assign more labors for a specific labor by increasing it's ratio.

3: Create more workshops that accept said job.

4: Adjust the # of jobs per dwarf.

5: Adjust the % total jobs to assign.

Varying these values can result in higher throughput for a specific job when compared to other jobs.