Enable waving small plants and leaves
Caveats: Double plants do not wave
This commit is contained in:
parent
62e4be98aa
commit
f1bbb1237b
3 changed files with 6 additions and 0 deletions
|
@ -79,6 +79,7 @@ minetest.register_node("mcl_core:deadbush", {
|
|||
_doc_items_longdesc = "Dead bushes are unremarkable plants often found in dry areas. They can be harvested for sticks.",
|
||||
_doc_items_hidden = false,
|
||||
drawtype = "plantlike",
|
||||
waving = 1,
|
||||
visual_scale = 1.0,
|
||||
tiles = {"default_dry_shrub.png"},
|
||||
inventory_image = "default_dry_shrub.png",
|
||||
|
|
|
@ -69,6 +69,7 @@ local register_leaves = function(subname, description, longdesc, tiles, drop1, d
|
|||
_doc_items_longdesc = longdesc,
|
||||
_doc_items_hidden = false,
|
||||
drawtype = "allfaces_optional",
|
||||
waving = 2,
|
||||
place_param2 = 1, -- Prevent leafdecay for placed nodes
|
||||
tiles = tiles,
|
||||
paramtype = "light",
|
||||
|
@ -88,6 +89,7 @@ local register_sapling = function(subname, description, longdesc, texture, selbo
|
|||
_doc_items_longdesc = longdesc,
|
||||
_doc_items_hidden = false,
|
||||
drawtype = "plantlike",
|
||||
waving = 1,
|
||||
visual_scale = 1.0,
|
||||
tiles = {texture},
|
||||
inventory_image = texture,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue