Dwarf Fortress Bug Tracker - Dwarf Fortress | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0008272 | Dwarf Fortress | Dwarf Mode -- Jobs, General | public | 2014-09-11 10:11 | 2014-09-11 12:35 |
Reporter | Quietust | ||||
Assigned To | Toady One | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | 0.40.12 | ||||
Target Version | Fixed in Version | 0.40.13 | |||
Summary | 0008272: Butchering "nearby" check ignores Z-level | ||||
Description | In order to perform the "Butcher an Animal" job, there must be a "butcherable unrotten nearby item", and "nearby" is defined as "on a stockpile or within 20 tiles of the workshop". However, the distance check ignores the Z-level - it checks if the item's X and Y coordinates are within 20 tiles of the workshop edges (building.x_min - item.x < 20, item.x - building.x_max < 20, building.y_min - item.y < 20, and item.y - buildin.y_max < 20), but it does not check the Z coordinate at all. | ||||
Steps To Reproduce | Kill a butcherable animal on the surface, then build a butcher's workshop deep underground beneath it and more than 20 tiles to either side. Observe that the corpse gets selected for butchering once the workshop is moved close enough laterally, but it doesn't care if the workshop is 100 Z-level beneath it. | ||||
Additional Information | This dates back to the 2D versions of Dwarf Fortress, where it didn't have any noticeable effect; when Z-levels got added, the "nearby" job item flag check never got updated accordingly. | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2014-09-11 10:11 | Quietust | New Issue | |||
2014-09-11 11:28 | Footkerchief | Assigned To | => Footkerchief | ||
2014-09-11 11:28 | Footkerchief | Status | new => confirmed | ||
2014-09-11 12:35 | Toady One | Status | confirmed => resolved | ||
2014-09-11 12:35 | Toady One | Fixed in Version | => Next Version | ||
2014-09-11 12:35 | Toady One | Resolution | open => fixed | ||
2014-09-11 12:35 | Toady One | Assigned To | Footkerchief => Toady One |
There are no notes attached to this issue. |