diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2016-11-12 11:13:55 +0000 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2016-11-12 11:13:55 +0000 |
commit | b6347c81ecc4864010f2f9ea8ae0c420f7a6c40d (patch) | |
tree | f17993b0f8e6ad03eb250008c2493897fef1f478 | |
parent | 93212e8fd821b0678fd4f2b9cae175ca449de167 (diff) |
added 4x lucky blocks
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | depends.txt | 3 | ||||
-rw-r--r-- | init.lua | 16 |
3 files changed, 20 insertions, 1 deletions
@@ -14,3 +14,5 @@ Changelog: - 0.3 - Added Stairs and Slabs for each colour - 0.2 - Any colour of baked clay can be re-dyed into another colour - 0.1 - Initial Release + +Lucky Blocks: 4 diff --git a/depends.txt b/depends.txt index e0264b4..8901b48 100644 --- a/depends.txt +++ b/depends.txt @@ -1,2 +1,3 @@ default -stairs
\ No newline at end of file +stairs +lucky_block?
\ No newline at end of file @@ -221,4 +221,20 @@ minetest.register_decoration({ num_spawn_by = 1, }) +-- add lucky blocks + +if minetest.get_modpath("lucky_block") then +local p = "bakedclay:" +lucky_block:add_blocks({ + {"dro", {"bakedclay:"}, 10, true}, + {"fal", {p.."black", p.."blue", p.."brown", p.."cyan", p.."dark_green", + p.."dark_grey", p.."green", p.."grey", p.."magenta", p.."orange", + p.."pink", p.."red", p.."violet", p.."white", p.."yellow"}, 0}, + {"fal", {p.."black", p.."blue", p.."brown", p.."cyan", p.."dark_green", + p.."dark_grey", p.."green", p.."grey", p.."magenta", p.."orange", + p.."pink", p.."red", p.."violet", p.."white", p.."yellow"}, 0, true}, + {"dro", {p.."delphinium", p.."lazarus", p.."mannagrass"}, 6}, +}) +end + print ("[MOD] Baked Clay loaded") |