diff options
author | Nils Dagsson Moskopp <nils@dieweltistgarnichtso.net> | 2011-05-30 14:42:08 +0200 |
---|---|---|
committer | Nils Dagsson Moskopp <nils@dieweltistgarnichtso.net> | 2011-05-30 14:42:08 +0200 |
commit | 880aa870a0316d8f2f3081bf117e8237af270405 (patch) | |
tree | 31e284331946adad7d836281eb87d38d07e2f9d6 /src/mapnode.cpp | |
parent | af574e58fe65e230f563f996496f31ce60291dc3 (diff) | |
download | minetest-880aa870a0316d8f2f3081bf117e8237af270405.tar.gz minetest-880aa870a0316d8f2f3081bf117e8237af270405.tar.bz2 minetest-880aa870a0316d8f2f3081bf117e8237af270405.zip |
+ cactii
Diffstat (limited to 'src/mapnode.cpp')
-rw-r--r-- | src/mapnode.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mapnode.cpp b/src/mapnode.cpp index c006b8222..8ceeecfba 100644 --- a/src/mapnode.cpp +++ b/src/mapnode.cpp @@ -215,6 +215,16 @@ void init_mapnode() } f->dug_item = std::string("MaterialItem ")+itos(i)+" 1"; + i = CONTENT_CACTUS; + f = &g_content_features[i]; + f->setAllTextures("cactus_side.png"); + f->setTexture(0, "cactus_top.png"); + f->setTexture(1, "cactus_top.png"); + f->setInventoryTextureCube("cactus_top.png", "cactus_side.png", "cactus_side.png"); + f->param_type = CPT_MINERAL; + f->is_ground_content = true; + f->dug_item = std::string("MaterialItem ")+itos(i)+" 1"; + i = CONTENT_GLASS; f = &g_content_features[i]; f->light_propagates = true; |