1
0
mirror of https://codeberg.org/tenplus1/bonemeal.git synced 2025-07-12 13:20:28 +02:00

added 5.0 pine bush sapling and additional flowers

This commit is contained in:
TenPlus1
2019-03-24 20:37:06 +00:00
parent 5384fc7924
commit 363ec856ee
3 changed files with 9 additions and 1 deletions

View File

@ -45,6 +45,7 @@ local saplings = {
{"default:acacia_bush_sapling", default.grow_acacia_bush, "soil"},
{"default:large_cactus_seedling", default.grow_large_cactus, "sand"},
{"default:blueberry_bush_sapling", default.grow_blueberry_bush, "soil"},
{"default:pine_bush_sapling", default.grow_pine_bush, "soil"},
}
-- helper tables ( "" denotes a blank item )
@ -63,6 +64,12 @@ local flowers = {
"flowers:rose", "flowers:tulip", "flowers:viola", ""
}
-- 5.0 flower check
if minetest.registered_nodes["flowers:tulip_black"] then
flowers[8] = "flowers:tulip_black"
flowers[9] = "flowers:chrysanthemum_green"
end
-- add additional bakedclay flowers if enabled
if minetest.get_modpath("bakedclay") then
flowers[7] = "bakedclay:delphinium"