mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-01-11 18:40:25 +01:00
Make default:mg_cherry_sapling visible and breakable.
Drops default:cherry_sapling.
This commit is contained in:
parent
7e856c7356
commit
8d455da48a
@ -346,10 +346,20 @@ end
|
|||||||
|
|
||||||
minetest.register_node("default:mg_cherry_sapling", {
|
minetest.register_node("default:mg_cherry_sapling", {
|
||||||
description = "Impossible to get node.",
|
description = "Impossible to get node.",
|
||||||
drawtype = "airlike",
|
visual_scale = 1.0,
|
||||||
|
inventory_image = "default_cherry_sapling.png",
|
||||||
|
wield_image = "default_cherry_sapling.png",
|
||||||
|
drawtype = "plantlike",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
tiles = {"xfences_space.png"},
|
tiles = {"default_cherry_sapling.png"},
|
||||||
groups = {not_in_creative_inventory=1},
|
walkable = false,
|
||||||
|
selection_box = {
|
||||||
|
type = "fixed",
|
||||||
|
fixed = {-0.3, -0.5, -0.3, 0.3, 0.35, 0.3}
|
||||||
|
},
|
||||||
|
groups = {snappy=2, dig_immediate=3, not_in_creative_inventory=1, attached_node=1},
|
||||||
|
drop = "default:cherry_sapling",
|
||||||
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
local c_mg_cherry_sapling = minetest.get_content_id("default:mg_cherry_sapling")
|
local c_mg_cherry_sapling = minetest.get_content_id("default:mg_cherry_sapling")
|
||||||
|
Loading…
Reference in New Issue
Block a user