aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2017-10-12 12:39:13 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2017-10-12 12:39:13 +0100
commit86c46b3ecf2c38c649eeb17089b86ce156962195 (patch)
treea3b29b34ca72b7b1506efb554b378101c160ffb2
parent7876f5018a19f208c4cdc80cb37a593c85c83f39 (diff)
downloadmob_horse-86c46b3ecf2c38c649eeb17089b86ce156962195.tar.gz
mob_horse-86c46b3ecf2c38c649eeb17089b86ce156962195.tar.bz2
mob_horse-86c46b3ecf2c38c649eeb17089b86ce156962195.zip
add lucky blocks
-rw-r--r--depends.txt1
-rw-r--r--init.lua12
2 files changed, 13 insertions, 0 deletions
diff --git a/depends.txt b/depends.txt
index 9e9d990..0dc5ef3 100644
--- a/depends.txt
+++ b/depends.txt
@@ -1 +1,2 @@
mobs
+lucky_block?
diff --git a/init.lua b/init.lua
index 241899d..c588b15 100644
--- a/init.lua
+++ b/init.lua
@@ -251,3 +251,15 @@ minetest.register_craft({
{"default:diamond", "", "default:diamond"},
}
})
+
+-- lucky blocks
+if minetest.get_modpath("lucky_block") then
+
+lucky_block:add_blocks({
+ {"dro", {"mobs:horseshoe_steel"}},
+ {"dro", {"mobs:horseshoe_bronze"}},
+ {"dro", {"mobs:horseshoe_mese"}},
+ {"dro", {"mobs:horseshoe_diamond"}},
+})
+
+end \ No newline at end of file