summaryrefslogtreecommitdiff
path: root/lucky_block.lua
blob: c519a4cb6d3c5874788eee3f526019bab30e786f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

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"},
		{"dro", {"mobs:hairball"}, 3},
	})

	if minetest.registered_nodes["default:nyancat"] then
		lucky_block:add_blocks({
			{"tro", "default:nyancat", "mobs_kitten", true},
		})
	end
end