I would definitely filter out all non-food/snacks first.  Perhaps add a var to snacks that says what they become when dried (a typepath), and accept it if it's non-null.  That reduces checks per click, reduces code duplication, and is easier to add new content.