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