summaryrefslogtreecommitdiff
path: root/farming/lucky_block.lua
blob: 5a69a6830205abf514ad07a2bb7bf92484ea9c32 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77

-- add lucky blocks

if minetest.get_modpath("lucky_block") then

	lucky_block:add_blocks({
		{"dro", {"farming:corn"}, 5},
		{"dro", {"farming:coffee_cup_hot"}, 1},
		{"dro", {"farming:bread"}, 5},
		{"nod", "farming:jackolantern", 0},
		{"tro", "farming:jackolantern_on"},
		{"nod", "default:river_water_source", 1},
		{"tel"},
		{"dro", {"farming:trellis", "farming:grapes"}, 5},
		{"dro", {"farming:bottle_ethanol"}, 1},
		{"nod", "farming:melon", 0},
		{"dro", {"farming:donut", "farming:donut_chocolate", "farming:donut_apple"}, 5},
		{"dro", {"farming:hemp_leaf", "farming:hemp_fibre", "farming:seed_hemp"}, 10},
		{"nod", "fire:permanent_flame", 1},
		{"dro", {"farming:chili_pepper", "farming:chili_bowl"}, 5},
		{"dro", {"farming:bowl"}, 3},
		{"dro", {"farming:saucepan"}, 1},
		{"dro", {"farming:pot"}, 1},
		{"dro", {"farming:baking_tray"}, 1},
		{"dro", {"farming:skillet"}, 1},
		{"exp", 4},
		{"dro", {"farming:mortar_pestle"}, 1},
		{"dro", {"farming:cutting_board"}, 1},
		{"dro", {"farming:juicer"}, 1},
		{"dro", {"farming:mixing_bowl"}, 1},
		{"dro", {"farming:hoe_bronze"}, 1},
		{"dro", {"farming:hoe_mese"}, 1},
		{"dro", {"farming:hoe_diamond"}, 1},
		{"dro", {"farming:hoe_bomb"}, 10},
		{"dro", {"farming:turkish_delight"}, 5},
		{"lig"},
		{"dro", {"farming:scythe_mithril"}, 1},
		{"sch", "instafarm", 0, true, {
			{"farming:wheat_8", "farming:carrot_8"},
			{"farming:cotton_8", "farming:rhubarb_3"},
		}},
		{"sch", "instafarm", 0, true, {
			{"farming:wheat_8", "farming:pepper_5"},
			{"farming:cotton_8", "farming:onion_5"},
		}},
		{"sch", "instafarm", 0, true, {
			{"farming:wheat_8", "farming:beetroot_5"},
			{"farming:cotton_8", "farming:barley_7"},
		}},
		{"sch", "instafarm", 0, true, {
			{"farming:wheat_8", "farming:corn_8"},
			{"farming:cotton_8", "farming:grapes_8"},
		}},
		{"sch", "instafarm", 0, true, {
			{"farming:wheat_8", "farming:pea_5"},
			{"farming:cotton_8", "farming:coffee_5"},
		}},
		{"sch", "instafarm", 0, true, {
			{"farming:wheat_8", "farming:raspberry_4"},
			{"farming:cotton_8", "farming:tomato_8"},
		}},
		{"sch", "instafarm", 0, true, {
			{"farming:wheat_8", "farming:chili_8"},
			{"farming:cotton_8", "farming:cucumber_4"},
		}},
		{"nod", "default:chest", 0, {
			{name = "farming:seed_wheat", max = 15},
			{name = "farming:seed_barley", max = 15},
			{name = "farming:seed_barley", max = 15},
			{name = "farming:seed_hemp", max = 15},
			{name = "farming:seed_rye", max = 15},
			{name = "farming:seed_rice", max = 15},
			{name = "farming:seed_oat", max = 15},
			{name = "farming:soil_wet", max = 10},
		}},
	})
end