mirror of
https://codeberg.org/tenplus1/bonemeal.git
synced 2024-11-13 19:50:16 +01:00
added lucky blocks
This commit is contained in:
parent
3a74785675
commit
2fd7407366
|
@ -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
|
||||
|
|
|
@ -4,3 +4,4 @@ farming?
|
|||
ethereal?
|
||||
moretrees?
|
||||
technic_worldgen?
|
||||
lucky_block?
|
||||
|
|
4
init.lua
4
init.lua
|
@ -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"))
|
||||
|
|
11
lucky_block.lua
Normal file
11
lucky_block.lua
Normal 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
|
Loading…
Reference in New Issue
Block a user