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