1
0
mirror of https://codeberg.org/tenplus1/mobs_animal.git synced 2024-11-09 20:30:16 +01:00
mobs_animal/lucky_block.lua

26 lines
597 B
Lua
Raw Normal View History

2016-12-01 19:40:17 +01:00
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},
{"exp"},
})
2018-04-20 13:57:07 +02:00
if minetest.registered_nodes["default:nyancat"] then
lucky_block:add_blocks({
{"tro", "default:nyancat", "mobs_kitten", true},
})
end
2016-12-01 19:40:17 +01:00
end