CleverRaven/Cataclysm-DDA — pull request #10453 by Coolthulhu (2014-12-12 23:52:07+00:00)
Title: Filter item action inventory prompts

I added filters to most items that prompt for inventory.

For example, sewing will now list only items made of sewable materials, wood axe will only list logs, water purification tablets will only list containers with water or salt water, hotplate will only list heatable food etc.

The implementation passes lambdas as (bool*)(const item &). Should I wrap them in function objects like it is done with use_function in item_factory.cpp?