Add barrier node
This commit is contained in:
parent
b6f94f8bd2
commit
d4cf25d1d0
|
@ -4,6 +4,22 @@
|
|||
-- Node definitions
|
||||
--
|
||||
|
||||
minetest.register_node("default:barrier", {
|
||||
description = "Barrier",
|
||||
drawtype = "airlike",
|
||||
paramtype = "light",
|
||||
inventory_image = "default_barrier.png",
|
||||
wield_image = "default_barrier.png",
|
||||
stack_max = 64,
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = { not_in_creative_inventory = 1 },
|
||||
on_blast = function() end,
|
||||
on_destruct = function () end,
|
||||
can_dig = function() return false end,
|
||||
diggable = false,
|
||||
})
|
||||
|
||||
minetest.register_node("default:stone", {
|
||||
description = "Stone",
|
||||
tiles = {"default_stone.png"},
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 17 KiB |
|
@ -130,3 +130,4 @@ mesecon:register_mvps_stopper("default:furnace")
|
|||
mesecon:register_mvps_stopper("default:sign")
|
||||
mesecon:register_mvps_stopper("default:obsidian")
|
||||
mesecon:register_mvps_stopper("default:bedrock")
|
||||
mesecon:register_mvps_stopper("default:barrier")
|
||||
|
|
Loading…
Reference in New Issue