Enable waving small plants and leaves

Caveats: Double plants do not wave
This commit is contained in:
Wuzzy 2017-09-13 06:50:54 +02:00
parent 62e4be98aa
commit f1bbb1237b
3 changed files with 6 additions and 0 deletions

View file

@ -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",

View file

@ -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,