dfhack icon indicating copy to clipboard operation
dfhack copied to clipboard

seedwatch should list all watched seeds provided there are corresponding plants/growths in stock

Open Cubittus opened this issue 2 years ago • 2 comments

I have a fort with strawberries and strawberry plants in stock, but no strawberry seeds at present. seedwatch is set to watch all seeds. seedwatch status does not list strawberries on the watchlist. I would expect to see a line: 0/30 STRAWBERRY I would not expect to see seeds that I do not currently have plants or plant_growths for though, otherwise the status would just list every seed type.

Cubittus avatar Mar 30 '23 14:03 Cubittus

I'll look into this one.

silverflyone avatar Apr 16 '23 01:04 silverflyone

implementing this would require scanning not only the SEEDS category vector for actual seeds, but also the PLANT and PLANT_GROWTH vectors for plants and plant growths that, if processed, could yield a seed

there may be some code in autofarm that can be leveraged here, which might argue for moving some of that to core to avoid DRY

ab9rf avatar May 30 '24 17:05 ab9rf