Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Is there a way to make a work order condition count a specific type of dye?  (Read 789 times)

TheBeardyMan

  • Bay Watcher
    • View Profile

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:
  • The item type "powder" counts nothing, although dimple dye is listed under powders in the stocks menu - the quantity detected is 0.
  • The adjective "dye items" counts stacks of dye of any kind - the quantity detected is 36.
  • The material "dimple dye" counts something, but that thing isn't dimple dye, nor is it stacks of dimple dye - the quantity detected is 1.
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?
Logged

A_Curious_Cat

  • Bay Watcher
    • View Profile

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.
Logged
Really hoping somebody puts this in their signature.