-bool item_material_is_cookable(content_t content)
-{
- if(content == CONTENT_TREE)
- return true;
- else if(content == CONTENT_COBBLE)
- return true;
- else if(content == CONTENT_SAND)
- return true;
- return false;
-}
-
-InventoryItem* item_material_create_cook_result(content_t content)
-{
- if(content == CONTENT_TREE)
- return new CraftItem("lump_of_coal", 1);
- else if(content == CONTENT_COBBLE)
- return new MaterialItem(CONTENT_STONE, 1);
- else if(content == CONTENT_SAND)
- return new MaterialItem(CONTENT_GLASS, 1);
- return NULL;
-}
-
-std::string item_craft_get_image_name(const std::string &subname)