forked from minetest-mods/mesecons
commit
31c01b0425
@ -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)
|
||||
|
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