0

Add emerald ore and sandstone stairs.

This commit is contained in:
Alejandro Aguilera
2012-05-31 13:43:53 +02:00
parent b245bbe8b3
commit 86ad4bf611

View File

@@ -1491,8 +1491,8 @@ def fire(self, blockid, data):
# monster spawner # monster spawner
block(blockid=52, top_index=34, transparent=True) block(blockid=52, top_index=34, transparent=True)
# wooden, cobblestone, red brick, stone brick and netherbrick stairs. # wooden, cobblestone, red brick, stone brick, netherbrick and sandstone stairs.
@material(blockid=[53,67,108,109,114], data=range(8), transparent=True, solid=True, nospawn=True) @material(blockid=[53,67,108,109,114,128], data=range(8), transparent=True, solid=True, nospawn=True)
def stairs(self, blockid, data): def stairs(self, blockid, data):
# first, rotations # first, rotations
@@ -1526,6 +1526,8 @@ def stairs(self, blockid, data):
texture = self.terrain_images[54] texture = self.terrain_images[54]
elif blockid == 114: # netherbrick stairs elif blockid == 114: # netherbrick stairs
texture = self.terrain_images[224] texture = self.terrain_images[224]
elif blockid ==128: #sandstone stairs
texture = self.terrain_images[192]
side = texture.copy() side = texture.copy()
half_block_u = texture.copy() # up, down, left, right half_block_u = texture.copy() # up, down, left, right
@@ -3365,3 +3367,6 @@ def slabs(self, blockid, data):
alpha_over(img, top, (0,6 - delta), top) alpha_over(img, top, (0,6 - delta), top)
return img return img
# emerald ore
block(blockid=130, top_index=171)