add Everness support (thx imre84)

This commit is contained in:
tenplus1 2023-05-08 17:47:32 +01:00
parent a1e5d541c4
commit a93fc5da3d
4 changed files with 28 additions and 1 deletions

View File

@ -96,3 +96,10 @@ https://forum.minetest.net/viewtopic.php?f=9&t=16446
* Added helper function for position and protection check
* Added ginger support
* Added moretrees poplar sapling
### Version 1.7
* Added farming redo's barley, hemp, rye, oat, mint, sunflower, rice seeds
* Added Everness saplings
* Update readme

View File

@ -11,3 +11,4 @@ dryplants?
df_trees?
df_farming?
df_primordial_items?
everness?

View File

@ -1,4 +1,4 @@
name = bonemeal
depends = default
optional_depends = lucky_block, farming, ethereal, moretrees, technic_worldgen, flowers, dye, ferns, dryplants, df_trees, df_farming, df_primordial_items
optional_depends = lucky_block, farming, ethereal, moretrees, technic_worldgen, flowers, dye, ferns, dryplants, df_trees, df_farming, df_primordial_items, everness
description = Adds bone and bonemeal giving the ability to quickly grow plants and saplings.

View File

@ -307,3 +307,22 @@ if minetest.get_modpath("df_primordial_items") then
{"df_primordial_items:dirt_with_mycelium", fgrass, fdeco}
})
end
if minetest.get_modpath("everness") then
bonemeal:add_sapling({
{"everness:baobab_sapling", Everness.grow_baobab_tree, "soil"},
{"everness:coral_tree_bioluminescent_sapling",
Everness.coral_tree_bioluminescent, "soil"},
{"everness:coral_tree_sapling", Everness.grow_coral_tree, "soil"},
{"everness:crystal_bush_sapling", Everness.grow_crystal_bush, "soil"},
{"everness:crystal_tree_large_sapling", Everness.grow_crystal_large_tree, "soil"},
{"everness:crystal_tree_sapling", Everness.grow_crystal_tree, "soil"},
{"everness:cursed_bush_sapling", Everness.grow_cursed_bush, "soil"},
{"everness:cursed_dream_tree_sapling", Everness.grow_cursed_dream_tree, "soil"},
{"everness:dry_tree_sapling", Everness.grow_dry_tree, "soil"},
{"everness:sequoia_tree_sapling", Everness.grow_sequoia_tree, "soil"},
{"everness:willow_tree_sapling", Everness.grow_willow_tree, "soil"}
})
end