Add files via upload
parent
1c4b22cc4c
commit
3817597722
|
@ -0,0 +1,3 @@
|
|||
barrier = {}
|
||||
|
||||
dofile(minetest.get_modpath("barrier").."/node.lua")
|
|
@ -0,0 +1,21 @@
|
|||
minetest.register_node("barrier:barrier", {
|
||||
description = "Barrier",
|
||||
tiles = {
|
||||
"barrier.png",
|
||||
"barrier.png",
|
||||
"barrier.png",
|
||||
"barrier.png",
|
||||
"barrier.png",
|
||||
"barrier.png"
|
||||
},
|
||||
inventory_image = "barrier_inv.png",
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
groups = {snappy=2,choppy=2,oddly_breakable_by_hand=2},
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
fixed = {
|
||||
{-0.5, -0.5, -0.5, 0.5, 0.5, 0.5},
|
||||
}
|
||||
}
|
||||
})
|
Binary file not shown.
After Width: | Height: | Size: 198 B |
Binary file not shown.
After Width: | Height: | Size: 480 B |
Loading…
Reference in New Issue