From cd26a62cef373ac616449f2457751383d19ca88b Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Sun, 8 Jan 2017 09:56:09 +0000 Subject: [PATCH] re-add ethereal saplings into sapling group, bamboo sprouts are edible --- sapling.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sapling.lua b/sapling.lua index e7704c1..c5ee62f 100644 --- a/sapling.lua +++ b/sapling.lua @@ -20,7 +20,7 @@ minetest.register_node("ethereal:bamboo_sprout", { type = "fixed", fixed = {-4 / 16, -0.5, -4 / 16, 4 / 16, 0, 4 / 16} }, - on_use = minetest.item_eat(-2), + on_use = minetest.item_eat(2), grown_height = 11, }) @@ -44,7 +44,7 @@ ethereal.register_sapling = function(name, desc, texture, height) }, groups = { snappy = 2, dig_immediate = 3, flammable = 2, - ethereal_sapling = 1, attached_node = 1 + ethereal_sapling = 1, attached_node = 1, sapling = 1 }, sounds = default.node_sound_leaves_defaults(), grown_height = height, @@ -226,9 +226,10 @@ minetest.register_abm({ end, }) --- burn saplings +--[[ burn saplings minetest.register_craft({ type = "fuel", recipe = "group:ethereal_sapling", burntime = 10, }) +]] \ No newline at end of file