diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2017-07-24 20:17:20 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2017-07-24 20:17:20 +0100 |
commit | 2fd74073666d924513b0e474bb7ede7121c804c3 (patch) | |
tree | 9f105dfbfcd4b1197d3f6067af73eaf7c24ba416 | |
parent | 3a7478567582515c7926962949d2465cc55fb0ab (diff) |
added lucky blocks
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | depends.txt | 1 | ||||
-rw-r--r-- | init.lua | 4 | ||||
-rw-r--r-- | lucky_block.lua | 11 |
4 files changed, 17 insertions, 1 deletions
@@ -25,3 +25,5 @@ Changelog: - 0.3 - Added strength to on_use global for new items (mulch and fertiliser). - 0.4 - Added Intllib support and fr.txt file - 0.5 - Added support for default bush and acacia bush saplings + +Lucky Blocks: 2 diff --git a/depends.txt b/depends.txt index 4d286ca..d9ae766 100644 --- a/depends.txt +++ b/depends.txt @@ -4,3 +4,4 @@ farming? ethereal? moretrees? technic_worldgen? +lucky_block? @@ -479,6 +479,8 @@ minetest.override_item("default:dirt", { -- 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"))
diff --git a/lucky_block.lua b/lucky_block.lua new file mode 100644 index 0000000..da96949 --- /dev/null +++ b/lucky_block.lua @@ -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 |