forked from mtcontrib/mobs_redo
Added 9 lucky blocks
This commit is contained in:
parent
b6fcc31a10
commit
5fbc7dd57d
|
@ -1,3 +1,4 @@
|
||||||
default
|
default
|
||||||
invisibility?
|
invisibility?
|
||||||
intllib?
|
intllib?
|
||||||
|
lucky_block?
|
||||||
|
|
11
init.lua
11
init.lua
|
@ -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
15
lucky_block.lua
Normal 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
|
|
@ -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:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user