mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Merged CiaranG's fence and fixed two things
This commit is contained in:
commit
12ca835e14
7 changed files with 198 additions and 20 deletions
|
@ -216,6 +216,14 @@ 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
|
||||
f->air_equivalent = true; // grass grows underneath
|
||||
|
||||
// Deprecated
|
||||
i = CONTENT_COALSTONE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue