Add files via upload

master
Gerold55 2018-07-20 13:41:10 -04:00 committed by GitHub
parent 1c4b22cc4c
commit 3817597722
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 24 additions and 0 deletions

3
init.lua Normal file
View File

@ -0,0 +1,3 @@
barrier = {}
dofile(minetest.get_modpath("barrier").."/node.lua")

21
node.lua Normal file
View File

@ -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},
}
}
})

BIN
textures/barrier.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 198 B

BIN
textures/barrier_inv.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 480 B