@ -69,121 +69,6 @@ The following pages document all the standard DFHack scripts.
/scripts/3rdparty/*/*
/scripts/3rdparty/*/*
.. _modtools/add-syndrome:
modtools/add-syndrome
=====================
This allows adding and removing syndromes from units.
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.
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.
modtools/create-unit
====================
Creates a unit.
.. _modtools/equip-item:
modtools/equip-item
===================
Force a unit to equip an item; useful in conjunction with the `` create ``
scripts above.
See also `forceequip` .
modtools/force
==============
This tool triggers events like megabeasts, caravans, invaders, and migrants.
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:
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.
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.
modtools/projectile-trigger
===========================
This triggers dfhack commands when projectiles hit their targets.
modtools/random-trigger
=======================
This triggers random dfhack commands with specified probabilities.
.. _modtools/reaction-product-trigger:
modtools/reaction-product-trigger
=================================
This triggers dfhack commands when reaction products are produced, once per
product.
.. _modtools/reaction-trigger:
modtools/reaction-trigger
=========================
Triggers dfhack commands when custom reactions complete, regardless of whether
it produced anything, once per completion.
.. _modtools/reaction-trigger-transition:
modtools/reaction-trigger-transition
====================================
Scans raw files and creates a file to help modders transition from
autoSyndrome to reaction-trigger.
.. _modtools/skill-change:
modtools/skill-change
=====================
Sets or modifies a skill of a unit.
modtools/spawn-flow
===================
Creates flows at the specified location.
modtools/syndrome-trigger
=========================
Triggers dfhack commands when syndromes are applied to units.
modtools/transform-unit
=======================
Transforms a unit into another unit type, possibly permanently.
ban-cooking
ban-cooking
===========
===========
A more convenient way to ban cooking various categories of foods than the
A more convenient way to ban cooking various categories of foods than the