Zefram
2014-07-03 636b0f20df4fef3eef821c23ccc2f606828f5c6f
commit | author | age
ee0765 1 -- tubes crafting recipes
S 2
3 minetest.register_craft({
dc3248 4     output = 'pipeworks:accelerator_tube_1',
ee0765 5     recipe = {
749df3 6         {'technic:copper_coil', 'pipeworks:tube_1', 'technic:copper_coil'},
ee0765 7         }
S 8 })
9
10 minetest.register_craft({
dc3248 11     output = 'pipeworks:teleport_tube_1',
ee0765 12     recipe = {
S 13         {'default:mese_crystal', 'technic:copper_coil', 'default:mese_crystal'},
749df3 14         {'pipeworks:tube_1', 'technic:control_logic_unit', 'pipeworks:tube_1'},
ee0765 15         {'default:mese_crystal', 'technic:copper_coil', 'default:mese_crystal'},
S 16         }
17 })
18
19 minetest.register_craft({
20     output = 'technic:diamond_drill_head',
21     recipe = {
22         {'technic:stainless_steel_ingot', 'default:diamond', 'technic:stainless_steel_ingot'},
23         {'default:diamond',               '',                'default:diamond'},
24         {'technic:stainless_steel_ingot', 'default:diamond', 'technic:stainless_steel_ingot'},
25     }
26 })
27
28 minetest.register_craft({
29     output = 'technic:green_energy_crystal',
30     recipe = {
31         {'default:gold_ingot', 'technic:battery', 'dye:green'},
32         {'technic:battery', 'technic:red_energy_crystal', 'technic:battery'},
33         {'dye:green', 'technic:battery', 'default:gold_ingot'},
34     }
35 })
36
37 minetest.register_craft({
38     output = 'technic:blue_energy_crystal',
39     recipe = {
40         {'default:gold_ingot', 'technic:battery', 'dye:blue'},
41         {'technic:battery', 'technic:green_energy_crystal', 'technic:battery'},
42         {'dye:blue', 'technic:battery', 'default:gold_ingot'},
43     }
44 })
45
46 minetest.register_craft({
47     output = 'technic:red_energy_crystal',
48     recipe = {
49         {'default:gold_ingot', 'technic:battery', 'dye:red'},
50         {'technic:battery', 'default:diamondblock', 'technic:battery'},
51         {'dye:red', 'technic:battery', 'default:gold_ingot'},
52     }
53 })
54
55 minetest.register_craft({
56     output = 'technic:fine_copper_wire 2',
57     recipe = {
58         {'', 'default:copper_ingot', ''},
59         {'', 'default:copper_ingot', ''},
60         {'', 'default:copper_ingot', ''},
61     }
62 })
63
64 minetest.register_craft({
65     output = 'technic:copper_coil 1',
66     recipe = {
68b7bc 67         {'technic:fine_copper_wire', 'technic:wrought_iron_ingot', 'technic:fine_copper_wire'},
Z 68         {'technic:wrought_iron_ingot', '', 'technic:wrought_iron_ingot'},
69         {'technic:fine_copper_wire', 'technic:wrought_iron_ingot', 'technic:fine_copper_wire'},
ee0765 70     }
S 71 })
72
73 minetest.register_craft({
74     output = 'technic:motor',
75     recipe = {
68b7bc 76         {'technic:carbon_steel_ingot', 'technic:copper_coil', 'technic:carbon_steel_ingot'},
Z 77         {'technic:carbon_steel_ingot', 'technic:copper_coil', 'technic:carbon_steel_ingot'},
78         {'technic:carbon_steel_ingot', 'default:copper_ingot', 'technic:carbon_steel_ingot'},
ee0765 79     }
S 80 })
81
82 minetest.register_craft({
83     output = 'technic:lv_transformer',
84     recipe = {
68b7bc 85         {'technic:wrought_iron_ingot', 'technic:wrought_iron_ingot', 'technic:wrought_iron_ingot'},
Z 86         {'technic:copper_coil',        'technic:wrought_iron_ingot', 'technic:copper_coil'},
87         {'technic:wrought_iron_ingot', 'technic:wrought_iron_ingot', 'technic:wrought_iron_ingot'},
ee0765 88     }
S 89 })
90
91 minetest.register_craft({
92     output = 'technic:mv_transformer',
93     recipe = {
68b7bc 94         {'technic:carbon_steel_ingot', 'technic:carbon_steel_ingot', 'technic:carbon_steel_ingot'},
Z 95         {'technic:copper_coil',        'technic:carbon_steel_ingot', 'technic:copper_coil'},
96         {'technic:carbon_steel_ingot', 'technic:carbon_steel_ingot', 'technic:carbon_steel_ingot'},
ee0765 97     }
S 98 })
99
100 minetest.register_craft({
101     output = 'technic:hv_transformer',
102     recipe = {
103         {'technic:stainless_steel_ingot', 'technic:stainless_steel_ingot', 'technic:stainless_steel_ingot'},
104         {'technic:copper_coil',           'technic:stainless_steel_ingot', 'technic:copper_coil'},
105         {'technic:stainless_steel_ingot', 'technic:stainless_steel_ingot', 'technic:stainless_steel_ingot'},
106     }
107 })
108
109 minetest.register_craft({
110     output = 'technic:control_logic_unit',
111     recipe = {
112         {'', 'default:gold_ingot', ''},
113         {'default:copper_ingot', 'technic:silicon_wafer', 'default:copper_ingot'},
114         {'', 'default:copper_ingot', ''},
115     }
116 })
117
118 minetest.register_craft({
119     output = 'technic:mixed_metal_ingot 9',
120     recipe = {
121         {'technic:stainless_steel_ingot', 'technic:stainless_steel_ingot', 'technic:stainless_steel_ingot'},
122         {'default:bronze_ingot',          'default:bronze_ingot',          'default:bronze_ingot'},
123         {'moreores:tin_ingot',            'moreores:tin_ingot',            'moreores:tin_ingot'},
124     }
125 })
126
127 minetest.register_craft({
128     output = 'technic:carbon_cloth',
129     recipe = {
130         {'technic:graphite', 'technic:graphite', 'technic:graphite'}
131     }
132 })
133
8f1c20 134 -- Remove some recipes
5ed47a 135 minetest.register_craftitem("technic:nothing", {
N 136     description = "",
137     inventory_image = "blank.png",
138 })
139
140 if minetest.register_craft_predict then
141     minetest.register_craft_predict(function(itemstack, player, old_craft_grid, craft_inv)
142         if itemstack:get_name() == "technic:nothing" then
143             return ItemStack("")
144         end
145     end)
146 end
147
8f1c20 148 -- Bronze
N 149 minetest.register_craft({
150     type = "shapeless",
151     output = "technic:nothing",
152     recipe = {"default:copper_ingot", "default:steel_ingot"}
153 })
154
155 -- Accelerator tube
156 minetest.register_craft({
157     output = "technic:nothing",
158     recipe = {
159             { "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" },
160             { "default:mese_crystal_fragment", "default:steel_ingot", "default:mese_crystal_fragment" },
161             { "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" }
162     },
163 })
164
165 -- Teleport tube
166 minetest.register_craft({
167     output = "technic:nothing",
168     recipe = {
169             { "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" },
170             { "default:desert_stone", "default:mese_block", "default:desert_stone" },
171             { "homedecor:plastic_sheeting", "homedecor:plastic_sheeting", "homedecor:plastic_sheeting" }
172     },
173 })
174