summaryrefslogtreecommitdiff
path: root/factory/crafting.lua
blob: 010bd6a081c5a10cc91ef77298382eebb666f697 (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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
minetest.register_craft({
	output = "factory:belt 12",
	recipe = {
		{"", "default:gold_ingot", ""},
		{"default:obsidian", "factory:small_steel_gear", "default:obsidian"},
		{"default:steelblock", "default:steelblock", "default:steelblock"}
	}
})

minetest.register_craft({
	output = "factory:arm",
	recipe = {
		{"default:steel_ingot", "default:steel_ingot", "farming:hoe_steel"},
		{"default:steel_ingot", "default:gold_ingot", "factory:small_steel_gear"},
		{"default:steelblock", "default:steelblock", "default:steelblock"}
	}
})

minetest.register_craft({
	output = "factory:smoke_tube",
	recipe = {
		{"default:steel_ingot", "", "default:steel_ingot"},
		{"default:steel_ingot", "", "default:steel_ingot"},
		{"default:steel_ingot", "", "default:steel_ingot"}
	}
})

minetest.register_craft({
	output = "factory:ind_furnace",
	recipe = {
		{"factory:small_steel_gear", "default:steel_ingot", "factory:small_steel_gear"},
		{"default:steel_ingot", "default:furnace", "default:steel_ingot"},
		{"default:stonebrick", "default:obsidian", "default:stonebrick"}
	}
})

minetest.register_craft({
	output = "factory:small_steel_gear 3",
	recipe = {
		{"default:steel_ingot", "", "default:steel_ingot"},
		{"", "default:steel_ingot", ""},
		{"default:steel_ingot", "", "default:steel_ingot"}
	}
})

minetest.register_craft({
	output = "factory:small_gold_gear 2",
	recipe = {
		{"default:gold_ingot", "", "default:gold_ingot"},
		{"", "factory:small_steel_gear", ""},
		{"default:gold_ingot", "", "default:gold_ingot"}
	}
})

minetest.register_craft({
	output = "factory:small_diamond_gear 2",
	recipe = {
		{"default:diamond", "", "default:diamond"},
		{"", "factory:small_gold_gear", ""},
		{"default:diamond", "", "default:diamond"}
	}
})

minetest.register_craft({
	output = "factory:taker",
	recipe = {
		{"default:shovel_steel", "default:steel_ingot", "default:gold_ingot"},
		{"factory:small_steel_gear", "factory:small_steel_gear", "default:gold_ingot"},
		{"default:steelblock", "default:steelblock", "default:steelblock"}
	}
})

minetest.register_craft({
	type = "shapeless", 
	output = "factory:taker_gold",
	recipe = {"factory:taker", "default:goldblock", "factory:small_gold_gear"}
})

minetest.register_craft({
	type = "shapeless", 
	output = "factory:taker_diamond",
	recipe = {"factory:taker_gold", "default:diamondblock", "factory:small_diamond_gear"}
})

minetest.register_craft({
	type = "shapeless", 
	output = "factory:queuedarm",
	recipe = {"factory:arm", "default:chest", "factory:small_gold_gear"}
})

factory.register_craft({
	type = "ind_squeezer",
	output = "factory:tree_sap",
	recipe = {{"default:tree"}}
})

factory.register_craft({
	type = "ind_squeezer",
	output = "factory:tree_sap",
	recipe = {{"default:jungle_tree"}}
})

factory.register_craft({
	type = "ind_squeezer",
	output = "factory:compressed_clay",
	recipe = {{"default:clay_lump"}}
})

minetest.register_craft({
	type = "cooking", 
	output = "factory:factory_lump",
	recipe = "factory:compressed_clay"
})

minetest.register_craft({
	output = 'factory:factory_brick 6',
	recipe = {
		{'factory:factory_lump', 'factory:factory_lump'},
		{'factory:factory_lump', 'factory:factory_lump'},
	}
})

minetest.register_craft({
	output = "factory:ind_squeezer",
	recipe = {
		{"default:glass", "default:stick", "default:glass"},
		{"default:glass", "default:steelblock", "default:glass"},
		{"factory:small_gold_gear", "factory:ind_furnace", "factory:small_gold_gear"}
	}
})