Document that search now works in the stockpile settings screen.

develop
Alexander Gavrilov 2012-12-01 17:21:06 +04:00
parent fd5b19fe8d
commit df2e9f00e1
5 changed files with 30 additions and 13 deletions

20
NEWS

@ -25,18 +25,18 @@ DFHack future
New GUI scripts: New GUI scripts:
- gui/guide-path: displays the cached path for minecart Guide orders. - gui/guide-path: displays the cached path for minecart Guide orders.
- gui/workshop-job: displays inputs of a workshop job and allows tweaking them. - gui/workshop-job: displays inputs of a workshop job and allows tweaking them.
- gui/workflow: a front-end for the workflow plugin. - gui/workflow: a front-end for the workflow plugin (part inspired by falconne).
- gui/assign-rack: works together with a binary patch to fix weapon racks. - gui/assign-rack: works together with a binary patch to fix weapon racks.
- gui/gm-editor: an universal editor for lots of dfhack things. - gui/gm-editor: an universal editor for lots of dfhack things.
- gui/companion-order: a adventure mode command interface for your companions. - gui/companion-order: a adventure mode command interface for your companions.
New binary patches: New binary patches (for use with binpatch):
- armorstand-capacity - armorstand-capacity: doubles the capacity of armor stands.
- custom-reagent-size - custom-reagent-size: lets custom reactions use small amounts of inputs.
- deconstruct-heapfall - deconstruct-heapfall: stops some items still falling on head when deconstructing.
- deconstruct-teleport - deconstruct-teleport: stops items from 16x16 block teleporting when deconstructing.
- hospital-overstocking - hospital-overstocking: stops hospital overstocking with supplies.
- training-ammo - training-ammo: lets dwarves with quiver full of combat-only ammo train.
- weaponrack-unassign - weaponrack-unassign: fixes bug that negates work done by gui/assign-rack.
Workflow plugin: Workflow plugin:
- properly considers minecarts assigned to routes busy. - properly considers minecarts assigned to routes busy.
- code for deducing job outputs rewritten in lua for flexibility. - code for deducing job outputs rewritten in lua for flexibility.
@ -48,7 +48,7 @@ DFHack future
this plugin makes weapon racks, armor stands, chests and cabinets in this plugin makes weapon racks, armor stands, chests and cabinets in
properly designated barracks be used again for storage of squad equipment. properly designated barracks be used again for storage of squad equipment.
New Search plugin by falconne: New Search plugin by falconne:
Adds an incremental search function to the Stocks, Trading and Unit List screens. Adds an incremental search function to the Stocks, Trading, Stockpile and Unit List screens.
New AutoMaterial plugin by falconne: New AutoMaterial plugin by falconne:
Makes building constructions (walls, floors, fortifications, etc) a little bit easier by Makes building constructions (walls, floors, fortifications, etc) a little bit easier by
saving you from having to trawl through long lists of materials each time you place one. saving you from having to trawl through long lists of materials each time you place one.

@ -2873,7 +2873,7 @@ directly to the main dwarf mode screen.</p>
</div> </div>
<div class="section" id="search"> <div class="section" id="search">
<h2><a class="toc-backref" href="#id136">Search</a></h2> <h2><a class="toc-backref" href="#id136">Search</a></h2>
<p>The search plugin adds search to the Stocks, Trading and Unit List screens.</p> <p>The search plugin adds search to the Stocks, Trading, Stockpile and Unit List screens.</p>
<img alt="images/search.png" src="images/search.png" /> <img alt="images/search.png" src="images/search.png" />
<p>Searching works the same way as the search option in &quot;Move to Depot&quot; does. <p>Searching works the same way as the search option in &quot;Move to Depot&quot; does.
You will see the Search option displayed on screen with a hotkey (usually 's'). You will see the Search option displayed on screen with a hotkey (usually 's').
@ -2890,6 +2890,13 @@ filter).</p>
are actually visible in the list; the same effect applies to the Trade are actually visible in the list; the same effect applies to the Trade
Value numbers displayed by the screen. Because of this, pressing the 't' Value numbers displayed by the screen. Because of this, pressing the 't'
key while search is active clears the search instead of executing the trade.</p> key while search is active clears the search instead of executing the trade.</p>
<p>In the stockpile screen the option only appears if the cursor is in the
rightmost list:</p>
<img alt="images/search-stockpile.png" src="images/search-stockpile.png" />
<p>Note that the 'Permit XXX'/'Forbid XXX' keys conveniently operate only
on items actually shown in the rightmost list, so it is possible to select
only fat or tallow by forbidding fats, then searching for fat/tallow, and
using Permit Fats again while the list is filtered.</p>
</div> </div>
<div class="section" id="automaterial"> <div class="section" id="automaterial">
<h2><a class="toc-backref" href="#id137">AutoMaterial</a></h2> <h2><a class="toc-backref" href="#id137">AutoMaterial</a></h2>

@ -2074,7 +2074,7 @@ directly to the main dwarf mode screen.
Search Search
====== ======
The search plugin adds search to the Stocks, Trading and Unit List screens. The search plugin adds search to the Stocks, Trading, Stockpile and Unit List screens.
.. image:: images/search.png .. image:: images/search.png
@ -2097,6 +2097,16 @@ are actually visible in the list; the same effect applies to the Trade
Value numbers displayed by the screen. Because of this, pressing the 't' Value numbers displayed by the screen. Because of this, pressing the 't'
key while search is active clears the search instead of executing the trade. key while search is active clears the search instead of executing the trade.
In the stockpile screen the option only appears if the cursor is in the
rightmost list:
.. image:: images/search-stockpile.png
Note that the 'Permit XXX'/'Forbid XXX' keys conveniently operate only
on items actually shown in the rightmost list, so it is possible to select
only fat or tallow by forbidding fats, then searching for fat/tallow, and
using Permit Fats again while the list is filtered.
AutoMaterial AutoMaterial
============ ============

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

@ -689,7 +689,7 @@ public:
void render() const void render() const
{ {
print_search_option(2, 25); print_search_option(51, 23);
} }
static df::layer_object_listst *getLayerList(const df::viewscreen_layer *layer, int idx) static df::layer_object_listst *getLayerList(const df::viewscreen_layer *layer, int idx)