DFHack ScriptsΒΆ
Lua or ruby scripts placed in the hack/scripts/
directory
are considered for execution as if they were native DFHack commands.
The following pages document all the scripts in the DFHack standard library.
- Basic Scripts
- adaptation
- add-thought
- adv-max-skills
- armoks-blessing
- autofarm
- autolabor-artisans
- autounsuspend
- ban-cooking
- binpatch
- brainwash
- burial
- catsplosion
- colonies
- combine-drinks
- combine-plants
- create-items
- deathcause
- deteriorateclothes
- deterioratecorpses
- deterioratefood
- digfort
- drain-aquifer
- elevate-mental
- elevate-physical
- embark-skills
- emigration
- exportlegends
- exterminate
- feature
- fix-ster
- fixnaked
- forum-dwarves
- full-heal
- gaydar
- growcrops
- hfs-pit
- hotkey-notes
- item-descriptions
- launch
- lever
- load-save
- locate-ore
- lua
- make-legendary
- make-monarch
- markdown
- masspit
- migrants-now
- multicmd
- names
- open-legends
- points
- position
- pref-adjust
- prefchange
- putontable
- quicksave
- region-pops
- rejuvenate
- remove-stress
- remove-wear
- repeat
- setfps
- show-unit-syndromes
- siren
- source
- spawnunit
- startdwarf
- starvingdead
- stripcaged
- superdwarf
- teleport
- tidlers
- troubleshoot-item
- twaterlvl
- undump-buildings
- unsuspend
- view-item-info
- warn-starving
- weather
- Development Scripts
- devel/all-bob
- devel/annc-monitor
- devel/check-release
- devel/clear-script-env
- devel/click-monitor
- devel/cmptiles
- devel/export-dt-ini
- devel/find-offsets
- devel/inject-raws
- devel/inspect-screen
- devel/light
- devel/list-filters
- devel/lsmem
- devel/lua-example
- devel/modstate-monitor
- devel/nuke-items
- devel/pop-screen
- devel/prepare-save
- devel/print-args
- devel/print-args2
- devel/save-version
- devel/scanitemother
- devel/send-key
- devel/spawn-unit-helper
- devel/test-perlin
- devel/unforbidall
- devel/unit-path
- devel/watch-minecarts
- Bugfixing Scripts
- GUI Scripts
- gui/advfort
- gui/advfort_items
- gui/assign-rack
- gui/autobutcher
- gui/choose-weapons
- gui/clone-uniform
- gui/companion-order
- gui/confirm-opts
- gui/create-item
- gui/dfstatus
- gui/extended-status
- gui/family-affairs
- gui/gm-editor
- gui/gm-unit
- gui/guide-path
- gui/hack-wish
- gui/hello-world
- gui/liquids
- gui/load-screen
- gui/manager-quantity
- gui/mechanisms
- gui/mod-manager
- gui/no-dfhack-init
- gui/power-meter
- gui/prerelease-warning
- gui/quickcmd
- gui/rename
- gui/room-list
- gui/settings-manager
- gui/siege-engine
- gui/stockpiles
- gui/unit-info-viewer
- gui/workflow
- gui/workshop-job
- Scripts for Modders
- modtools/add-syndrome
- modtools/anonymous-script
- modtools/create-item
- modtools/create-unit
- modtools/equip-item
- modtools/extra-gamelog
- modtools/force
- modtools/interaction-trigger
- modtools/invader-item-destroyer
- modtools/item-trigger
- modtools/moddable-gods
- modtools/outside-only
- modtools/projectile-trigger
- modtools/random-trigger
- modtools/raw-lint
- modtools/reaction-product-trigger
- modtools/reaction-trigger
- modtools/reaction-trigger-transition
- modtools/skill-change
- modtools/spawn-flow
- modtools/syndrome-trigger
- modtools/transform-unit