forked from mtcontrib/bonemeal
Compare commits
8 Commits
01d71b2b29
...
1299f39126
Author | SHA1 | Date | |
---|---|---|---|
1299f39126 | |||
363ec856ee | |||
5384fc7924 | |||
cff3fc378b | |||
a4c4716c36 | |||
797bae9c46 | |||
54b856158c | |||
9bc52e2042 |
@ -30,5 +30,7 @@ Changelog:
|
||||
- 0.8 - Added support for farming redo's new garlic, pepper and onion crops
|
||||
- 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, additional flowers and pine bush sapling.
|
||||
|
||||
Lucky Blocks: 6
|
||||
|
@ -5,3 +5,4 @@ ethereal?
|
||||
moretrees?
|
||||
technic_worldgen?
|
||||
lucky_block?
|
||||
flowers?
|
||||
|
21
mods.lua
21
mods.lua
@ -36,6 +36,9 @@ if farming and farming.mod and farming.mod == "redo" then
|
||||
{"farming:pineapple_", 8},
|
||||
{"farming:pea_", 5},
|
||||
{"farming:beetroot_", 5},
|
||||
{"farming:rye_", 8},
|
||||
{"farming:oat_", 8},
|
||||
{"farming:rice_", 8},
|
||||
})
|
||||
end
|
||||
|
||||
@ -60,6 +63,7 @@ if minetest.get_modpath("ethereal") then
|
||||
{"ethereal:orange_tree_sapling", ethereal.grow_orange_tree, "soil"},
|
||||
{"ethereal:bamboo_sprout", ethereal.grow_bamboo_tree, "soil"},
|
||||
{"ethereal:birch_sapling", ethereal.grow_birch_tree, "soil"},
|
||||
{"ethereal:sakura_sapling", ethereal.grow_sakura_tree, "soil"},
|
||||
})
|
||||
|
||||
local grass = {"default:grass_3", "default:grass_4", "default:grass_5", ""}
|
||||
@ -120,3 +124,20 @@ elseif minetest.get_modpath("technic_worldgen") then
|
||||
{"moretrees:rubber_tree_sapling", technic.rubber_tree_model, "soil"},
|
||||
})
|
||||
end
|
||||
|
||||
|
||||
if minetest.get_modpath("caverealms") then
|
||||
|
||||
local fil = minetest.get_modpath("caverealms") .. "/schematics/shroom.mts"
|
||||
local add_shroom = function(pos)
|
||||
|
||||
minetest.swap_node(pos, {name = "air"})
|
||||
|
||||
minetest.place_schematic(
|
||||
{x = pos.x - 5, y = pos.y, z = pos.z - 5}, fil, 0, nil, false)
|
||||
end
|
||||
|
||||
bonemeal:add_sapling({
|
||||
{"caverealms:mushroom_sapling", add_shroom, "soil"},
|
||||
})
|
||||
end
|
||||
|
Reference in New Issue
Block a user