forked from mtcontrib/plantlife_modpack
		
	Merge remote-tracking branch 'upstream/master'
This commit is contained in:
		@@ -362,13 +362,19 @@ for i in pairs(TRuNKS) do
 | 
			
		||||
					snappy=1,
 | 
			
		||||
					choppy=2,
 | 
			
		||||
					oddly_breakable_by_hand=1,
 | 
			
		||||
					flammable=2--,
 | 
			
		||||
					flammable=2,
 | 
			
		||||
					--not_in_creative_inventory=1 -- atm in inv for testing
 | 
			
		||||
				},
 | 
			
		||||
				--drop = "trunks:twig_1", -- not sure about this yet
 | 
			
		||||
				sounds = default.node_sound_wood_defaults(),
 | 
			
		||||
			})
 | 
			
		||||
 | 
			
		||||
			default.register_leafdecay({
 | 
			
		||||
				trunks = { MoD..":"..TRuNK },
 | 
			
		||||
				leaves = { "trunks:"..TRuNK.."root" },
 | 
			
		||||
				radius = 1,
 | 
			
		||||
			})
 | 
			
		||||
 | 
			
		||||
		else
 | 
			
		||||
			minetest.log("error", string.format("[Trunks] warning: tree type '%s:%s' not found", MoD, TRuNK))
 | 
			
		||||
		end
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user