summaryrefslogtreecommitdiff
path: root/src/content_mapnode.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-11-16 01:34:09 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-11-29 19:13:46 +0200
commit37a5f8a30bc2e267909d699faef4910a3a261555 (patch)
treef210efc6d415f2ffb16ed2747c4d7d77196244e8 /src/content_mapnode.cpp
parentf107967fdcfd66add9638b2932723e55c4f4ae2d (diff)
downloadminetest-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.cpp3
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;