forked from minetest-mods/mesecons
commit
31c01b0425
@ -5,14 +5,25 @@
|
|||||||
|
|
||||||
minetest.register_node("mesecons_whiskers75:andblock", {
|
minetest.register_node("mesecons_whiskers75:andblock", {
|
||||||
description = "AND block",
|
description = "AND block",
|
||||||
drawtype = "raillike",
|
drawtype = "nodebox",
|
||||||
tile_images = {"whiskers75andblock.png"},
|
tiles = {
|
||||||
|
"whiskers75_andblock_top.png",
|
||||||
|
"whiskers75_andblock_sides.png"
|
||||||
|
},
|
||||||
inventory_image = {"whiskers75andblock.png"},
|
inventory_image = {"whiskers75andblock.png"},
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
paramtype = 'light',
|
paramtype = 'light',
|
||||||
walkable = true,
|
walkable = true,
|
||||||
groups = {dig_immediate=2},
|
groups = {dig_immediate=2},
|
||||||
material = minetest.digprop_constanttime(1.0),
|
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)
|
minetest.register_on_punchnode(function(pos, node, puncher)
|
||||||
|
BIN
mesecons_whiskers75/textures/whiskers75_andblock_sides.png
Normal file
BIN
mesecons_whiskers75/textures/whiskers75_andblock_sides.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 449 B |
BIN
mesecons_whiskers75/textures/whiskers75_andblock_top.png
Normal file
BIN
mesecons_whiskers75/textures/whiskers75_andblock_top.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 684 B |
Binary file not shown.
Before Width: | Height: | Size: 364 B |
Loading…
Reference in New Issue
Block a user