diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-11-16 01:34:09 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-11-29 19:13:46 +0200 |
commit | 37a5f8a30bc2e267909d699faef4910a3a261555 (patch) | |
tree | f210efc6d415f2ffb16ed2747c4d7d77196244e8 /src/content_mapnode.cpp | |
parent | f107967fdcfd66add9638b2932723e55c4f4ae2d (diff) | |
download | minetest-37a5f8a30bc2e267909d699faef4910a3a261555.tar.gz minetest-37a5f8a30bc2e267909d699faef4910a3a261555.tar.bz2 minetest-37a5f8a30bc2e267909d699faef4910a3a261555.zip |
Move cook result properly to ContentFeatures
Diffstat (limited to 'src/content_mapnode.cpp')
-rw-r--r-- | src/content_mapnode.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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; |