commit | author | age
|
e4c34c
|
1 |
-- check if we have the necessary dependencies to allow actually using these materials in the crafts |
T |
2 |
local mesecons_materials = minetest.get_modpath("mesecons_materials") |
|
3 |
|
970f60
|
4 |
-- Remove some recipes |
D |
5 |
-- Bronze |
|
6 |
minetest.clear_craft({ |
|
7 |
type = "shapeless", |
|
8 |
output = "default:bronze_ingot" |
|
9 |
}) |
|
10 |
|
|
11 |
-- Accelerator tube |
|
12 |
minetest.clear_craft({ |
|
13 |
output = "pipeworks:accelerator_tube_1", |
|
14 |
}) |
|
15 |
|
|
16 |
-- Teleport tube |
|
17 |
minetest.clear_craft({ |
|
18 |
output = "pipeworks:teleport_tube_1", |
|
19 |
}) |
|
20 |
|
ee0765
|
21 |
-- tubes crafting recipes |
S |
22 |
|
|
23 |
minetest.register_craft({ |
dc3248
|
24 |
output = 'pipeworks:accelerator_tube_1', |
ee0765
|
25 |
recipe = { |
749df3
|
26 |
{'technic:copper_coil', 'pipeworks:tube_1', 'technic:copper_coil'}, |
ee0765
|
27 |
} |
S |
28 |
}) |
|
29 |
|
|
30 |
minetest.register_craft({ |
dc3248
|
31 |
output = 'pipeworks:teleport_tube_1', |
ee0765
|
32 |
recipe = { |
S |
33 |
{'default:mese_crystal', 'technic:copper_coil', 'default:mese_crystal'}, |
749df3
|
34 |
{'pipeworks:tube_1', 'technic:control_logic_unit', 'pipeworks:tube_1'}, |
ee0765
|
35 |
{'default:mese_crystal', 'technic:copper_coil', 'default:mese_crystal'}, |
S |
36 |
} |
|
37 |
}) |
|
38 |
|
|
39 |
minetest.register_craft({ |
|
40 |
output = 'technic:diamond_drill_head', |
|
41 |
recipe = { |
|
42 |
{'technic:stainless_steel_ingot', 'default:diamond', 'technic:stainless_steel_ingot'}, |
|
43 |
{'default:diamond', '', 'default:diamond'}, |
|
44 |
{'technic:stainless_steel_ingot', 'default:diamond', 'technic:stainless_steel_ingot'}, |
|
45 |
} |
|
46 |
}) |
|
47 |
|
|
48 |
minetest.register_craft({ |
|
49 |
output = 'technic:green_energy_crystal', |
|
50 |
recipe = { |
|
51 |
{'default:gold_ingot', 'technic:battery', 'dye:green'}, |
|
52 |
{'technic:battery', 'technic:red_energy_crystal', 'technic:battery'}, |
|
53 |
{'dye:green', 'technic:battery', 'default:gold_ingot'}, |
|
54 |
} |
|
55 |
}) |
|
56 |
|
|
57 |
minetest.register_craft({ |
|
58 |
output = 'technic:blue_energy_crystal', |
|
59 |
recipe = { |
78128f
|
60 |
{'moreores:mithril_ingot', 'technic:battery', 'dye:blue'}, |
ee0765
|
61 |
{'technic:battery', 'technic:green_energy_crystal', 'technic:battery'}, |
78128f
|
62 |
{'dye:blue', 'technic:battery', 'moreores:mithril_ingot'}, |
ee0765
|
63 |
} |
S |
64 |
}) |
|
65 |
|
|
66 |
minetest.register_craft({ |
|
67 |
output = 'technic:red_energy_crystal', |
|
68 |
recipe = { |
78128f
|
69 |
{'moreores:silver_ingot', 'technic:battery', 'dye:red'}, |
ee0765
|
70 |
{'technic:battery', 'default:diamondblock', 'technic:battery'}, |
78128f
|
71 |
{'dye:red', 'technic:battery', 'moreores:silver_ingot'}, |
ee0765
|
72 |
} |
S |
73 |
}) |
|
74 |
|
|
75 |
minetest.register_craft({ |
|
76 |
output = 'technic:fine_copper_wire 2', |
|
77 |
recipe = { |
|
78 |
{'', 'default:copper_ingot', ''}, |
|
79 |
{'', 'default:copper_ingot', ''}, |
|
80 |
{'', 'default:copper_ingot', ''}, |
|
81 |
} |
|
82 |
}) |
|
83 |
|
|
84 |
minetest.register_craft({ |
3f717c
|
85 |
output = 'technic:fine_gold_wire 2', |
Z |
86 |
recipe = { |
|
87 |
{'', 'default:gold_ingot', ''}, |
|
88 |
{'', 'default:gold_ingot', ''}, |
|
89 |
{'', 'default:gold_ingot', ''}, |
|
90 |
} |
|
91 |
}) |
|
92 |
|
|
93 |
minetest.register_craft({ |
|
94 |
output = 'technic:fine_silver_wire 2', |
|
95 |
recipe = { |
|
96 |
{'', 'moreores:silver_ingot', ''}, |
|
97 |
{'', 'moreores:silver_ingot', ''}, |
|
98 |
{'', 'moreores:silver_ingot', ''}, |
|
99 |
} |
|
100 |
}) |
|
101 |
|
|
102 |
minetest.register_craft({ |
ee0765
|
103 |
output = 'technic:copper_coil 1', |
S |
104 |
recipe = { |
68b7bc
|
105 |
{'technic:fine_copper_wire', 'technic:wrought_iron_ingot', 'technic:fine_copper_wire'}, |
Z |
106 |
{'technic:wrought_iron_ingot', '', 'technic:wrought_iron_ingot'}, |
|
107 |
{'technic:fine_copper_wire', 'technic:wrought_iron_ingot', 'technic:fine_copper_wire'}, |
ee0765
|
108 |
} |
S |
109 |
}) |
|
110 |
|
|
111 |
minetest.register_craft({ |
|
112 |
output = 'technic:motor', |
|
113 |
recipe = { |
68b7bc
|
114 |
{'technic:carbon_steel_ingot', 'technic:copper_coil', 'technic:carbon_steel_ingot'}, |
Z |
115 |
{'technic:carbon_steel_ingot', 'technic:copper_coil', 'technic:carbon_steel_ingot'}, |
|
116 |
{'technic:carbon_steel_ingot', 'default:copper_ingot', 'technic:carbon_steel_ingot'}, |
ee0765
|
117 |
} |
S |
118 |
}) |
|
119 |
|
e4c34c
|
120 |
local isolation = mesecons_materials and "mesecons_materials:fiber" or "technic:rubber" |
T |
121 |
|
ee0765
|
122 |
minetest.register_craft({ |
S |
123 |
output = 'technic:lv_transformer', |
|
124 |
recipe = { |
e4c34c
|
125 |
{isolation, 'technic:wrought_iron_ingot', isolation}, |
68b7bc
|
126 |
{'technic:copper_coil', 'technic:wrought_iron_ingot', 'technic:copper_coil'}, |
Z |
127 |
{'technic:wrought_iron_ingot', 'technic:wrought_iron_ingot', 'technic:wrought_iron_ingot'}, |
ee0765
|
128 |
} |
S |
129 |
}) |
|
130 |
|
|
131 |
minetest.register_craft({ |
|
132 |
output = 'technic:mv_transformer', |
|
133 |
recipe = { |
e4c34c
|
134 |
{isolation, 'technic:carbon_steel_ingot', isolation}, |
68b7bc
|
135 |
{'technic:copper_coil', 'technic:carbon_steel_ingot', 'technic:copper_coil'}, |
Z |
136 |
{'technic:carbon_steel_ingot', 'technic:carbon_steel_ingot', 'technic:carbon_steel_ingot'}, |
ee0765
|
137 |
} |
S |
138 |
}) |
|
139 |
|
|
140 |
minetest.register_craft({ |
|
141 |
output = 'technic:hv_transformer', |
|
142 |
recipe = { |
e4c34c
|
143 |
{isolation, 'technic:stainless_steel_ingot', isolation}, |
ee0765
|
144 |
{'technic:copper_coil', 'technic:stainless_steel_ingot', 'technic:copper_coil'}, |
S |
145 |
{'technic:stainless_steel_ingot', 'technic:stainless_steel_ingot', 'technic:stainless_steel_ingot'}, |
|
146 |
} |
|
147 |
}) |
|
148 |
|
|
149 |
minetest.register_craft({ |
|
150 |
output = 'technic:control_logic_unit', |
|
151 |
recipe = { |
5e4a87
|
152 |
{'', 'technic:fine_gold_wire', ''}, |
ee0765
|
153 |
{'default:copper_ingot', 'technic:silicon_wafer', 'default:copper_ingot'}, |
5e4a87
|
154 |
{'', 'technic:chromium_ingot', ''}, |
ee0765
|
155 |
} |
S |
156 |
}) |
|
157 |
|
|
158 |
minetest.register_craft({ |
|
159 |
output = 'technic:mixed_metal_ingot 9', |
|
160 |
recipe = { |
|
161 |
{'technic:stainless_steel_ingot', 'technic:stainless_steel_ingot', 'technic:stainless_steel_ingot'}, |
|
162 |
{'default:bronze_ingot', 'default:bronze_ingot', 'default:bronze_ingot'}, |
|
163 |
{'moreores:tin_ingot', 'moreores:tin_ingot', 'moreores:tin_ingot'}, |
|
164 |
} |
|
165 |
}) |
|
166 |
|
|
167 |
minetest.register_craft({ |
|
168 |
output = 'technic:carbon_cloth', |
|
169 |
recipe = { |
|
170 |
{'technic:graphite', 'technic:graphite', 'technic:graphite'} |
|
171 |
} |
|
172 |
}) |
|
173 |
|
430b31
|
174 |
minetest.register_craft({ |
Z |
175 |
output = "technic:machine_casing", |
|
176 |
recipe = { |
|
177 |
{ "technic:cast_iron_ingot", "technic:cast_iron_ingot", "technic:cast_iron_ingot" }, |
|
178 |
{ "technic:cast_iron_ingot", "technic:brass_ingot", "technic:cast_iron_ingot" }, |
|
179 |
{ "technic:cast_iron_ingot", "technic:cast_iron_ingot", "technic:cast_iron_ingot" }, |
|
180 |
}, |
|
181 |
}) |
|
182 |
|
8f1c20
|
183 |
|
0139ea
|
184 |
minetest.register_craft({ |
CK |
185 |
output = "default:dirt 2", |
|
186 |
type = "shapeless", |
|
187 |
replacements = {{"bucket:bucket_water","bucket:bucket_empty"}}, |
|
188 |
recipe = { |
|
189 |
"technic:stone_dust", |
|
190 |
"group:leaves", |
|
191 |
"bucket:bucket_water", |
|
192 |
"group:sand", |
|
193 |
}, |
|
194 |
}) |