aboutsummaryrefslogtreecommitdiff
path: root/src/mapnode.cpp
diff options
context:
space:
mode:
authorNils Dagsson Moskopp <nils@dieweltistgarnichtso.net>2011-05-31 22:04:09 +0200
committerNils Dagsson Moskopp <nils@dieweltistgarnichtso.net>2011-05-31 22:04:09 +0200
commitd7b768dc4b94786474c35a6ae7ea2000d7e11626 (patch)
tree8380263f1ee38abf41e6944d62d7d5da9cc87cb6 /src/mapnode.cpp
parent8d580ddf29ef4c42ddbe36f48cf7fd5f06ad400b (diff)
downloadminetest-d7b768dc4b94786474c35a6ae7ea2000d7e11626.tar.gz
minetest-d7b768dc4b94786474c35a6ae7ea2000d7e11626.tar.bz2
minetest-d7b768dc4b94786474c35a6ae7ea2000d7e11626.zip
+ brick
Diffstat (limited to 'src/mapnode.cpp')
-rw-r--r--src/mapnode.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mapnode.cpp b/src/mapnode.cpp
index cfb1a493f..72cd762c6 100644
--- a/src/mapnode.cpp
+++ b/src/mapnode.cpp
@@ -189,6 +189,14 @@ void init_mapnode()
f->is_ground_content = true;
f->dug_item = std::string("MaterialItem ")+itos(CONTENT_SAND)+" 1";
+ i = CONTENT_BRICK;
+ f = &g_content_features[i];
+ f->setAllTextures("brick.png");
+ f->setInventoryTextureCube("brick.png", "brick.png", "brick.png");
+ f->param_type = CPT_MINERAL;
+ f->is_ground_content = true;
+ f->dug_item = std::string("MaterialItem ")+itos(i)+" 1";
+
i = CONTENT_TREE;
f = &g_content_features[i];
f->setAllTextures("tree.png");