forked from oerkki/voxelands
Make bushes look like bushes in inventory
This commit is contained in:
parent
04c4c2dfbe
commit
309df7954a
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue