added lucky blocks

This commit is contained in:
TenPlus1 2017-07-24 20:17:20 +01:00
parent 3a74785675
commit 2fd7407366
4 changed files with 17 additions and 1 deletions

View File

@ -25,3 +25,5 @@ Changelog:
- 0.3 - Added strength to on_use global for new items (mulch and fertiliser). - 0.3 - Added strength to on_use global for new items (mulch and fertiliser).
- 0.4 - Added Intllib support and fr.txt file - 0.4 - Added Intllib support and fr.txt file
- 0.5 - Added support for default bush and acacia bush saplings - 0.5 - Added support for default bush and acacia bush saplings
Lucky Blocks: 2

View File

@ -4,3 +4,4 @@ farming?
ethereal? ethereal?
moretrees? moretrees?
technic_worldgen? technic_worldgen?
lucky_block?

View File

@ -479,6 +479,8 @@ minetest.override_item("default:dirt", {
-- add support for other mods -- add support for other mods
dofile(minetest.get_modpath("bonemeal") .. "/mods.lua") local path = minetest.get_modpath("bonemeal")
dofile(path .. "/mods.lua")
dofile(path .. "/lucky_block.lua")
print (S("[bonemeal] loaded")) print (S("[bonemeal] loaded"))

11
lucky_block.lua Normal file
View File

@ -0,0 +1,11 @@
-- add lucky blocks
if minetest.get_modpath("lucky_block") then
lucky_block:add_blocks({
{"lig"},
{"dro", {"bonemeal:mulch", "bonemeal:bonemeal", "bonemeal:fertiliser"}, 10},
})
end -- END IF