DFHack / dfhack

Memory hacking library for Dwarf Fortress and a set of tools that use it
Other
1.86k stars 468 forks source link

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

Open Cubittus opened 1 year ago

Cubittus commented 1 year ago

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.

silverflyone commented 1 year ago

I'll look into this one.

ab9rf commented 3 months ago

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