Browse Source

added 5.0 pine bush sapling and additional flowers

master
TenPlus1 11 months ago
parent
commit
363ec856ee
3 changed files with 9 additions and 1 deletions
  1. +1
    -1
      README.md
  2. +1
    -0
      depends.txt
  3. +7
    -0
      init.lua

+ 1
- 1
README.md View File

@@ -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

+ 1
- 0
depends.txt View File

@@ -5,3 +5,4 @@ ethereal?
moretrees?
technic_worldgen?
lucky_block?
flowers?

+ 7
- 0
init.lua 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"

Loading…
Cancel
Save