Add indestructible papyrus (#776)

* Add indestructible papyrus

* Update nodes.lua

* Update nodes.lua

* Update nodes.lua

* Update nodes.lua
This commit is contained in:
sodomite 2021-03-12 18:10:39 +00:00 committed by GitHub
parent 723301dd12
commit 3bb4dddc21
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -424,6 +424,25 @@ do
sounds = default.node_sound_leaves_defaults() sounds = default.node_sound_leaves_defaults()
}) })
minetest.register_node(":ctf_map:papyrus", {
description = "Indestructible Papyrus",
drawtype = "plantlike",
tiles = {"default_papyrus.png"},
inventory_image = "default_papyrus.png",
wield_image = "default_papyrus.png",
paramtype = "light",
sunlight_propagates = true,
walkable = false,
selection_box = {
type = "fixed",
fixed = {-6 / 16, -0.5, -6 / 16, 6 / 16, 0.5, 6 / 16},
},
groups = {immortal = 1},
sounds = default.node_sound_leaves_defaults(),
after_dig_node = function(pos, node, metadata, digger)
default.dig_up(pos, node, digger)
end,
})
minetest.register_node(":ctf_map:jungletree", { minetest.register_node(":ctf_map:jungletree", {
description = "Indestructible Jungle Tree", description = "Indestructible Jungle Tree",