@ -434,94 +434,99 @@ access DF memory and allow for easier development of new tools.</p>
< li > < a class = "reference internal" href = "#fixmerchants" id = "id79" > fixmerchants< / a > < / li >
< li > < a class = "reference internal" href = "#fixveins" id = "id80" > fixveins< / a > < / li >
< li > < a class = "reference internal" href = "#tweak" id = "id81" > tweak< / a > < / li >
< li > < a class = "reference internal" href = "#fix-armory" id = "id82" > fix-armory< / a > < / li >
< / ul >
< / li >
< li > < a class = "reference internal" href = "#mode-switch-and-reclaim" id = "id8 2 "> Mode switch and reclaim< / a > < ul >
< li > < a class = "reference internal" href = "#lair" id = "id8 3 "> lair< / a > < / li >
< li > < a class = "reference internal" href = "#mode" id = "id8 4 "> mode< / a > < / li >
< li > < a class = "reference internal" href = "#mode-switch-and-reclaim" id = "id8 3 "> Mode switch and reclaim< / a > < ul >
< li > < a class = "reference internal" href = "#lair" id = "id8 4 "> lair< / a > < / li >
< li > < a class = "reference internal" href = "#mode" id = "id8 5 "> mode< / a > < / li >
< / ul >
< / li >
< li > < a class = "reference internal" href = "#visualizer-and-data-export" id = "id8 5 "> Visualizer and data export< / a > < ul >
< li > < a class = "reference internal" href = "#ssense-stonesense" id = "id8 6 "> ssense / stonesense< / a > < / li >
< li > < a class = "reference internal" href = "#mapexport" id = "id8 7 "> mapexport< / a > < / li >
< li > < a class = "reference internal" href = "#dwarfexport" id = "id8 8 "> dwarfexport< / a > < / li >
< li > < a class = "reference internal" href = "#visualizer-and-data-export" id = "id8 6 "> Visualizer and data export< / a > < ul >
< li > < a class = "reference internal" href = "#ssense-stonesense" id = "id8 7 "> ssense / stonesense< / a > < / li >
< li > < a class = "reference internal" href = "#mapexport" id = "id8 8 "> mapexport< / a > < / li >
< li > < a class = "reference internal" href = "#dwarfexport" id = "id8 9 "> dwarfexport< / a > < / li >
< / ul >
< / li >
< li > < a class = "reference internal" href = "#job-management" id = "id 8 9"> Job management< / a > < ul >
< li > < a class = "reference internal" href = "#job" id = "id9 0 "> job< / a > < / li >
< li > < a class = "reference internal" href = "#job-material" id = "id9 1 "> job-material< / a > < / li >
< li > < a class = "reference internal" href = "#job-duplicate" id = "id9 2 "> job-duplicate< / a > < / li >
< li > < a class = "reference internal" href = "#workflow" id = "id9 3 "> workflow< / a > < ul >
< li > < a class = "reference internal" href = "#function" id = "id9 4 "> Function< / a > < / li >
< li > < a class = "reference internal" href = "#constraint-examples" id = "id9 5 "> Constraint examples< / a > < / li >
< li > < a class = "reference internal" href = "#job-management" id = "id 90 "> Job management< / a > < ul >
< li > < a class = "reference internal" href = "#job" id = "id9 1 "> job< / a > < / li >
< li > < a class = "reference internal" href = "#job-material" id = "id9 2 "> job-material< / a > < / li >
< li > < a class = "reference internal" href = "#job-duplicate" id = "id9 3 "> job-duplicate< / a > < / li >
< li > < a class = "reference internal" href = "#workflow" id = "id9 4 "> workflow< / a > < ul >
< li > < a class = "reference internal" href = "#function" id = "id9 5 "> Function< / a > < / li >
< li > < a class = "reference internal" href = "#constraint-examples" id = "id9 6 "> Constraint examples< / a > < / li >
< / ul >
< / li >
< / ul >
< / li >
< li > < a class = "reference internal" href = "#fortress-activity-management" id = "id9 6 "> Fortress activity management< / a > < ul >
< li > < a class = "reference internal" href = "#seedwatch" id = "id9 7 "> seedwatch< / a > < / li >
< li > < a class = "reference internal" href = "#zone" id = "id9 8 "> zone< / a > < ul >
< li > < a class = "reference internal" href = "#usage-with-single-units" id = "id 99 "> Usage with single units< / a > < / li >
< li > < a class = "reference internal" href = "#usage-with-filters" id = "id10 0 "> Usage with filters< / a > < / li >
< li > < a class = "reference internal" href = "#mass-renaming" id = "id10 1 "> Mass-renaming< / a > < / li >
< li > < a class = "reference internal" href = "#cage-zones" id = "id10 2 "> Cage zones< / a > < / li >
< li > < a class = "reference internal" href = "#examples" id = "id10 3 "> Examples< / a > < / li >
< li > < a class = "reference internal" href = "#fortress-activity-management" id = "id9 7 "> Fortress activity management< / a > < ul >
< li > < a class = "reference internal" href = "#seedwatch" id = "id9 8 "> seedwatch< / a > < / li >
< li > < a class = "reference internal" href = "#zone" id = "id9 9 "> zone< / a > < ul >
< li > < a class = "reference internal" href = "#usage-with-single-units" id = "id 100 "> Usage with single units< / a > < / li >
< li > < a class = "reference internal" href = "#usage-with-filters" id = "id10 1 "> Usage with filters< / a > < / li >
< li > < a class = "reference internal" href = "#mass-renaming" id = "id10 2 "> Mass-renaming< / a > < / li >
< li > < a class = "reference internal" href = "#cage-zones" id = "id10 3 "> Cage zones< / a > < / li >
< li > < a class = "reference internal" href = "#examples" id = "id10 4 "> Examples< / a > < / li >
< / ul >
< / li >
< li > < a class = "reference internal" href = "#autonestbox" id = "id10 4 "> autonestbox< / a > < / li >
< li > < a class = "reference internal" href = "#autobutcher" id = "id10 5 "> autobutcher< / a > < / li >
< li > < a class = "reference internal" href = "#autolabor" id = "id10 6 "> autolabor< / a > < / li >
< li > < a class = "reference internal" href = "#autonestbox" id = "id10 5 "> autonestbox< / a > < / li >
< li > < a class = "reference internal" href = "#autobutcher" id = "id10 6 "> autobutcher< / a > < / li >
< li > < a class = "reference internal" href = "#autolabor" id = "id10 7 "> autolabor< / a > < / li >
< / ul >
< / li >
< li > < a class = "reference internal" href = "#other" id = "id10 7 "> Other< / a > < ul >
< li > < a class = "reference internal" href = "#catsplosion" id = "id10 8 "> catsplosion< / a > < / li >
< li > < a class = "reference internal" href = "#dfusion" id = "id1 09 "> dfusion< / a > < / li >
< li > < a class = "reference internal" href = "#misery" id = "id11 0 "> misery< / a > < / li >
< li > < a class = "reference internal" href = "#other" id = "id10 8 "> Other< / a > < ul >
< li > < a class = "reference internal" href = "#catsplosion" id = "id10 9 "> catsplosion< / a > < / li >
< li > < a class = "reference internal" href = "#dfusion" id = "id1 1 0"> dfusion< / a > < / li >
< li > < a class = "reference internal" href = "#misery" id = "id11 1 "> misery< / a > < / li >
< / ul >
< / li >
< / ul >
< / li >
< li > < a class = "reference internal" href = "#scripts" id = "id11 1 "> Scripts< / a > < ul >
< li > < a class = "reference internal" href = "#fix" id = "id11 2 "> fix/*< / a > < / li >
< li > < a class = "reference internal" href = "#gui" id = "id11 3 "> gui/*< / a > < / li >
< li > < a class = "reference internal" href = "#quicksave" id = "id11 4 "> quicksave< / a > < / li >
< li > < a class = "reference internal" href = "#setfps" id = "id11 5 "> setfps< / a > < / li >
< li > < a class = "reference internal" href = "#siren" id = "id11 6 "> siren< / a > < / li >
< li > < a class = "reference internal" href = "#growcrops" id = "id11 7 "> growcrops< / a > < / li >
< li > < a class = "reference internal" href = "#removebadthoughts" id = "id11 8 "> removebadthoughts< / a > < / li >
< li > < a class = "reference internal" href = "#slayrace" id = "id1 19 "> slayrace< / a > < / li >
< li > < a class = "reference internal" href = "#magmasource" id = "id12 0 "> magmasource< / a > < / li >
< li > < a class = "reference internal" href = "#digfort" id = "id12 1 "> digfort< / a > < / li >
< li > < a class = "reference internal" href = "#superdwarf" id = "id12 2 "> superdwarf< / a > < / li >
< li > < a class = "reference internal" href = "#drainaquifer" id = "id12 3 "> drainaquifer< / a > < / li >
< li > < a class = "reference internal" href = "#deathcause" id = "id12 4 "> deathcause< / a > < / li >
< li > < a class = "reference internal" href = "#scripts" id = "id11 2 "> Scripts< / a > < ul >
< li > < a class = "reference internal" href = "#fix" id = "id11 3 "> fix/*< / a > < / li >
< li > < a class = "reference internal" href = "#gui" id = "id11 4 "> gui/*< / a > < / li >
< li > < a class = "reference internal" href = "#quicksave" id = "id11 5 "> quicksave< / a > < / li >
< li > < a class = "reference internal" href = "#setfps" id = "id11 6 "> setfps< / a > < / li >
< li > < a class = "reference internal" href = "#siren" id = "id11 7 "> siren< / a > < / li >
< li > < a class = "reference internal" href = "#growcrops" id = "id11 8 "> growcrops< / a > < / li >
< li > < a class = "reference internal" href = "#removebadthoughts" id = "id11 9 "> removebadthoughts< / a > < / li >
< li > < a class = "reference internal" href = "#slayrace" id = "id1 20 "> slayrace< / a > < / li >
< li > < a class = "reference internal" href = "#magmasource" id = "id12 1 "> magmasource< / a > < / li >
< li > < a class = "reference internal" href = "#digfort" id = "id12 2 "> digfort< / a > < / li >
< li > < a class = "reference internal" href = "#superdwarf" id = "id12 3 "> superdwarf< / a > < / li >
< li > < a class = "reference internal" href = "#drainaquifer" id = "id12 4 "> drainaquifer< / a > < / li >
< li > < a class = "reference internal" href = "#deathcause" id = "id12 5 "> deathcause< / a > < / li >
< / ul >
< / li >
< li > < a class = "reference internal" href = "#in-game-interface-tools" id = "id125" > In-game interface tools< / a > < ul >
< li > < a class = "reference internal" href = "#dwarf-manipulator" id = "id126" > Dwarf Manipulator< / a > < / li >
< li > < a class = "reference internal" href = "#gui-liquids" id = "id127" > gui/liquids< / a > < / li >
< li > < a class = "reference internal" href = "#gui-mechanisms" id = "id128" > gui/mechanisms< / a > < / li >
< li > < a class = "reference internal" href = "#gui-rename" id = "id129" > gui/rename< / a > < / li >
< li > < a class = "reference internal" href = "#gui-room-list" id = "id130" > gui/room-list< / a > < / li >
< li > < a class = "reference internal" href = "#gui-choose-weapons" id = "id131" > gui/choose-weapons< / a > < / li >
< li > < a class = "reference internal" href = "#in-game-interface-tools" id = "id126" > In-game interface tools< / a > < ul >
< li > < a class = "reference internal" href = "#dwarf-manipulator" id = "id127" > Dwarf Manipulator< / a > < / li >
< li > < a class = "reference internal" href = "#gui-liquids" id = "id128" > gui/liquids< / a > < / li >
< li > < a class = "reference internal" href = "#gui-mechanisms" id = "id129" > gui/mechanisms< / a > < / li >
< li > < a class = "reference internal" href = "#gui-rename" id = "id130" > gui/rename< / a > < / li >
< li > < a class = "reference internal" href = "#gui-room-list" id = "id131" > gui/room-list< / a > < / li >
< li > < a class = "reference internal" href = "#gui-choose-weapons" id = "id132" > gui/choose-weapons< / a > < / li >
< li > < a class = "reference internal" href = "#gui-guide-path" id = "id133" > gui/guide-path< / a > < / li >
< li > < a class = "reference internal" href = "#gui-workshop-job" id = "id134" > gui/workshop-job< / a > < / li >
< li > < a class = "reference internal" href = "#gui-workflow" id = "id135" > gui/workflow< / a > < / li >
< li > < a class = "reference internal" href = "#gui-assign-rack" id = "id136" > gui/assign-rack< / a > < / li >
< / ul >
< / li >
< li > < a class = "reference internal" href = "#behavior-mods" id = "id132" > Behavior Mods< / a > < ul >
< li > < a class = "reference internal" href = "#siege-engine" id = "id133" > Siege Engine< / a > < ul >
< li > < a class = "reference internal" href = "#rationale" id = "id13 4 "> Rationale< / a > < / li >
< li > < a class = "reference internal" href = "#configuration-ui" id = "id1 35 "> Configuration UI< / a > < / li >
< li > < a class = "reference internal" href = "#behavior-mods" id = "id13 7 "> Behavior Mods< / a > < ul >
< li > < a class = "reference internal" href = "#siege-engine" id = "id13 8 "> Siege Engine< / a > < ul >
< li > < a class = "reference internal" href = "#rationale" id = "id13 9 "> Rationale< / a > < / li >
< li > < a class = "reference internal" href = "#configuration-ui" id = "id1 40 "> Configuration UI< / a > < / li >
< / ul >
< / li >
< li > < a class = "reference internal" href = "#power-meter" id = "id1 36 "> Power Meter< / a > < / li >
< li > < a class = "reference internal" href = "#steam-engine" id = "id1 37 "> Steam Engine< / a > < ul >
< li > < a class = "reference internal" href = "#id1" id = "id1 38 "> Rationale< / a > < / li >
< li > < a class = "reference internal" href = "#construction" id = "id1 39 "> Construction< / a > < / li >
< li > < a class = "reference internal" href = "#operation" id = "id14 0 "> Operation< / a > < / li >
< li > < a class = "reference internal" href = "#explosions" id = "id14 1 "> Explosions< / a > < / li >
< li > < a class = "reference internal" href = "#save-files" id = "id14 2 "> Save files< / a > < / li >
< li > < a class = "reference internal" href = "#power-meter" id = "id1 41 "> Power Meter< / a > < / li >
< li > < a class = "reference internal" href = "#steam-engine" id = "id1 42 "> Steam Engine< / a > < ul >
< li > < a class = "reference internal" href = "#id1" id = "id1 4 3"> Rationale< / a > < / li >
< li > < a class = "reference internal" href = "#construction" id = "id1 44 "> Construction< / a > < / li >
< li > < a class = "reference internal" href = "#operation" id = "id14 5 "> Operation< / a > < / li >
< li > < a class = "reference internal" href = "#explosions" id = "id14 6 "> Explosions< / a > < / li >
< li > < a class = "reference internal" href = "#save-files" id = "id14 7 "> Save files< / a > < / li >
< / ul >
< / li >
< li > < a class = "reference internal" href = "#add-spatter" id = "id14 3 "> Add Spatter< / a > < / li >
< li > < a class = "reference internal" href = "#add-spatter" id = "id14 8 "> Add Spatter< / a > < / li >
< / ul >
< / li >
< / ul >
@ -732,6 +737,8 @@ by 'reveal hell'. This is nice for digging under rivers.</p>
< li > 'fastdwarf 1 1' enables both< / li >
< li > 'fastdwarf 0' disables both< / li >
< li > 'fastdwarf 1' enables speedydwarf and disables teledwarf< / li >
< li > 'fastdwarf 2 ...' sets a native debug flag in the game memory
that implements an even more aggressive version of speedydwarf.< / li >
< / ul >
< / blockquote >
< / div >
@ -1846,11 +1853,49 @@ to make them stand out more in the list.</td>
< / tbody >
< / table >
< / div >
< div class = "section" id = "fix-armory" >
< h3 > < a class = "toc-backref" href = "#id82" > fix-armory< / a > < / h3 >
< p > Enables a fix for storage of squad equipment in barracks.< / p >
< p > Specifically, it prevents your haulers from moving that equipment
to stockpiles, and instead queues jobs to store it on weapon racks,
armor stands, and in containers.< / p >
< div class = "note" >
< p class = "first admonition-title" > Note< / p >
< p > In order to actually be used, weapon racks have to be patched and
assigned to a squad. See documentation for < tt class = "docutils literal" > < span class = "pre" > gui/assign-rack< / span > < / tt > below.< / p >
< p class = "last" > Also, the default capacity of armor stands is way too low, so check out
< a class = "reference external" href = "http://www.bay12games.com/dwarves/mantisbt/view.php?id=1445" > http://www.bay12games.com/dwarves/mantisbt/view.php?id=1445< / a >
for a patch addressing that too.< / p >
< / div >
< p > Note that the buildings in the armory are used as follows:< / p >
< ul class = "simple" >
< li > Weapon racks when fixed are used to store any assigned weapons.
Each rack belongs to a specific squad, and can store up to 5 weapons.< / li >
< li > Armor stands belong to specific squad members and are used for
armor and shields. By default one stand can store one item of each
type (hence one boot or gauntlet); if patched, the limit is raised to 2,
which should be sufficient.< / li >
< li > Cabinets are used to store assigned clothing for a specific squad member.
They are < strong > never< / strong > used to store owned clothing.< / li >
< li > Chests (boxes, etc) are used for a flask, backpack or quiver assigned
to the squad member. Due to a bug, food is dropped out of the backpack
when it is stored.< / li >
< / ul >
< p > Contrary to the common misconception, all these uses are controlled by the
< em > Individual Equipment< / em > usage flag; the Squad Equipment mode means nothing.< / p >
< div class = "warning" >
< p class = "first admonition-title" > Warning< / p >
< p class = "last" > Although armor stands, cabinets and chests properly belong only to one
squad member, the owner of the building used to create the barracks will
randomly use any containers inside the room. Thus, it is recommended to
always create the armory from a weapon rack.< / p >
< / div >
< / div >
< / div >
< div class = "section" id = "mode-switch-and-reclaim" >
< h2 > < a class = "toc-backref" href = "#id82" > Mode switch and reclaim< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id8 3 "> Mode switch and reclaim< / a > < / h2 >
< div class = "section" id = "lair" >
< h3 > < a class = "toc-backref" href = "#id83" > lair< / a > < / h3 >
< h3 > < a class = "toc-backref" href = "#id8 4 "> lair< / a > < / h3 >
< p > This command allows you to mark the map as 'monster lair', preventing item
scatter on abandon. When invoked as 'lair reset', it does the opposite.< / p >
< p > Unlike reveal, this command doesn't save the information about tiles - you
@ -1870,7 +1915,7 @@ won't be able to restore state of real monster lairs using 'lair reset'.</p>
< / blockquote >
< / div >
< div class = "section" id = "mode" >
< h3 > < a class = "toc-backref" href = "#id8 4 "> mode< / a > < / h3 >
< h3 > < a class = "toc-backref" href = "#id8 5 "> mode< / a > < / h3 >
< p > This command lets you see and change the game mode directly.
Not all combinations are good for every situation and most of them will
produce undesirable results. There are a few good ones though.< / p >
@ -1890,9 +1935,9 @@ You just created a returnable mountain home and gained an adventurer.</p>
< / div >
< / div >
< div class = "section" id = "visualizer-and-data-export" >
< h2 > < a class = "toc-backref" href = "#id8 5 "> Visualizer and data export< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id8 6 "> Visualizer and data export< / a > < / h2 >
< div class = "section" id = "ssense-stonesense" >
< h3 > < a class = "toc-backref" href = "#id8 6 "> ssense / stonesense< / a > < / h3 >
< h3 > < a class = "toc-backref" href = "#id8 7 "> ssense / stonesense< / a > < / h3 >
< p > An isometric visualizer that runs in a second window. This requires working
graphics acceleration and at least a dual core CPU (otherwise it will slow
down DF).< / p >
@ -1905,19 +1950,19 @@ thread: <a class="reference external" href="http://www.bay12forums.com/smf/index
< a class = "reference external" href = "http://df.magmawiki.com/index.php/Utility:Stonesense/Content_repository" > http://df.magmawiki.com/index.php/Utility:Stonesense/Content_repository< / a > < / p >
< / div >
< div class = "section" id = "mapexport" >
< h3 > < a class = "toc-backref" href = "#id8 7 "> mapexport< / a > < / h3 >
< h3 > < a class = "toc-backref" href = "#id8 8 "> mapexport< / a > < / h3 >
< p > Export the current loaded map as a file. This will be eventually usable
with visualizers.< / p >
< / div >
< div class = "section" id = "dwarfexport" >
< h3 > < a class = "toc-backref" href = "#id8 8 "> dwarfexport< / a > < / h3 >
< h3 > < a class = "toc-backref" href = "#id8 9 "> dwarfexport< / a > < / h3 >
< p > Export dwarves to RuneSmith-compatible XML.< / p >
< / div >
< / div >
< div class = "section" id = "job-management" >
< h2 > < a class = "toc-backref" href = "#id 8 9"> Job management< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id 90 "> Job management< / a > < / h2 >
< div class = "section" id = "job" >
< h3 > < a class = "toc-backref" href = "#id9 0 "> job< / a > < / h3 >
< h3 > < a class = "toc-backref" href = "#id9 1 "> job< / a > < / h3 >
< p > Command for general job query and manipulation.< / p >
< dl class = "docutils" >
< dt > Options:< / dt >
@ -1936,7 +1981,7 @@ in a workshop, or the unit/jobs screen.</dd>
< / dl >
< / div >
< div class = "section" id = "job-material" >
< h3 > < a class = "toc-backref" href = "#id9 1 "> job-material< / a > < / h3 >
< h3 > < a class = "toc-backref" href = "#id9 2 "> job-material< / a > < / h3 >
< p > Alter the material of the selected job.< / p >
< p > Invoked as:< / p >
< pre class = "literal-block" >
@ -1954,7 +1999,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 = "#id9 2 "> job-duplicate< / a > < / h3 >
< h3 > < a class = "toc-backref" href = "#id9 3 "> job-duplicate< / a > < / h3 >
< dl class = "docutils" >
< dt > Duplicate the selected job in a workshop:< / dt >
< dd > < ul class = "first last simple" >
@ -1965,7 +2010,7 @@ instantly duplicates the job.</li>
< / dl >
< / div >
< div class = "section" id = "workflow" >
< h3 > < a class = "toc-backref" href = "#id9 3 "> workflow< / a > < / h3 >
< h3 > < a class = "toc-backref" href = "#id9 4 "> workflow< / a > < / h3 >
< p > Manage control of repeat jobs.< / p >
< p > Usage:< / p >
< blockquote >
@ -1989,7 +2034,7 @@ Otherwise, enables or disables any of the following options:</p>
< / dl >
< / blockquote >
< div class = "section" id = "function" >
< h4 > < a class = "toc-backref" href = "#id9 4 "> Function< / a > < / h4 >
< h4 > < a class = "toc-backref" href = "#id9 5 "> 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 >
@ -1998,9 +2043,11 @@ produce that kind of item are automatically suspended and resumed as the item
amount goes above or below the limit. The gap specifies how much below the limit
the amount has to drop before jobs are resumed; this is intended to reduce
the frequency of jobs being toggled.< / p >
< p > Check out the < tt class = "docutils literal" > gui/workflow< / tt > script below for a simple front-end integrated
in the game UI.< / p >
< / div >
< div class = "section" id = "constraint-examples" >
< h4 > < a class = "toc-backref" href = "#id9 5 "> Constraint examples< / a > < / h4 >
< h4 > < a class = "toc-backref" href = "#id9 6 "> 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
@ -2039,15 +2086,15 @@ command.
< / div >
< / div >
< div class = "section" id = "fortress-activity-management" >
< h2 > < a class = "toc-backref" href = "#id9 6 "> Fortress activity management< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id9 7 "> Fortress activity management< / a > < / h2 >
< div class = "section" id = "seedwatch" >
< h3 > < a class = "toc-backref" href = "#id9 7 "> seedwatch< / a > < / h3 >
< h3 > < a class = "toc-backref" href = "#id9 8 "> 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 = "#id9 8 "> zone< / a > < / h3 >
< h3 > < a class = "toc-backref" href = "#id9 9 "> zone< / a > < / h3 >
< p > Helps a bit with managing activity zones (pens, pastures and pits) and cages.< / p >
< p > Options:< / p >
< blockquote >
@ -2146,7 +2193,7 @@ for war/hunt). Negatable.</td>
< / table >
< / blockquote >
< div class = "section" id = "usage-with-single-units" >
< h4 > < a class = "toc-backref" href = "#id 99 "> Usage with single units< / a > < / h4 >
< h4 > < a class = "toc-backref" href = "#id 100 "> 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
@ -2155,7 +2202,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 = "#id10 0 "> Usage with filters< / a > < / h4 >
< h4 > < a class = "toc-backref" href = "#id10 1 "> 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.
@ -2173,14 +2220,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 = "#id10 1 "> Mass-renaming< / a > < / h4 >
< h4 > < a class = "toc-backref" href = "#id10 2 "> 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 = "#id10 2 "> Cage zones< / a > < / h4 >
< h4 > < a class = "toc-backref" href = "#id10 3 "> 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
@ -2191,7 +2238,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 = "#id10 3 "> Examples< / a > < / h4 >
< h4 > < a class = "toc-backref" href = "#id10 4 "> 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
@ -2217,7 +2264,7 @@ on the current default zone.</dd>
< / div >
< / div >
< div class = "section" id = "autonestbox" >
< h3 > < a class = "toc-backref" href = "#id10 4 "> autonestbox< / a > < / h3 >
< h3 > < a class = "toc-backref" href = "#id10 5 "> 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
@ -2246,7 +2293,7 @@ frames between runs.</td>
< / blockquote >
< / div >
< div class = "section" id = "autobutcher" >
< h3 > < a class = "toc-backref" href = "#id10 5 "> autobutcher< / a > < / h3 >
< h3 > < a class = "toc-backref" href = "#id10 6 "> 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
@ -2354,7 +2401,7 @@ autobutcher.bat
< / pre >
< / div >
< div class = "section" id = "autolabor" >
< h3 > < a class = "toc-backref" href = "#id10 6 "> autolabor< / a > < / h3 >
< h3 > < a class = "toc-backref" href = "#id10 7 "> 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
@ -2368,14 +2415,14 @@ while it is enabled.</p>
< / div >
< / div >
< div class = "section" id = "other" >
< h2 > < a class = "toc-backref" href = "#id10 7 "> Other< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id10 8 "> Other< / a > < / h2 >
< div class = "section" id = "catsplosion" >
< h3 > < a class = "toc-backref" href = "#id10 8 "> catsplosion< / a > < / h3 >
< h3 > < a class = "toc-backref" href = "#id10 9 "> 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 = "#id1 09 "> dfusion< / a > < / h3 >
< h3 > < a class = "toc-backref" href = "#id1 1 0"> dfusion< / a > < / h3 >
< p > This is the DFusion lua plugin system by warmist/darius, running as a DFHack plugin.< / p >
< p > See the bay12 thread for details: < a class = "reference external" href = "http://www.bay12forums.com/smf/index.php?topic=69682.15" > http://www.bay12forums.com/smf/index.php?topic=69682.15< / a > < / p >
< p > Confirmed working DFusion plugins:< / p >
@ -2397,7 +2444,7 @@ twice.</p>
< / div >
< / div >
< div class = "section" id = "misery" >
< h3 > < a class = "toc-backref" href = "#id11 0 "> misery< / a > < / h3 >
< h3 > < a class = "toc-backref" href = "#id11 1 "> 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" >
@ -2421,7 +2468,7 @@ twice.</p>
< / div >
< / div >
< div class = "section" id = "scripts" >
< h1 > < a class = "toc-backref" href = "#id11 1 "> Scripts< / a > < / h1 >
< h1 > < a class = "toc-backref" href = "#id11 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 >
@ -2430,7 +2477,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 = "#id11 2 "> fix/*< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id11 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 >
@ -2456,22 +2503,22 @@ caused by autodump bugs or other hacking mishaps.</p>
< / ul >
< / div >
< div class = "section" id = "gui" >
< h2 > < a class = "toc-backref" href = "#id11 3 "> gui/*< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id11 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 = "quicksave" >
< h2 > < a class = "toc-backref" href = "#id11 4 "> quicksave< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id11 5 "> 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 = "#id11 5 "> setfps< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id11 6 "> 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 = "#id11 6 "> siren< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id11 7 "> 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
@ -2479,7 +2526,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 = "#id11 7 "> growcrops< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id11 8 "> 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.
@ -2491,7 +2538,7 @@ growcrops plump 40
< / pre >
< / div >
< div class = "section" id = "removebadthoughts" >
< h2 > < a class = "toc-backref" href = "#id11 8 "> removebadthoughts< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id11 9 "> 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,
@ -2505,7 +2552,7 @@ but in the short term your dwarves will get much more joyful.</p>
quickly after you unpause.< / p >
< / div >
< div class = "section" id = "slayrace" >
< h2 > < a class = "toc-backref" href = "#id1 19 "> slayrace< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id1 20 "> slayrace< / a > < / h2 >
< p > Kills any unit of a given race.< / p >
< p > With no argument, lists the available races.< / p >
< p > With the special argument < tt class = "docutils literal" > him< / tt > , targets only the selected creature.< / p >
@ -2531,7 +2578,7 @@ slayrace elve magma
< / pre >
< / div >
< div class = "section" id = "magmasource" >
< h2 > < a class = "toc-backref" href = "#id12 0 "> magmasource< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id12 1 "> magmasource< / a > < / h2 >
< p > Create an infinite magma source on a tile.< / p >
< p > This script registers a map tile as a magma source, and every 12 game ticks
that tile receives 1 new unit of flowing magma.< / p >
@ -2546,7 +2593,7 @@ To remove all placed sources, call <tt class="docutils literal">magmasource stop
< p > With no argument, this command shows an help message and list existing sources.< / p >
< / div >
< div class = "section" id = "digfort" >
< h2 > < a class = "toc-backref" href = "#id12 1 "> digfort< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id12 2 "> 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 >
@ -2564,7 +2611,7 @@ To skip a row in your design, use a single <tt class="docutils literal">;</tt>.<
< p > The script takes the plan filename, starting from the root df folder.< / p >
< / div >
< div class = "section" id = "superdwarf" >
< h2 > < a class = "toc-backref" href = "#id12 2 "> superdwarf< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id12 3 "> 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" >
@ -2574,17 +2621,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 = "#id12 3 "> drainaquifer< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id12 4 "> 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 = "#id12 4 "> deathcause< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id12 5 "> deathcause< / a > < / h2 >
< p > Focus a body part ingame, and this script will display the cause of death of
the creature.< / p >
< / div >
< / div >
< div class = "section" id = "in-game-interface-tools" >
< h1 > < a class = "toc-backref" href = "#id12 5 "> In-game interface tools< / a > < / h1 >
< h1 > < a class = "toc-backref" href = "#id12 6 "> 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" >
@ -2595,7 +2642,7 @@ display the word "DFHack" on the screen somewhere while active.</p>
guideline because it arguably just fixes small usability bugs in the game UI.< / p >
< / div >
< div class = "section" id = "dwarf-manipulator" >
< h2 > < a class = "toc-backref" href = "#id12 6 "> Dwarf Manipulator< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id12 7 "> Dwarf Manipulator< / a > < / h2 >
< p > Implemented by the manipulator plugin. To activate, open the unit screen and
press 'l'.< / p >
< p > This tool implements a Dwarf Therapist-like interface within the game UI. The
@ -2631,13 +2678,13 @@ cursor onto that cell instead of toggling it.</li>
directly to the main dwarf mode screen.< / p >
< / div >
< div class = "section" id = "gui-liquids" >
< h2 > < a class = "toc-backref" href = "#id12 7 "> gui/liquids< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id12 8 "> gui/liquids< / a > < / h2 >
< p > To use, bind to a key and activate in the 'k' mode.< / p >
< p > While active, use the suggested keys to switch the usual liquids parameters, and Enter
to select the target area and apply changes.< / p >
< / div >
< div class = "section" id = "gui-mechanisms" >
< h2 > < a class = "toc-backref" href = "#id12 8 "> gui/mechanisms< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id12 9 "> gui/mechanisms< / a > < / h2 >
< p > To use, bind to a key and activate in the 'q' mode.< / p >
< p > Lists mechanisms connected to the building, and their links. Navigating the list centers
the view on the relevant linked buildings.< / p >
@ -2646,7 +2693,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 = "#id1 29 "> gui/rename< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id1 30 "> 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 >
@ -2662,14 +2709,14 @@ It is also possible to rename zones from the 'i' menu.</p>
< p > The < tt class = "docutils literal" > building< / tt > or < tt class = "docutils literal" > unit< / tt > options are automatically assumed when in relevant ui state.< / p >
< / div >
< div class = "section" id = "gui-room-list" >
< h2 > < a class = "toc-backref" href = "#id13 0 "> gui/room-list< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id13 1 "> gui/room-list< / a > < / h2 >
< p > To use, bind to a key and activate in the 'q' mode, either immediately or after opening
the assign owner page.< / p >
< p > The script lists other rooms owned by the same owner, or by the unit selected in the assign
list, and allows unassigning them.< / p >
< / div >
< div class = "section" id = "gui-choose-weapons" >
< h2 > < a class = "toc-backref" href = "#id13 1 "> gui/choose-weapons< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id13 2 "> gui/choose-weapons< / a > < / h2 >
< p > Bind to a key, 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
in the selected squad or position to use a specific weapon type matching the assigned
@ -2678,9 +2725,84 @@ only that entry, and does it even if it is not 'individual choice'.</p>
< p > Rationale: individual choice seems to be unreliable when there is a weapon shortage,
and may lead to inappropriate weapons being selected.< / p >
< / div >
< div class = "section" id = "gui-guide-path" >
< h2 > < a class = "toc-backref" href = "#id133" > gui/guide-path< / a > < / h2 >
< p > Bind to a key, and activate in the Hauling menu with the cursor over a Guide order.< / p >
< p > The script displays the cached path that will be used by the order; the game
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 = "#id134" > gui/workshop-job< / a > < / h2 >
< p > Bind to a key, and activate with a job selected in a workshop in the 'q' mode.< / p >
< p > The script shows a list of the input reagents of the selected job, and allows changing
them like the < tt class = "docutils literal" > job < span class = "pre" > item-type< / span > < / tt > and < tt class = "docutils literal" > job < span class = "pre" > item-material< / span > < / tt > commands.< / p >
< p > Specifically, pressing the 'i' key pops up a dialog that lets you select an item
type from a list. Pressing 'm', unless the item type does not allow a material,
lets you choose a material.< / p >
< div class = "warning" >
< p class = "first admonition-title" > Warning< / p >
< p class = "last" > Due to the way input reagent matching works in DF, you must select an item type
if you select a material, or the material will be matched incorrectly in some cases.
If you press 'm' without choosing an item type, the script will auto-choose it
if there is only one valid choice, or pop up an error message box instead of the
material selection dialog.< / p >
< / div >
< p > Note that both materials and item types presented in the dialogs are filtered
by the job input flags, and even the selected item type for material selection,
or material for item type selection. Many jobs would let you select only one
input item type.< / p >
< p > For example, if you choose a < em > plant< / em > input item type for your prepare meal job,
it will only let you select cookable materials.< / p >
< p > If you choose a < em > barrel< / em > item instead (meaning things stored in barrels, like
drink or milk), it will let you select any material, since in this case the
material is matched against the barrel itself. Then, if you select, say, iron,
and then try to change the input item type, now it won't let you select < em > plant< / em > ;
you have to unset the material first.< / p >
< / div >
< div class = "section" id = "gui-workflow" >
< h2 > < a class = "toc-backref" href = "#id135" > gui/workflow< / a > < / h2 >
< p > Bind to a key, and activate with a job selected in a workshop in the 'q' mode.< / p >
< p > This script provides a simple interface to constraints managed by the workflow
plugin. When active, it displays a list of all constraints applicable to the
current job, and their current status.< / p >
< p > A constraint specifies a certain range to be compared against either individual
< em > item< / em > or whole < em > stack< / em > count, an item type and optionally a material. When the
current count is below the lower bound of the range, the job is resumed; if it
is above or equal to the top bound, it will be suspended. Within the range, the
specific constraint has no effect on the job; others may still affect it.< / p >
< p > Pressing 'c' switches the current constraint between counting stacks or items.
Pressing 'm' lets you input the range directly; 'e', 'r', 'd', 'f' adjust the
bounds by 1, 5, or 25 depending on the direction and the 'c' setting (counting
items and expanding the range each gives a 5x bonus).< / p >
< p > Pressing 'n' produces a list of possible outputs of this job as guessed by
workflow, and lets you create a new constraint by just choosing one. If you
don't see the choice you want in the list, it likely means you have to adjust
the job material first using < tt class = "docutils literal" > job < span class = "pre" > item-material< / span > < / tt > or < tt class = "docutils literal" > < span class = "pre" > gui/workshop-job< / span > < / tt > ,
as described in < tt class = "docutils literal" > workflow< / tt > documentation above. In this manner, this feature
can be used for troubleshooting jobs that don't match the right constraints.< / p >
< / div >
< div class = "section" id = "gui-assign-rack" >
< h2 > < a class = "toc-backref" href = "#id136" > gui/assign-rack< / a > < / h2 >
< p > Bind to a key, and activate when viewing a weapon rack in the 'q' mode.< / p >
< p > This script is part of a group of related fixes to make the armory storage
work again. The existing issues are:< / p >
< ul class = "simple" >
< li > Weapon racks have to each be assigned to a specific squad, like with
beds/boxes/armor stands and individual squad members, but nothing in
the game does this. This issue is what this script addresses.< / li >
< li > Even if assigned by the script, < strong > the game will unassign the racks again without a binary patch< / strong > .
Check the comments for this bug to get it:
< a class = "reference external" href = "http://www.bay12games.com/dwarves/mantisbt/view.php?id=1445" > http://www.bay12games.com/dwarves/mantisbt/view.php?id=1445< / a > < / li >
< li > Haulers still take equpment stored in the armory away to the stockpiles,
unless the < tt class = "docutils literal" > < span class = "pre" > fix-armory< / span > < / tt > plugin above is used.< / li >
< / ul >
< p > The script interface simply lets you designate one of the squads that
are assigned to the barracks/armory containing the selected stand as
the intended user.< / p >
< / div >
< / div >
< div class = "section" id = "behavior-mods" >
< h1 > < a class = "toc-backref" href = "#id132" > Behavior Mods< / a > < / h1 >
< h1 > < a class = "toc-backref" href = "#id13 7 "> 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 >
@ -2691,20 +2813,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 = "#id13 3 "> Siege Engine< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id13 8 "> 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 = "#id13 4 "> Rationale< / a > < / h3 >
< h3 > < a class = "toc-backref" href = "#id13 9 "> 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 35 "> Configuration UI< / a > < / h3 >
< h3 > < a class = "toc-backref" href = "#id1 40 "> 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 and activate after selecting a siege engine in 'q' mode.< / p >
< p > The main mode displays the current target, selected ammo item type, linked stockpiles and
@ -2725,7 +2847,7 @@ menu.</p>
< / div >
< / div >
< div class = "section" id = "power-meter" >
< h2 > < a class = "toc-backref" href = "#id1 36 "> Power Meter< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id1 41 "> 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
@ -2734,11 +2856,11 @@ key and activate after selecting Pressure Plate 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 37 "> Steam Engine< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id1 42 "> 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 = "#id1 38 "> Rationale< / a > < / h3 >
< h3 > < a class = "toc-backref" href = "#id1 4 3"> 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
@ -2749,7 +2871,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 = "#id1 39 "> Construction< / a > < / h3 >
< h3 > < a class = "toc-backref" href = "#id1 44 "> 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 >
@ -2773,7 +2895,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 = "#id14 0 "> Operation< / a > < / h3 >
< h3 > < a class = "toc-backref" href = "#id14 5 "> 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
@ -2804,7 +2926,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 = "#id14 1 "> Explosions< / a > < / h3 >
< h3 > < a class = "toc-backref" href = "#id14 6 "> 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
@ -2813,7 +2935,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 = "#id14 2 "> Save files< / a > < / h3 >
< h3 > < a class = "toc-backref" href = "#id14 7 "> 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
@ -2824,7 +2946,7 @@ being generated.</p>
< / div >
< / div >
< div class = "section" id = "add-spatter" >
< h2 > < a class = "toc-backref" href = "#id14 3 "> Add Spatter< / a > < / h2 >
< h2 > < a class = "toc-backref" href = "#id14 8 "> 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