Added 9 lucky blocks

This commit is contained in:
TenPlus1 2016-12-01 18:41:27 +00:00
parent b6fcc31a10
commit 5fbc7dd57d
4 changed files with 25 additions and 4 deletions

View File

@ -1,3 +1,4 @@
default default
invisibility? invisibility?
intllib? intllib?
lucky_block?

View File

@ -2,12 +2,15 @@
local path = minetest.get_modpath("mobs") local path = minetest.get_modpath("mobs")
-- Mob API -- Mob API
dofile(path.."/api.lua") dofile(path .. "/api.lua")
-- Mob Items -- Mob Items
dofile(path.."/crafts.lua") dofile(path .. "/crafts.lua")
-- Spawner -- Mob Spawner
dofile(path.."/spawner.lua") dofile(path .. "/spawner.lua")
-- Lucky Blocks
dofile(path .. "/lucky_block.lua")
print ("[MOD] Mobs Redo loaded") print ("[MOD] Mobs Redo loaded")

15
lucky_block.lua Normal file
View File

@ -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

View File

@ -18,6 +18,8 @@ Crafts:
- Shears are used to right-click sheep and return 1-3 wool. - Shears are used to right-click sheep and return 1-3 wool.
- Protection Rune lets you protect tamed mobs from harm by other players - Protection Rune lets you protect tamed mobs from harm by other players
Lucky Blocks: 9
Changelog: Changelog: