New textures for Whiskers75's andblock, turned it into a nodebox using the

definitions from the delayers.
This commit is contained in:
Vanessa Ezekowitz 2012-08-07 05:08:12 -04:00
parent 6aa2f2d5be
commit e73dde5a03
4 changed files with 13 additions and 2 deletions

View File

@ -5,14 +5,25 @@
minetest.register_node("mesecons_whiskers75:andblock", {
description = "AND block",
drawtype = "raillike",
tile_images = {"whiskers75andblock.png"},
drawtype = "nodebox",
tiles = {
"whiskers75_andblock_top.png",
"whiskers75_andblock_sides.png"
},
inventory_image = {"whiskers75andblock.png"},
sunlight_propagates = true,
paramtype = 'light',
walkable = true,
groups = {dig_immediate=2},
material = minetest.digprop_constanttime(1.0),
selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.35, 0.5},
},
node_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -0.35, 0.5},
},
})
minetest.register_on_punchnode(function(pos, node, puncher)

Binary file not shown.

After

Width:  |  Height:  |  Size: 448 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 617 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 364 B