Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0004000Dwarf FortressDwarf Mode -- Jobs, Designationspublic2011-02-17 10:322011-03-19 10:19
idgarad 
Logical2u 
normalminoralways
resolvedduplicate 
ALLALLANY
0.31.19 
 
0004000: Dwarf Digging Priority ignores depth
I build a 3 level deep moat and flood only the bottom level. But designating multiple levels of channels the dwarves dig down immediately to the lowest level, dig around a bit then proceed back up only to have cave ins. While not severe it greatly inhibits digging shafts of 2x2 or larger. This makes it difficult to queue up a digger dwarf to dig down a 10 z depth 3x3 shaft for instance.
channel a moat of 3 width (make a donut for instance)
Go down a level
channel the same moat
Watch in horror...
This is minor in the fact that if we are trying to queue up (for instance using quickfort) a fortress it would be nice that the dwarves first complete the digging on the current level before going down.

Programatically it looks like they are running through a nested loop where it goes

for each y
  for each x
   for each z


to an extent. Where as doing
for each z
 for each x
  for each y

you resolve the cave in issue (simplification). Altering this may also resolved 3x3 stairwells which allow each level to be complete before descending the next level.

I never actually noticed this until .19 since I A: started building moats and B: starting using quickfort for build macros.
behaviour, channel, collapse, designation, Z axis
duplicate of 0001463new  Dwarves prioritize tasks oddly 
Issue History
2011-02-17 10:32idgaradNew Issue
2011-02-17 10:35idgaradTag Attached: annoying
2011-02-17 10:35idgaradTag Attached: behaviour
2011-02-17 10:35idgaradTag Attached: channel
2011-02-17 10:35idgaradTag Attached: collapse
2011-02-17 10:35idgaradTag Attached: designation
2011-02-17 10:35idgaradTag Attached: Z axis
2011-02-17 10:59Logical2uNote Added: 0015193
2011-02-17 10:59Logical2uRelationship addedduplicate of 0001463
2011-02-17 10:59Logical2uStatusnew => resolved
2011-02-17 10:59Logical2uResolutionopen => duplicate
2011-02-17 10:59Logical2uAssigned To => Logical2u
2011-03-19 10:19Logical2uTag Detached: annoying

Notes
(0015193)
Logical2u   
2011-02-17 10:59   
Dwarf pathfinding is prioritized strangely is the main gist of your report I gather, which is covered under 0001463.