@ -484,110 +484,114 @@ access DF memory and allow for easier development of new tools.</p>
< li > < a class = "reference internal" href = "#ssense-stonesense" id = "id101" > ssense / stonesense< / a > < / li >
< li > < a class = "reference internal" href = "#mapexport" id = "id102" > mapexport< / a > < / li >
< li > < a class = "reference internal" href = "#dwarfexport" id = "id103" > dwarfexport< / a > < / li >
< li > < a class = "reference internal" href = "#exportlegends" id = "id104" > exportlegends< / a > < / li >
< / ul >
< / li >
< li > < a class = "reference internal" href = "#job-management" id = "id104" > Job management< / a > < ul >
< li > < a class = "reference internal" href = "#job" id = "id105" > job< / a > < / li >
< li > < a class = "reference internal" href = "#job-material" id = "id106" > job-material< / a > < / li >
< li > < a class = "reference internal" href = "#job-duplicate" id = "id107" > job-duplicate< / a > < / li >
< li > < a class = "reference internal" href = "#workflow" id = "id108" > workflow< / a > < ul >
< li > < a class = "reference internal" href = "#function" id = "id109" > Function< / a > < / li >
< li > < a class = "reference internal" href = "#constraint-format" id = "id110" > Constraint format< / a > < / li >
< li > < a class = "reference internal" href = "#constraint-examples" id = "id111" > Constraint examples< / a > < / li >
< li > < a class = "reference internal" href = "#job-management" id = "id105" > Job management< / a > < ul >
< li > < a class = "reference internal" href = "#job" id = "id106" > job< / a > < / li >
< li > < a class = "reference internal" href = "#job-material" id = "id107" > job-material< / a > < / li >
< li > < a class = "reference internal" href = "#job-duplicate" id = "id108" > job-duplicate< / a > < / li >
< li > < a class = "reference internal" href = "#stockflow" id = "id109" > stockflow< / a > < / li >
< li > < a class = "reference internal" href = "#workflow" id = "id110" > workflow< / a > < ul >
< li > < a class = "reference internal" href = "#function" id = "id111" > Function< / a > < / li >
< li > < a class = "reference internal" href = "#constraint-format" id = "id112" > Constraint format< / a > < / li >
< li > < a class = "reference internal" href = "#constraint-examples" id = "id113" > Constraint examples< / a > < / li >
< / ul >
< / li >
< / ul >
< / li >
< li > < a class = "reference internal" href = "#fortress-activity-management" id = "id11 2 "> Fortress activity management< / a > < ul >
< li > < a class = "reference internal" href = "#seedwatch" id = "id11 3 "> seedwatch< / a > < / li >
< li > < a class = "reference internal" href = "#zone" id = "id11 4 "> zone< / a > < ul >
< li > < a class = "reference internal" href = "#usage-with-single-units" id = "id11 5 "> Usage with single units< / a > < / li >
< li > < a class = "reference internal" href = "#usage-with-filters" id = "id11 6 "> Usage with filters< / a > < / li >
< li > < a class = "reference internal" href = "#mass-renaming" id = "id11 7 "> Mass-renaming< / a > < / li >
< li > < a class = "reference internal" href = "#cage-zones" id = "id1 18 "> Cage zones< / a > < / li >
< li > < a class = "reference internal" href = "#examples" id = "id1 19 "> Examples< / a > < / li >
< li > < a class = "reference internal" href = "#fortress-activity-management" id = "id11 4 "> Fortress activity management< / a > < ul >
< li > < a class = "reference internal" href = "#seedwatch" id = "id11 5 "> seedwatch< / a > < / li >
< li > < a class = "reference internal" href = "#zone" id = "id11 6 "> zone< / a > < ul >
< li > < a class = "reference internal" href = "#usage-with-single-units" id = "id11 7 "> Usage with single units< / a > < / li >
< li > < a class = "reference internal" href = "#usage-with-filters" id = "id11 8 "> Usage with filters< / a > < / li >
< li > < a class = "reference internal" href = "#mass-renaming" id = "id11 9 "> Mass-renaming< / a > < / li >
< li > < a class = "reference internal" href = "#cage-zones" id = "id1 20 "> Cage zones< / a > < / li >
< li > < a class = "reference internal" href = "#examples" id = "id1 2 1"> Examples< / a > < / li >
< / ul >
< / li >
< li > < a class = "reference internal" href = "#autonestbox" id = "id12 0 "> autonestbox< / a > < / li >
< li > < a class = "reference internal" href = "#autobutcher" id = "id12 1 "> autobutcher< / a > < / li >
< li > < a class = "reference internal" href = "#autochop" id = "id12 2 "> autochop< / a > < / li >
< li > < a class = "reference internal" href = "#autolabor" id = "id12 3 "> autolabor< / a > < / li >
< li > < a class = "reference internal" href = "#autonestbox" id = "id12 2 "> autonestbox< / a > < / li >
< li > < a class = "reference internal" href = "#autobutcher" id = "id12 3 "> autobutcher< / a > < / li >
< li > < a class = "reference internal" href = "#autochop" id = "id12 4 "> autochop< / a > < / li >
< li > < a class = "reference internal" href = "#autolabor" id = "id12 5 "> autolabor< / a > < / li >
< / ul >
< / li >
< li > < a class = "reference internal" href = "#other" id = "id124" > Other< / a > < ul >
< li > < a class = "reference internal" href = "#catsplosion" id = "id125" > catsplosion< / a > < / li >
< li > < a class = "reference internal" href = "#dfusion" id = "id126" > dfusion< / a > < / li >
< li > < a class = "reference internal" href = "#misery" id = "id127" > misery< / a > < / li >
< li > < a class = "reference internal" href = "#strangemood" id = "id128" > strangemood< / a > < / li >
< li > < a class = "reference internal" href = "#other" id = "id126" > Other< / a > < ul >
< li > < a class = "reference internal" href = "#catsplosion" id = "id127" > catsplosion< / a > < / li >
< li > < a class = "reference internal" href = "#dfusion" id = "id128" > dfusion< / a > < / li >
< li > < a class = "reference internal" href = "#misery" id = "id129" > misery< / a > < / li >
< li > < a class = "reference internal" href = "#strangemood" id = "id130" > strangemood< / a > < / li >
< li > < a class = "reference internal" href = "#log-region" id = "id131" > log-region< / a > < / li >
< / ul >
< / li >
< / ul >
< / li >
< li > < a class = "reference internal" href = "#scripts" id = "id129" > Scripts< / a > < ul >
< li > < a class = "reference internal" href = "#fix" id = "id130" > fix/*< / a > < / li >
< li > < a class = "reference internal" href = "#gui" id = "id131" > gui/*< / a > < / li >
< li > < a class = "reference internal" href = "#binpatch" id = "id132" > binpatch< / a > < / li >
< li > < a class = "reference internal" href = "#quicksave" id = "id133" > quicksave< / a > < / li >
< li > < a class = "reference internal" href = "#setfps" id = "id134" > setfps< / a > < / li >
< li > < a class = "reference internal" href = "#siren" id = "id135" > siren< / a > < / li >
< li > < a class = "reference internal" href = "#growcrops" id = "id136" > growcrops< / a > < / li >
< li > < a class = "reference internal" href = "#removebadthoughts" id = "id137" > removebadthoughts< / a > < / li >
< li > < a class = "reference internal" href = "#exterminate" id = "id138" > exterminate< / a > < / li >
< li > < a class = "reference internal" href = "#source" id = "id139" > source< / a > < / li >
< li > < a class = "reference internal" href = "#masspit" id = "id140" > masspit< / a > < / li >
< li > < a class = "reference internal" href = "#digfort" id = "id141" > digfort< / a > < / li >
< li > < a class = "reference internal" href = "#invasion-now" id = "id142" > invasion-now< / a > < / li >
< li > < a class = "reference internal" href = "#digmat" id = "id143" > digmat< / a > < / li >
< li > < a class = "reference internal" href = "#superdwarf" id = "id144" > superdwarf< / a > < / li >
< li > < a class = "reference internal" href = "#drainaquifer" id = "id145" > drainaquifer< / a > < / li >
< li > < a class = "reference internal" href = "#deathcause" id = "id146" > deathcause< / a > < / li >
< li > < a class = "reference internal" href = "#lua" id = "id147" > lua< / a > < / li >
< li > < a class = "reference internal" href = "#embark" id = "id148" > embark< / a > < / li >
< li > < a class = "reference internal" href = "#lever" id = "id149" > lever< / a > < / li >
< li > < a class = "reference internal" href = "#stripcaged" id = "id150" > stripcaged< / a > < / li >
< li > < a class = "reference internal" href = "#undump-buildings" id = "id151" > undump-buildings< / a > < / li >
< li > < a class = "reference internal" href = "#create-items" id = "id152" > create-items< / a > < / li >
< li > < a class = "reference internal" href = "#locate-ore" id = "id153" > locate-ore< / a > < / li >
< li > < a class = "reference internal" href = "#soundsense-season" id = "id154" > soundsense-season< / a > < / li >
< li > < a class = "reference internal" href = "#multicmd" id = "id155" > multicmd< / a > < / li >
< li > < a class = "reference internal" href = "#scripts" id = "id132" > Scripts< / a > < ul >
< li > < a class = "reference internal" href = "#fix" id = "id133" > fix/*< / a > < / li >
< li > < a class = "reference internal" href = "#gui" id = "id134" > gui/*< / a > < / li >
< li > < a class = "reference internal" href = "#binpatch" id = "id135" > binpatch< / a > < / li >
< li > < a class = "reference internal" href = "#quicksave" id = "id136" > quicksave< / a > < / li >
< li > < a class = "reference internal" href = "#setfps" id = "id137" > setfps< / a > < / li >
< li > < a class = "reference internal" href = "#siren" id = "id138" > siren< / a > < / li >
< li > < a class = "reference internal" href = "#growcrops" id = "id139" > growcrops< / a > < / li >
< li > < a class = "reference internal" href = "#removebadthoughts" id = "id140" > removebadthoughts< / a > < / li >
< li > < a class = "reference internal" href = "#exterminate" id = "id141" > exterminate< / a > < / li >
< li > < a class = "reference internal" href = "#source" id = "id142" > source< / a > < / li >
< li > < a class = "reference internal" href = "#masspit" id = "id143" > masspit< / a > < / li >
< li > < a class = "reference internal" href = "#digfort" id = "id144" > digfort< / a > < / li >
< li > < a class = "reference internal" href = "#invasion-now" id = "id145" > invasion-now< / a > < / li >
< li > < a class = "reference internal" href = "#digmat" id = "id146" > digmat< / a > < / li >
< li > < a class = "reference internal" href = "#superdwarf" id = "id147" > superdwarf< / a > < / li >
< li > < a class = "reference internal" href = "#drainaquifer" id = "id148" > drainaquifer< / a > < / li >
< li > < a class = "reference internal" href = "#deathcause" id = "id149" > deathcause< / a > < / li >
< li > < a class = "reference internal" href = "#lua" id = "id150" > lua< / a > < / li >
< li > < a class = "reference internal" href = "#embark" id = "id151" > embark< / a > < / li >
< li > < a class = "reference internal" href = "#lever" id = "id152" > lever< / a > < / li >
< li > < a class = "reference internal" href = "#stripcaged" id = "id153" > stripcaged< / a > < / li >
< li > < a class = "reference internal" href = "#undump-buildings" id = "id154" > undump-buildings< / a > < / li >
< li > < a class = "reference internal" href = "#create-items" id = "id155" > create-items< / a > < / li >
< li > < a class = "reference internal" href = "#locate-ore" id = "id156" > locate-ore< / a > < / li >
< li > < a class = "reference internal" href = "#soundsense-season" id = "id157" > soundsense-season< / a > < / li >
< li > < a class = "reference internal" href = "#multicmd" id = "id158" > multicmd< / a > < / li >
< li > < a class = "reference internal" href = "#dfstatus" id = "id159" > dfstatus< / a > < / li >
< / ul >
< / li >
< li > < a class = "reference internal" href = "#in-game-interface-tools" id = "id1 5 6"> In-game interface tools< / a > < ul >
< li > < a class = "reference internal" href = "#dwarf-manipulator" id = "id1 57 "> Dwarf Manipulator< / a > < / li >
< li > < a class = "reference internal" href = "#search" id = "id1 58 "> Search< / a > < / li >
< li > < a class = "reference internal" href = "#automaterial" id = "id1 59 "> AutoMaterial< / a > < / li >
< li > < a class = "reference internal" href = "#gui-liquids" id = "id16 0 "> gui/liquids< / a > < / li >
< li > < a class = "reference internal" href = "#gui-mechanisms" id = "id16 1 "> gui/mechanisms< / a > < / li >
< li > < a class = "reference internal" href = "#gui-rename" id = "id16 2 "> gui/rename< / a > < / li >
< li > < a class = "reference internal" href = "#gui-room-list" id = "id16 3 "> gui/room-list< / a > < / li >
< li > < a class = "reference internal" href = "#gui-choose-weapons" id = "id16 4 "> gui/choose-weapons< / a > < / li >
< li > < a class = "reference internal" href = "#gui-clone-uniform" id = "id16 5 "> gui/clone-uniform< / a > < / li >
< li > < a class = "reference internal" href = "#gui-guide-path" id = "id1 66 "> gui/guide-path< / a > < / li >
< li > < a class = "reference internal" href = "#gui-workshop-job" id = "id1 6 7"> gui/workshop-job< / a > < / li >
< li > < a class = "reference internal" href = "#gui-workflow" id = "id1 68 "> gui/workflow< / a > < / li >
< li > < a class = "reference internal" href = "#gui-assign-rack" id = "id1 69 "> gui/assign-rack< / a > < / li >
< li > < a class = "reference internal" href = "#gui-advfort" id = "id17 0 "> gui/advfort< / a > < / li >
< li > < a class = "reference internal" href = "#gui-companion-order" id = "id17 1 "> gui/companion-order< / a > < / li >
< li > < a class = "reference internal" href = "#gui-gm-editor" id = "id17 2 "> gui/gm-editor< / a > < / li >
< li > < a class = "reference internal" href = "#gui-mod-manager" id = "id17 3 "> gui/mod-manager< / a > < / li >
< li > < a class = "reference internal" href = "#in-game-interface-tools" id = "id1 60 "> In-game interface tools< / a > < ul >
< li > < a class = "reference internal" href = "#dwarf-manipulator" id = "id1 61 "> Dwarf Manipulator< / a > < / li >
< li > < a class = "reference internal" href = "#search" id = "id1 62 "> Search< / a > < / li >
< li > < a class = "reference internal" href = "#automaterial" id = "id1 63 "> AutoMaterial< / a > < / li >
< li > < a class = "reference internal" href = "#gui-liquids" id = "id16 4 "> gui/liquids< / a > < / li >
< li > < a class = "reference internal" href = "#gui-mechanisms" id = "id16 5 "> gui/mechanisms< / a > < / li >
< li > < a class = "reference internal" href = "#gui-rename" id = "id16 6 "> gui/rename< / a > < / li >
< li > < a class = "reference internal" href = "#gui-room-list" id = "id16 7 "> gui/room-list< / a > < / li >
< li > < a class = "reference internal" href = "#gui-choose-weapons" id = "id16 8 "> gui/choose-weapons< / a > < / li >
< li > < a class = "reference internal" href = "#gui-clone-uniform" id = "id16 9 "> gui/clone-uniform< / a > < / li >
< li > < a class = "reference internal" href = "#gui-guide-path" id = "id1 70 "> gui/guide-path< / a > < / li >
< li > < a class = "reference internal" href = "#gui-workshop-job" id = "id1 71 "> gui/workshop-job< / a > < / li >
< li > < a class = "reference internal" href = "#gui-workflow" id = "id1 72 "> gui/workflow< / a > < / li >
< li > < a class = "reference internal" href = "#gui-assign-rack" id = "id1 73 "> gui/assign-rack< / a > < / li >
< li > < a class = "reference internal" href = "#gui-advfort" id = "id17 4 "> gui/advfort< / a > < / li >
< li > < a class = "reference internal" href = "#gui-companion-order" id = "id17 5 "> gui/companion-order< / a > < / li >
< li > < a class = "reference internal" href = "#gui-gm-editor" id = "id17 6 "> gui/gm-editor< / a > < / li >
< li > < a class = "reference internal" href = "#gui-mod-manager" id = "id17 7 "> gui/mod-manager< / a > < / li >
< / ul >
< / li >
< li > < a class = "reference internal" href = "#behavior-mods" id = "id17 4 "> Behavior Mods< / a > < ul >
< li > < a class = "reference internal" href = "#siege-engine" id = "id17 5 "> Siege Engine< / a > < ul >
< li > < a class = "reference internal" href = "#rationale" id = "id1 76 "> Rationale< / a > < / li >
< li > < a class = "reference internal" href = "#configuration-ui" id = "id1 77 "> Configuration UI< / a > < / li >
< li > < a class = "reference internal" href = "#behavior-mods" id = "id17 8 "> Behavior Mods< / a > < ul >
< li > < a class = "reference internal" href = "#siege-engine" id = "id17 9 "> Siege Engine< / a > < ul >
< li > < a class = "reference internal" href = "#rationale" id = "id1 80 "> Rationale< / a > < / li >
< li > < a class = "reference internal" href = "#configuration-ui" id = "id1 81 "> Configuration UI< / a > < / li >
< / ul >
< / li >
< li > < a class = "reference internal" href = "#power-meter" id = "id1 7 8"> Power Meter< / a > < / li >
< li > < a class = "reference internal" href = "#steam-engine" id = "id1 79 "> Steam Engine< / a > < ul >
< li > < a class = "reference internal" href = "#id1" id = "id18 0 "> Rationale< / a > < / li >
< li > < a class = "reference internal" href = "#construction" id = "id18 1 "> Construction< / a > < / li >
< li > < a class = "reference internal" href = "#operation" id = "id18 2 "> Operation< / a > < / li >
< li > < a class = "reference internal" href = "#explosions" id = "id18 3 "> Explosions< / a > < / li >
< li > < a class = "reference internal" href = "#save-files" id = "id18 4 "> Save files< / a > < / li >
< li > < a class = "reference internal" href = "#power-meter" id = "id1 82 "> Power Meter< / a > < / li >
< li > < a class = "reference internal" href = "#steam-engine" id = "id1 83 "> Steam Engine< / a > < ul >
< li > < a class = "reference internal" href = "#id1" id = "id18 4 "> Rationale< / a > < / li >
< li > < a class = "reference internal" href = "#construction" id = "id18 5 "> Construction< / a > < / li >
< li > < a class = "reference internal" href = "#operation" id = "id18 6 "> Operation< / a > < / li >
< li > < a class = "reference internal" href = "#explosions" id = "id18 7 "> Explosions< / a > < / li >
< li > < a class = "reference internal" href = "#save-files" id = "id18 8 "> Save files< / a > < / li >
< / ul >
< / li >
< li > < a class = "reference internal" href = "#add-spatter" id = "id18 5 "> Add Spatter< / a > < / li >
< li > < a class = "reference internal" href = "#add-spatter" id = "id18 9 "> Add Spatter< / a > < / li >
< / ul >
< / li >
< / ul >
@ -2354,11 +2358,28 @@ with visualizers.</p>
< h3 > < a class = "toc-backref" href = "#id103" > dwarfexport< / a > < / h3 >
< p > Export dwarves to RuneSmith-compatible XML.< / p >
< / div >
< div class = "section" id = "exportlegends" >
< h3 > < a class = "toc-backref" href = "#id104" > exportlegends< / a > < / h3 >
< p > Exports data from legends mode; allowing a set-and-forget export of large worlds.< / p >
< p > Options:< / p >
< blockquote >
< table class = "docutils field-list" frame = "void" rules = "none" >
< col class = "field-name" / >
< col class = "field-body" / >
< tbody valign = "top" >
< tr class = "field" > < th class = "field-name" > maps:< / th > < td class = "field-body" > Exports all fifteen detailed maps< / td >
< / tr >
< tr class = "field" > < th class = "field-name" > all:< / th > < td class = "field-body" > first exports the world/gen info, then the XML, then all detailed maps< / td >
< / tr >
< / tbody >
< / table >
< / blockquote >
< / div >
< / div >
< div class = "section" id = "job-management" >
< h2 > < a class = "toc-backref" href = "#id104" > Job management< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id10 5 "> Job management< / a > < / h2 >
< div class = "section" id = "job" >
< h3 > < a class = "toc-backref" href = "#id105" > job< / a > < / h3 >
< h3 > < a class = "toc-backref" href = "#id10 6 "> job< / a > < / h3 >
< p > Command for general job query and manipulation.< / p >
< dl class = "docutils" >
< dt > Options:< / dt >
@ -2377,7 +2398,7 @@ in a workshop, or the unit/jobs screen.</dd>
< / dl >
< / div >
< div class = "section" id = "job-material" >
< h3 > < a class = "toc-backref" href = "#id10 6 "> job-material< / a > < / h3 >
< h3 > < a class = "toc-backref" href = "#id10 7 "> job-material< / a > < / h3 >
< p > Alter the material of the selected job.< / p >
< p > Invoked as:< / p >
< pre class = "literal-block" >
@ -2395,7 +2416,7 @@ over the first available choice with the matching material.</li>
< / blockquote >
< / div >
< div class = "section" id = "job-duplicate" >
< h3 > < a class = "toc-backref" href = "#id10 7 "> job-duplicate< / a > < / h3 >
< h3 > < a class = "toc-backref" href = "#id10 8 "> job-duplicate< / a > < / h3 >
< dl class = "docutils" >
< dt > Duplicate the selected job in a workshop:< / dt >
< dd > < ul class = "first last simple" >
@ -2405,8 +2426,36 @@ instantly duplicates the job.</li>
< / dd >
< / dl >
< / div >
< div class = "section" id = "stockflow" >
< h3 > < a class = "toc-backref" href = "#id109" > stockflow< / a > < / h3 >
< p > Allows the fortress bookkeeper to queue jobs through the manager.< / p >
< p > Usage:< / p >
< blockquote >
< dl class = "docutils" >
< dt > < tt class = "docutils literal" > stockflow enable< / tt > < / dt >
< dd > Enable the plugin.< / dd >
< dt > < tt class = "docutils literal" > stockflow disable< / tt > < / dt >
< dd > Disable the plugin.< / dd >
< dt > < tt class = "docutils literal" > stockflow list< / tt > < / dt >
< dd > List any work order settings for your stockpiles.< / dd >
< dt > < tt class = "docutils literal" > stockflow status< / tt > < / dt >
< dd > Display whether the plugin is enabled.< / dd >
< / dl >
< / blockquote >
< dl class = "docutils" >
< dt > While enabled, the 'q' menu of each stockpile will have two new options:< / dt >
< dd > < ul class = "first last simple" >
< li > j: Select a job to order, from an interface like the manager's screen.< / li >
< li > J: Cycle between several options for how many such jobs to order.< / li >
< / ul >
< / dd >
< / dl >
< p > Whenever the bookkeeper updates stockpile records, new work orders will
be placed on the manager's queue for each such selection, reduced by the
number of identical orders already in the queue.< / p >
< / div >
< div class = "section" id = "workflow" >
< h3 > < a class = "toc-backref" href = "#id108" > workflow< / a > < / h3 >
< h3 > < a class = "toc-backref" href = "#id1 1 0"> workflow< / a > < / h3 >
< p > Manage control of repeat jobs.< / p >
< p > Usage:< / p >
< blockquote >
@ -2438,7 +2487,7 @@ this list can be copied to a file, and then reloaded using the
< / dl >
< / blockquote >
< div class = "section" id = "function" >
< h4 > < a class = "toc-backref" href = "#id1 09 "> Function< / a > < / h4 >
< h4 > < a class = "toc-backref" href = "#id1 11 "> Function< / a > < / h4 >
< p > When the plugin is enabled, it protects all repeat jobs from removal.
If they do disappear due to any cause, they are immediately re-added to their
workshop and suspended.< / p >
@ -2451,7 +2500,7 @@ the frequency of jobs being toggled.</p>
in the game UI.< / p >
< / div >
< div class = "section" id = "constraint-format" >
< h4 > < a class = "toc-backref" href = "#id11 0 "> Constraint format< / a > < / h4 >
< h4 > < a class = "toc-backref" href = "#id11 2 "> Constraint format< / a > < / h4 >
< p > The contstraint spec consists of 4 parts, separated with '/' characters:< / p >
< pre class = "literal-block" >
ITEM[:SUBTYPE]/[GENERIC_MAT,...]/[SPECIFIC_MAT:...]/[LOCAL,< quality> ]
@ -2480,7 +2529,7 @@ be used to ignore imported items or items below a certain quality.</p>
< / ul >
< / div >
< div class = "section" id = "constraint-examples" >
< h4 > < a class = "toc-backref" href = "#id11 1 "> Constraint examples< / a > < / h4 >
< h4 > < a class = "toc-backref" href = "#id11 3 "> Constraint examples< / a > < / h4 >
< p > Keep metal bolts within 900-1000, and wood/bone within 150-200.< / p >
< pre class = "literal-block" >
workflow amount AMMO:ITEM_AMMO_BOLTS/METAL 1000 100
@ -2529,15 +2578,15 @@ workflow count CRAFTS///LOCAL,EXCEPTIONAL 100 90
< / div >
< / div >
< div class = "section" id = "fortress-activity-management" >
< h2 > < a class = "toc-backref" href = "#id11 2 "> Fortress activity management< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id11 4 "> Fortress activity management< / a > < / h2 >
< div class = "section" id = "seedwatch" >
< h3 > < a class = "toc-backref" href = "#id11 3 "> seedwatch< / a > < / h3 >
< h3 > < a class = "toc-backref" href = "#id11 5 "> seedwatch< / a > < / h3 >
< p > Tool for turning cooking of seeds and plants on/off depending on how much you
have of them.< / p >
< p > See 'seedwatch help' for detailed description.< / p >
< / div >
< div class = "section" id = "zone" >
< h3 > < a class = "toc-backref" href = "#id11 4 "> zone< / a > < / h3 >
< h3 > < a class = "toc-backref" href = "#id11 6 "> zone< / a > < / h3 >
< p > Helps a bit with managing activity zones (pens, pastures and pits) and cages.< / p >
< p > Options:< / p >
< blockquote >
@ -2636,7 +2685,7 @@ for war/hunt). Negatable.</td>
< / table >
< / blockquote >
< div class = "section" id = "usage-with-single-units" >
< h4 > < a class = "toc-backref" href = "#id11 5 "> Usage with single units< / a > < / h4 >
< h4 > < a class = "toc-backref" href = "#id11 7 "> Usage with single units< / a > < / h4 >
< p > One convenient way to use the zone tool is to bind the command 'zone assign' to
a hotkey, maybe also the command 'zone set'. Place the in-game cursor over
a pen/pasture or pit, use 'zone set' to mark it. Then you can select units
@ -2645,7 +2694,7 @@ and use 'zone assign' to assign them to their new home. Allows pitting your
own dwarves, by the way.< / p >
< / div >
< div class = "section" id = "usage-with-filters" >
< h4 > < a class = "toc-backref" href = "#id11 6 "> Usage with filters< / a > < / h4 >
< h4 > < a class = "toc-backref" href = "#id11 8 "> Usage with filters< / a > < / h4 >
< p > All filters can be used together with the 'assign' command.< / p >
< p > Restrictions: It's not possible to assign units who are inside built cages
or chained because in most cases that won't be desirable anyways.
@ -2663,14 +2712,14 @@ are not properly added to your own stocks; slaughtering them should work).</p>
< p > Most filters can be negated (e.g. 'not grazer' -> race is not a grazer).< / p >
< / div >
< div class = "section" id = "mass-renaming" >
< h4 > < a class = "toc-backref" href = "#id11 7 "> Mass-renaming< / a > < / h4 >
< h4 > < a class = "toc-backref" href = "#id11 9 "> Mass-renaming< / a > < / h4 >
< p > Using the 'nick' command you can set the same nickname for multiple units.
If used without 'assign', 'all' or 'count' it will rename all units in the
current default target zone. Combined with 'assign', 'all' or 'count' (and
further optional filters) it will rename units matching the filter conditions.< / p >
< / div >
< div class = "section" id = "cage-zones" >
< h4 > < a class = "toc-backref" href = "#id1 18 "> Cage zones< / a > < / h4 >
< h4 > < a class = "toc-backref" href = "#id1 20 "> Cage zones< / a > < / h4 >
< p > Using the 'tocages' command you can assign units to a set of cages, for example
a room next to your butcher shop(s). They will be spread evenly among available
cages to optimize hauling to and butchering from them. For this to work you need
@ -2681,7 +2730,7 @@ would make no sense, but can be used together with 'nick' or 'remnick' and all
the usual filters.< / p >
< / div >
< div class = "section" id = "examples" >
< h4 > < a class = "toc-backref" href = "#id1 19 "> Examples< / a > < / h4 >
< h4 > < a class = "toc-backref" href = "#id1 2 1"> Examples< / a > < / h4 >
< dl class = "docutils" >
< dt > < tt class = "docutils literal" > zone assign all own ALPACA minage 3 maxage 10< / tt > < / dt >
< dd > Assign all own alpacas who are between 3 and 10 years old to the selected
@ -2707,7 +2756,7 @@ on the current default zone.</dd>
< / div >
< / div >
< div class = "section" id = "autonestbox" >
< h3 > < a class = "toc-backref" href = "#id12 0 "> autonestbox< / a > < / h3 >
< h3 > < a class = "toc-backref" href = "#id12 2 "> autonestbox< / a > < / h3 >
< p > Assigns unpastured female egg-layers to nestbox zones. Requires that you create
pen/pasture zones above nestboxes. If the pen is bigger than 1x1 the nestbox
must be in the top left corner. Only 1 unit will be assigned per pen, regardless
@ -2736,7 +2785,7 @@ frames between runs.</td>
< / blockquote >
< / div >
< div class = "section" id = "autobutcher" >
< h3 > < a class = "toc-backref" href = "#id12 1 "> autobutcher< / a > < / h3 >
< h3 > < a class = "toc-backref" href = "#id12 3 "> autobutcher< / a > < / h3 >
< p > Assigns lifestock for slaughter once it reaches a specific count. Requires that
you add the target race(s) to a watch list. Only tame units will be processed.< / p >
< p > Named units will be completely ignored (to protect specific animals from
@ -2844,7 +2893,7 @@ autobutcher.bat
< / pre >
< / div >
< div class = "section" id = "autochop" >
< h3 > < a class = "toc-backref" href = "#id12 2 "> autochop< / a > < / h3 >
< h3 > < a class = "toc-backref" href = "#id12 4 "> autochop< / a > < / h3 >
< p > Automatically manage tree cutting designation to keep available logs withing given
quotas.< / p >
< p > Open the dashboard by running:< / p >
@ -2862,7 +2911,7 @@ enable getplants
menu.< / p >
< / div >
< div class = "section" id = "autolabor" >
< h3 > < a class = "toc-backref" href = "#id12 3 "> autolabor< / a > < / h3 >
< h3 > < a class = "toc-backref" href = "#id12 5 "> autolabor< / a > < / h3 >
< p > Automatically manage dwarf labors.< / p >
< p > When enabled, autolabor periodically checks your dwarves and enables or
disables labors. It tries to keep as many dwarves as possible busy but
@ -2877,14 +2926,14 @@ while it is enabled.</p>
< / div >
< / div >
< div class = "section" id = "other" >
< h2 > < a class = "toc-backref" href = "#id12 4 "> Other< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id12 6 "> Other< / a > < / h2 >
< div class = "section" id = "catsplosion" >
< h3 > < a class = "toc-backref" href = "#id12 5 "> catsplosion< / a > < / h3 >
< h3 > < a class = "toc-backref" href = "#id12 7 "> catsplosion< / a > < / h3 >
< p > Makes cats just < em > multiply< / em > . It is not a good idea to run this more than once or
twice.< / p >
< / div >
< div class = "section" id = "dfusion" >
< h3 > < a class = "toc-backref" href = "#id12 6 "> dfusion< / a > < / h3 >
< h3 > < a class = "toc-backref" href = "#id12 8 "> dfusion< / a > < / h3 >
< dl class = "docutils" >
< dt > This is the DFusion lua plugin system by Warmist, running as a DFHack plugin. There are two parts to this plugin: an interactive script that shows a text based menu and lua modules. Some of the functionality of is intentionaly left out of the menu:< / dt >
< dd > < table class = "first last docutils field-list" frame = "void" rules = "none" >
@ -2909,7 +2958,7 @@ twice.</p>
< / div >
< / div >
< div class = "section" id = "misery" >
< h3 > < a class = "toc-backref" href = "#id12 7 "> misery< / a > < / h3 >
< h3 > < a class = "toc-backref" href = "#id12 9 "> misery< / a > < / h3 >
< p > When enabled, every new negative dwarven thought will be multiplied by a factor (2 by default).< / p >
< p > Usage:< / p >
< table class = "docutils field-list" frame = "void" rules = "none" >
@ -2931,7 +2980,7 @@ twice.</p>
< / table >
< / div >
< div class = "section" id = "strangemood" >
< h3 > < a class = "toc-backref" href = "#id1 28 "> strangemood< / a > < / h3 >
< h3 > < a class = "toc-backref" href = "#id1 30 "> strangemood< / a > < / h3 >
< p > Creates a strange mood job the same way the game itself normally does it.< / p >
< p > Options:< / p >
< blockquote >
@ -2954,10 +3003,14 @@ Valid values are "miner", "carpenter", "engraver",
< / blockquote >
< p > Known limitations: if the selected unit is currently performing a job, the mood will not be started.< / p >
< / div >
< div class = "section" id = "log-region" >
< h3 > < a class = "toc-backref" href = "#id131" > log-region< / a > < / h3 >
< p > When enabled in dfhack.init, each time a fort is loaded identifying information will be written to the gamelog. Assists in parsing the file if you switch between forts, and adds information for story-building.< / p >
< / div >
< / div >
< / div >
< div class = "section" id = "scripts" >
< h1 > < a class = "toc-backref" href = "#id129" > Scripts< / a > < / h1 >
< h1 > < a class = "toc-backref" href = "#id1 3 2"> Scripts< / a > < / h1 >
< p > Lua or ruby scripts placed in the hack/scripts/ directory are considered for
execution as if they were native DFHack commands. They are listed at the end
of the 'ls' command output.< / p >
@ -2966,7 +3019,7 @@ only be listed by ls if called as 'ls -a'. This is intended as a way to hide
scripts that are obscure, developer-oriented, or should be used as keybindings.< / p >
< p > Some notable scripts:< / p >
< div class = "section" id = "fix" >
< h2 > < a class = "toc-backref" href = "#id13 0 "> fix/*< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id13 3 "> fix/*< / a > < / h2 >
< p > Scripts in this subdirectory fix various bugs and issues, some of them obscure.< / p >
< ul >
< li > < p class = "first" > fix/dead-units< / p >
@ -3003,12 +3056,12 @@ hopefully avoid jamming it again, and unsuspends them.</p>
< / ul >
< / div >
< div class = "section" id = "gui" >
< h2 > < a class = "toc-backref" href = "#id13 1 "> gui/*< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id13 4 "> gui/*< / a > < / h2 >
< p > Scripts that implement dialogs inserted into the main game window are put in this
directory.< / p >
< / div >
< div class = "section" id = "binpatch" >
< h2 > < a class = "toc-backref" href = "#id13 2 "> binpatch< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id13 5 "> binpatch< / a > < / h2 >
< p > Checks, applies or removes binary patches directly in memory at runtime:< / p >
< pre class = "literal-block" >
binpatch check/apply/remove < patchname>
@ -3018,17 +3071,17 @@ script uses <tt class="docutils literal"><span class="pre">hack/patches/<df-v
the version appropriate for the currently loaded executable.< / p >
< / div >
< div class = "section" id = "quicksave" >
< h2 > < a class = "toc-backref" href = "#id13 3 "> quicksave< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id13 6 "> quicksave< / a > < / h2 >
< p > If called in dwarf mode, makes DF immediately auto-save the game by setting a flag
normally used in seasonal auto-save.< / p >
< / div >
< div class = "section" id = "setfps" >
< h2 > < a class = "toc-backref" href = "#id13 4 "> setfps< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id13 7 "> setfps< / a > < / h2 >
< p > Run < tt class = "docutils literal" > setfps < number> < / tt > to set the FPS cap at runtime, in case you want to watch
combat in slow motion or something :)< / p >
< / div >
< div class = "section" id = "siren" >
< h2 > < a class = "toc-backref" href = "#id13 5 "> siren< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id13 8 "> siren< / a > < / h2 >
< p > Wakes up sleeping units, cancels breaks and stops parties either everywhere,
or in the burrows given as arguments. In return, adds bad thoughts about
noise, tiredness and lack of protection. Also, the units with interrupted
@ -3036,7 +3089,7 @@ breaks will go on break again a lot sooner. The script is intended for
emergencies, e.g. when a siege appears, and all your military is partying.< / p >
< / div >
< div class = "section" id = "growcrops" >
< h2 > < a class = "toc-backref" href = "#id13 6 "> growcrops< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id13 9 "> growcrops< / a > < / h2 >
< p > Instantly grow seeds inside farming plots.< / p >
< p > With no argument, this command list the various seed types currently in
use in your farming plots.
@ -3048,7 +3101,7 @@ growcrops plump 40
< / pre >
< / div >
< div class = "section" id = "removebadthoughts" >
< h2 > < a class = "toc-backref" href = "#id1 37 "> removebadthoughts< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id1 40 "> removebadthoughts< / a > < / h2 >
< p > This script remove negative thoughts from your dwarves. Very useful against
tantrum spirals.< / p >
< p > The script can target a single creature, when used with the < tt class = "docutils literal" > him< / tt > argument,
@ -3062,7 +3115,7 @@ but in the short term your dwarves will get much more joyful.</p>
quickly after you unpause.< / p >
< / div >
< div class = "section" id = "exterminate" >
< h2 > < a class = "toc-backref" href = "#id1 38 "> exterminate< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id1 41 "> exterminate< / a > < / h2 >
< p > Kills any unit of a given race.< / p >
< p > With no argument, lists the available races and count eligible targets.< / p >
< p > With the special argument < tt class = "docutils literal" > him< / tt > , targets only the selected creature.< / p >
@ -3094,7 +3147,7 @@ exterminate elve magma
< / pre >
< / div >
< div class = "section" id = "source" >
< h2 > < a class = "toc-backref" href = "#id1 39 "> source< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id1 42 "> source< / a > < / h2 >
< p > Create an infinite magma or water source or drain on a tile.< / p >
< p > This script registers a map tile as a liquid source, and every 12 game ticks
that tile receives or remove 1 new unit of flow based on the configuration.< / p >
@ -3116,14 +3169,14 @@ source add water 0 - water drain
< / pre >
< / div >
< div class = "section" id = "masspit" >
< h2 > < a class = "toc-backref" href = "#id14 0 "> masspit< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id14 3 "> masspit< / a > < / h2 >
< p > Designate all creatures in cages on top of a pit/pond activity zone for pitting.
Works best with an animal stockpile on top of the zone.< / p >
< p > Works with a zone number as argument (eg < tt class = "docutils literal" > Activity Zone #6< / tt > -> < tt class = "docutils literal" > masspit 6< / tt > )
or with the game cursor on top of the area.< / p >
< / div >
< div class = "section" id = "digfort" >
< h2 > < a class = "toc-backref" href = "#id14 1 "> digfort< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id14 4 "> digfort< / a > < / h2 >
< p > A script to designate an area for digging according to a plan in csv format.< / p >
< p > This script, inspired from quickfort, can designate an area for digging.
Your plan should be stored in a .csv file like this:< / p >
@ -3145,7 +3198,7 @@ as an offset for the pattern: instead of starting at the cursor, it will start
Dwarf Fortress.exe is found).< / p >
< / div >
< div class = "section" id = "invasion-now" >
< h2 > < a class = "toc-backref" href = "#id14 2 "> invasion-now< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id14 5 "> invasion-now< / a > < / h2 >
< p > Triggers an invasion, or several in the near future.< / p >
< p > < cite > invasion-now civName< / cite > trigger an invasion from the civilization with the id civName, starting in about ten ticks< / p >
< p > < cite > invasion-now civName start< / cite > trigger an invasion from civName in a number of ticks between 10*start and 11*start-1 (inclusive)< / p >
@ -3153,7 +3206,7 @@ Dwarf Fortress.exe is found).</p>
< p > Probably fails if the start time of a triggered invasion is later than the start of the next year.< / p >
< / div >
< div class = "section" id = "digmat" >
< h2 > < a class = "toc-backref" href = "#id14 3 "> digmat< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id14 6 "> digmat< / a > < / h2 >
< p > Designates a tile for digging. Monitors the tile, and when it is dug out, add
surrounding discovered tiles of the same material for digging. Similar to 'digv',
but less cheaty. Works for stone layers, soil layers, veins, etc.< / p >
@ -3162,7 +3215,7 @@ same designation for future digging (eg dig up/downstairs). When digging stairs,
also designate tiles on z-1 and z+1 when they are discovered.< / p >
< / div >
< div class = "section" id = "superdwarf" >
< h2 > < a class = "toc-backref" href = "#id14 4 "> superdwarf< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id14 7 "> superdwarf< / a > < / h2 >
< p > Similar to fastdwarf, per-creature.< / p >
< p > To make any creature superfast, target it ingame using 'v' and:< / p >
< pre class = "literal-block" >
@ -3172,17 +3225,17 @@ superdwarf add
< p > This plugin also shortens the 'sleeping' and 'on break' periods of targets.< / p >
< / div >
< div class = "section" id = "drainaquifer" >
< h2 > < a class = "toc-backref" href = "#id14 5 "> drainaquifer< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id14 8 "> drainaquifer< / a > < / h2 >
< p > Remove all 'aquifer' tag from the map blocks. Irreversible.< / p >
< / div >
< div class = "section" id = "deathcause" >
< h2 > < a class = "toc-backref" href = "#id14 6 "> deathcause< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id14 9 "> deathcause< / a > < / h2 >
< p > Focus a body part ingame, and this script will display the cause of death of
the creature.
Also works when selecting units from the 'u'nitlist viewscreen.< / p >
< / div >
< div class = "section" id = "lua" >
< h2 > < a class = "toc-backref" href = "#id1 47 "> lua< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id1 50 "> lua< / a > < / h2 >
< p > There are the following ways to invoke this command:< / p >
< ol class = "arabic" >
< li > < p class = "first" > < tt class = "docutils literal" > lua< / tt > (without any parameters)< / p >
@ -3201,11 +3254,11 @@ directory. If the filename is not supplied, it loads "dfhack.lua".</p>
< / ol >
< / div >
< div class = "section" id = "embark" >
< h2 > < a class = "toc-backref" href = "#id1 48 "> embark< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id1 51 "> embark< / a > < / h2 >
< p > Allows to embark anywhere. Currently windows only.< / p >
< / div >
< div class = "section" id = "lever" >
< h2 > < a class = "toc-backref" href = "#id1 49 "> lever< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id1 52 "> lever< / a > < / h2 >
< p > Allow manipulation of in-game levers from the dfhack console.< / p >
< p > Can list levers, including state and links, with:< / p >
< pre class = "literal-block" >
@ -3219,7 +3272,7 @@ lever pull 42 --now
< / pre >
< / div >
< div class = "section" id = "stripcaged" >
< h2 > < a class = "toc-backref" href = "#id15 0 "> stripcaged< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id15 3 "> stripcaged< / a > < / h2 >
< p > For dumping items inside cages. Will mark selected items for dumping, then
a dwarf may come and actually dump it. See also < tt class = "docutils literal" > autodump< / tt > .< / p >
< p > With the < tt class = "docutils literal" > items< / tt > argument, only dumps items laying in the cage, excluding
@ -3237,11 +3290,11 @@ stripcaged weapons 25321 34228
< / pre >
< / div >
< div class = "section" id = "undump-buildings" >
< h2 > < a class = "toc-backref" href = "#id15 1 "> undump-buildings< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id15 4 "> undump-buildings< / a > < / h2 >
< p > Undesignates building base materials for dumping.< / p >
< / div >
< div class = "section" id = "create-items" >
< h2 > < a class = "toc-backref" href = "#id15 2 "> create-items< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id15 5 "> create-items< / a > < / h2 >
< p > Spawn arbitrary items under the cursor.< / p >
< p > The first argument gives the item category, the second gives the material,
and the optionnal third gives the number of items to create (defaults to 20).< / p >
@ -3263,7 +3316,7 @@ create-items bar adamantine
< / pre >
< / div >
< div class = "section" id = "locate-ore" >
< h2 > < a class = "toc-backref" href = "#id15 3 "> locate-ore< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id15 6 "> locate-ore< / a > < / h2 >
< p > Scan the map for metal ores.< / p >
< p > Finds and designate for digging one tile of a specific metal ore.
Only works for native metal ores, does not handle reaction stuff (eg STEEL).< / p >
@ -3276,7 +3329,7 @@ locate-ore iron</dd>
< / dl >
< / div >
< div class = "section" id = "soundsense-season" >
< h2 > < a class = "toc-backref" href = "#id15 4 "> soundsense-season< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id15 7 "> soundsense-season< / a > < / h2 >
< p > It is a well known issue that Soundsense cannot detect the correct
current season when a savegame is loaded and has to play random
season music until a season switch occurs.< / p >
@ -3285,7 +3338,7 @@ to gamelog.txt on every map load to fix this. For best results
call the script from < tt class = "docutils literal" > dfhack.init< / tt > .< / p >
< / div >
< div class = "section" id = "multicmd" >
< h2 > < a class = "toc-backref" href = "#id15 5 "> multicmd< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id15 8 "> multicmd< / a > < / h2 >
< p > Run multiple dfhack commands. The argument is split around the
character ; and all parts are run sequencially as independent
dfhack commands. Useful for hotkeys.< / p >
@ -3294,9 +3347,13 @@ dfhack commands. Useful for hotkeys.</p>
< dd > multicmd locate-ore iron ; digv< / dd >
< / dl >
< / div >
< div class = "section" id = "dfstatus" >
< h2 > < a class = "toc-backref" href = "#id159" > dfstatus< / a > < / h2 >
< p > Show a quick overview of critical stock quantities, including food, dirnks, wood, and various bars.< / p >
< / div >
< / div >
< div class = "section" id = "in-game-interface-tools" >
< h1 > < a class = "toc-backref" href = "#id156" > In-game interface tools< / a > < / h1 >
< h1 > < a class = "toc-backref" href = "#id1 60 "> In-game interface tools< / a > < / h1 >
< p > These tools work by displaying dialogs or overlays in the game window, and
are mostly implemented by lua scripts.< / p >
< div class = "note" >
@ -3311,7 +3368,7 @@ guideline because it arguably just fixes small usability bugs in the game UI.</p
you must enable the plugins which provide them.< / p >
< / div >
< div class = "section" id = "dwarf-manipulator" >
< h2 > < a class = "toc-backref" href = "#id1 57 "> Dwarf Manipulator< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id1 61 "> Dwarf Manipulator< / a > < / h2 >
< p > Implemented by the 'manipulator' plugin.< / p >
< p > To activate, open the unit screen and press 'l'.< / p >
< img alt = "images/manipulator.png" src = "images/manipulator.png" / >
@ -3350,7 +3407,7 @@ cursor onto that cell instead of toggling it.</li>
directly to the main dwarf mode screen.< / p >
< / div >
< div class = "section" id = "search" >
< h2 > < a class = "toc-backref" href = "#id1 58 "> Search< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id1 62 "> Search< / a > < / h2 >
< p > Implemented by the 'search' plugin.< / p >
< p > The search plugin adds search to the Stocks, Animals, Trading, Stockpile,
Noble (assignment candidates), Military (position candidates), Burrows
@ -3381,7 +3438,7 @@ only fat or tallow by forbidding fats, then searching for fat/tallow, and
using Permit Fats again while the list is filtered.< / p >
< / div >
< div class = "section" id = "automaterial" >
< h2 > < a class = "toc-backref" href = "#id1 59 "> AutoMaterial< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id1 63 "> AutoMaterial< / a > < / h2 >
< p > Implemented by the 'automaterial' plugin.< / p >
< p > This makes building constructions (walls, floors, fortifications, etc) a little bit
easier by saving you from having to trawl through long lists of materials each time
@ -3409,7 +3466,7 @@ materials, it returns you back to this screen. If you use this along with severa
enabled materials, you should be able to place complex constructions more conveniently.< / p >
< / div >
< div class = "section" id = "gui-liquids" >
< h2 > < a class = "toc-backref" href = "#id16 0 "> gui/liquids< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id16 4 "> gui/liquids< / a > < / h2 >
< p > To use, bind to a key (the example config uses Alt-L) and activate in the 'k' mode.< / p >
< img alt = "images/liquids.png" src = "images/liquids.png" / >
< p > This script is a gui front-end to the liquids plugin and works similar to it,
@ -3429,7 +3486,7 @@ rivers power water wheels even when full and technically not flowing.</p>
< p > After setting up the desired operations using the described keys, use < tt class = "docutils literal" > Enter< / tt > to apply them.< / p >
< / div >
< div class = "section" id = "gui-mechanisms" >
< h2 > < a class = "toc-backref" href = "#id16 1 "> gui/mechanisms< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id16 5 "> gui/mechanisms< / a > < / h2 >
< p > To use, bind to a key (the example config uses Ctrl-M) and activate in the 'q' mode.< / p >
< img alt = "images/mechanisms.png" src = "images/mechanisms.png" / >
< p > Lists mechanisms connected to the building, and their links. Navigating the list centers
@ -3439,7 +3496,7 @@ focus on the current one. Shift-Enter has an effect equivalent to pressing Enter
re-entering the mechanisms ui.< / p >
< / div >
< div class = "section" id = "gui-rename" >
< h2 > < a class = "toc-backref" href = "#id16 2 "> gui/rename< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id16 6 "> gui/rename< / a > < / h2 >
< p > Backed by the rename plugin, this script allows entering the desired name
via a simple dialog in the game ui.< / p >
< ul >
@ -3462,7 +3519,7 @@ their species string.</p>
unit profession change to Ctrl-Shift-T.< / p >
< / div >
< div class = "section" id = "gui-room-list" >
< h2 > < a class = "toc-backref" href = "#id16 3 "> gui/room-list< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id16 7 "> gui/room-list< / a > < / h2 >
< p > To use, bind to a key (the example config uses Alt-R) and activate in the 'q' mode,
either immediately or after opening the assign owner page.< / p >
< img alt = "images/room-list.png" src = "images/room-list.png" / >
@ -3470,7 +3527,7 @@ either immediately or after opening the assign owner page.</p>
list, and allows unassigning them.< / p >
< / div >
< div class = "section" id = "gui-choose-weapons" >
< h2 > < a class = "toc-backref" href = "#id16 4 "> gui/choose-weapons< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id16 8 "> gui/choose-weapons< / a > < / h2 >
< p > Bind to a key (the example config uses Ctrl-W), and activate in the Equip-> View/Customize
page of the military screen.< / p >
< p > Depending on the cursor location, it rewrites all 'individual choice weapon' entries
@ -3481,14 +3538,14 @@ only that entry, and does it even if it is not 'individual choice'.</p>
and may lead to inappropriate weapons being selected.< / p >
< / div >
< div class = "section" id = "gui-clone-uniform" >
< h2 > < a class = "toc-backref" href = "#id16 5 "> gui/clone-uniform< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id16 9 "> gui/clone-uniform< / a > < / h2 >
< p > Bind to a key (the example config uses Ctrl-C), and activate in the Uniforms
page of the military screen with the cursor in the leftmost list.< / p >
< p > When invoked, the script duplicates the currently selected uniform template,
and selects the newly created copy.< / p >
< / div >
< div class = "section" id = "gui-guide-path" >
< h2 > < a class = "toc-backref" href = "#id1 66 "> gui/guide-path< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id1 70 "> gui/guide-path< / a > < / h2 >
< p > Bind to a key (the example config uses Alt-P), and activate in the Hauling menu with
the cursor over a Guide order.< / p >
< img alt = "images/guide-path.png" src = "images/guide-path.png" / >
@ -3496,7 +3553,7 @@ the cursor over a Guide order.</p>
computes it when the order is executed for the first time.< / p >
< / div >
< div class = "section" id = "gui-workshop-job" >
< h2 > < a class = "toc-backref" href = "#id1 6 7"> gui/workshop-job< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id1 71 "> gui/workshop-job< / a > < / h2 >
< p > Bind to a key (the example config uses Alt-A), and activate with a job selected in
a workshop in the 'q' mode.< / p >
< img alt = "images/workshop-job.png" src = "images/workshop-job.png" / >
@ -3532,7 +3589,7 @@ and then try to change the input item type, now it won't let you select <em>plan
you have to unset the material first.< / p >
< / div >
< div class = "section" id = "gui-workflow" >
< h2 > < a class = "toc-backref" href = "#id1 68 "> gui/workflow< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id1 72 "> gui/workflow< / a > < / h2 >
< p > Bind to a key (the example config uses Alt-W), and activate with a job selected
in a workshop in the 'q' mode.< / p >
< img alt = "images/workflow.png" src = "images/workflow.png" / >
@ -3579,7 +3636,7 @@ the current stock value. The bright green dashed line is the target
limit (maximum) and the dark green line is that minus the gap (minimum).< / p >
< / div >
< div class = "section" id = "gui-assign-rack" >
< h2 > < a class = "toc-backref" href = "#id1 69 "> gui/assign-rack< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id1 73 "> gui/assign-rack< / a > < / h2 >
< p > Bind to a key (the example config uses P), and activate when viewing a weapon
rack in the 'q' mode.< / p >
< img alt = "images/assign-rack.png" src = "images/assign-rack.png" / >
@ -3603,7 +3660,7 @@ the intended user. In order to aid in the choice, it shows the number
of currently assigned racks for every valid squad.< / p >
< / div >
< div class = "section" id = "gui-advfort" >
< h2 > < a class = "toc-backref" href = "#id17 0 "> gui/advfort< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id17 4 "> gui/advfort< / a > < / h2 >
< p > This script allows to perform jobs in adventure mode. For more complete help
press '?' while script is running. It's most confortable to use this as a
keybinding. (e.g. keybinding set Ctrl-T gui/advfort). Possible arguments:< / p >
@ -3622,7 +3679,7 @@ implies -a</li>
< / div >
< / div >
< div class = "section" id = "gui-companion-order" >
< h2 > < a class = "toc-backref" href = "#id17 1 "> gui/companion-order< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id17 5 "> gui/companion-order< / a > < / h2 >
< p > A script to issue orders for companions. Select companions with lower case chars, issue orders with upper
case. Must be in look or talk mode to issue command on tile.< / p >
< img alt = "images/companion-order.png" src = "images/companion-order.png" / >
@ -3638,7 +3695,7 @@ case. Must be in look or talk mode to issue command on tile.</p>
< / ul >
< / div >
< div class = "section" id = "gui-gm-editor" >
< h2 > < a class = "toc-backref" href = "#id17 2 "> gui/gm-editor< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id17 6 "> gui/gm-editor< / a > < / h2 >
< p > There are three ways to open this editor:< / p >
< ul class = "simple" >
< li > using gui/gm-editor command/keybinding - opens editor on what is selected
@ -3653,14 +3710,14 @@ the same as version above.</li>
in-game help.< / p >
< / div >
< div class = "section" id = "gui-mod-manager" >
< h2 > < a class = "toc-backref" href = "#id17 3 "> gui/mod-manager< / a > < / h2 >
< p > A way to simply install and remove small mods. It looks for specially formated mods in
< h2 > < a class = "toc-backref" href = "#id17 7 "> gui/mod-manager< / a > < / h2 >
< p > A way to simply install and remove small mods. It looks for specially formatt ed mods in
df subfolder 'mods'. Mods are not included, for example mods see: < a class = "reference external" href = "https://github.com/warmist/df-mini-mods" > github mini mod repository< / a > < / p >
< img alt = "images/mod-manager.png" src = "images/mod-manager.png" / >
< / div >
< / div >
< div class = "section" id = "behavior-mods" >
< h1 > < a class = "toc-backref" href = "#id17 4 "> Behavior Mods< / a > < / h1 >
< h1 > < a class = "toc-backref" href = "#id17 8 "> Behavior Mods< / a > < / h1 >
< p > These plugins, when activated via configuration UI or by detecting certain
structures in RAWs, modify the game engine behavior concerning the target
objects to add features not otherwise present.< / p >
@ -3671,20 +3728,20 @@ technical challenge, and do not represent any long-term plans to produce more
similar modifications of the game.< / p >
< / div >
< div class = "section" id = "siege-engine" >
< h2 > < a class = "toc-backref" href = "#id17 5 "> Siege Engine< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id17 9 "> Siege Engine< / a > < / h2 >
< p > The siege-engine plugin enables siege engines to be linked to stockpiles, and
aimed at an arbitrary rectangular area across Z levels, instead of the original
four directions. Also, catapults can be ordered to load arbitrary objects, not
just stones.< / p >
< div class = "section" id = "rationale" >
< h3 > < a class = "toc-backref" href = "#id1 76 "> Rationale< / a > < / h3 >
< h3 > < a class = "toc-backref" href = "#id1 80 "> Rationale< / a > < / h3 >
< p > Siege engines are a very interesting feature, but sadly almost useless in the current state
because they haven't been updated since 2D and can only aim in four directions. This is an
attempt to bring them more up to date until Toady has time to work on it. Actual improvements,
e.g. like making siegers bring their own, are something only Toady can do.< / p >
< / div >
< div class = "section" id = "configuration-ui" >
< h3 > < a class = "toc-backref" href = "#id1 77 "> Configuration UI< / a > < / h3 >
< h3 > < a class = "toc-backref" href = "#id1 81 "> Configuration UI< / a > < / h3 >
< p > The configuration front-end to the plugin is implemented by the gui/siege-engine
script. Bind it to a key (the example config uses Alt-A) and activate after selecting
a siege engine in 'q' mode.< / p >
@ -3707,7 +3764,7 @@ menu.</p>
< / div >
< / div >
< div class = "section" id = "power-meter" >
< h2 > < a class = "toc-backref" href = "#id1 7 8"> Power Meter< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id1 82 "> Power Meter< / a > < / h2 >
< p > The power-meter plugin implements a modified pressure plate that detects power being
supplied to gear boxes built in the four adjacent N/S/W/E tiles.< / p >
< p > The configuration front-end is implemented by the gui/power-meter script. Bind it to a
@ -3718,11 +3775,11 @@ in the build menu.</p>
configuration page, but configures parameters relevant to the modded power meter building.< / p >
< / div >
< div class = "section" id = "steam-engine" >
< h2 > < a class = "toc-backref" href = "#id1 79 "> Steam Engine< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id1 83 "> Steam Engine< / a > < / h2 >
< p > The steam-engine plugin detects custom workshops with STEAM_ENGINE in
their token, and turns them into real steam engines.< / p >
< div class = "section" id = "id1" >
< h3 > < a class = "toc-backref" href = "#id18 0 "> Rationale< / a > < / h3 >
< h3 > < a class = "toc-backref" href = "#id18 4 "> Rationale< / a > < / h3 >
< p > The vanilla game contains only water wheels and windmills as sources of
power, but windmills give relatively little power, and water wheels require
flowing water, which must either be a real river and thus immovable and
@ -3733,7 +3790,7 @@ it can be done just by combining existing features of the game engine
in a new way with some glue code and a bit of custom logic.< / p >
< / div >
< div class = "section" id = "construction" >
< h3 > < a class = "toc-backref" href = "#id18 1 "> Construction< / a > < / h3 >
< h3 > < a class = "toc-backref" href = "#id18 5 "> Construction< / a > < / h3 >
< p > The workshop needs water as its input, which it takes via a
passable floor tile below it, like usual magma workshops do.
The magma version also needs magma.< / p >
@ -3757,7 +3814,7 @@ short axles that can be built later than both of the engines.</p>
< / div >
< / div >
< div class = "section" id = "operation" >
< h3 > < a class = "toc-backref" href = "#id18 2 "> Operation< / a > < / h3 >
< h3 > < a class = "toc-backref" href = "#id18 6 "> Operation< / a > < / h3 >
< p > In order to operate the engine, queue the Stoke Boiler job (optionally
on repeat). A furnace operator will come, possibly bringing a bar of fuel,
and perform it. As a result, a " boiling water" item will appear
@ -3788,7 +3845,7 @@ decrease it by further 4%, and also decrease the whole steam
use rate by 10%.< / p >
< / div >
< div class = "section" id = "explosions" >
< h3 > < a class = "toc-backref" href = "#id18 3 "> Explosions< / a > < / h3 >
< h3 > < a class = "toc-backref" href = "#id18 7 "> Explosions< / a > < / h3 >
< p > The engine must be constructed using barrel, pipe and piston
from fire-safe, or in the magma version magma-safe metals.< / p >
< p > During operation weak parts get gradually worn out, and
@ -3797,7 +3854,7 @@ toppled during operation by a building destroyer, or a
tantruming dwarf.< / p >
< / div >
< div class = "section" id = "save-files" >
< h3 > < a class = "toc-backref" href = "#id18 4 "> Save files< / a > < / h3 >
< h3 > < a class = "toc-backref" href = "#id18 8 "> Save files< / a > < / h3 >
< p > It should be safe to load and view engine-using fortresses
from a DF version without DFHack installed, except that in such
case the engines won't work. However actually making modifications
@ -3808,7 +3865,7 @@ being generated.</p>
< / div >
< / div >
< div class = "section" id = "add-spatter" >
< h2 > < a class = "toc-backref" href = "#id18 5 "> Add Spatter< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id18 9 "> Add Spatter< / a > < / h2 >
< p > This plugin makes reactions with names starting with < tt class = "docutils literal" > SPATTER_ADD_< / tt >
produce contaminants on the items instead of improvements. The produced
contaminants are immune to being washed away by water or destroyed by