added compost mod support

This commit is contained in:
berengma 2018-11-30 14:52:23 +01:00
parent 1f6bacf971
commit 2fac016e7e
2 changed files with 11 additions and 0 deletions

View File

@ -17,3 +17,5 @@ and leftclick on a piece of soil.
All soil will be seeded with your choosen seed while
all weed will be removed before, if any.
30/11/2018 added support of compost:garden_soil if compost mod is present

View File

@ -69,6 +69,15 @@ local soil_nodenames = {
["farming:desert_sand_soil_wet"]= true
}
--support compost mod
if minetest.get_modpath("compost") then
soil_nodenames["compost:garden_soil"] = true
end
local seeder_seed = {
-- *** farming
{"farming:seed_barley", "farming:barley_1"},