From: Vanessa Ezekowitz Date: Thu, 16 Jan 2014 18:44:56 +0000 (-0500) Subject: Put all saplings into "sapling" group X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=b0a559ed0bc6d2b9bf423f3561a4551248aeb0f4;p=zefram%2Fminetest%2Fmoretrees.git Put all saplings into "sapling" group --- diff --git a/node_defs.lua b/node_defs.lua index 271b771..f2ef221 100644 --- a/node_defs.lua +++ b/node_defs.lua @@ -113,7 +113,7 @@ for i in ipairs(moretrees.treelist) do type = "fixed", fixed = {-0.3, -0.5, -0.3, 0.3, 0.35, 0.3} }, - groups = {snappy=2,dig_immediate=3,flammable=2,attached_node=1}, + groups = {snappy=2,dig_immediate=3,flammable=2,attached_node=1,sapling=1}, sounds = default.node_sound_defaults(), }) @@ -129,7 +129,7 @@ for i in ipairs(moretrees.treelist) do type = "fixed", fixed = {-0.3, -0.5, -0.3, 0.3, 0.35, 0.3} }, - groups = {snappy=2,dig_immediate=3,flammable=2,attached_node=1,not_in_creative_inventory=1}, + groups = {snappy=2,dig_immediate=3,flammable=2,attached_node=1,not_in_creative_inventory=1,sapling=1}, sounds = default.node_sound_defaults(), drop = "moretrees:"..treename.."_sapling" }) @@ -337,7 +337,7 @@ minetest.register_node("moretrees:jungletree_sapling", { type = "fixed", fixed = {-0.3, -0.5, -0.3, 0.3, 0.35, 0.3} }, - groups = {snappy=2,dig_immediate=3,flammable=2,attached_node=1}, + groups = {snappy=2,dig_immediate=3,flammable=2,attached_node=1,sapling=1}, sounds = default.node_sound_leaves_defaults(), }) @@ -355,7 +355,7 @@ minetest.register_node("moretrees:jungletree_sapling_ongen", { type = "fixed", fixed = {-0.3, -0.5, -0.3, 0.3, 0.35, 0.3} }, - groups = {snappy=2,dig_immediate=3,flammable=2,attached_node=1,not_in_creative_inventory=1}, + groups = {snappy=2,dig_immediate=3,flammable=2,attached_node=1,not_in_creative_inventory=1,sapling=1}, sounds = default.node_sound_leaves_defaults(), drop = "moretrees:jungletree_sapling" })