From a50066a9b600bc4b6c07ab03ba30ebf15fc6cc91 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sat, 18 Feb 2017 19:25:34 +0100 Subject: [PATCH] Bone meal makes cocoas grow --- mods/ITEMS/mcl_dye/init.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mods/ITEMS/mcl_dye/init.lua b/mods/ITEMS/mcl_dye/init.lua index 172b165d5a..83820fa879 100644 --- a/mods/ITEMS/mcl_dye/init.lua +++ b/mods/ITEMS/mcl_dye/init.lua @@ -180,6 +180,12 @@ mcl_dye.apply_bone_meal = function(pointed_thing) minetest.add_node(pos, {name="mcl_farming:melontige_unconnect"}) end return true + elseif n.name == "mcl_cocoas:cocoa_1" then + minetest.set_node(pos, {name="mcl_cocoas:cocoa_2", param2 = n.param2}) + return true + elseif n.name == "mcl_cocoas:cocoa_2" then + minetest.set_node(pos, {name="mcl_cocoas:cocoa_3", param2 = n.param2}) + return true elseif n.name ~= "" and n.name == "mcl_core:junglesapling" then minetest.add_node(pos, {name="air"}) mcl_core.generate_tree(pos, "mcl_core:jungletree", "mcl_core:jungleleaves", 2)