diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2016-12-01 18:41:27 +0000 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2016-12-01 18:41:27 +0000 |
commit | 5fbc7dd57d87c1798310b8f2a98fbe3361de7c7e (patch) | |
tree | 5ebfa52d62d9332d7aa9003e27db0986fdf191ef | |
parent | b6fcc31a101b4a30c2f06cc751a9710221cfdf7a (diff) |
Added 9 lucky blocks
-rw-r--r-- | depends.txt | 1 | ||||
-rw-r--r-- | init.lua | 11 | ||||
-rw-r--r-- | lucky_block.lua | 15 | ||||
-rw-r--r-- | readme.MD | 2 |
4 files changed, 25 insertions, 4 deletions
diff --git a/depends.txt b/depends.txt index 2631f61..5eb2f17 100644 --- a/depends.txt +++ b/depends.txt @@ -1,3 +1,4 @@ default invisibility? intllib? +lucky_block? @@ -2,12 +2,15 @@ local path = minetest.get_modpath("mobs") -- Mob API -dofile(path.."/api.lua") +dofile(path .. "/api.lua") -- Mob Items -dofile(path.."/crafts.lua") +dofile(path .. "/crafts.lua") --- Spawner -dofile(path.."/spawner.lua") +-- Mob Spawner +dofile(path .. "/spawner.lua") + +-- Lucky Blocks +dofile(path .. "/lucky_block.lua") print ("[MOD] Mobs Redo loaded") diff --git a/lucky_block.lua b/lucky_block.lua new file mode 100644 index 0000000..0c2794f --- /dev/null +++ b/lucky_block.lua @@ -0,0 +1,15 @@ + +if minetest.get_modpath("lucky_block") then + + lucky_block:add_blocks({ + {"dro", {"mobs:meat_raw"}, 5}, + {"dro", {"mobs:meat"}, 5}, + {"dro", {"mobs:nametag"}, 1}, + {"dro", {"mobs:leather"}, 5}, + {"dro", {"mobs:net"}, 1}, + {"dro", {"mobs:magic_lasso"}, 1}, + {"dro", {"mobs:shears"}, 1}, + {"dro", {"mobs:protector"}, 1}, + {"lig"}, + }) +end @@ -18,6 +18,8 @@ Crafts: - Shears are used to right-click sheep and return 1-3 wool.
- Protection Rune lets you protect tamed mobs from harm by other players
+Lucky Blocks: 9
+
Changelog:
|