View Issue Details

IDProjectCategoryView StatusLast Update
0009319Dwarf FortressDwarf Mode -- Jobs, Designationspublic2015-12-12 05:58
ReporterPatrikLundell Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformPCOSWindowsOS Version8.1
Product Version0.42.02 
Summary0009319: Designated ramp digging converted into channeling unless that's impossible
DescriptionWhen a ramp is designated to be dug the dwarves will do the digging as a channeling job regardless of extra distance unless they're physically prevented from channeling.

In contrast, when a channel is designated, dwarves trapped below because of an unfortunate selection of dig order will not dig a ramp from below, but rather idle/sleep/thirst/starve until rescued (unless they climb, which rarely happens).

An example from 0.40.24:
The embark had a deadly surface, so a civilian alert made the surface off limits. In addition, the complete surface was designated as a Restricted travel zone, while the underground tunnels (3 or 4 levels below the surface) were designated as high traffic ones. The underground tunnels had prepared ramps to just below the surface. An up ramp designation was made at the extreme south end of the embark to breach the surface. A miner promptly rushed north from the middle of the embark to exit through the only available exit and then run across the surface to the extreme south end to channel, rather than running a quarter of the distance straight south a dig an up ramp. Note that the civilian alert did prohibit the surface tile dug into from being accessed, but did allow the underground tile where the up ramp was placed to be accessed. An actual channeling order would probably not have been effected because the tile dug into was off limits (although I didn't try that to verify that assumption).

The ramp digging logic should either be reversed so an up ramp is dug unless there is no path, or should be upheld strictly. If an up ramp designation is to be allowed to be converted into a channeling execution a channeling designation should be allowed to be converted into an up ramp execution.
Steps To ReproduceDig a long tunnel below the surface and designate an up ramp at the end. Watch the miner dig the tunnel and then run back and out to the surface to channel down for the ramp.
Additional InformationUsing LNP with Dwarf Therapist and the Phoebus tile set. When the 0.40.24 example was performed DFHack was used as well.
TagsNo tags attached.

Activities

PatrikLundell

2015-12-12 05:35

reporter   ~0033802

And I've just seen a dwarf actually dig a ramp up to the surface despite the surface being available [0.42.02], so this report should probably be sent to the round archive...

user8971

2015-12-12 05:58

  ~0033804

Try uploading a save to http://dffd.bay12games.com/ where after unpausing miner finishes digging of long hallway and then reliably goes the long way to do the ramp in the end (channelling of ramp), even though it seems to you it would be much easier for him to go some shorter way (digging of ramp).

If you are seeing him using both shorter (forward) and longer (going north, up and back south) way in similar instances, there is probably something more having an effect on chosen path then just this pick between shorter/dig and longer/channel.

Add Note

Note

Issue History

Date Modified Username Field Change
2015-12-12 02:11 PatrikLundell New Issue
2015-12-12 05:35 PatrikLundell Note Added: 0033802
2015-12-12 05:58 user8971 Note Added: 0033804