Skip to content

Commit 79dd5a3

Browse files
committed
rename Build button to Confirm and update docs
1 parent 6c71c4a commit 79dd5a3

3 files changed

Lines changed: 18 additions & 18 deletions

File tree

docs/changelog.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ changelog.txt uses a syntax similar to RST, with a few special sequences:
4747
-@ `buildingplan`: can now filter by whether a slab is engraved
4848
-@ `buildingplan`: add "minimize" button to temporarily get the planner overlay out of the way if you would rather use the vanilla UI for placing the current building
4949
-@ `buildingplan`: add ``buildingplan reset`` command for resetting all filters to defaults
50+
-@ `buildingplan`: rename "Build" button to "Confirm" on the item selection dialog and change the hotkey from "B" to "C"
5051
- `blueprint`: now writes blueprints to the ``dfhack-config/blueprints`` directory
5152
- `blueprint-library-guide`: library blueprints have moved from ``blueprints`` to ``hack/data/blueprints``
5253
- player-created blueprints should now go in the ``dfhack-config/blueprints`` folder. please move your existing blueprints from ``blueprints`` to ``dfhack-config/blueprints``. you don't need to move the library blueprints -- those can be safely deleted from the old ``blueprints`` directory.

docs/plugins/buildingplan.rst

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,14 @@ to build the planned buildings as they are produced, with minimal space
4747
dedicated to stockpiles. The DFHack `orders` library can help with setting
4848
these manager workorders up for you.
4949

50-
If you do not wish to use the ``buildingplan`` interface, you can turn off the
50+
IF you don't want to use the ``buildingplan`` interface for the building you're
51+
currently trying to place, you can hit :kbd:`Alt`:kbd:`M` or click on the
52+
minimize toggle in the upper left corner of the panel. If you do not wish to
53+
ever use the ``buildingplan`` interface, you can turn off the
5154
``buildingplan.planner`` overlay in `gui/control-panel` (on the "Overlays"
52-
tab). You should not disable the ``buildingplan`` "System service" in
53-
`gui/control-panel` since existing planned buildings in loaded forts will stop
54-
functioning.
55+
tab). Be sure to keep the ``buildingplan`` "System service" itself enabled in
56+
`gui/control-panel` since if you turn it off, existing planned buildings in
57+
saved forts will stop functioning.
5558

5659
Usage
5760
-----
@@ -119,12 +122,8 @@ tiles selected in the construction area are not appropriate for building. For
119122
example, if you want to fill an area with flooring, you can select the entire
120123
area, and any tiles with existing buildings or walls will simply be skipped.
121124

122-
Setting heat safety filters
123-
+++++++++++++++++++++++++++
124-
125-
If you specifically need the building to be magma- or fire-safe, click on the
126-
"Building safety" button or hit :kbd:`g` until the desired heat safety is
127-
displayed. This filter applies to all items used to construct the building.
125+
For weapon and spike traps, you can choose how many weapons will be included
126+
on this panel.
128127

129128
Setting quality and material filters
130129
++++++++++++++++++++++++++++++++++++
@@ -165,8 +164,8 @@ name or selecting it with the arrow keys and hitting :kbd:`Enter`. You can
165164
instead select items one at a time by Ctrl-clicking (:kbd:`Shift`:kbd:`Right`)
166165
to increment or Ctrl-Shift-clicking (:kbd:`Shift`:kbd:`Left`) to decrement.
167166

168-
Once you are satisfied with your choices, click on the "Build" button or hit
169-
:kbd:`B` to continue building. Note that you don't have to select all the items
167+
Once you are satisfied with your choices, click on the "Confirm" button or hit
168+
:kbd:`C` to continue building. Note that you don't have to select all the items
170169
that the building needs. Any remaining items will be automatically chosen from
171170
other available items (or future items if not all items are available yet). If
172171
there are multiple item types to choose for the current building, one dialog

plugins/lua/buildingplan/itemselection.lua

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,13 @@ function ItemSelection:init()
7676
},
7777
},
7878
widgets.Label{
79-
frame={r=0, w=9, t=0, h=3},
79+
frame={r=0, w=11, t=0, h=3},
8080
text_pen=BUILD_TEXT_PEN,
8181
text_hpen=BUILD_TEXT_HPEN,
8282
text={
83-
' ', NEWLINE,
84-
' Build ', NEWLINE,
85-
' ',
83+
' ', NEWLINE,
84+
' Confirm ', NEWLINE,
85+
' ',
8686
},
8787
on_click=self:callback('submit'),
8888
},
@@ -115,8 +115,8 @@ function ItemSelection:init()
115115
},
116116
widgets.HotkeyLabel{
117117
frame={l=22, b=1},
118-
key='CUSTOM_SHIFT_B',
119-
label='Build',
118+
key='CUSTOM_SHIFT_C',
119+
label='Confirm',
120120
auto_width=true,
121121
on_activate=self:callback('submit'),
122122
},

0 commit comments

Comments
 (0)