Support for cocoa sapling planting

master
Ciaran Gultnieks 2015-05-10 08:50:24 +01:00
parent 8dff43a47c
commit e21318ab9d
1 changed files with 2 additions and 0 deletions

View File

@ -425,6 +425,8 @@ minetest.register_entity("people:person" ,{
if self.gather.plant == "default:sapling" then
soilitems = {"default:dirt", "default:dirt_with_grass"}
elseif self.gather.plant == "farming_plus:cocoa_sapling" then
soilitems = {"default:desert_sand", "default:sand"}
else
soilitems = {"farming:soil_wet"}
end