dfhack icon indicating copy to clipboard operation
dfhack copied to clipboard

modify seedwatch all to actually watch all seeds

Open myk002 opened this issue 3 years ago • 0 comments

Fixes #1941 This PR makes two changes:

  • The internal map of plant id -> plant index now only contains plants that have seeds. This will allow us to print an error message instead of succeeding but performing no useful action when a plant ID is passed to the API that doesn't have seeds.
  • When seedwatch all is called, we iterate over our map and set targets for all plants that have seeds, instead of just the ones in the hardcoded abbreviation list.

No doc updates in this PR since the docs have been rewritten in the docs branch and we don't need to cause conflicts.

myk002 avatar Jul 31 '22 21:07 myk002