Skip to content

Commit 5c2bcee

Browse files
Merge branch 'develop' into squid-docs-fix
2 parents da27629 + 1e8790d commit 5c2bcee

40 files changed

+979
-192
lines changed

.github/workflows/generate-symbols.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ on:
3636
default: default
3737
options:
3838
- default
39+
- experimental
3940
- testing
4041
- adventure_test
4142
- beta

.github/workflows/watch-df-release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,17 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
# df_steam_branch: which DF Steam branch to watch
18-
# platform: leave blank to default to all
18+
# platform: for symbols generation; leave blank to default to all
1919
# structures_ref: leave blank to default to master
2020
# dfhack_ref: leave blank if no structures update is desired
2121
# steam_branch: leave blank if no DFHack steam push is desired
2222
include:
2323
- df_steam_branch: public
2424
- df_steam_branch: beta
25+
- df_steam_branch: experimental
26+
structures_ref: experimental
27+
dfhack_ref: experimental
28+
steam_branch: experimental
2529
steps:
2630
- name: Fetch state
2731
uses: actions/cache/restore@v4

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ repos:
2020
args: ['--fix=lf']
2121
- id: trailing-whitespace
2222
- repo: https://github.com/python-jsonschema/check-jsonschema
23-
rev: 0.31.1
23+
rev: 0.31.2
2424
hooks:
2525
- id: check-github-workflows
2626
- repo: https://github.com/Lucas-C/pre-commit-hooks

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ cmake_policy(SET CMP0048 NEW)
66
cmake_policy(SET CMP0074 NEW)
77

88
# set up versioning.
9-
set(DF_VERSION "51.05")
10-
set(DFHACK_RELEASE "r1")
11-
set(DFHACK_PRERELEASE FALSE)
9+
set(DF_VERSION "51.06")
10+
set(DFHACK_RELEASE "r2rc1")
11+
set(DFHACK_PRERELEASE TRUE)
1212

1313
set(DFHACK_VERSION "${DF_VERSION}-${DFHACK_RELEASE}")
1414
set(DFHACK_ABI_VERSION 2)

data/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/blueprints/
2424
FILES_MATCHING PATTERN "*"
2525
PATTERN blueprints/test EXCLUDE)
2626

27+
install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/patches/
28+
DESTINATION ${DFHACK_DATA_DESTINATION}/patches
29+
)
30+
2731
if(BUILD_TESTS)
2832
install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/blueprints/test/
2933
DESTINATION "${DFHACK_DATA_DESTINATION}/data/blueprints/test")

data/blueprints/dreamfort.csv

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ You can save some time by setting up your settings in gui/control-panel before y
113113
- autobutcher
114114
- autobutcher target 10 10 14 2 BIRD_GOOSE
115115
- autochop
116+
- autocheese
116117
- autofarm
117118
- autofarm threshold 150 grass_tail_pig
118119
- autofish
@@ -134,6 +135,7 @@ You can save some time by setting up your settings in gui/control-panel before y
134135
"""Gameplay"" subtab:"
135136
- combine
136137
- dwarfvet
138+
- immortal-cravings
137139
- timestream
138140
- work-now
139141
"Note that if you've already started your fort and have missed the ""new fort"" trigger, you can enable these tools on the ""Enabled"" tabs instead. You can run the one-time commands (like ban-cooking all) manually from gui/launcher."
@@ -283,11 +285,11 @@ Surface Walkthrough:
283285
Sieges and Prisoner Processing:
284286
Here are some tips and procedures for handling seiges -- including how to clean up afterwards!
285287
""
286-
"- Your ""Inside+"" burrow will automatically grow with your fort and should include only safe areas of your fort. In particular, it should not include the ""atrium"" area (where the ""siege bait"" pasture is) or the trapped hallways."
288+
"- Your ""Inside+"" burrow will automatically grow with your fort and should include only safe areas. In particular, it does not include the ""atrium"" area (where the ""siege bait"" pasture is) or the trapped hallways."
287289
""
288290
"- When a siege begins, set your civilian alert (attach the alert to your ""Inside+"" burrow if it isn't already) to ensure all your civilians stay out of danger. Immediately pull the lever to close the outer main gate. It is also wise to close the trade depot and inner main gate as well. That way, if enemies get past the traps, they'll have to go through the soldiers in your barracks (assuming you have a military)."
289291
""
290-
"- During a siege, you can use the levers to control how attackers path through the trapped corridors. If there are more enemies than cage traps, time your lever pulling so that the inner gates snap closed before your last cage trap is sprung. Then the remaining attackers will have to backtrack and go through the other trap-filled hallway. You can also choose *not* to use the trap hallways and meet the siege with your military. It's up to you!"
292+
"- During a siege, you can use the levers to control how attackers path through the trapped corridors. If there are more enemies than cage traps, time your lever pulling so that the inner gates snap closed before your last cage trap is sprung. Then the remaining attackers will have to backtrack and go through the other trap-filled hallway. You can also choose *not* to use the trap hallways and instead meet the siege head-on with your military. It's up to you!"
291293
""
292294
"- If your cage traps fill up, ensure your hallways are free of uncaged attackers, then close the trap hallway outer gates and open the inner gates. Clear the civilian alert and allow your dwarves to reset all the traps -- make some extra cages in preparation for this! Then re-enable the civilian alert and open the trap hallway outer gates."
293295
""

data/init/dfhack.keybindings.init

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@ keybinding add Ctrl-A@choose_start_site gui/embark-anywhere
4141
# in the game root directory
4242
keybinding add Ctrl-T@dwarfmode/ViewSheets/UNIT|dwarfmode/ViewSheets/ITEM|dungeonmode/ViewSheets/UNIT|dungeonmode/ViewSheets/ITEM markdown
4343

44+
# gui/sitemap
45+
keybinding add Ctrl-G@dwarfmode/Default|dungeonmode/Default gui/sitemap
46+
47+
# toggle keyboard cursor
48+
keybinding add Alt-K@dwarfmode|dungeonmode/Default|dungeonmode/Look toggle-kbd-cursor
49+
4450

4551
######################
4652
# dwarfmode bindings #
@@ -71,9 +77,6 @@ keybinding add Ctrl-Shift-T@dwarfmode gui/teleport
7177
# apply blueprints to the map
7278
keybinding add Ctrl-Shift-Q@dwarfmode gui/quickfort
7379

74-
# toggle keyboard cursor
75-
keybinding add Alt-K@dwarfmode toggle-kbd-cursor
76-
7780
# Stocks plugin
7881
#keybinding add Ctrl-Shift-Z@dwarfmode/Default "stocks show"
7982

data/orders/basic.json

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -114,27 +114,6 @@
114114
"job" : "CustomReaction",
115115
"reaction" : "BREW_DRINK_FROM_PLANT_GROWTH"
116116
},
117-
{
118-
"amount_left" : 1,
119-
"amount_total" : 1,
120-
"frequency" : "Daily",
121-
"id" : 3,
122-
"is_active" : false,
123-
"is_validated" : false,
124-
"item_conditions" :
125-
[
126-
{
127-
"condition" : "AtLeast",
128-
"flags" :
129-
[
130-
"unrotten",
131-
"milk"
132-
],
133-
"value" : 2
134-
}
135-
],
136-
"job" : "MakeCheese"
137-
},
138117
{
139118
"amount_left" : 1,
140119
"amount_total" : 1,

data/patches/README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Place IDA-exported `.dif` files for use by `binpatch` in subdirectories of this
2+
directory. Each `.dif` file must be in a subdirectory named after the full
3+
symbol table version string. For example, for DF version 51.05, you would use
4+
these subdirectories:
5+
6+
- "v0.51.05 linux64 CLASSIC"
7+
- "v0.51.05 linux64 ITCH"
8+
- "v0.51.05 linux64 STEAM"
9+
- "v0.51.05 win64 CLASSIC"
10+
- "v0.51.05 win64 ITCH"
11+
- "v0.51.05 win64 STEAM"
12+
13+
See https://docs.dfhack.org/en/stable/docs/dev/Binpatches.html for more details.

depends/dfhooks

0 commit comments

Comments
 (0)