From e2db9ad1d388f45be35f63e1967a22663cc49f6b Mon Sep 17 00:00:00 2001 From: darkrose Date: Sat, 15 Nov 2014 02:05:53 +1000 Subject: [PATCH] switch conifers to standard cube shape --- src/content_mapnode_plants.cpp | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/src/content_mapnode_plants.cpp b/src/content_mapnode_plants.cpp index 1b2a418..57f1430 100644 --- a/src/content_mapnode_plants.cpp +++ b/src/content_mapnode_plants.cpp @@ -95,29 +95,13 @@ void content_mapnode_plants(bool repeat) f->setAllTextures("conifer_tree.png"); f->setTexture(0, "conifer_tree_top.png"); f->setTexture(1, "conifer_tree_top.png"); + f->setInventoryTextureCube("conifer_tree_top.png", "conifer_tree.png", "conifer_tree.png"); + f->draw_type = CDT_CUBELIKE; f->is_ground_content = true; f->flammable = 2; // can be set on fire f->dug_item = std::string("MaterialItem2 ")+itos(i)+" 1"; f->cook_result = std::string("CraftItem lump_of_charcoal 1"); - f->fuel_time = 30; - f->draw_type = CDT_NODEBOX; - f->param_type = CPT_LIGHT; - f->light_propagates = true; - f->sunlight_propagates = true; - f->is_ground_content = true; - f->solidness = 0; // drawn separately, makes no faces - f->visual_solidness = 0; f->fuel_time = 25; - f->dug_item = std::string("MaterialItem2 ")+itos(i)+" 1"; - f->setNodeBox(core::aabbox3d( - -0.4375*BS, - -0.5*BS, - -0.4375*BS, - 0.4375*BS, - 0.5*BS, - 0.4375*BS - )); - f->setInventoryTextureNodeBox(i,"conifer_tree_top.png", "conifer_tree.png", "conifer_tree.png"); f->type = CMT_WOOD; f->hardness = 0.8; lists::add("creative",i);