Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0008702Dwarf FortressDwarf Mode -- Jobs, Generalpublic2015-01-06 04:142015-01-06 14:04
Dwarf Reporter 
Toady One 
0008702: Dwarfs refuse to use picks after unforbidding said picks while traders are present with their own picks.
I was able to trigger the "miners not using embark picks anymore" bug by unforbidding "copper picks" row, that included my picks and some picks from a caravan, in the stocks menu. It seemed as if the whole "stack" of picks was somehow marked to be non-usable.
I tried 2 rather minimal fortresses and the bug was triggered for both.
    create new world with default settings.
    find a spot with low savagery, low evil, medium temperature, no aquifer, and deep soil.
    embark with the default load out.
    cut down few trees for building material.
    enable mining for all dwarves (using dwarf therapist).
    channel 3 urist wide wagonway two z-levels down.
    dig 11 by 11 room.
    build trade depot, carpenter workshop, 5x5 farm plot and still.
    define a food stockpile.
    define a refuse stockpile outdoors.
    define a garbage dump area.
    plant plump helms on every season.
    assign your expedition leader as your broker, manager, and bookkeeper.
    set your bookkeeper to highest precision.
    build and place a wooden chair.
    define a study from the chair and assign it to your manager.
    queue 30 barrel building and 10 brewing jobs.
    note that 2 dwarfs are wielding the picks.
    wait for caravan to arrive & unload goods.
    request trader at the depot.
    ensure that the caravan brought some copper picks.

    designate a 11x11 test area to be mined.
    check that two dwarves go mining.
    disable mining for all dwarves (using DF).
    see that picks are dropped on the ground.
    re-enable mining labour (using DF).
    see that two miners pick up the picks and continue mining.

    open miner inventories, declare picks to be dumped.
    wait for the picks to be dumped.
    open stocks menu and unforbid the copper pick row (should be more that 2 since caravan unloaded some to the trade depot).
    note that no dwarf will ever resume digging (until you craft new picks).
No tags attached.
Issue History
2015-01-06 04:14Dwarf ReporterNew Issue
2015-01-06 04:27Dwarf ReporterNote Added: 0031725
2015-01-06 06:41FootkerchiefNote Added: 0031727
2015-01-06 06:41FootkerchiefAssigned To => Footkerchief
2015-01-06 06:41FootkerchiefStatusnew => needs feedback
2015-01-06 06:41FootkerchiefNote Edited: 0031727bug_revision_view_page.php?bugnote_id=0031727#r12686
2015-01-06 07:00Dwarf ReporterNote Added: 0031728
2015-01-06 07:00Dwarf ReporterStatusneeds feedback => assigned
2015-01-06 07:33Dwarf ReporterNote Added: 0031730
2015-01-06 07:40Dwarf ReporterNote Added: 0031731
2015-01-06 07:46DetrosNote Added: 0031732
2015-01-06 07:47DetrosNote Edited: 0031732bug_revision_view_page.php?bugnote_id=0031732#r12691
2015-01-06 07:50Dwarf ReporterNote Edited: 0031731bug_revision_view_page.php?bugnote_id=0031731#r12693
2015-01-06 07:50Dwarf ReporterNote Edited: 0031731bug_revision_view_page.php?bugnote_id=0031731#r12694
2015-01-06 07:51Dwarf ReporterNote Added: 0031733
2015-01-06 07:55Dwarf ReporterNote Edited: 0031733bug_revision_view_page.php?bugnote_id=0031733#r12696
2015-01-06 08:14Dwarf ReporterNote Edited: 0031733bug_revision_view_page.php?bugnote_id=0031733#r12697
2015-01-06 08:52FootkerchiefNote Added: 0031735
2015-01-06 08:52FootkerchiefStatusassigned => needs feedback
2015-01-06 09:27Rafal99Note Added: 0031736
2015-01-06 09:28Rafal99Note Edited: 0031736bug_revision_view_page.php?bugnote_id=0031736#r12699
2015-01-06 09:34Rafal99Note Edited: 0031736bug_revision_view_page.php?bugnote_id=0031736#r12700
2015-01-06 09:35Rafal99Note Edited: 0031736bug_revision_view_page.php?bugnote_id=0031736#r12701
2015-01-06 09:35Rafal99Note Edited: 0031736bug_revision_view_page.php?bugnote_id=0031736#r12702
2015-01-06 10:25FootkerchiefStatusneeds feedback => confirmed
2015-01-06 14:04Toady OneNote Added: 0031742
2015-01-06 14:04Toady OneStatusconfirmed => resolved
2015-01-06 14:04Toady OneFixed in Version => Next Version
2015-01-06 14:04Toady OneResolutionopen => fixed
2015-01-06 14:04Toady OneAssigned ToFootkerchief => Toady One

Dwarf Reporter   
2015-01-06 04:27   
Uploaded a savegame http://dffd.wimbli.com/file.php?id=10389 [^]
2015-01-06 06:41   
Are the dwarves able to path to any picks?

Dwarf Reporter   
2015-01-06 07:00   
They just went and placed the picks into the garbage zone, and they can 'redump' them if I designate the picks for dumping again. They also melted those 'not-for-mining' picks in another fortress with smelter and coal. So yes, I assume that every dwarf is able to path to the picks.
Dwarf Reporter   
2015-01-06 07:33   
They also move those picks to the trade depot if I put them for trading.
Still, if I remove those picks from trading, miners don't go and get them.
But if I trade those two 'not-for-mining-copper-picks' for a 'fresh' copper pick, a miner immediately comes and takes the new pick for mining.
Dwarf Reporter   
2015-01-06 07:40   
(edited on: 2015-01-06 07:50)
And as final note, if I repeat the 'dump-and-reclaim-from-stock-menu' for this new 'fresh' pick, it also becomes bugged and miners refuse to use it.

2015-01-06 07:46   
(edited on: 2015-01-06 07:47)
So you are reclaiming in the stocks all copper picks on the map, both yours and trader ones? Switch to the other style in storage (TAB) and try unforbidding all those picks one by one. Will this bug still happen this way?

Edit: Note picks colour when in the other style in stocks (http://dwarffortresswiki.org/index.php/DF2014:Stocks#Color_Code [^]).

Dwarf Reporter   
2015-01-06 07:51   
(edited on: 2015-01-06 08:14)
I just tested, and it does not matter if I reclaim all picks using the stock menu, an individual pick using the stock menu, or just directly reclaiming the individual pick from the garbage pile. Either way the pick becomes unavailable for mining.

Edit: and the same problem happens even after the caravan has left..

2015-01-06 08:52   
Do you have military dwarves that could be claiming the picks, like in 0002127?
2015-01-06 09:27   
(edited on: 2015-01-06 09:35)
I tested the save and it is indeed strange.
There is no military set, so no squads that could have the picks assigned.
There are also no burrows that could mess things up.
There are 2 unforbidden picks laying on the ground in easily accessible place and at least 4 idle dwarves with Mining enabled who have no pick, but won't claim them, despite having mining designation to do. After I made a weapon stockpile, the picks were moved there, but still no dwarf would claim them.
When I bought new picks from the caravan, miners immediately rushed to pick them up, but the 2 original picks still sit unused.

Toady One   
2015-01-06 14:04   
One pick was assigned to a carpenter, and the other to the sleeping fish cleaner (who both had the mining labor on). The dumper ripping the picks out of their hands didn't make them refresh their uniform settings, so they didn't understand (if you vpl mining on and off on Tun the carpenter, that dwarf will pick up a pick immediately). For next time, I've made the daily civilian item check account for this sort of circumstance and clear up the mixed up assignments (so for 0.40.24 in this save, two dwarves grab the picks almost immediately).