Add killnode
This commit is contained in:
parent
20daeebead
commit
ee8073eed1
2 changed files with 14 additions and 0 deletions
|
@ -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
|
||||
|
|
BIN
mods/ctf/ctf_map/textures/ctf_map_killnode.png
Normal file
BIN
mods/ctf/ctf_map/textures/ctf_map_killnode.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 206 B |
Loading…
Reference in a new issue