summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2016-12-01 18:40:17 +0000
committerTenPlus1 <kinsellaja@yahoo.com>2016-12-01 18:40:17 +0000
commitd45dbe1670f9612be0d364c919a71d32e495c808 (patch)
tree77128ea0530b8eb1f5d95da6e63f652e364b7251
parent7215a670a833793d1507f8bc966ea779121802f5 (diff)
Added 14 lucky blocks
-rw-r--r--depends.txt1
-rw-r--r--init.lua2
-rw-r--r--lucky_block.lua21
-rw-r--r--readme.md2
4 files changed, 26 insertions, 0 deletions
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