2021-08-16 06:57:12 -06:00
|
|
|
# This dfhack config file automates common tasks for your forts.
|
2021-09-03 11:44:36 -06:00
|
|
|
# It was written for the Dreamfort set of quickfort blueprints, but the
|
2022-09-24 21:47:16 -06:00
|
|
|
# configuration here is useful for any fort! Copy this file to your
|
|
|
|
# dfhack-config/init directory to use. Feed free to edit or override
|
2021-09-03 11:44:36 -06:00
|
|
|
# to your liking.
|
2021-08-16 06:57:12 -06:00
|
|
|
|
2021-09-03 11:44:36 -06:00
|
|
|
# Uncomment this next line if you want buildingplan (and quickfort) to use only
|
2022-04-29 21:24:09 -06:00
|
|
|
# blocks (not bars or logs) for constructions and workshops. If you do
|
|
|
|
# uncomment, be sure to bring some blocks with you for starting workshops!
|
2021-08-16 06:57:12 -06:00
|
|
|
#on-new-fortress buildingplan set boulders false; buildingplan set logs false
|
|
|
|
|
2022-04-29 21:24:09 -06:00
|
|
|
# Disable cooking of useful item types when you start a new fortress.
|
|
|
|
on-new-fortress ban-cooking tallow; ban-cooking honey; ban-cooking oil; ban-cooking seeds; ban-cooking brew; ban-cooking fruit; ban-cooking mill; ban-cooking thread; ban-cooking milk; ban-cooking booze
|
|
|
|
|
|
|
|
# Show a warning dialog when units are starving
|
2021-08-16 06:57:12 -06:00
|
|
|
repeat -name warn-starving -time 10 -timeUnits days -command [ warn-starving ]
|
2022-04-29 21:24:09 -06:00
|
|
|
|
|
|
|
# Force dwarves to drop tattered clothing instead of clinging to the scraps
|
2021-08-16 06:57:12 -06:00
|
|
|
repeat -name cleanowned -time 1 -timeUnits months -command [ cleanowned X ]
|
2022-04-29 21:24:09 -06:00
|
|
|
|
|
|
|
# Automatically enqueue orders to shear and milk animals
|
2021-08-16 06:57:12 -06:00
|
|
|
repeat -name autoShearCreature -time 14 -timeUnits days -command [ workorder ShearCreature ]
|
|
|
|
repeat -name autoMilkCreature -time 14 -timeUnits days -command [ workorder "{\"job\":\"MilkCreature\",\"item_conditions\":[{\"condition\":\"AtLeast\",\"value\":2,\"flags\":[\"empty\"],\"item_type\":\"BUCKET\"}]}" ]
|
2022-04-29 21:24:09 -06:00
|
|
|
|
|
|
|
# Fulfill high-volume orders before slower once-daily orders
|
2021-09-01 14:04:23 -06:00
|
|
|
repeat -name orders-sort -time 1 -timeUnits days -command [ orders sort ]
|
2021-08-16 06:57:12 -06:00
|
|
|
|
2022-04-29 21:24:09 -06:00
|
|
|
# Don't let caravans bring barrels of blood and other useless liquids
|
|
|
|
fix/blood-del
|
2021-08-16 06:57:12 -06:00
|
|
|
|
2022-04-29 21:24:09 -06:00
|
|
|
# Manages crop assignment for farm plots
|
2021-08-16 06:57:12 -06:00
|
|
|
enable autofarm
|
|
|
|
autofarm default 30
|
|
|
|
autofarm threshold 150 GRASS_TAIL_PIG
|
|
|
|
|
2021-09-03 11:44:36 -06:00
|
|
|
# allows you to configure a stockpile to automatically mark items for melting
|
2021-08-16 06:57:12 -06:00
|
|
|
enable automelt
|
|
|
|
|
2021-09-03 11:44:36 -06:00
|
|
|
# creates manager orders to produce replacements for worn clothing
|
2021-08-16 06:57:12 -06:00
|
|
|
enable tailor
|
|
|
|
|
2022-04-29 21:24:09 -06:00
|
|
|
# auto-assigns nesting birds to nestbox zones and protects fertile eggs from
|
|
|
|
# being cooked/eaten
|
2022-08-02 11:42:54 -06:00
|
|
|
enable zone autonestbox nestboxes
|
2021-08-16 06:57:12 -06:00
|
|
|
|
2021-09-03 11:44:36 -06:00
|
|
|
# manages seed stocks
|
2021-08-16 06:57:12 -06:00
|
|
|
enable seedwatch
|
|
|
|
seedwatch all 30
|
|
|
|
|
|
|
|
# ensures important tasks get assigned to workers.
|
2022-12-06 16:53:17 -07:00
|
|
|
# otherwise many job types can get ignored in busy forts.
|
|
|
|
on-new-fortress prioritize -aq defaults
|
2021-08-16 06:57:12 -06:00
|
|
|
|
|
|
|
# autobutcher settings are saved in the savegame, so we only need to set them once.
|
|
|
|
# this way, any custom settings you set during gameplay are not overwritten
|
|
|
|
#
|
|
|
|
# feel free to change this to "target 0 0 0 0" if you don't expect to want to raise
|
|
|
|
# any animals not listed here -- you can always change it anytime during the game
|
|
|
|
# later if you change your mind.
|
2022-08-02 11:42:54 -06:00
|
|
|
on-new-fortress enable autobutcher
|
2021-08-16 06:57:12 -06:00
|
|
|
on-new-fortress autobutcher target 2 2 2 2 new
|
|
|
|
# dogs and cats. You should raise the limits for dogs if you will be training them
|
|
|
|
# for hunting or war.
|
|
|
|
on-new-fortress autobutcher target 2 2 2 2 DOG
|
|
|
|
on-new-fortress autobutcher target 1 1 2 2 CAT
|
|
|
|
# geese are our primary source of bones and leather. let the younglings grow up
|
|
|
|
# before we butcher so we get adult-scale products from them. BIRD_PEAFOWL_BLUE,
|
|
|
|
# BIRD_CHICKEN, and BIRD_TURKEY are also viable. feel free to change this to
|
|
|
|
# your bird of choice.
|
|
|
|
on-new-fortress autobutcher target 50 50 14 2 BIRD_GOOSE
|
|
|
|
# alpaca, sheep, and llamas give wool. we need to keep these numbers low, though, or
|
|
|
|
# else risk running out of grass for grazing.
|
|
|
|
on-new-fortress autobutcher target 2 2 4 2 ALPACA SHEEP LLAMA
|
|
|
|
# pigs give milk and meat and are zero-maintenance.
|
|
|
|
on-new-fortress autobutcher target 5 5 6 2 PIG
|
2022-09-24 21:47:16 -06:00
|
|
|
# immediately butcher all unprofitable animals
|
2021-08-16 06:57:12 -06:00
|
|
|
on-new-fortress autobutcher target 0 0 0 0 HORSE YAK DONKEY WATER_BUFFALO GOAT CAVY BIRD_DUCK BIRD_GUINEAFOWL
|
2022-08-02 11:42:54 -06:00
|
|
|
# watch for new animals
|
|
|
|
on-new-fortress autobutcher autowatch
|