add supporting dreamfort files to data/examples

and install them to hack/examples
develop
myk002 2021-08-16 05:57:12 -07:00
parent 3ae4dbeb21
commit e44d496563
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
22 changed files with 6750 additions and 0 deletions

@ -1,6 +1,9 @@
install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/quickfort/
DESTINATION "${DFHACK_DATA_DESTINATION}/data/quickfort")
install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/examples/
DESTINATION "${DFHACK_DATA_DESTINATION}/examples")
install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/blueprints/
DESTINATION blueprints
FILES_MATCHING PATTERN "*"

@ -0,0 +1,9 @@
# The DFHack Example Configuration File Library
This folder contains ready-to-use examples of various DFHack configuration
files. You can use them by copying them to appropriate folders where DFHack
and its plugins can find them. You can use them unmodified, or you can
customize them to better suit your preferences.
For information on each of the files in this library, see the
[DFHack Example Configuration File Guide](https://docs.dfhack.org/en/stable/docs/guides/examples-guide.html).

@ -0,0 +1,69 @@
# This dfhack config file automates common tasks for your forts.
# It was written for the "dreamfort" set of quickfort blueprints, but the
# configuration set here is useful for any fort! Feed free to edit or
# override to your liking.
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
# uncomment this next line if you want buildingplan to use only blocks for construction
# if you do uncomment, be sure to bring some blocks with you for starting workshops!
#on-new-fortress buildingplan set boulders false; buildingplan set logs false
repeat -name warn-starving -time 10 -timeUnits days -command [ warn-starving ]
repeat -name burial -time 7 -timeUnits days -command [ burial -pets ]
repeat -name cleanowned -time 1 -timeUnits months -command [ cleanowned X ]
repeat -name clean -time 1 -timeUnits months -command [ clean all ]
repeat -name feeding-timers -time 1 -timeUnits months -command [ fix/feeding-timers ]
repeat -name stuckdoors -time 1 -timeUnits months -command [ fix/stuckdoors ]
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\"}]}" ]
tweak fast-heat 100
fix/blood-del enable
# configure plugins
enable autofarm
autofarm default 30
autofarm threshold 150 GRASS_TAIL_PIG
enable automelt
enable tailor
tailor enable
enable zone nestboxes
autonestbox start
enable seedwatch
seedwatch all 30
seedwatch start
# ensures important tasks get assigned to workers.
# otherwise these job types can get ignored in busy forts.
prioritize -a StoreItemInVehicle StoreItemInBag StoreItemInBarrel PullLever DestroyBuilding RemoveConstruction RecoverWounded FillPond DumpItem SlaughterAnimal
# 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.
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
# generally unprofitable animals
on-new-fortress autobutcher target 0 0 0 0 HORSE YAK DONKEY WATER_BUFFALO GOAT CAVY BIRD_DUCK BIRD_GUINEAFOWL
# start it up!
on-new-fortress autobutcher start; autobutcher watch all; autobutcher autowatch

File diff suppressed because it is too large Load Diff

@ -0,0 +1,404 @@
[
{
"amount_left" : 20,
"amount_total" : 20,
"frequency" : "Daily",
"id" : 34,
"is_active" : false,
"is_validated" : false,
"item_conditions" :
[
{
"condition" : "AtLeast",
"item_type" : "WOOD",
"value" : 100
},
{
"condition" : "AtMost",
"item_type" : "BAR",
"material" : "COAL",
"value" : 100
},
{
"condition" : "AtMost",
"item_type" : "BOULDER",
"material" : "INORGANIC:COAL_BITUMINOUS",
"value" : 10
},
{
"condition" : "AtMost",
"item_type" : "BOULDER",
"material" : "INORGANIC:LIGNITE",
"value" : 10
}
],
"job" : "MakeCharcoal"
},
{
"amount_left" : 4,
"amount_total" : 4,
"frequency" : "Daily",
"id" : 35,
"is_active" : false,
"is_validated" : false,
"item_conditions" :
[
{
"condition" : "AtLeast",
"item_type" : "WOOD",
"value" : 10
},
{
"condition" : "AtMost",
"item_type" : "BAR",
"material" : "COAL",
"value" : 20
}
],
"job" : "MakeCharcoal"
},
{
"amount_left" : 4,
"amount_total" : 4,
"frequency" : "Daily",
"id" : 36,
"is_active" : false,
"is_validated" : false,
"item_conditions" :
[
{
"condition" : "AtLeast",
"item_type" : "BOULDER",
"material" : "INORGANIC:COAL_BITUMINOUS",
"value" : 5
},
{
"condition" : "AtLeast",
"item_type" : "BAR",
"material" : "COAL",
"value" : 5
}
],
"job" : "CustomReaction",
"reaction" : "BITUMINOUS_COAL_TO_COKE"
},
{
"amount_left" : 4,
"amount_total" : 4,
"frequency" : "Daily",
"id" : 37,
"is_active" : false,
"is_validated" : false,
"item_conditions" :
[
{
"condition" : "AtLeast",
"item_type" : "BOULDER",
"material" : "INORGANIC:LIGNITE",
"value" : 5
},
{
"condition" : "AtLeast",
"item_type" : "BAR",
"material" : "COAL",
"value" : 5
}
],
"job" : "CustomReaction",
"reaction" : "LIGNITE_TO_COKE"
},
{
"amount_left" : 1,
"amount_total" : 1,
"frequency" : "Daily",
"id" : 38,
"is_active" : false,
"is_validated" : false,
"item_conditions" :
[
{
"condition" : "AtLeast",
"item_type" : "BOULDER",
"reaction_class" : "GYPSUM",
"reaction_id" : "MAKE_PLASTER_POWDER",
"value" : 5
},
{
"condition" : "AtLeast",
"flags" :
[
"empty",
"bag"
],
"item_type" : "BOX",
"reaction_id" : "MAKE_PLASTER_POWDER",
"value" : 5
},
{
"condition" : "AtLeast",
"item_type" : "BAR",
"material" : "COAL",
"value" : 100
},
{
"condition" : "AtMost",
"item_type" : "POWDER_MISC",
"material" : "INORGANIC:PLASTER",
"value" : 1
}
],
"job" : "CustomReaction",
"reaction" : "MAKE_PLASTER_POWDER"
},
{
"amount_left" : 1,
"amount_total" : 1,
"frequency" : "Daily",
"id" : 39,
"is_active" : false,
"is_validated" : false,
"item_conditions" :
[
{
"condition" : "AtLeast",
"item_type" : "BAR",
"material" : "POTASH",
"reaction_id" : "MAKE_PEARLASH",
"value" : 5
},
{
"condition" : "AtLeast",
"item_type" : "BAR",
"material" : "COAL",
"value" : 100
},
{
"condition" : "AtMost",
"item_type" : "BAR",
"material" : "PEARLASH",
"value" : 10
}
],
"job" : "CustomReaction",
"reaction" : "MAKE_PEARLASH"
},
{
"amount_left" : 1,
"amount_total" : 1,
"frequency" : "Daily",
"id" : 40,
"is_active" : false,
"is_validated" : false,
"item_conditions" :
[
{
"condition" : "AtLeast",
"flags" :
[
"empty",
"bag"
],
"item_type" : "BOX",
"value" : 5
},
{
"condition" : "AtMost",
"flags" :
[
"sand_bearing"
],
"value" : 10
}
],
"job" : "CollectSand"
},
{
"amount_left" : 1,
"amount_total" : 1,
"frequency" : "Daily",
"id" : 41,
"is_active" : false,
"is_validated" : false,
"item_conditions" :
[
{
"condition" : "AtLeast",
"flags" :
[
"sand_bearing"
],
"value" : 5
},
{
"condition" : "AtLeast",
"item_type" : "BAR",
"material" : "COAL",
"value" : 100
},
{
"condition" : "AtMost",
"item_type" : "ROUGH",
"material" : "GLASS_GREEN",
"value" : 10
}
],
"job" : "MakeRawGlass",
"material" : "GLASS_GREEN"
},
{
"amount_left" : 1,
"amount_total" : 1,
"frequency" : "Daily",
"id" : 42,
"is_active" : false,
"is_validated" : false,
"item_conditions" :
[
{
"condition" : "AtLeast",
"flags" :
[
"sand_bearing"
],
"value" : 5
},
{
"condition" : "AtLeast",
"item_type" : "BAR",
"material" : "PEARLASH",
"value" : 5
},
{
"condition" : "AtLeast",
"item_type" : "BAR",
"material" : "COAL",
"value" : 100
},
{
"condition" : "AtMost",
"item_type" : "ROUGH",
"material" : "GLASS_CLEAR",
"value" : 10
}
],
"job" : "MakeRawGlass",
"material" : "GLASS_CLEAR"
},
{
"amount_left" : 1,
"amount_total" : 1,
"frequency" : "Daily",
"id" : 43,
"is_active" : false,
"is_validated" : false,
"item_conditions" :
[
{
"condition" : "AtLeast",
"item_type" : "BAR",
"material" : "PEARLASH",
"value" : 5
},
{
"condition" : "AtLeast",
"flags" :
[
"glass_making"
],
"item_type" : "ROUGH",
"value" : 5
},
{
"condition" : "AtLeast",
"item_type" : "BAR",
"material" : "COAL",
"value" : 100
},
{
"condition" : "AtMost",
"item_type" : "ROUGH",
"material" : "GLASS_CRYSTAL",
"value" : 10
}
],
"job" : "MakeRawGlass",
"material" : "GLASS_CRYSTAL"
},
{
"amount_left" : 1,
"amount_total" : 1,
"frequency" : "Daily",
"id" : 44,
"is_active" : false,
"is_validated" : false,
"item_conditions" :
[
{
"condition" : "AtLeast",
"item_type" : "BOULDER",
"material" : "INORGANIC:RAW_ADAMANTINE",
"value" : 5
}
],
"job" : "ExtractMetalStrands",
"material" : "INORGANIC:RAW_ADAMANTINE"
},
{
"amount_left" : 1,
"amount_total" : 1,
"frequency" : "Daily",
"id" : 45,
"is_active" : false,
"is_validated" : false,
"item_conditions" :
[
{
"condition" : "AtLeast",
"item_type" : "THREAD",
"material" : "INORGANIC:ADAMANTINE",
"value" : 5
},
{
"condition" : "AtLeast",
"item_type" : "BAR",
"material" : "COAL",
"value" : 100
},
{
"condition" : "AtMost",
"item_type" : "BAR",
"material" : "INORGANIC:ADAMANTINE",
"value" : 20
}
],
"job" : "CustomReaction",
"reaction" : "ADAMANTINE_WAFERS"
},
{
"amount_left" : 4,
"amount_total" : 4,
"frequency" : "Daily",
"id" : 46,
"is_active" : false,
"is_validated" : false,
"item_conditions" :
[
{
"condition" : "AtLeast",
"flags" :
[
"melt_designated",
"allow_melt_dump"
],
"value" : 5
},
{
"condition" : "AtLeast",
"item_type" : "BAR",
"material" : "COAL",
"value" : 150
}
],
"job" : "MeltMetalObject"
}
]

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -0,0 +1,18 @@
NAME Chef
COOK
HAUL_STONE
HAUL_WOOD
HAUL_ITEM
HAUL_BODY
HAUL_FOOD
HAUL_REFUSE
HAUL_FURNITURE
HAUL_ANIMALS
HANDLE_VEHICLES
HAUL_TRADE
HAUL_WATER
CLEAN
PULL_LEVER
BUILD_ROAD
BUILD_CONSTRUCTION
REMOVE_CONSTRUCTION

@ -0,0 +1,8 @@
NAME Clothier
DYER
LEATHER
WEAVER
CLOTHESMAKER
HANDLE_VEHICLES
PULL_LEVER
REMOVE_CONSTRUCTION

@ -0,0 +1,27 @@
NAME Craftsdwarf
CARPENTER
BOWYER
CUT_GEM
ENCRUST_GEM
WOOD_CRAFT
STONE_CRAFT
BONE_CARVE
EXTRACT_STRAND
WAX_WORKING
BOOKBINDING
HAUL_STONE
HAUL_WOOD
HAUL_ITEM
HAUL_BODY
HAUL_FOOD
HAUL_REFUSE
HAUL_FURNITURE
HAUL_ANIMALS
HANDLE_VEHICLES
HAUL_TRADE
HAUL_WATER
CLEAN
PULL_LEVER
BUILD_ROAD
BUILD_CONSTRUCTION
REMOVE_CONSTRUCTION

@ -0,0 +1,24 @@
NAME Doctor
ANIMALCARE
DIAGNOSE
SURGERY
BONE_SETTING
SUTURING
DRESSING_WOUNDS
FEED_WATER_CIVILIANS
HAUL_STONE
HAUL_WOOD
HAUL_ITEM
HAUL_BODY
HAUL_FOOD
HAUL_REFUSE
HAUL_FURNITURE
HAUL_ANIMALS
HANDLE_VEHICLES
HAUL_TRADE
HAUL_WATER
CLEAN
PULL_LEVER
BUILD_ROAD
BUILD_CONSTRUCTION
REMOVE_CONSTRUCTION

@ -0,0 +1,34 @@
NAME Farmer
DISSECT_VERMIN
BUTCHER
TANNER
PLANT
MILLER
BREWER
PROCESS_PLANT
MAKE_CHEESE
MILK
SHEARER
SPINNER
PRESSING
BEEKEEPING
GELD
CLEAN_FISH
DISSECT_FISH
PAPERMAKING
HAUL_STONE
HAUL_WOOD
HAUL_ITEM
HAUL_BODY
HAUL_FOOD
HAUL_REFUSE
HAUL_FURNITURE
HAUL_ANIMALS
HANDLE_VEHICLES
HAUL_TRADE
HAUL_WATER
CLEAN
PULL_LEVER
BUILD_ROAD
BUILD_CONSTRUCTION
REMOVE_CONSTRUCTION

@ -0,0 +1,20 @@
NAME Fisherdwarf
FISH
CLEAN_FISH
DISSECT_FISH
HAUL_STONE
HAUL_WOOD
HAUL_ITEM
HAUL_BODY
HAUL_FOOD
HAUL_REFUSE
HAUL_FURNITURE
HAUL_ANIMALS
HANDLE_VEHICLES
HAUL_TRADE
HAUL_WATER
CLEAN
PULL_LEVER
BUILD_ROAD
BUILD_CONSTRUCTION
REMOVE_CONSTRUCTION

@ -0,0 +1,20 @@
NAME Hauler
FEED_WATER_CIVILIANS
MECHANIC
HAUL_STONE
HAUL_WOOD
HAUL_ITEM
HAUL_BODY
HAUL_FOOD
HAUL_REFUSE
HAUL_FURNITURE
HAUL_ANIMALS
HANDLE_VEHICLES
HAUL_TRADE
HAUL_WATER
ARCHITECT
CLEAN
PULL_LEVER
BUILD_ROAD
BUILD_CONSTRUCTION
REMOVE_CONSTRUCTION

@ -0,0 +1,18 @@
NAME Marksdwarf
MECHANIC
HAUL_STONE
HAUL_WOOD
HAUL_ITEM
HAUL_BODY
HAUL_FOOD
HAUL_REFUSE
HAUL_FURNITURE
HAUL_ANIMALS
HANDLE_VEHICLES
HAUL_TRADE
HAUL_WATER
CLEAN
PULL_LEVER
BUILD_ROAD
BUILD_CONSTRUCTION
REMOVE_CONSTRUCTION

@ -0,0 +1,19 @@
NAME Mason
MASON
HAUL_STONE
HAUL_WOOD
HAUL_ITEM
HAUL_BODY
HAUL_FOOD
HAUL_REFUSE
HAUL_FURNITURE
HAUL_ANIMALS
HANDLE_VEHICLES
HAUL_TRADE
HAUL_WATER
ARCHITECT
CLEAN
PULL_LEVER
BUILD_ROAD
BUILD_CONSTRUCTION
REMOVE_CONSTRUCTION

@ -0,0 +1,19 @@
NAME Meleedwarf
RECOVER_WOUNDED
MECHANIC
HAUL_STONE
HAUL_WOOD
HAUL_ITEM
HAUL_BODY
HAUL_FOOD
HAUL_REFUSE
HAUL_FURNITURE
HAUL_ANIMALS
HANDLE_VEHICLES
HAUL_TRADE
HAUL_WATER
CLEAN
PULL_LEVER
BUILD_ROAD
BUILD_CONSTRUCTION
REMOVE_CONSTRUCTION

@ -0,0 +1,5 @@
NAME Miner
MINE
DETAIL
HANDLE_VEHICLES
ALCHEMIST

@ -0,0 +1,25 @@
NAME Outdoorsdwarf
CUTWOOD
ANIMALTRAIN
TRAPPER
FEED_WATER_CIVILIANS
RECOVER_WOUNDED
HERBALIST
BEEKEEPING
MECHANIC
HAUL_STONE
HAUL_WOOD
HAUL_ITEM
HAUL_BODY
HAUL_FOOD
HAUL_REFUSE
HAUL_FURNITURE
HAUL_ANIMALS
HANDLE_VEHICLES
HAUL_TRADE
HAUL_WATER
CLEAN
PULL_LEVER
BUILD_ROAD
BUILD_CONSTRUCTION
REMOVE_CONSTRUCTION

@ -0,0 +1,25 @@
NAME Smith
FORGE_WEAPON
FORGE_ARMOR
FORGE_FURNITURE
METAL_CRAFT
GLASSMAKER
POTTERY
GLAZING
SIEGECRAFT
HAUL_STONE
HAUL_WOOD
HAUL_ITEM
HAUL_BODY
HAUL_FOOD
HAUL_REFUSE
HAUL_FURNITURE
HAUL_ANIMALS
HANDLE_VEHICLES
HAUL_TRADE
HAUL_WATER
CLEAN
PULL_LEVER
BUILD_ROAD
BUILD_CONSTRUCTION
REMOVE_CONSTRUCTION

@ -0,0 +1,65 @@
NAME StartManager
CUTWOOD
ANIMALTRAIN
ANIMALCARE
DISSECT_VERMIN
DIAGNOSE
SURGERY
BONE_SETTING
SUTURING
DRESSING_WOUNDS
FEED_WATER_CIVILIANS
BUTCHER
TANNER
PLANT
DYER
SOAP_MAKER
BURN_WOOD
POTASH_MAKING
LYE_MAKING
MILLER
BREWER
PROCESS_PLANT
MAKE_CHEESE
MILK
SHEARER
SPINNER
COOK
PRESSING
BEEKEEPING
GELD
CLEAN_FISH
DISSECT_FISH
SMELT
FORGE_WEAPON
FORGE_ARMOR
FORGE_FURNITURE
METAL_CRAFT
LEATHER
STONE_CRAFT
GLASSMAKER
WEAVER
CLOTHESMAKER
POTTERY
GLAZING
PAPERMAKING
SIEGECRAFT
SIEGEOPERATE
MECHANIC
OPERATE_PUMP
HAUL_STONE
HAUL_WOOD
HAUL_ITEM
HAUL_BODY
HAUL_FOOD
HAUL_REFUSE
HAUL_FURNITURE
HAUL_ANIMALS
HANDLE_VEHICLES
HAUL_TRADE
HAUL_WATER
CLEAN
PULL_LEVER
BUILD_ROAD
BUILD_CONSTRUCTION
REMOVE_CONSTRUCTION

@ -0,0 +1,25 @@
NAME Unskilled
TANNER
SOAP_MAKER
BURN_WOOD
POTASH_MAKING
LYE_MAKING
SMELT
SIEGEOPERATE
OPERATE_PUMP
HAUL_STONE
HAUL_WOOD
HAUL_ITEM
HAUL_BODY
HAUL_FOOD
HAUL_REFUSE
HAUL_FURNITURE
HAUL_ANIMALS
HANDLE_VEHICLES
HAUL_TRADE
HAUL_WATER
CLEAN
PULL_LEVER
BUILD_ROAD
BUILD_CONSTRUCTION
REMOVE_CONSTRUCTION