From 37a5f8a30bc2e267909d699faef4910a3a261555 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Wed, 16 Nov 2011 01:34:09 +0200 Subject: Move cook result properly to ContentFeatures --- src/content_mapnode.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/content_mapnode.cpp') diff --git a/src/content_mapnode.cpp b/src/content_mapnode.cpp index c33d8c4a2..30a70679a 100644 --- a/src/content_mapnode.cpp +++ b/src/content_mapnode.cpp @@ -206,6 +206,7 @@ void content_mapnode_init(IWritableNodeDefManager *nodemgr) f->param_type = CPT_MINERAL; f->is_ground_content = true; f->dug_item = std::string("MaterialItem2 ")+itos(i)+" 1"; + f->cookresult_item = std::string("MaterialItem2 ")+itos(CONTENT_GLASS)+" 1"; setDirtLikeMaterialProperties(f->material, 1.0); i = CONTENT_GRAVEL; @@ -252,6 +253,7 @@ void content_mapnode_init(IWritableNodeDefManager *nodemgr) f->param_type = CPT_MINERAL; f->is_ground_content = true; f->dug_item = std::string("MaterialItem2 ")+itos(i)+" 1"; + f->cookresult_item = "CraftItem lump_of_coal 1"; setWoodLikeMaterialProperties(f->material, 1.0); i = CONTENT_JUNGLETREE; @@ -596,6 +598,7 @@ void content_mapnode_init(IWritableNodeDefManager *nodemgr) f->param_type = CPT_NONE; f->is_ground_content = true; f->dug_item = std::string("MaterialItem2 ")+itos(i)+" 1"; + f->cookresult_item = std::string("MaterialItem2 ")+itos(CONTENT_STONE)+" 1"; setStoneLikeMaterialProperties(f->material, 0.9); i = CONTENT_MOSSYCOBBLE; -- cgit v1.2.3