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:
parent
8bbc512fe5
commit
c5e583e059
5 changed files with 159 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue