mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-29 22:33:46 +01:00
Bone meal makes cocoas grow
parent
f0e5a9707a
commit
a50066a9b6
@ -180,6 +180,12 @@ mcl_dye.apply_bone_meal = function(pointed_thing)
|
|||||||
minetest.add_node(pos, {name="mcl_farming:melontige_unconnect"})
|
minetest.add_node(pos, {name="mcl_farming:melontige_unconnect"})
|
||||||
end
|
end
|
||||||
return true
|
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
|
elseif n.name ~= "" and n.name == "mcl_core:junglesapling" then
|
||||||
minetest.add_node(pos, {name="air"})
|
minetest.add_node(pos, {name="air"})
|
||||||
mcl_core.generate_tree(pos, "mcl_core:jungletree", "mcl_core:jungleleaves", 2)
|
mcl_core.generate_tree(pos, "mcl_core:jungletree", "mcl_core:jungleleaves", 2)
|
||||||
|
Loading…
Reference in New Issue
Block a user