Bush leaves allfaces_optional

No more invisible nodes behind leaves.
master
Mossmanikin 2013-09-25 03:08:53 +02:00
parent 1f1e48e13b
commit 868a81e60f
1 changed files with 18 additions and 18 deletions

View File

@ -100,32 +100,32 @@ minetest.register_node("bushes:bushbranches2", {
sounds = default.node_sound_leaves_defaults(), sounds = default.node_sound_leaves_defaults(),
}) })
minetest.register_node("bushes:BushLeaves1", { minetest.register_node("bushes:BushLeaves1", {
description = "BushLeaves1", description = "BushLeaves1",
tiles = { drawtype = "allfaces_optional",
"moretrees_sequoia_leaves.png" }, tiles = {"moretrees_sequoia_leaves.png"},
inventory_image = "moretrees_sequoia_leaves.png", inventory_image = "moretrees_sequoia_leaves.png",
--is_ground_content = true, paramtype = "light",
paramtype = "light", groups = {
paramtype2 = "facedir", snappy=3,
groups = { snappy=3,
flammable=2, flammable=2,
attached_node=1}, attached_node=1
sounds = default.node_sound_stone_defaults(), },
sounds = default.node_sound_leaves_defaults(),
}) })
minetest.register_node("bushes:BushLeaves2", { minetest.register_node("bushes:BushLeaves2", {
description = "BushLeaves2", description = "BushLeaves2",
tiles = { drawtype = "allfaces_optional",
"moretrees_pine_leaves.png" }, tiles = {"moretrees_pine_leaves.png"},
inventory_image = "moretrees_pine_leaves.png", inventory_image = "moretrees_pine_leaves.png",
--is_ground_content = true, paramtype = "light",
paramtype = "light", groups = {
paramtype2 = "facedir", snappy=3,
groups = { snappy=3,
flammable=2, flammable=2,
attached_node=1}, attached_node=1
sounds = default.node_sound_stone_defaults(), },
sounds = default.node_sound_leaves_defaults(),
}) })
abstract_bushes.grow_bush = function(pos) abstract_bushes.grow_bush = function(pos)