Bay 12 Games Forum

Dwarf Fortress => DF Gameplay Questions => Topic started by: TheBeardyMan on July 12, 2023, 10:28:06 pm

Title: Is there a way to make a work order condition count a specific type of dye?
Post by: TheBeardyMan on July 12, 2023, 10:28:06 pm
So, I'm trying to set work order conditions for milling dimple cups. The millstone takes plants from a stockpile that only accepts dimple cup plants, and I've worked out how to count the number of dimple cup plants - not stacks of dimple cup plants - set item type to "plant", set material to "dimple cup plant", and set adjective to "unrotten". But I haven't worked out how to count the amount of dimple dye. I have 90 dimple dye in 36 stacks and no dyes of other kinds, and here's what I've discovered so far:
So by setting the adjective to "dye items", I have a "sort of works for now" solution - it counts stacks, not items, and it'll be even less accurate if I acquire other kinds of dye. Is there a way to make a work order condition that counts dimple dye?
Title: Re: Is there a way to make a work order condition count a specific type of dye?
Post by: A_Curious_Cat on July 17, 2023, 05:50:34 pm
Quote from: https://dwarffortresswiki.org/index.php/Dye
Bag contents are not recognized in the manager's work order conditions. As a workaround, referencing the dye bags is advised: item type 'items', material type 'no material', trait 'dye item'. It will now count all stacks of dye.

Using material 'Dimple dye', 'Emerald dye', 'Redroot dye', 'Sliver dye' will not work.