Skip to content

Commit

Permalink
Merge pull request DFHack#867 from myk002/myk_send_a_message
Browse files Browse the repository at this point in the history
[quickfort] document that quickfort will use buildingplan settings
  • Loading branch information
myk002 authored Oct 16, 2023
2 parents 6d8276e + d3ea291 commit af433af
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions docs/gui/quickfort.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ blueprint a second time to fill in any gaps. Any part of the blueprint that has
already been completed will be harmlessly skipped. Right click or hit
:kbd:`Esc` to close the `gui/quickfort` UI.

Note that `quickfort` blueprints will use the DFHack building planner
(`buildingplan`) material filter settings. If you want specific materials to be
used, use the building planner UI to set the appropriate filters before
applying a blueprint.

Usage
-----

Expand Down
6 changes: 5 additions & 1 deletion gui/quickfort.lua
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ function BlueprintDialog:onInput(keys)
end
return true
end
return true
end

--
Expand All @@ -237,7 +238,7 @@ end
Quickfort = defclass(Quickfort, widgets.Window)
Quickfort.ATTRS {
frame_title='Quickfort',
frame={w=34, h=30, r=2, t=18},
frame={w=34, h=32, r=2, t=18},
resizable=true,
resize_min={h=26},
autoarrange_subviews=true,
Expand Down Expand Up @@ -358,6 +359,9 @@ function Quickfort:init()
active=function() return self.blueprint_name end,
enabled=function() return self.blueprint_name end,
on_activate=self:callback('do_command', 'undo')},
widgets.WrappedLabel{
text_to_wrap='Blueprints will use DFHack building planner material filter settings.',
},
}
end

Expand Down

0 comments on commit af433af

Please sign in to comment.