Add killnode

This commit is contained in:
archfan 2019-03-05 07:44:14 -05:00 committed by rubenwardy
parent 20daeebead
commit ee8073eed1
2 changed files with 14 additions and 0 deletions

View file

@ -735,6 +735,20 @@ minetest.register_node("ctf_map:meselamp", {
light_source = default.LIGHT_MAX,
})
minetest.register_node("ctf_map:killnode", {
description = "Kill Node",
drawtype = "glasslike",
tiles = {"ctf_map_killnode.png"},
paramtype = "light",
sunlight_propogates = true,
walkable = false,
pointable = false,
damage_per_second = 20,
is_ground_content = false,
groups = {immortal = 1},
sounds = default.node_sound_glass_defaults(),
})
-- Re-register all nodes from stairs and wool
for name, nodedef in pairs(minetest.registered_nodes) do
if name:find("stairs") then

Binary file not shown.

After

Width:  |  Height:  |  Size: 206 B