mirror of
https://github.com/minetest-mods/mesecons.git
synced 2024-12-26 23:37:30 +01:00
New textures for Whiskers75's andblock, turned it into a nodebox using the
definitions from the delayers.
This commit is contained in:
parent
6aa2f2d5be
commit
e73dde5a03
@ -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: 448 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: 617 B |
Binary file not shown.
Before Width: | Height: | Size: 364 B |
Loading…
Reference in New Issue
Block a user