diff --git a/mods/ctf/ctf_map/nodes.lua b/mods/ctf/ctf_map/nodes.lua index 5a59b19..b5e4ed5 100644 --- a/mods/ctf/ctf_map/nodes.lua +++ b/mods/ctf/ctf_map/nodes.lua @@ -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 diff --git a/mods/ctf/ctf_map/textures/ctf_map_killnode.png b/mods/ctf/ctf_map/textures/ctf_map_killnode.png new file mode 100644 index 0000000..c67f918 Binary files /dev/null and b/mods/ctf/ctf_map/textures/ctf_map_killnode.png differ