summaryrefslogtreecommitdiff
path: root/node_defs.lua
diff options
context:
space:
mode:
authorVanessa Ezekowitz <vanessaezekowitz@gmail.com>2013-02-13 21:25:24 -0500
committerVanessa Ezekowitz <vanessaezekowitz@gmail.com>2013-02-13 21:25:24 -0500
commitc854f526d478531010025197304465bfab3a7d88 (patch)
treeaa8ff9fae0dd88de9f97357f9f121cf9fc74a06e /node_defs.lua
parentf0b77c5625a90bc15cadac06bc3865cf31236ecd (diff)
put all tree leaves into leaves and moretres_leaves groups, fixed incorrect
inclusion of "tree" group for leaves.
Diffstat (limited to 'node_defs.lua')
-rw-r--r--node_defs.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/node_defs.lua b/node_defs.lua
index 1f14f4e..2625b7e 100644
--- a/node_defs.lua
+++ b/node_defs.lua
@@ -105,7 +105,7 @@ for i in ipairs(moretrees.treelist) do
drawtype = "allfaces_optional",
tiles = { "moretrees_"..treename.."_leaves.png" },
paramtype = "light",
- groups = {tree=1, snappy=3, flammable=2},
+ groups = {snappy=3, flammable=2, leaves=1, moretrees_leaves=1},
sounds = default.node_sound_leaves_defaults(),
drop = {
@@ -133,7 +133,7 @@ for color = 1, 3 do
drawtype = "allfaces_optional",
tiles = {"moretrees_jungletree_leaves_"..jungleleaves[color]..".png"},
paramtype = "light",
- groups = {snappy=3, flammable=2},
+ groups = {snappy=3, flammable=2, leaves=1, moretrees_leaves=1},
drop = {
max_items = 1,
items = {
@@ -153,7 +153,7 @@ minetest.register_node("moretrees:fir_leaves_bright", {
tile_images = { "moretrees_fir_leaves_bright.png" },
paramtype = "light",
- groups = {snappy=3, flammable=2 },
+ groups = {snappy=3, flammable=2, leaves=1, moretrees_leaves=1 },
drop = {
max_items = 1,
items = {