mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-14 07:01:06 +01:00
Bone meal makes cocoas grow
This commit is contained in:
parent
f0e5a9707a
commit
a50066a9b6
1 changed files with 6 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue