1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Added fences (but still needs an icon or something to display in inventory)

This commit is contained in:
Ciaran Gultnieks 2011-05-24 17:52:04 +01:00
parent 8bbc512fe5
commit c5e583e059
5 changed files with 159 additions and 0 deletions

View file

@ -216,6 +216,13 @@ void init_mapnode()
f->solidness = 0; // drawn separately, makes no faces
f->setInventoryTextureCube("glass.png", "glass.png", "glass.png");
i = CONTENT_FENCE;
f = &g_content_features[i];
f->light_propagates = true;
f->param_type = CPT_LIGHT;
f->is_ground_content = true;
f->dug_item = std::string("MaterialItem ")+itos(i)+" 1";
f->solidness = 0; // drawn separately, makes no faces
// Deprecated
i = CONTENT_COALSTONE;