Add in basic buildtest pipe
This commit is contained in:
parent
8311f56701
commit
acce559dfe
40
mods/buildtest/init.lua
Normal file
40
mods/buildtest/init.lua
Normal file
@ -0,0 +1,40 @@
|
||||
minetest.register_node("buildtest:glass_pipe", {
|
||||
description = "Glass Pipe",
|
||||
tiles = {"glass_pipe.png"},
|
||||
groups = {stone = 1, hard = 1, pickaxe = 1, hand = 4},
|
||||
sounds = main.stoneSound(),
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
connects_to = {"buildtest:glass_pipe","hopper:hopper"},
|
||||
node_box = {
|
||||
type = "connected",
|
||||
-- {x1, y1, z1, x2, y2, z2}
|
||||
disconnected = {
|
||||
{-3/16,-3/16,-3/16,3/16,3/16,3/16}
|
||||
},
|
||||
connect_top = {
|
||||
{-3/16,-3/16,-3/16,3/16,8/16,3/16}
|
||||
},
|
||||
connect_bottom = {
|
||||
{-3/16,-8/16,-3/16,3/16,3/16,3/16}
|
||||
},
|
||||
|
||||
|
||||
connect_left = {
|
||||
{-8/16,-3/16,-3/16,3/16,3/16,3/16}
|
||||
},
|
||||
connect_right = {
|
||||
{-3/16,-3/16,-3/16,8/16,3/16,3/16}
|
||||
},
|
||||
|
||||
|
||||
connect_front = {
|
||||
{-3/16,-3/16,-8/16,3/16,3/16,3/16}
|
||||
},
|
||||
|
||||
connect_back = {
|
||||
{-3/16,-3/16,-3/16,3/16,3/16,8/16}
|
||||
},
|
||||
},
|
||||
})
|
BIN
mods/buildtest/textures/glass_pipe.png
Normal file
BIN
mods/buildtest/textures/glass_pipe.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
Loading…
x
Reference in New Issue
Block a user