0

Add all stem and all cap blocks for big mushrooms.

This commit is contained in:
Alejandro Aguilera
2013-05-11 16:11:50 +02:00
parent 478d44f480
commit 4b1e8fd3e4

View File

@@ -3159,7 +3159,7 @@ def stone_brick(self, blockid, data):
return img
# huge brown and red mushroom
@material(blockid=[99,100], data=range(11), solid=True)
@material(blockid=[99,100], data= range(11) + [14,15], solid=True)
def huge_mushroom(self, blockid, data):
# rotation
if self.rotation == 1:
@@ -3232,6 +3232,12 @@ def huge_mushroom(self, blockid, data):
if data == 10: # stem
img = self.build_full_block(porous, None, None, stem, stem)
if data == 14: # all cap
img = self.build_block(cap,cap)
if data == 15: # all stem
img = self.build_block(stem,stem)
return img
# iron bars and glass pane