Make bushes look like bushes in inventory

This commit is contained in:
Mikita Wiśniewski 2022-10-14 18:25:19 +07:00
parent 04c4c2dfbe
commit 309df7954a
1 changed files with 2 additions and 0 deletions

View File

@ -1128,6 +1128,7 @@ void content_mapnode_plants(bool repeat)
f->ondig_gives_inventory = true;
f->setAllTextures("bush_blueberry.png");
f->setAllMetaTextures("bush_blueberry_berry.png");
f->setInventoryTextureNodeBox(i,"bush_blueberry.png", "bush_blueberry.png", "bush_blueberry.png");
#ifndef SERVER
f->setAllTextureTypes(MATERIAL_ALPHA_SIMPLE);
f->setAllTextureFlags(0);
@ -1158,6 +1159,7 @@ void content_mapnode_plants(bool repeat)
f->ondig_gives_inventory = true;
f->setAllTextures("bush_raspberry.png");
f->setAllMetaTextures("bush_raspberry_berry.png");
f->setInventoryTextureNodeBox(i,"bush_raspberry.png", "bush_raspberry.png", "bush_raspberry.png");
#ifndef SERVER
f->setAllTextureTypes(MATERIAL_ALPHA_SIMPLE);
f->setAllTextureFlags(0);