mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-20 06:13:17 -04:00
22 lines
456 B
Lua
22 lines
456 B
Lua
--Made by Stvk
|
|
|
|
--get translate
|
|
local S = minetest.get_translator("barrier")
|
|
|
|
--the barrier
|
|
|
|
minetest.register_node("stvk:barrier", {
|
|
description = S("Barrier"),
|
|
inventory_image = "barrier.png",
|
|
wield_image = "barrier.png",
|
|
drawtype = "airlike",
|
|
paramtype = "light",
|
|
sunlight_propagates = true,
|
|
walkable = true,
|
|
pointable = false,
|
|
diggable = false
|
|
buildable_to = true,
|
|
floodable: false,
|
|
drop = "",
|
|
groups = {not_in_creative_inventory = 1},
|
|
})
|