forked from mtcontrib/bonemeal
added 5.0 pine bush sapling and additional flowers
This commit is contained in:
parent
5384fc7924
commit
363ec856ee
|
@ -31,6 +31,6 @@ Changelog:
|
|||
- 0.9 - Added support for farming redo's pea and beetroot crops, checks for place_param
|
||||
- 1.0 - add_deco() now adds to existing item list while set_deco() replaces item list (thanks h-v-smacker)
|
||||
- 1.1 - Added {can_bonemeal=1} group for special nodes
|
||||
- 1.2 - Added support for minetest 5.0 cactus seedling, blueberry bush sapling and emergent jungle tree saplings.
|
||||
- 1.2 - Added support for minetest 5.0 cactus seedling, blueberry bush sapling and emergent jungle tree saplings, additional flowers and pine bush sapling.
|
||||
|
||||
Lucky Blocks: 6
|
||||
|
|
|
@ -5,3 +5,4 @@ ethereal?
|
|||
moretrees?
|
||||
technic_worldgen?
|
||||
lucky_block?
|
||||
flowers?
|
||||
|
|
7
init.lua
7
init.lua
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user