summaryrefslogtreecommitdiff
path: root/lucky_block.lua
blob: 7fa063926e45daecd2065904670f59975a1cb954 (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
27
28
29
30

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},
		{"dro", {"mobs:chicken_raw", "mobs:chicken_cooked"}, 10},
		{"dro", {"mobs:pork_raw", "mobs:pork_cooked"}, 10},
		{"dro", {"mobs:mutton_raw", "mobs:mutton_cooked"}, 10},
		{"dro", {"mobs:meat_raw", "mobs:meat"}, 10},
	})

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