diff --git a/depends.txt b/depends.txt index a3172c8..58b4e62 100644 --- a/depends.txt +++ b/depends.txt @@ -1,3 +1,4 @@ default mobs intllib? +lucky_block? diff --git a/init.lua b/init.lua index 09a83de..5a4ecfd 100644 --- a/init.lua +++ b/init.lua @@ -21,4 +21,6 @@ dofile(path .. "/bee.lua") -- KrupnoPavel dofile(path .. "/bunny.lua") -- ExeterDad dofile(path .. "/kitten.lua") -- Jordach/BFD +dofile(path .. "/lucky_block.lua") + print (S("[MOD] Mobs Redo 'Animals' loaded")) diff --git a/lucky_block.lua b/lucky_block.lua new file mode 100644 index 0000000..247aa32 --- /dev/null +++ b/lucky_block.lua @@ -0,0 +1,21 @@ + +if minetest.get_modpath("lucky_block") then + + lucky_block:add_blocks({ + {"spw", "mobs:sheep", 5}, + {"spw", "mobs:rat", 5}, + {"dro", {"mobs:rat_cooked"}, 5}, + {"spw", "mobs:bunny", 3}, + {"nod", "mobs:honey_block", 0}, + {"spw", "mobs:pumba", 5}, + {"nod", "mobs:cheeseblock", 0}, + {"spw", "mobs:chicken", 5}, + {"dro", {"mobs:egg"}, 5}, + {"spw", "mobs:cow", 5}, + {"dro", {"mobs:bucket_milk"}, 8}, + {"spw", "mobs:kitten", 2}, + {"tro", "default:nyancat", "mobs_kitten", true}, + {"exp"}, + }) + +end diff --git a/readme.md b/readme.md index da3c0d3..e3341a8 100644 --- a/readme.md +++ b/readme.md @@ -34,3 +34,5 @@ Warthog - Warthogs unlike pigs defend themselves when hit and give 1-3 raw pork when killed, they can also be right-clicked with 8x apples to tame or breed. Note: After breeding animals need to rest for 4 minutes, baby animals take 4 minutes to grow up and feeding them helps them grow quicker... + +Lucky Blocks: 14