TheDarklingWolf/Cataclysm-DDA — pull request #445 by jwo7777777 (2013-04-09 23:29:04+00:00)
Title: Pickling/canning - using glass bottles, sheet metal, food, and fire .…

...and tools

This commit has three recipes as a starter. Basic idea is to let the
player CRAFT a TOOL that is a sealed jar containing a comestible. Then
the tool is activated, turning it into a glass bottle containing
spoilable food inside. Until activated, the sealed jar is preserved
forever.
To add recipes, add a non-reversible RECIPE("jar_something",
CC_FOOD,...... then add two itypes TOOL("jar_something", ......
&iuse::dejar, ....) and FOOD("something",...........). The iuse::dejar
function will transform the sealed jar into the container with the food.
note: probably won't handle paper wrappers.