forked from mtcontrib/moretrees
put all tree leaves into leaves and moretres_leaves groups, fixed incorrect
inclusion of "tree" group for leaves.
This commit is contained in:
parent
f0b77c5625
commit
c854f526d4
@ -105,7 +105,7 @@ for i in ipairs(moretrees.treelist) do
|
|||||||
drawtype = "allfaces_optional",
|
drawtype = "allfaces_optional",
|
||||||
tiles = { "moretrees_"..treename.."_leaves.png" },
|
tiles = { "moretrees_"..treename.."_leaves.png" },
|
||||||
paramtype = "light",
|
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(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
|
|
||||||
drop = {
|
drop = {
|
||||||
@ -133,7 +133,7 @@ for color = 1, 3 do
|
|||||||
drawtype = "allfaces_optional",
|
drawtype = "allfaces_optional",
|
||||||
tiles = {"moretrees_jungletree_leaves_"..jungleleaves[color]..".png"},
|
tiles = {"moretrees_jungletree_leaves_"..jungleleaves[color]..".png"},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
groups = {snappy=3, flammable=2},
|
groups = {snappy=3, flammable=2, leaves=1, moretrees_leaves=1},
|
||||||
drop = {
|
drop = {
|
||||||
max_items = 1,
|
max_items = 1,
|
||||||
items = {
|
items = {
|
||||||
@ -153,7 +153,7 @@ minetest.register_node("moretrees:fir_leaves_bright", {
|
|||||||
tile_images = { "moretrees_fir_leaves_bright.png" },
|
tile_images = { "moretrees_fir_leaves_bright.png" },
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
|
|
||||||
groups = {snappy=3, flammable=2 },
|
groups = {snappy=3, flammable=2, leaves=1, moretrees_leaves=1 },
|
||||||
drop = {
|
drop = {
|
||||||
max_items = 1,
|
max_items = 1,
|
||||||
items = {
|
items = {
|
||||||
|
@ -16,7 +16,7 @@ moretrees.enable_leafdecay = true
|
|||||||
-- you enable this, otherwise you'll have two sets of leaf decay code running
|
-- you enable this, otherwise you'll have two sets of leaf decay code running
|
||||||
-- at the same time, which will just waste CPU for no benefit.
|
-- at the same time, which will just waste CPU for no benefit.
|
||||||
|
|
||||||
moretrees.enable_default_leafdecay = false
|
moretrees.enable_default_leafdecay = true
|
||||||
|
|
||||||
-- Enable this if you want moretrees to redefine default apples so that they
|
-- Enable this if you want moretrees to redefine default apples so that they
|
||||||
-- fall when leaves decay/are dug.
|
-- fall when leaves decay/are dug.
|
||||||
|
Loading…
Reference in New Issue
Block a user