Add dry-colored grass/fern variants
This commit is contained in:
parent
3bc9918370
commit
72f5591400
28 changed files with 256 additions and 127 deletions
|
@ -112,7 +112,7 @@ local register_sapling = function(subname, description, longdesc, texture, selbo
|
|||
local node_below = minetest.get_node_or_nil({x=pos.x,y=pos.y-1,z=pos.z})
|
||||
if not node_below then return false end
|
||||
local nn = node_below.name
|
||||
return (nn=="mcl_core:dirt_with_grass" or nn=="mcl_core:dirt_with_grass_snow" or
|
||||
return ((minetest.get_item_group(nn, "grass_block") == 1) or
|
||||
nn=="mcl_core:podzol" or nn=="mcl_core:podzol_snow" or
|
||||
nn=="mcl_core:dirt")
|
||||
end),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue