and death info about a unit. Recommended keybinding Alt-I.
gui/workflow
============
Bind to a key (the example config uses Alt-W), and activate with a job selected
@ -451,76 +488,101 @@ part of the argument, backslashes are used: ``tool -argName4 [ \] asdf \foo ]``
sets ``argName4`` to ``\] asdf foo``. The ``*-trigger`` scripts have a similar
policy with backslashes.
add-syndrome
============
modtools/add-syndrome
=====================
This allows adding and removing syndromes from units.
anonymous-script
================
This allows running a short simple Lua script passed as an argument instead of running a script from a file. This is useful when you want to do something too complicated to make with the existing modtools, but too simple to be worth its own script file.
modtools/anonymous-script
=========================
This allows running a short simple Lua script passed as an argument instead of
running a script from a file. This is useful when you want to do something too
complicated to make with the existing modtools, but too simple to be worth its
own script file.
create-item
===========
This is mostly the same as the other create item tools, but it uses standard arguments. The other versions will be phased out in a later version.
modtools/create-item
====================
This is mostly the same as the other create item tools, but it uses standard
arguments. The other versions will be phased out in a later version.
force
=====
This tool triggers events like megabeasts, caravans, invaders, and migrants.
modtools/create-unit
====================
Creates a unit.
interaction-trigger
modtools/equip-item
===================
This triggers events when a unit uses an interaction on another. It works by scanning the announcements for the correct attack verb, so the attack verb must be specified in the interaction. It includes an option to suppress this announcement after it finds it.
invader-item-destroyer
======================
This tool configurably destroys invader items to prevent clutter or to prevent the player from getting tools exclusive to certain races.
Force a unit to equip an item; useful in conjunction with the ``create``
scripts above.
item-trigger
============
This powerful tool triggers DFHack commands when a unit equips, unequips, or attacks another unit with specified item types, specified item materials, or specified item contaminants.
modtools/force
==============
This tool triggers events like megabeasts, caravans, invaders, and migrants.
moddable-gods
=============
This is a standardized version of Putnam's moddableGods script. It allows you to create gods on the command-line.
modtools/interaction-trigger
============================
This triggers events when a unit uses an interaction on another. It works by
scanning the announcements for the correct attack verb, so the attack verb
must be specified in the interaction. It includes an option to suppress this
announcement after it finds it.
modtools/invader-item-destroyer
===============================
This tool configurably destroys invader items to prevent clutter or to prevent
the player from getting tools exclusive to certain races.
modtools/item-trigger
=====================
This powerful tool triggers DFHack commands when a unit equips, unequips, or
attacks another unit with specified item types, specified item materials, or
specified item contaminants.
modtools/moddable-gods
======================
This is a standardized version of Putnam's moddableGods script. It allows you
to create gods on the command-line.
outside-only
============
This allows you to specify certain custom buildings as outside only, or inside only. If the player attempts to build a building in an inappropriate location, the building will be destroyed.
modtools/outside-only
=====================
This allows you to specify certain custom buildings as outside only, or inside
only. If the player attempts to build a building in an inappropriate location,
the building will be destroyed.
projectile-trigger
==================
modtools/projectile-trigger
===========================
This triggers dfhack commands when projectiles hit their targets.
random-trigger
==============
modtools/random-trigger
=======================
This triggers random dfhack commands with specified probabilities.
reaction-product-trigger
========================
This triggers dfhack commands when reaction products are produced, once per product.
modtools/reaction-product-trigger
=================================
This triggers dfhack commands when reaction products are produced, once per
product.
reaction-trigger
================
Triggers dfhack commands when custom reactions complete, regardless of whether it produced anything, once per completion.
modtools/reaction-trigger
=========================
Triggers dfhack commands when custom reactions complete, regardless of whether
it produced anything, once per completion.
reaction-trigger-transition
===========================
Scans raw files and creates a file to help modders transition from autoSyndrome to reaction-trigger.
modtools/reaction-trigger-transition
====================================
Scans raw files and creates a file to help modders transition from
autoSyndrome to reaction-trigger.
skill-change
============
modtools/skill-change
=====================
Sets or modifies a skill of a unit.
spawn-flow
==========
modtools/spawn-flow
===================
Creates flows at the specified location.
syndrome-trigger
================
modtools/syndrome-trigger
=========================
Triggers dfhack commands when syndromes are applied to units.
transform-unit
==============
modtools/transform-unit
=======================
Transforms a unit into another unit type, possibly permanently.
@ -559,6 +621,10 @@ Usage::
autofarm default 30
autofarm threshold 150 helmet_plump tail_pig
autolabor-artisans
==================
Runs the ``autolabor`` plugin, with settings tuned for small but highly skilled workforces.
autounsuspend
=============
Automatically unsuspend construction jobs, on a recurring basis.
@ -632,6 +698,10 @@ 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``) unitlist viewscreen.
dfusion
=======
Interface to a lecacy script system.
digfort
=======
A script to designate an area for digging according to a plan in csv format.
@ -790,6 +860,11 @@ hotkey-notes
============
Lists the key, name, and jump position of your hotkeys in the DFHack console.
item-descriptions
=================
Exports a table with custom description text for every item in the game.
Used by ``view-item-info``.
lever
=====
Allow manipulation of in-game levers from the dfhack console.