Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0009972Dwarf FortressDwarf Mode -- Interface, Managerpublic2016-08-20 02:002022-05-27 20:53
qeveren 
 
normalminoralways
newopen 
WindowsWindows x647
0.43.03 
 
0009972: Manager conditions do not properly track quantity of dyes
Conditions in manager orders that track the quantity of dye powders available appear to use values that do not match the amounts shown in the Stocks screen. The difference between these values also appears to vary if the game is reloaded to the same point.
1. Create a Mill Plants (5) order to produce (eg.) dimple dye.
2. Add a condition to the order "Amount of dimple dye items* available is at most X", where X is any reasonable amount.
3. Allow the job to run until the above condition is no longer met. The quantity of dimple dye in stock will be significantly different from the amount specified in the condition.


* the item settings for dye are unintuitive; item type 'powder' with the appropriate dye material type does not track dyes at all.
0.47.04, Fortress Mode, manager, manager screen
Issue History
2016-08-20 02:00qeverenNew Issue
2016-08-20 05:34QuietustNote Added: 0035796
2016-08-20 14:54qeverenNote Added: 0035798
2016-08-21 17:25qeverenNote Edited: 0035798bug_revision_view_page.php?bugnote_id=0035798#r14430
2016-08-21 17:25qeverenNote Edited: 0035798bug_revision_view_page.php?bugnote_id=0035798#r14431
2020-03-31 09:05Sarmatian123Note Added: 0040431
2020-03-31 09:05Sarmatian123Issue Monitored: Sarmatian123
2020-03-31 09:06Sarmatian123Tag Attached: 0.47.04
2020-09-09 22:52ShirasikNote Added: 0040723
2020-10-21 01:44qeverenNote Added: 0040769
2022-05-27 20:52qeverenTag Attached: manager
2022-05-27 20:52qeverenTag Attached: manager screen
2022-05-27 20:53qeverenTag Attached: Fortress Mode

Notes
(0035796)
Quietust   
2016-08-20 05:34   
Is the quantity stored greater or less than what's specified in the condition? If greater, by how much (e.g. by a factor of 2-3)?

These are very important to know, because if the jobs produced 2-3 times as much dye as they were supposed to, it could be because it counted dye items without considering the stack size (which could vary between attempts if your dwarves decided to mill differently sized stacks of dimple cups).
(0035798)
qeveren   
2016-08-20 14:54   
(edited on: 2016-08-21 17:25)
The amount of dye in Stocks (accounting for stacks) is less than the values the manager conditions seems to track, by a factor of ~ 7, though it seems to vary. Dimple dye is behaving very oddly in conditions: having none in stock, the manager behaves if I have 223.

(0040431)
Sarmatian123   
2020-03-31 09:05   
Manager fails to track available dyes. Still persisting in DF version 0.47.04.

Dimple dye:
item type: powder
trait: unrotten items
trait: dye items
(0040723)
Shirasik   
2020-09-09 22:52   
> Dimple dye is behaving very oddly in conditions: having none in stock, the manager behaves if I have 223.

Manager counted 223 items with Dimple Dye _material_ token, i.e. items dyed with dimple dye.

Overall, currently manager could count only amount of _bags_ containing any dye:
item type: items
traits: dye.
(0040769)
qeveren   
2020-10-21 01:44   
Confirming what Shirasik said: manager tracks only bags containing dye, and _only_ if those bags are _not_ inside another container (ie. a barrel) or a workshop.